aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-10-15 20:37:39 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-10-15 20:37:39 +0000
commiteab09350a37d669c13aaccf621c9e22b7776a3be (patch)
tree1df09e187b297b079cb7cd93c65673c4474b0e16 /gdb/i386-tdep.h
parenta9a72a65528db6edd47387f800bc20b549ba71f5 (diff)
downloadgdb-eab09350a37d669c13aaccf621c9e22b7776a3be.zip
gdb-eab09350a37d669c13aaccf621c9e22b7776a3be.tar.gz
gdb-eab09350a37d669c13aaccf621c9e22b7776a3be.tar.bz2
Remove sp_regnum_from_eax and pc_regnum_from_eax
PR backtrace/14646 PR gdb/14647 * i386-tdep.h (gdbarch_tdep): Remove sp_regnum_from_eax and pc_regnum_from_eax. * i386-tdep.c (i386_gdbarch_init): Don't use sp_regnum_from_eax nor pc_regnum_from_eax. * amd64-tdep.c (amd64_x32_init_abi): Don't set sp_regnum_from_eax nor pc_regnum_from_eax.
Diffstat (limited to 'gdb/i386-tdep.h')
-rw-r--r--gdb/i386-tdep.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h
index 76afdce..5f233f5 100644
--- a/gdb/i386-tdep.h
+++ b/gdb/i386-tdep.h
@@ -149,14 +149,6 @@ struct gdbarch_tdep
of pseudo dword register support. */
int eax_regnum;
- /* Register number for SP, relative to %eax. Set this to -1 to
- indicate the absence of pseudo SP register support. */
- int sp_regnum_from_eax;
-
- /* Register number for PC, relative to %eax. Set this to -1 to
- indicate the absence of pseudo PC register support. */
- int pc_regnum_from_eax;
-
/* Number of core registers. */
int num_core_regs;