summaryrefslogtreecommitdiff
path: root/gdb/i386-tdep.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-10-15 20:37:37 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-10-15 20:37:37 +0000
commit5164ec17af2b8a66674aaf0ee013ed9d71fa383e (patch)
tree262f084e9636d6a5f53b691f5a3190f2d2ab2675 /gdb/i386-tdep.h
parent8c92d9818f5a178441fecaed33186f005b85f077 (diff)
downloadgdb-5164ec17af2b8a66674aaf0ee013ed9d71fa383e.tar.gz
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 76afdceb315..5f233f590fe 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;