delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/03/21/15:34:03

Sender: nate AT cartsys DOT com
Message-ID: <36F557E6.ED6D9E4E@cartsys.com>
Date: Sun, 21 Mar 1999 12:34:46 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
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
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019