diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-05-18 23:53:19 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-05-18 23:53:19 +0000 |
commit | d467df4e861bf5c33f690be95e55a31524e9720c (patch) | |
tree | ad81628fbd5d5bb95275059fa5a320abf9c1d299 /gdb/mips-tdep.c | |
parent | 4cc0665f24bbd86deb1848cd67f90994a1b527b2 (diff) | |
download | fsf-binutils-gdb-d467df4e861bf5c33f690be95e55a31524e9720c.zip fsf-binutils-gdb-d467df4e861bf5c33f690be95e55a31524e9720c.tar.gz fsf-binutils-gdb-d467df4e861bf5c33f690be95e55a31524e9720c.tar.bz2 |
* mips-tdep.c (mips_reg3_to_reg): Optimize storage.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index b9eca2b..909a5a6 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -781,7 +781,7 @@ mips_ax_pseudo_register_push_stack (struct gdbarch *gdbarch, } /* Table to translate 3-bit register field to actual register number. */ -static int mips_reg3_to_reg[8] = { 16, 17, 2, 3, 4, 5, 6, 7 }; +static const signed char mips_reg3_to_reg[8] = { 16, 17, 2, 3, 4, 5, 6, 7 }; /* Heuristic_proc_start may hunt through the text section for a long time across a 2400 baud serial line. Allows the user to limit this |