This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[dictionary] merge with mainline
- From: David Carlton <carlton at bactrian dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: 30 Apr 2003 17:51:11 -0700
- Subject: [dictionary] merge with mainline
I've just merged the dictionary branch with mainline; merge tag is
carlton_dictionary-20030430-merge. I also did a bit of regularizing
of its dictionary.{h,c} and block.h with the mainline patch that I
just posted; my apologies for not doing that as a separate commit with
a patch here, but the changes really are minimal.
Some random change in GDB during the time also caused
gdb.base/attach.exp to tickle a bug in code that I'd written to set
the name of anonymous objfiles; there's a similar bug on the mainline,
and I'll post a patch for it as soon as 'make check' finishes.
David Carlton
carlton@bactrian.org
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.