diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2008-02-27 03:27:40 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2008-02-27 03:27:40 +0000 |
commit | d05b4ac3aadc6a37e44f1b80e190fe80cea4d6d7 (patch) | |
tree | d4184a0495c2db4589d6eea543ba1da8fac6670d /gdb/regformats | |
parent | a5d9d57db1b0a4aaae2df815b405dd6201612a03 (diff) | |
download | binutils-d05b4ac3aadc6a37e44f1b80e190fe80cea4d6d7.zip binutils-d05b4ac3aadc6a37e44f1b80e190fe80cea4d6d7.tar.gz binutils-d05b4ac3aadc6a37e44f1b80e190fe80cea4d6d7.tar.bz2 |
gdb/ChangeLog:
* regformats/regdat.sh: Rename init_registers function in
generated file to init_registers_${name}.
* regformats/reg-crisv32.dat: Set "name" to crisv32.
* regformats/reg-ppc64.dat: Set "name" to ppc64.
* regformats/reg-s390x.dat: Set "name" to s390x.
gdbserver/ChangeLog:
* server.h (init_registers): Remove prototype.
* linux-low.h (struct linux_target_ops): Add arch_setup field.
* linux-low.c (initialize_low): Call the_low_target.arch_setup ()
instead of init_registers ().
* linux-arm-low.c (init_registers_arm): Add prototype.
(init_registers_arm_with_iwmmxt): Likewise.
(the_low_target): Add initializer for arch_setup field.
* linux-cris-low.c (init_registers_cris): Add prototype.
(the_low_target): Add initializer for arch_setup field.
* linux-crisv32-low.c (init_registers_crisv32): Add prototype.
(the_low_target): Add initializer for arch_setup field.
* linux-i386-low.c (init_registers_i386_linux): Add prototype.
(the_low_target): Add initializer for arch_setup field.
* linux-ia64-low.c (init_registers_ia64): Add prototype.
(the_low_target): Add initializer for arch_setup field.
* linux-m32r-low.c (init_registers_m32r): Add prototype.
(the_low_target): Add initializer for arch_setup field.
* linux-m68k-low.c (init_registers_m68k): Add prototype.
(the_low_target): Add initializer for arch_setup field.
* linux-mips-low.c (init_registers_mips_linux): Add prototype.
(init_registers_mips64_linux): Likewise.
(the_low_target): Add initializer for arch_setup field.
* linux-ppc-low.c (init_registers_ppc): Add prototype.
(init_registers_powerpc_32, init_registers_powerpc_e500): Likewise.
(the_low_target): Add initializer for arch_setup field.
* linux-ppc64-low.c (init_registers_ppc64): Add prototype.
(init_registers_powerpc_64): Likewise.
(the_low_target): Add initializer for arch_setup field.
* linux-s390-low.c (init_registers_s390): Add prototype.
(init_registers_s390x): Likewise.
(the_low_target): Add initializer for arch_setup field.
* linux-sh-low.c (init_registers_sh): Add prototype.
(the_low_target): Add initializer for arch_setup field.
* linux-x86-64-low.c (init_registers_x86_64_linux): Add prototype.
(the_low_target): Add initializer for arch_setup field.
* linux-xtensa-low.c (init_registers_xtensa): Add prototype.
(the_low_target): Add initializer for arch_setup field.
* win32-low.h (struct win32_target_ops): Add arch_setup field.
* win32-low.c (initialize_low): Call the_low_target.arch_setup ()
instead of init_registers ().
* win32-arm-low.c (init_registers_arm): Add prototype.
(the_low_target): Add initializer for arch_setup field.
* win32-i386-low.c (init_registers_i386): Add prototype.
(the_low_target): Add initializer for arch_setup field.
* spu-low.c (init_registers_spu): Add prototype.
(initialize_low): Call initialie_registers_spu () instead of
initialize_registers ().
Diffstat (limited to 'gdb/regformats')
-rw-r--r-- | gdb/regformats/reg-crisv32.dat | 2 | ||||
-rw-r--r-- | gdb/regformats/reg-ppc64.dat | 2 | ||||
-rw-r--r-- | gdb/regformats/reg-s390x.dat | 2 | ||||
-rwxr-xr-x | gdb/regformats/regdat.sh | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/gdb/regformats/reg-crisv32.dat b/gdb/regformats/reg-crisv32.dat index 565ac70..9cd93fe 100644 --- a/gdb/regformats/reg-crisv32.dat +++ b/gdb/regformats/reg-crisv32.dat @@ -1,4 +1,4 @@ -name:cris +name:crisv32 expedite:r8,sp,pc 32:r0 32:r1 diff --git a/gdb/regformats/reg-ppc64.dat b/gdb/regformats/reg-ppc64.dat index b8be5f2..281432a 100644 --- a/gdb/regformats/reg-ppc64.dat +++ b/gdb/regformats/reg-ppc64.dat @@ -1,4 +1,4 @@ -name:ppc +name:ppc64 expedite:r1,pc 64:r0 64:r1 diff --git a/gdb/regformats/reg-s390x.dat b/gdb/regformats/reg-s390x.dat index 2e24f53..81ce403 100644 --- a/gdb/regformats/reg-s390x.dat +++ b/gdb/regformats/reg-s390x.dat @@ -1,4 +1,4 @@ -name:s390 +name:s390x expedite:r14,r15,pswa 64:pswm 64:pswa diff --git a/gdb/regformats/regdat.sh b/gdb/regformats/regdat.sh index cd59b39..c035f2b 100755 --- a/gdb/regformats/regdat.sh +++ b/gdb/regformats/regdat.sh @@ -155,7 +155,7 @@ echo cat <<EOF void -init_registers () +init_registers_${name} () { set_register_cache (regs_${name}, sizeof (regs_${name}) / sizeof (regs_${name}[0])); |