This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog Makefile.in buildsym.c jv-la ...
- From: carlton at sources dot redhat dot com
- To: gdb-cvs at sources dot redhat dot com
- Date: 20 Sep 2002 23:55:03 -0000
- Subject: src/gdb ChangeLog Makefile.in buildsym.c jv-la ...
CVSROOT: /cvs/src
Module name: src
Branch: carlton_dictionary-branch
Changes by: carlton@sources.redhat.com 2002-09-20 16:55:03
Modified files:
gdb : ChangeLog Makefile.in buildsym.c jv-lang.c
mdebugread.c symfile.c symmisc.c symtab.h
Added files:
gdb : dictionary.c dictionary.h
Log message:
2002-09-20 David Carlton <carlton@math.stanford.edu>
* jv-lang.c (get_java_class_symtab): Use xmalloc to allocate
GLOBAL_BLOCK rather than xmmalloc.
(free_class_block): Use xfree rather than xmfree.
* mdebugread.c: #include "dictionary.h"
(new_block): Remove argument. Initialize BLOCK_DICT.
(parse_symbol): Update call to new_block.
(new_symtab): Ditto.
(fixup_sigtramp): Ditto.
Delete MAXSYMS member of struct parse_stack.
(psymtab_to_symtab_1): Don't set maxsyms.
(new_symtab): Remove maxsyms argument.
(psymtab_to_symtab_1): Update call to new_symtab.
(shrink_block): Delete function.
(add_symbol): Add symbols via dict_add_symbol_block.
* jv-lang.c (add_class_symtab_symbol): Add symbols via
dict_add_symbol_block.
Delete variable class_symtab_space.
* Makefile.in (jv-lang.o): Add dictionary_h.
* jv-lang.c: #include "dictionary.h"
* symmisc.c (free_symtab): Call free_func rather than freeing free_ptr.
* jv-lang.c (get_java_class_symtab): Initialize free_func rather
than free_ptr.
(free_class_block): New function.
(add_class_symtab_symbol): Delete reference to free_ptr.
* buildsym.c (end_symtab): Initialize free_func rather than free_ptr.
* symtab.h (struct symtab): Replace free_ptr by free_func.
* jv-lang.c (get_java_class_symtab): Add DICT_BLOCK assignments.
* Makefile.in (buildsym.o): Add dictionary_h.
* buildsym.c (finish_block): Initialize BLOCK_DICT (block).
#include "dictionary.h"
* symtab.h (struct block): Add 'dict' member.
(BLOCK_DICT): New macro.
* dictionary.c: New file.
* dictionary.h: New file.
* Makefile.in (SFILES): Add dictionary.c
(dictionary_h): New variable.
(COMMON_OBS): Add dictionary.o.
(dictionary.o): New rule.
(carlton): New rule.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dictionary.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dictionary.h.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=NONE&r2=1.1.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.3256.2.1&r2=1.3256.2.2
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.1&r2=1.262.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/buildsym.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.20&r2=1.20.2.1
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&r2=1.12.8.1
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.1&r2=1.29.2.2
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.1&r2=1.69.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/symmisc.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.12&r2=1.12.8.1
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.1&r2=1.42.2.2