From: Mark Kettenis Date: Sun, 13 Apr 2003 13:33:49 +0000 (+0000) Subject: * x86-64-tdep.c (gdb_print_insn_x86_64): Removed. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aca1fcd0670949e12b1f6cf4c82abaf098edb071;p=binutils-gdb.git * x86-64-tdep.c (gdb_print_insn_x86_64): Removed. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a21977d983f..13982de6475 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2003-04-13 Mark Kettenis + + * x86-64-tdep.c (gdb_print_insn_x86_64): Removed. + 2003-04-13 Mark Kettenis * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed. diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c index 4d18cfb7ee1..756b9d52177 100644 --- a/gdb/x86-64-tdep.c +++ b/gdb/x86-64-tdep.c @@ -828,23 +828,6 @@ x86_64_register_number (const char *name) } - -/* We have two flavours of disassembly. The machinery on this page - deals with switching between those. */ - -static int -gdb_print_insn_x86_64 (bfd_vma memaddr, disassemble_info * info) -{ - if (disassembly_flavour == att_flavour) - return print_insn_i386_att (memaddr, info); - else if (disassembly_flavour == intel_flavour) - return print_insn_i386_intel (memaddr, info); - /* Never reached -- disassembly_flavour is always either att_flavour - or intel_flavour. */ - internal_error (__FILE__, __LINE__, "failed internal consistency check"); -} - - /* Store the address of the place in which to copy the structure the subroutine will return. This is called from call_function. */ void