This is the mail archive of the gdb-cvs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/gdb ChangeLog Makefile.in ada-lang.c break ...


CVSROOT:	/cvs/src
Module name:	src
Branch: 	carlton_dictionary-branch
Changes by:	carlton@sources.redhat.com	2002-09-23 17:04:54

Modified files:
	gdb            : ChangeLog Makefile.in ada-lang.c breakpoint.c 
	                 buildsym.c coffread.c dictionary.c dictionary.h 
	                 jv-lang.c mdebugread.c objfiles.c printcmd.c 
	                 stack.c symfile.c symmisc.c symtab.c symtab.h 
	                 tracepoint.c valops.c 
	gdb/mi         : ChangeLog mi-cmd-stack.c 
	gdb/testsuite  : carlton_runtest 

Log message:
	2002-09-23  David Carlton  <carlton@math.stanford.edu>
	
	* dictionary.c (struct dict_vtbl): 'add_symbol' field.
	(add_symbol_generic): New function.
	(free_obstack): New function.
	(dict_create_hashed): New function.
	(lookup_hashed): New function.
	(iterator_first_hashed): New function.
	(iterator_hashed_advance): New function.
	(iterator_next_hashed): New function.
	* dictionary.h: A few more declarations.
	* mdebugread.c (parse_symbol): Use dict_iterator when finding
	parameters.
	* Makefile.in (valops.o): Depend on dictionary_h.
	* valops.c (value_of_this): Check empty block via dict_empty.
	#include "dictionary.h"
	* symfile.c (free_named_symtabs): Check empty block via dict_empty.
	* dictionary.h: Declare dict_empty.
	* symmisc.c (dump_symtab): Don't print out number of
	symbols/buckets.
	* printcmd.c (print_frame_args): Delete assertion that block isn't
	a hashtable.
	* symmisc.c (free_symtab_block): Update to use dictionary
	methods.
	* symtab.h (struct symtab): Comment on free_contents.
	* jv-lang.c (get_java_class_symtab): Set class_symtab->free_code.
	* mdebugread.c (add_symbol): Delete 'nsyms' variable.
	(fixup_sigtramp): Add symbol via dict_add_symbol_block.
	* Makefile.in (mi-cmd-stack.o): Depend on dictionary_h.
	* ada-lang.c (symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS.
	(ada_add_block_symbols): Ditto.
	(debug_print_block): Ditto.
	(fill_in_ada_prototype): Ditto.
	* breakpoint.c (get_catch_sals): Ditto.
	* coffread.c (patch_opaque_types): Ditto.
	* tracepoint.c (add_local_symbols): Ditto.
	(scope_info): Ditto.
	* symtab.c (find_pc_sect_symtab): Ditto.
	(search_symbols): Ditto.
	(make_symbol_completion_list): Ditto.
	(find_addr_symbol): Ditto.
	(make_file_symbol_completion_list): Ditto.
	(make_symbol_overload_list): Ditto.
	* symmisc.c (dump_symtab): Ditto.
	* stack.c (print_block_frame_locals): Ditto.
	(print_block_frame_labels): Ditto.
	(print_frame_arg_vars): Ditto.
	* printcmd.c (print_frame_args): Ditto.
	* objfiles.c (objfile_relocate): Ditto.
	* mdebugread.c (mylookup_symbol): Ditto.
	* Makefile.in (ada-lang.o): Depend on dictionary_h.
	* Makefile.in (tracepoint.o): Ditto.
	* Makefile.in (symmisc.o): Ditto.
	* Makefile.in (stack.o): Ditto.
	* Makefile.in (printcmd.o): Ditto.
	* Makefile.in (objfiles.o): Ditto.
	* Makefile.in (coffread.o): Ditto.
	* Makefile.in (breakpoint.o): Ditto.
	* ada-lang.c: #include "dictionary.h"
	* tracepoint.c: Ditto.
	* symmisc.c: Ditto.
	* stack.c: Ditto.
	* printcmd.c: Ditto.
	* objfiles.c: Ditto.
	* coffread.c: Ditto.
	* breakpoint.c: Ditto.
	* symtab.h: Comment out ALL_BLOCK_SYMBOLS.  (Moved to
	dictionary.h.)
	* dictionary.c: Dict_iterator accessor macros.
	(struct dict_vtbl): Add iterator_first, iterator_next.
	(dict_iterator_first): New function.
	(dict_iterator_next): New function.
	(iterator_first_block): New function.
	(iterator_next_block): New function.
	(iterator_block_hashed_advance): New function.
	* dictionary.h: Add dict_iterator stuff.
	* Makefile.in (symtab.o): Depend on dictionary_h.
	* symtab.c: #include "dictionary.h"
	* dictionary.c: Move down #include "dictionary.h", for now...
	(free_block): Rename from dict_free_block.
	(struct dict_vtbl): Add LOOKUP member.
	(dict_lookup): New function.
	(lookup_block): New function.
	* dictionary.h: Declare dict_lookup.
	* symtab.c (lookup_block_symbol): Use dict_lookup.
	
	2002-09-23  David Carlton  <carlton@math.stanford.edu>
	
	* mi-cmd-stack.c (list_args_or_locals): Update use of
	ALL_BLOCK_SYMBOLS.
	#include "dictionary.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.2&r2=1.3256.2.3
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.2&r2=1.262.2.3
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.1&r2=1.9.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.89&r2=1.89.2.1
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.1&r2=1.20.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/coffread.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.29.8.1&r2=1.29.8.2
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.1&r2=1.1.2.2
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.1&r2=1.1.2.2
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.1&r2=1.12.8.2
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.2&r2=1.29.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/objfiles.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.22&r2=1.22.8.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/printcmd.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.43&r2=1.43.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/stack.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.43&r2=1.43.2.1
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.2&r2=1.69.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/symmisc.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.12.8.1&r2=1.12.8.2
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.1&r2=1.70.2.2
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.2&r2=1.42.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/tracepoint.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.41&r2=1.41.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/valops.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.75&r2=1.75.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/mi/ChangeLog.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.69&r2=1.69.2.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-cmd-stack.c.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.11&r2=1.11.14.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/carlton_runtest.diff?cvsroot=src&only_with_tag=carlton_dictionary-branch&r1=1.1.2.1&r2=1.1.2.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]