aboutsummaryrefslogtreecommitdiff
path: root/gdb/disasm.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-04 00:05:52 +0000
committerAndrew Cagney <cagney@redhat.com>2003-09-04 00:05:52 +0000
commitf6c4061856e6d65eac2392c589395153bfb2d38b (patch)
treed8a5f0ac6af3c62d795231ab510eca7504d1e06c /gdb/disasm.c
parentc8f3944783aed0e4aab78018f1da615484dab2e1 (diff)
downloadgdb-f6c4061856e6d65eac2392c589395153bfb2d38b.zip
gdb-f6c4061856e6d65eac2392c589395153bfb2d38b.tar.gz
gdb-f6c4061856e6d65eac2392c589395153bfb2d38b.tar.bz2
2003-09-03 Andrew Cagney <cagney@redhat.com>
* arch-utils.h (legacy_print_insn): Delete declaration. * arch-utils.c (legacy_print_insn): Delete function. * disasm.c (deprecated_tm_print_insn_info): Delete. (_initialize_disasm): Delete function, contained code initializing deprecated_tm_print_insn_info. * gdbarch.sh (deprecated_tm_print_insn): Delete. (deprecated_tm_print_insn_info): Delete. (TARGET_PRINT_INSN): Do not provide a default. * gdbarch.h, gdbarch.c: Re-generate.
Diffstat (limited to 'gdb/disasm.c')
-rw-r--r--gdb/disasm.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gdb/disasm.c b/gdb/disasm.c
index b84571c..0dfd20a 100644
--- a/gdb/disasm.c
+++ b/gdb/disasm.c
@@ -393,21 +393,3 @@ gdb_print_insn (CORE_ADDR memaddr, struct ui_file *stream)
disassemble_info di = gdb_disassemble_info (current_gdbarch, stream);
return TARGET_PRINT_INSN (memaddr, &di);
}
-
-
-/* FIXME: cagney/2003-04-28: This global deprecated_tm_print_insn_info
- is going away. */
-disassemble_info deprecated_tm_print_insn_info;
-
-extern void _initialize_disasm (void);
-
-void
-_initialize_disasm (void)
-{
- init_disassemble_info (&deprecated_tm_print_insn_info, gdb_stdout,
- fprintf_disasm);
- deprecated_tm_print_insn_info.flavour = bfd_target_unknown_flavour;
- deprecated_tm_print_insn_info.read_memory_func = dis_asm_read_memory;
- deprecated_tm_print_insn_info.memory_error_func = dis_asm_memory_error;
- deprecated_tm_print_insn_info.print_address_func = dis_asm_print_address;
-}