Sender: nate AT cartsys DOT com Message-ID: <36F557E6.ED6D9E4E@cartsys.com> Date: Sun, 21 Mar 1999 12:34:46 -0800 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.3 i586) MIME-Version: 1.0 To: robert DOT hoehne AT gmx DOT net CC: djgpp-workers AT delorie DOT com Subject: Patch for GDB touching bad addresses Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com This patch will fix GDB's behavior when asked to access bad addresses in the debuggee. Now it will act like on Unix, where it says "Cannot access memory at 0xdeadbeef". Previously it would print garbage or crash. Also, in order for it to compile under DJGPP 2.02, the (mismatching) redeclaration of sys_siglist in libiberty/strsignal.c has to go. I'm not sure of the cleanest way to do this. Btw: I wonder if a new GDB binary is in order? The current one is several years old, and I don't think it includes stabs support. -- Nate Eldredge nate AT cartsys DOT com