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: 30 Sep 2002 22:57:23 -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-30 15:57:23
Modified files:
gdb : ChangeLog Makefile.in dictionary.c dictionary.h
ppc-sysv-tdep.c remote-sds.c symtab.c
Log message:
2002-09-30 David Carlton <carlton@math.stanford.edu>
* dictionary.h: Augment comment above dict_lookup.
* dictionary.c (struct dict_vtbl): Delete 'lookup' member, and
move add_symbol to precede the iterators.
Make corresponding changes to dict_hashed_vtbl, dict_linear_vtbl,
dict_linear_expandable_vtbl.
(dict_lookup): Implement by means of dict_iterator_name_first.
(iter_name_first_hashed): Don't use lookup_hashed to implement.
(lookup_hashed): Delete.
(lookup_linear): Delete.
* symtab.c (lookup_symbol_aux_global_symtabs): Delete 'block'
argument, rename local variable 'b' to 'block', and make it point
to a const struct block.
(lookup_symbol_aux_minsym_non_hpuxhppa): Ditto.
(lookup_symbol_aux_global_psymtabs): Ditto.
(lookup_symbol_aux_static_symtabs): Ditto.
(lookup_symbol_aux_static_psymtabs): Ditto.
(lookup_symbol_aux_minsym_hpuxhppa): Ditto.
(lookup_symbol_aux): Correct calls to above functions.
(lookup_symbol_aux_minsym_non_hpuxhppa): When recursively calling
lookup_symbol_aux, pass 'NULL' as block argument.
(lookup_symbol_aux_minsym_hpuxhppa): Ditto.
(lookup_symbol_aux_global_symtabs): Don't initialize objfile and
s.
(lookup_symbol_aux_minsym_non_hpuxhppa): Don't initialize s.
(lookup_symbol_aux_global_psymtabs): Ditto.
(lookup_symbol_aux_static_symtabs): Ditto.
(lookup_symbol_aux_static_psymtabs): Ditto.
(lookup_symbol_aux_minsym_hpuxhppa): Ditto.
(lookup_symbol_aux_global_psymtabs): Don't initialize objfile.
(lookup_symbol_aux_static_symtabs): Ditto.
(lookup_symbol_aux_static_psymtabs): Ditto.
(lookup_symbol_aux_minsym_hpuxhppa): Delete local variable
objfile.
(lookup_symbol_aux_static_symtabs): Delete, to be replaced by
lookup_symbol_aux_symtabs.
(lookup_symbol_aux_global_symtabs): Ditto.
(lookup_symbol_aux_symtabs): New function.
(lookup_symbol_aux_psymtabs): New function.
(lookup_symbol_aux_global_psymtabs): Delete, to be replaced by
lookup_symbol_aux_psymtabs.
(lookup_symbol_aux_static_psymtabs): Ditto.
(lookup_symbol_aux_minsym_hpuxhppa): Delete, to be replaced by
lookup_symbol_aux_minsyms.
(lookup_symbol_aux_minsym_non_hpuxhppa): Ditto.
(lookup_symbol_aux_minsyms): New function.
(lookup_symbol_aux): Replace function calls by calls to functions
with new names.
(lookup_symbol_aux): Search global psymtabs before minimal
symbols.
* Makefile.in (ppc-sysv-tdep.o): Depend on gdb_string_h.
* ppc-sysv-tdep.c: #include "gdb_string.h".
2002-09-27 David Carlton <carlton@math.stanford.edu>
* symtab.c: Run through gdb_indent.sh.
(lookup_symbol_aux): Delete code that isn't called.
(lookup_symbol_aux): Don't declare variables 'register'.
(lookup_symbol_aux): Move each chunk of code into its own
function.
(lookup_symbol_aux_local): New function.
(lookup_symbol_aux_global_symtabs): New function.
(lookup_symbol_aux_minsym_non_hpuxhppa): New function.
(lookup_symbol_aux_global_psymtabs): New function.
(lookup_symbol_aux_static_symtabs): New function.
(lookup_symbol_aux_static_psymtabs): New function.
(lookup_symbol_aux_minsym_hpuxhppa): New function.
(lookup_symbol_aux_global_psymtabs): Remove embedded newlines from
strings because CC mode can't deal with them.
(lookup_symbol_aux_static_psymtabs): Ditto.
(lookup_symbol_aux): Delete local variables that are now
obsolete.
* remote-sds.c (getmessage): Add semicolon after 'retry' label to
pacify GCC.
2002-09-27 David Carlton <carlton@math.stanford.edu>
* Makefile.in (cris-tdep.o): Depend on gdb_string_h.
(mcore-tdep.o): Ditto.
(ns32k-tdep.o): Ditto.
(ns32knbsd-tdep.o): Ditto.
(sh3-rom.o): Ditto.
(vax-tdep.o): Ditto.
* cris-tdep.c: #include "gdb_string.h"
* mcore-tdep.c: Ditto.
* ns32k-tdep.c: Ditto.
* ns32knbsd-tdep.c: Ditto.
* sh3-rom.c: Ditto.
* vax-tdep.c: Ditto.
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.7&r2=1.3256.2.8
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.7&r2=1.262.2.8
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.5&r2=1.1.2.6
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.5&r2=1.1.2.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ppc-sysv-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/remote-sds.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.20&r2=1.20.16.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.3&r2=1.70.2.4