aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1997-07-24 22:21:05 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1997-07-24 22:21:05 +0000
commit8deb997b301cd57394b9bfedce59916049066dbe (patch)
tree585b37f5206e39fc14c0b44adde27201bf392708 /opcodes
parent280cdd548ecd833b3a10e45a8ebd07b89d9bdde8 (diff)
downloadgdb-8deb997b301cd57394b9bfedce59916049066dbe.zip
gdb-8deb997b301cd57394b9bfedce59916049066dbe.tar.gz
gdb-8deb997b301cd57394b9bfedce59916049066dbe.tar.bz2
* sparc-opc.c (sparc_opcodes): Make array const.
* sparc-dis.c (sorted_opcodes): New static local. (struct opcode_hash): `opcode' is pointer to const element. (build_hash): First arg is now table of sorted pointers. (print_insn_sparc): Sort opcodes by sorting table of pointers. (compare_opcodes): Update.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 2f51376..facf169 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,6 +1,12 @@
Thu Jul 24 13:03:26 1997 Doug Evans <dje@canuck.cygnus.com>
* sparc-opc.c (sparc_opcodes): Fix spelling on fpaddX, fpsubX insns.
+ Make array const.
+ * sparc-dis.c (sorted_opcodes): New static local.
+ (struct opcode_hash): `opcode' is pointer to const element.
+ (build_hash): First arg is now table of sorted pointers.
+ (print_insn_sparc): Sort opcodes by sorting table of pointers.
+ (compare_opcodes): Update.
Tue Jul 15 12:05:23 1997 Doug Evans <dje@canuck.cygnus.com>