This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hallo! On Wed, 29 Jun 2011 19:14:02 +0200, Svante Signell <svante.signell@telia.com> wrote: > Here is an attempt to create a complete patch for gdb to make it run > successfully on GNU/Hurd. > > Problem description: > When starting gdb the following output is written: > Can't fetch registers from thread bogus thread id 1: No such thread > > This makes gdb completely unusable for debugging purposes without this > patch. > > Patch size: Small change > > ChangeLog: > gdb/ > 2011-06-29 Svante Signell <svante.signell@telia.com> > > * gnu_nat.c: Activate prune_threads() for Hurd > * thread.c: Make prune_threads() visible outside current scope. > * gdbthread.h: Declare prune_threads() > * Fix PR gdb/12222 At the time I had originally written this patch, I rather considered it to be a hack than a proper fix -- I just needed a functional GDB on GNU/Hurd back then. I think that update_thread_list (which already is exported) should rather be invoked instead of additionally exporting prune_threads. But -- I can no longer reproduce the original problem with GDB HEAD. Can you? GrÃÃe, Thomas
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |