aboutsummaryrefslogtreecommitdiff
path: root/gdb/regset.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2010-01-04 14:57:44 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2010-01-04 14:57:44 +0000
commit1b1818e443eb8f134e0bc2f5ec950c8a16df6883 (patch)
tree8f0f48069e6f1599263926ab5b8028cc94ff2419 /gdb/regset.h
parentdcbf108f79b23f0092a6d3c7cfb13471172e865f (diff)
downloadbinutils-1b1818e443eb8f134e0bc2f5ec950c8a16df6883.zip
binutils-1b1818e443eb8f134e0bc2f5ec950c8a16df6883.tar.gz
binutils-1b1818e443eb8f134e0bc2f5ec950c8a16df6883.tar.bz2
* regset.h (struct core_regset_section): Add HUMAN_NAME.
* i386-linux-tdep.c (i386_linux_regset_sections): Fill in HUMAN_NAME. * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise. (ppc_linux_vmx_regset_sections): Likewise. (ppc_linux_fp_regset_sections): Likewise. * corelow.c (get_core_register_section): Constify arguments. (get_core_registers): Use gdbarch_core_regset_sections instead of hard-coded platform-specific register section names.
Diffstat (limited to 'gdb/regset.h')
-rw-r--r--gdb/regset.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/regset.h b/gdb/regset.h
index b61758e..9a21ced 100644
--- a/gdb/regset.h
+++ b/gdb/regset.h
@@ -29,6 +29,7 @@ struct core_regset_section
{
const char *sect_name;
int size;
+ const char *human_name;
};
/* Data structure describing a register set. */