aboutsummaryrefslogtreecommitdiff
path: root/gdb/x86-64-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-04-13 13:33:49 +0000
committerMark Kettenis <kettenis@gnu.org>2003-04-13 13:33:49 +0000
commitaca1fcd0670949e12b1f6cf4c82abaf098edb071 (patch)
treea155fc3c2556fe71909107c35dfc3568d7f5cdf5 /gdb/x86-64-tdep.c
parent562a961f8169ca93f7a158e53b1a3daf72684784 (diff)
downloadgdb-aca1fcd0670949e12b1f6cf4c82abaf098edb071.zip
gdb-aca1fcd0670949e12b1f6cf4c82abaf098edb071.tar.gz
gdb-aca1fcd0670949e12b1f6cf4c82abaf098edb071.tar.bz2
* x86-64-tdep.c (gdb_print_insn_x86_64): Removed.
Diffstat (limited to 'gdb/x86-64-tdep.c')
-rw-r--r--gdb/x86-64-tdep.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c
index 4d18cfb..756b9d5 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