This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Eliminate more x86-64 cruft
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 13 Apr 2003 16:51:46 +0200 (CEST)
- Subject: [PATCH] Eliminate more x86-64 cruft
Checked in as obvous.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis at gnu dot org>
* x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours,
disassmbly_flavour): Removed.
Index: x86-64-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/x86-64-tdep.c,v
retrieving revision 1.66
diff -u -p -r1.66 x86-64-tdep.c
--- x86-64-tdep.c 13 Apr 2003 13:33:49 -0000 1.66
+++ x86-64-tdep.c 13 Apr 2003 14:50:24 -0000
@@ -240,17 +240,6 @@ x86_64_dwarf2_reg_to_regnum (int dw_reg)
return x86_64_dwarf2gdb_regno_map[dw_reg];
}
-/* This is the variable that is set with "set disassembly-flavour", and
- its legitimate values. */
-static const char att_flavour[] = "att";
-static const char intel_flavour[] = "intel";
-static const char *valid_flavours[] = {
- att_flavour,
- intel_flavour,
- NULL
-};
-static const char *disassembly_flavour = att_flavour;
-
/* Push the return address (pointing to the call dummy) onto the stack
and return the new value for the stack pointer. */