diff options
author | Jim Blandy <jimb@codesourcery.com> | 2005-02-23 16:06:58 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2005-02-23 16:06:58 +0000 |
commit | 2877b4cc78309cc1574797d450da434aebd1955b (patch) | |
tree | babdc86153a8e24e53dbeda5cc0a5e3ee0291808 /gdb | |
parent | 33b71eeb2e25ed4cb83a1fe43cc3d0625dd51e40 (diff) | |
download | gdb-2877b4cc78309cc1574797d450da434aebd1955b.zip gdb-2877b4cc78309cc1574797d450da434aebd1955b.tar.gz gdb-2877b4cc78309cc1574797d450da434aebd1955b.tar.bz2 |
* disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/disasm.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6c3a9e2..72983a7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2005-02-23 Jim Blandy <jimb@redhat.com> + + * disasm.c (gdb_disassemble_info): Call disassemble_init_for_target. + 2005-02-23 Andrew Cagney <cagney@gnu.org> * cli/cli-dump.c (dump_bfd_file): Replace magic constant with diff --git a/gdb/disasm.c b/gdb/disasm.c index 3cde2ea..cf54f8a 100644 --- a/gdb/disasm.c +++ b/gdb/disasm.c @@ -344,6 +344,7 @@ gdb_disassemble_info (struct gdbarch *gdbarch, struct ui_file *file) di.arch = gdbarch_bfd_arch_info (gdbarch)->arch; di.mach = gdbarch_bfd_arch_info (gdbarch)->mach; di.endian = gdbarch_byte_order (gdbarch); + disassemble_init_for_target (&di); return di; } |