This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH,HURD] Fix reading core
- From: Samuel Thibault <samuel dot thibault at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org, thomas at schwinge dot name, bug-hurd at gnu dot org
- Date: Fri, 26 Apr 2013 13:19:26 +0200
- Subject: Re: [PATCH,HURD] Fix reading core
- References: <20130211020109 dot GK5926 at type dot youpi dot perso dot aquilenet dot fr> <20130409234117 dot GC24389 at adacore dot com>
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 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?
I don't.
> If not, do you have copyright assignment papers on file?
It's on file now.
Samuel