aboutsummaryrefslogtreecommitdiff
path: root/gdb/nlm
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nlm')
-rw-r--r--gdb/nlm/i386.c2
-rw-r--r--gdb/nlm/i386.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/nlm/i386.c b/gdb/nlm/i386.c
index b8ab480..8fc6b1d 100644
--- a/gdb/nlm/i386.c
+++ b/gdb/nlm/i386.c
@@ -92,7 +92,7 @@ do_status (char *ptr, struct StackFrame *frame)
ptr = mem2hex (&frame->ExceptionESP, ptr + 3, 4, 0);
*ptr++ = ';';
- sprintf (ptr, "%02x:", FP_REGNUM);
+ sprintf (ptr, "%02x:", DEPRECATED_FP_REGNUM);
ptr = mem2hex (&frame->ExceptionEBP, ptr + 3, 4, 0);
*ptr++ = ';';
diff --git a/gdb/nlm/i386.h b/gdb/nlm/i386.h
index 155702b..ff97aed 100644
--- a/gdb/nlm/i386.h
+++ b/gdb/nlm/i386.h
@@ -1,7 +1,7 @@
/* Register values. All of these values *MUST* agree with tm.h */
#define SP_REGNUM 4 /* Contains address of top of stack */
#define PC_REGNUM 8 /* Contains program counter */
-#define FP_REGNUM 5 /* Virtual frame pointer */
+#define DEPRECATED_FP_REGNUM 5 /* Virtual frame pointer */
#define NUM_REGS 16 /* Number of machine registers */
#define REGISTER_BYTES (NUM_REGS * 4) /* Total size of registers array */