This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog Makefile.in dictionary.c dic ...
- From: carlton at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 27 Sep 2002 00:18:18 -0000
- Subject: src/gdb ChangeLog Makefile.in dictionary.c dic ...
CVSROOT: /cvs/src
Module name: src
Branch: carlton_dictionary-branch
Changes by: carlton@sources.redhat.com 2002-09-26 17:18:18
Modified files:
gdb : ChangeLog Makefile.in dictionary.c dictionary.h
ns32knbsd-tdep.c symtab.c symtab.h
Log message:
2002-09-26 David Carlton <carlton@math.stanford.edu>
* dictionary.c (dict_iter_name_first): New function.
(dict_iter_name_next): New function.
Initialize new members of dict_hashed_vtbl, dict_linear_vtbl, and
dict_linear_expandable_vtbl.
(iter_name_first_hashed): New function.
(iter_name_next_hashed): New function.
(iter_name_first_linear): New function.
(iter_name_next_linear): New function.
(lookup_hashed): Rewrite following new declaration/semantics.
(lookup_linear): Ditto.
(dict_lookup): Ditto.
* symtab.c (lookup_block_symbol): Rewrite to use
dict_iter_name_first and dict_iter_name_next instead of
dict_lookup.
* dictionary.c (struct dict_vtbl): Change member 'lookup'; new
members 'iter_name_first' and 'iter_name_next'.
* dictionary.h: Delete all traces of block stuff.
Change declaration for dict_lookup; new declarations
dict_iter_name_first and dict_iter_name_next.
* dictionary.c: Delete all traces of block stuff.
* symtab.h (SYMBOL_BEST_NAME): New macro.
(SYMBOL_SOURCE_NAME): Rewrite in terms of SYMBOL_BEST_NAME.
(SYMBOL_LINKAGE_NAME): Ditto.
Comment questioning SYMBOL_MATCHES_NAME and
SYMBOL_MATCHES_REGEXP.
* Makefile.in (ns32knbsd-tdep.o): Depend on gdb_string_h.
* ns32knbsd-tdep.c: #include "gdb_string.h"
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.3256.2.5&r2=1.3256.2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/Makefile.in.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.262.2.5&r2=1.262.2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dictionary.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.1.2.4&r2=1.1.2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dictionary.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.1.2.4&r2=1.1.2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ns32knbsd-tdep.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.1&r2=1.1.12.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/symtab.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.70.2.2&r2=1.70.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/symtab.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.42.2.4&r2=1.42.2.5