This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH/RFA] Add core file support using register sets
- From: Mark Kettenis <kettenis at chello dot nl>
- To: kettenis at chello dot nl
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 29 Oct 2003 22:01:19 +0100 (CET)
- Subject: Re: [PATCH/RFA] Add core file support using register sets
- References: <200310241616.h9OGGjwW001840@elgar.kettenis.dyndns.org>
Date: Fri, 24 Oct 2003 18:16:45 +0200 (CEST)
From: Mark Kettenis <kettenis@chello.nl>
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* corelow.c: Include "arch-utils.h", "regset.h" and
"gdb_assert.h".
(core_gdbarch): New variable.
(sniff_core_bfd): Don't sniff if we have support for register sets
in CORE_GDBARCH.
(core_close): Reset CORE_GDBARCH.
(core_open): Initialize CORE_GDBARCH.
(get_core_register_section): Use register sets if they are
supported by CORE_GDBARCH.
(get_core_registers): Don't print error message if we have support
for register sets in CORE_GDBARCH.
I checked this in now. If your favourite target suddenly starts doing
weird things with its core files, please tell me!
Mark