This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Mini patch
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: Mini patch
- From: Elena Zannoni <ezannoni at cygnus dot com>
- Date: Thu, 9 Mar 2000 18:01:13 -0500 (EST)
I just checked this in.
Elena
Index: minsyms.c
===================================================================
RCS file: /cvs/src/src/gdb/minsyms.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -c -r1.2 -r1.3
*** minsyms.c 2000/03/07 04:33:52 1.2
--- minsyms.c 2000/03/09 22:58:49 1.3
***************
*** 667,672 ****
--- 667,674 ----
/* FIXME: This info, if it remains, needs its own field. */
MSYMBOL_INFO (msymbol) = info; /* FIXME! */
+ /* The hash pointers must be cleared! If they're not,
+ MSYMBOL_HASH_ADD will NOT add this msymbol to the hash table. */
msymbol->hash_next = NULL;
msymbol->demangled_hash_next = NULL;
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.120
retrieving revision 1.121
diff -c -r1.120 -r1.121
*** ChangeLog 2000/03/09 21:55:39 1.120
--- ChangeLog 2000/03/09 22:58:49 1.121
***************
*** 1,3 ****
--- 1,7 ----
+ 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
+
+ * minsyms.c (prim_record_minimal_symbol_and_info): Add comment.
+
2000-02-25 Scott Bambrough <scottb@netwinder.org>
* gdb.base/long_long.exp: Correct test suite failure when printing