diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1997-04-21 21:01:28 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1997-04-21 21:01:28 +0000 |
commit | e4bb90271600b757264581fa80c3a4884f9abc8c (patch) | |
tree | 843ed78431bc41fd53817cc780b6f17e58161219 /gdb | |
parent | d9263d5fc5c65b6e3ffaa465b375973f6c06c683 (diff) | |
download | gdb-e4bb90271600b757264581fa80c3a4884f9abc8c.zip gdb-e4bb90271600b757264581fa80c3a4884f9abc8c.tar.gz gdb-e4bb90271600b757264581fa80c3a4884f9abc8c.tar.bz2 |
* gdbtk.c (gdb_disassemble): Store endian-ness in `di'.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/gdbtk.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b45e0c2..67702c6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +start-sanitize-gdbtk +Mon Apr 21 14:00:08 1997 Doug Evans <dje@canuck.cygnus.com> + + * gdbtk.c (gdb_disassemble): Store endian-ness in `di'. + +end-sanitize-gdbtk Mon Apr 21 09:49:25 1997 Stu Grossman (grossman@critters.cygnus.com) * remote-pa.c: Remove. It's broken and no longer necessary. diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c index 7fab1fd..fc2b0de 100644 --- a/gdb/gdbtk.c +++ b/gdb/gdbtk.c @@ -974,9 +974,9 @@ gdb_disassemble (clientData, interp, argc, argv) di.mach = tm_print_insn_info.mach; if (TARGET_BYTE_ORDER == BIG_ENDIAN) - tm_print_insn_info.endian = BFD_ENDIAN_BIG; + di.endian = BFD_ENDIAN_BIG; else - tm_print_insn_info.endian = BFD_ENDIAN_LITTLE; + di.endian = BFD_ENDIAN_LITTLE; if (argc != 3 && argc != 4) error ("wrong # args"); |