This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gdb "attach" and sharing thread info between processes


Hi!

April, 30 1999, Chris Faylor <cgf@cygnus.com> wrote:

>>I'm   also  planning  to  make  a  patch  to winsup, which would allow
>>to  handle exceptions  by  starting  debugger.  i  think  it  would be
>>acceptable  substitution  for  core  files  functionality. What do you
>>think about usefulness of such patch?

CF> It sounds like a good idea as long as it doesn't add too much bloat to the
CF> DLL.

So, here it goes. It was made against Snapshot-1999/04/10. It's rather
gdb-centric, but i don't think any other debugger can handle gcc's
debug info anyway.

CF> It should also be possible to write "core files" that are actually
CF> readable by gdb.  You just have to decide on a format, get the DLL to dump
CF> using that format, and teach gdb about the format.  Simple.  :-)

Hmm, perhaps. :) I just need to get a bit more familiar with BFD library...

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19

ChangeLog.gz

debug_on_trap.diff.gz