Mail Archives: djgpp/1996/06/27/14:09:05
Xref: | news2.mv.net comp.os.msdos.djgpp:5477
|
From: | Geert Goossens <gagoosse AT info DOT vub DOT ac DOT be>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | GDB remote serial debugging
|
Date: | Thu, 27 Jun 1996 15:23:15 +0200
|
Organization: | Brussels Free Universities VUB/ULB
|
Lines: | 33
|
Message-ID: | <31D28B43.38C0@info.vub.ac.be>
|
NNTP-Posting-Host: | info4.vub.ac.be
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hi,
I'm trying to setup gdb for remote debugging. I've found the TSR program
asynctsr.com in the archive aeasy102.zip. This archive also contains a
test program gtest, that sets up a tty session with a remote host and
works just fine.
But when I recompile gtest, it crashes when I run it with the error:
Segmentation violation in pointer 0x00000018
This happens when it tries to read the address at interrupt 12 (where
the TSR program is installed). It reads the address as:
*((unsigned short*)(0xE0000000 + 12*4))
This produces a general protection error. As said, the compiled program
I found in the archive works perfectly. It's just the program that I
compile with gcc v. 2.7.2 that produces this problem. Since I have to
recompile gdb to set it up for remote debugging, gdb suffers from the
same problem.
Has anybody had this problem before and does anonyone know what causes
it?
--
+------------------------------------------+
| Geert Goossens (geert AT info DOT vub DOT ac DOT be) |
| Digital Telecom Department INFO/TW |
| Vrije Universiteit Brussel |
| Pleinlaan 2 |
| 1050 Brussel |
| Belgium |
| |
| tel.: +32-2-629.29.77 |
| fax.: +32-2-629.28.70 |
+------------------------------------------+
- Raw text -