This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog Makefile.in ada-lang.c build ...
- From: carlton at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 25 Sep 2002 00:19:27 -0000
- Subject: src/gdb ChangeLog Makefile.in ada-lang.c build ...
CVSROOT: /cvs/src
Module name: src
Branch: carlton_dictionary-branch
Changes by: carlton@sources.redhat.com 2002-09-24 17:19:27
Modified files:
gdb : ChangeLog Makefile.in ada-lang.c buildsym.c
dictionary.c dictionary.h jv-lang.c
mdebugread.c symfile.c symtab.h
Log message:
2002-09-24 David Carlton <carlton@math.stanford.edu>
* dictionary.c: Comment out block-specific stuff.
* jv-lang.c (get_java_class_symtab): Allocate GLOBAL_BLOCK on
obstack.
(free_class_block): Don't free GLOBAL_BLOCK.
* dictionary.h: Comment out block-specific stuff.
* symtab.h: Comment out the members of struct block that
BLOCK_DICT obsoletes, and their accessors.
* Makefile.in (buildsym.o): Depend on gdb_assert_h.
* buildsym.c (finish_block): Don't count number of symbols.
(finish_block): Replace BLOCK_SYM reference with use of iterator.
#include "gdb_assert.h"
* symfile.c (free_named_symtabs): Fix calls to dict_empty
(which would seem to be #if'd out; oops...).
* buildsym.c (finish_block): Don't set BLOCK_HASHTABLE.
* jv-lang.c (get_java_class_symtab): Don't set BLOCK_HASHTABLE and
BLOCK_NSYMS.
* mdebugread.c (new_block): Allocate BLOCK_DICT via
dict_create_linear_expandable.
(add_symbol): Add symbol via dict_add_symbol; no need to chase
pointers.
(fixup_sigtramp): Add symbol via dict_add_symbol.
(new_symtab): Add FIXME comment on freeing blocks.
* jv-lang.c (get_java_class_symtab): Allocate GLOBAL_BLOCK's dict
using dict_create_linear_expandable.
(add_class_symtab_symbol): Add symbol using dict_add_symbol.
* dictionary.c (struct dictionary_linear_expandable): New struct.
(struct dictionary): Added member 'linear_expandable'.
(DICT_LINEAR_EXPANDABLE_MAXSYMS): New macro.
New variable dict_block_vtbl. Made all the _vtbl variables static.
Renamed all 'maxsyms' to 'capacity'.
(dict_create_linear_expandable): New function.
(add_symbol_linear_expandable): New function.
(free_linear_expandable): New function.
* jv-lang.c (get_java_class_symtab): Create static block's
dictionary with dict_create_linear.
* buildsym.c (finish_block): Create function blocks' dictionaries
with dict_create_linear.
* dictionary.c (lookup_linear): New function.
(iterator_first_linear): New function.
(iterator_next_linear): New function.
* dictionary.h: Moved comment.
* dictionary.c (struct dictionary_linear): New struct.
(struct dictionary): Added 'linear' member.
(DICT_LINEAR_NSYMS): New macro.
(DICT_LINEAR_SYMS): New macro.
(DICT_LINEAR_SYM): New macro.
New variable dict_linear_vtbl.
(dict_create_linear): New function.
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.3&r2=1.3256.2.4
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.3&r2=1.262.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ada-lang.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.9.2.2&r2=1.9.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/buildsym.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.20.2.2&r2=1.20.2.3
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.2&r2=1.1.2.3
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.2&r2=1.1.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/jv-lang.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.12.8.2&r2=1.12.8.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/mdebugread.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.29.2.3&r2=1.29.2.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/symfile.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.69.2.3&r2=1.69.2.4
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.3&r2=1.42.2.4