aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.h
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/gdbarch.h
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/gdbarch.h')
-rw-r--r--gdb/gdbarch.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index 7c26628..1471378 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -2064,6 +2064,9 @@ extern void set_gdbarch_software_single_step (struct gdbarch *gdbarch, gdbarch_s
#define SOFTWARE_SINGLE_STEP(sig, insert_breakpoints_p) (gdbarch_software_single_step (current_gdbarch, sig, insert_breakpoints_p))
#endif
+/* FIXME: cagney/2003-08-28: Need to find a better way of selecting the
+ disassembler. Perhaphs objdump can handle it? */
+
typedef int (gdbarch_print_insn_ftype) (bfd_vma vma, disassemble_info *info);
extern int gdbarch_print_insn (struct gdbarch *gdbarch, bfd_vma vma, disassemble_info *info);
extern void set_gdbarch_print_insn (struct gdbarch *gdbarch, gdbarch_print_insn_ftype *print_insn);
@@ -2560,14 +2563,6 @@ extern const struct bfd_arch_info *target_architecture;
#endif
-/* The target-system-dependent disassembler is semi-dynamic */
-
-/* Use gdb_disassemble, and gdbarch_print_insn instead. */
-extern int (*deprecated_tm_print_insn) (bfd_vma, disassemble_info*);
-
-/* Use set_gdbarch_print_insn instead. */
-extern disassemble_info deprecated_tm_print_insn_info;
-
/* Set the dynamic target-system-dependent parameters (architecture,
byte-order, ...) using information found in the BFD */