From 17ea7499a94cca815ea904ccfdb2743d208a6688 Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Seo Date: Sat, 24 May 2008 16:32:01 +0000 Subject: * gdbarch.sh: Added new gdbarch struct core_regset_sections. * gdbarch.c: Refreshed. * gdbarch.h: Refreshed. * regset.h (core_regset_section): Declared. * linux-nat.c (linux_nat_do_thread_registers): Added support for the new gdbarch struct core_regset_sections. * utils.c (host_address_to_string): New function. * defs.h (host_address_to_string): New prototype. * i386-linux-tdep.c (i386_regset_rections): New register sections list for i386. (i386_linux_init_abi): Initialized new gdbarch struct core_regset_sections. * Makefile.in: Updated to reflect dependency changes. * ppc-linux-tdep.c (ppc_regset_sections): Register sections list for ppc. (ppc_linux_init_abi): Initialized new gdbarch struct core_regset_sections --- gdb/regset.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gdb/regset.h') diff --git a/gdb/regset.h b/gdb/regset.h index 2d11b85..0f894b2 100644 --- a/gdb/regset.h +++ b/gdb/regset.h @@ -23,6 +23,13 @@ struct gdbarch; struct regcache; +/* Data structure for the supported register notes in a core file. */ +struct core_regset_section +{ + const char *sect_name; + int size; +}; + /* Data structure describing a register set. */ typedef void (supply_regset_ftype) (const struct regset *, struct regcache *, -- cgit v1.1