[PATCH/RFA] Add core file support using register sets
Mark Kettenis
kettenis@chello.nl
Wed Oct 29 21:01:00 GMT 2003
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
More information about the Gdb-patches
mailing list