aboutsummaryrefslogtreecommitdiff
path: root/gdb/nlm
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-05-01 00:46:59 +0000
committerDavid Carlton <carlton@bactrian.org>2003-05-01 00:46:59 +0000
commitef9fbe8fea19f726e2536e94739cf06b9bb933ca (patch)
tree7c7f7af20631a00cba8782384f49e458f2a9f97b /gdb/nlm
parentc06b06b4e350f10061f2f0fc06273deba7f47825 (diff)
downloadgdb-ef9fbe8fea19f726e2536e94739cf06b9bb933ca.zip
gdb-ef9fbe8fea19f726e2536e94739cf06b9bb933ca.tar.gz
gdb-ef9fbe8fea19f726e2536e94739cf06b9bb933ca.tar.bz2
2003-04-30 David Carlton <carlton@bactrian.org>
* cp-namespace.c (get_namespace_objfile): Copy the namespace objfile's name. * block.h (ALL_BLOCK_SYMBOLS): Move here from dictionary.h. * dictionary.c: Sync up with mainline version I just posted. Specifically, update some commments, and: (dict_create_hashed): Fiddle with nsyms updating. (dict_create_linear): Ditto. (dict_lookup): Delete. (iterator_next_hashed): Delete FIXME comment. (iter_name_first_hashed): Replace 'sym' by 'sym != NULL'. (iter_name_next_hashed): Replate 'next' by 'next != NULL'. * dictionary.h: Sync up with mainline version I just posted: add inclusion guards, delete declaration of dict_lookup, delete ALL_BLOCK_SYMBOLs. * Merge with mainline; tag is carlton_dictionary-20030430-merge.
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 */