delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/31/09:28:25

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Subject: Re: GDB corruped my hard disk *&!"*&@
To: gapa83 AT udcf DOT gla DOT ac DOT uk (Paul Harness)
Date: Thu, 31 Mar 1994 08:11:39 -0600 (CST)
Cc: berend AT beard DOT nest DOT nl, djgpp AT sun DOT soe DOT clarkson DOT edu

I should point out a "restriction" of all of the new 32 bit debuggers
in use since V1.11 was released.  Since the debugger (debug32 or GDB)
shares the same transfer buffer with the application, you can have some
interference (and potentially corrupt any files open by your application
being debugged).  The debugger itself uses the transfer buffer for 
disk read requests and writing to the screen.  If you single step through
any of your app routines which use the transfer buffer you may alter the
correct behavior.

I don't know if this is at all related to the corruption problem noted 
here, but it is something debug users should keep in mind unless they
step over libc routines or any routines they use which use the transfer
buffer.

This should hopefully be fixed in V2.0

- Raw text -


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