diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a21977d983..13982de647 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 4d18cfb7ee..756b9d5217 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