Re: [PATCH,HURD] Fix reading core

2013-04-30 Thread Thomas Schwinge
Hi! On Tue, 9 Apr 2013 16:41:17 -0700, Joel Brobecker wrote: > > The i386 GNU/Hurd ELF core format actually follows the uaccess gregset_t > > array format, not the Mach thread state format. This fixes gdb reading > > it. > > > > * gdb/i386gnu-nat.c (CREG_OFFSET): New macro. > > (creg_offset): N

Re: [PATCH,HURD] Fix reading core

2013-04-26 Thread Alfred M. Szmidt
> > > * gdb/i386gnu-nat.c (CREG_OFFSET): New macro. > > > (creg_offset): New array. > > > (CREG_ADDR): Use creg_offset instead of reg_offset. > > > > Did anyone review this? I don't know GNU/Hurd, but the patch looks > > very plausible. > > > > Do you have write access to

Re: [PATCH,HURD] Fix reading core

2013-04-26 Thread Joel Brobecker
> > > * gdb/i386gnu-nat.c (CREG_OFFSET): New macro. > > > (creg_offset): New array. > > > (CREG_ADDR): Use creg_offset instead of reg_offset. > > > > Did anyone review this? I don't know GNU/Hurd, but the patch looks > > very plausible. > > > > Do you have write access to the GDB repository? > >

Re: [PATCH,HURD] Fix reading core

2013-04-26 Thread Samuel Thibault
Joel Brobecker, le Tue 09 Apr 2013 16:41:17 -0700, a écrit : > > The i386 GNU/Hurd ELF core format actually follows the uaccess gregset_t > > array format, not the Mach thread state format. This fixes gdb reading > > it. > > > > * gdb/i386gnu-nat.c (CREG_OFFSET): New macro. > > (creg_offset): New

Re: [PATCH,HURD] Fix reading core

2013-04-11 Thread Thomas Schwinge
Hi! On Thu, 11 Apr 2013 00:54:32 +0200, Samuel Thibault wrote: > Thomas Schwinge, le Thu 11 Apr 2013 00:35:15 +0200, a écrit : > > > Do you have write access to the GDB repository? If not, do you have > > > copyright assignment papers on file? This patch is small enough that > > > we can take it

Re: [PATCH,HURD] Fix reading core

2013-04-10 Thread Samuel Thibault
Thomas Schwinge, le Thu 11 Apr 2013 00:35:15 +0200, a écrit : > > Do you have write access to the GDB repository? If not, do you have > > copyright assignment papers on file? This patch is small enough that > > we can take it as a tiny patch, but if you think you're going to > > send more patches,

Re: [PATCH,HURD] Fix reading core

2013-04-10 Thread Thomas Schwinge
Hi! On Tue, 9 Apr 2013 16:41:17 -0700, Joel Brobecker wrote: > > The i386 GNU/Hurd ELF core format actually follows the uaccess gregset_t > > array format, not the Mach thread state format. This fixes gdb reading > > it. > > > > * gdb/i386gnu-nat.c (CREG_OFFSET): New macro. > > (creg_offset): N

Re: [PATCH,HURD] Fix reading core

2013-04-09 Thread Joel Brobecker
> The i386 GNU/Hurd ELF core format actually follows the uaccess gregset_t > array format, not the Mach thread state format. This fixes gdb reading > it. > > * gdb/i386gnu-nat.c (CREG_OFFSET): New macro. > (creg_offset): New array. > (CREG_ADDR): Use creg_offset instead of reg_offset. Did anyone

Re: [PATCH,HURD] Fix reading core

2013-02-11 Thread Samuel Thibault
Samuel Thibault, le Mon 11 Feb 2013 03:01:09 +0100, a écrit : > The i386 GNU/Hurd ELF core format actually follows the uaccess gregset_t > array format, not the Mach thread state format. This fixes gdb reading > it. I have uploaded a fixed package on debian-ports. > * gdb/i386gnu-nat.c (CREG_OFF

[PATCH,HURD] Fix reading core

2013-02-10 Thread Samuel Thibault
The i386 GNU/Hurd ELF core format actually follows the uaccess gregset_t array format, not the Mach thread state format. This fixes gdb reading it. * gdb/i386gnu-nat.c (CREG_OFFSET): New macro. (creg_offset): New array. (CREG_ADDR): Use creg_offset instead of reg_offset. --- a/gdb/i386gnu-nat.c.