diff options
author | Kevin Buettner <kevinb@redhat.com> | 2003-03-19 06:21:14 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2003-03-19 06:21:14 +0000 |
commit | 5e2e9765a70d56a4e61ff3866aa9c9358d85df86 (patch) | |
tree | de3c95ffcddbae02c06ac5eb43b7883414985ee7 /gdb/config/mips/tm-mips.h | |
parent | 2512814ebc23ed4df52d834eeff1543e331f3e28 (diff) | |
download | ppe42-binutils-5e2e9765a70d56a4e61ff3866aa9c9358d85df86.tar.gz ppe42-binutils-5e2e9765a70d56a4e61ff3866aa9c9358d85df86.zip |
Print correct register names for MIPS targets using n32/n64 ABIs.
Diffstat (limited to 'gdb/config/mips/tm-mips.h')
-rw-r--r-- | gdb/config/mips/tm-mips.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index e092d4a92c..dada615571 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -59,16 +59,12 @@ extern int mips_step_skips_delay (CORE_ADDR); #define MIPS_REGSIZE 4 #endif -/* Initializer for an array of names of registers. - There should be NUM_REGS strings in this initializer. */ +/* Initializer for an array of names for registers 32 and above. + There should be NUM_REGS-32 strings in this initializer. */ #ifndef MIPS_REGISTER_NAMES #define MIPS_REGISTER_NAMES \ - { "zero", "at", "v0", "v1", "a0", "a1", "a2", "a3", \ - "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7", \ - "s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7", \ - "t8", "t9", "k0", "k1", "gp", "sp", "s8", "ra", \ - "sr", "lo", "hi", "bad", "cause","pc", \ + { "sr", "lo", "hi", "bad", "cause","pc", \ "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", \ "f8", "f9", "f10", "f11", "f12", "f13", "f14", "f15", \ "f16", "f17", "f18", "f19", "f20", "f21", "f22", "f23",\ |