This is the mail archive of the 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 buildsym.c buildsym.h dwarf2 ...

CVSROOT:	/cvs/src
Module name:	src
Changes by:	2007-01-21 16:49:40

Modified files:
	gdb            : ChangeLog buildsym.c buildsym.h dwarf2read.c 
	                 symtab.c symtab.h 
	gdb/testsuite  : ChangeLog 
Added files:
	gdb/testsuite/gdb.base: included.c included.exp included.h 

Log message:
	2007-01-21  Jan Kratochvil  <>
	Daniel Jacobowitz  <>
	* buildsym.c (end_symtab): Use preallocated symtab if available.
	* buildsym.h (struct subfile): Add symtab member.
	* dwarf2read.c (struct dwarf2_cu): Add line_header.
	(struct file_entry): Add symtab.
	(free_cu_line_header): New function.
	(read_file_scope): Use it.  Save line_header in the cu.  Process
	lines before DIEs.
	(add_file_name): Initialize new symtab member.
	(dwarf_decode_lines): Create symtabs for included files.
	(new_symbol): Set SYMBOL_SYMTAB.
	* symtab.c (lookup_symbol): Use SYMBOL_SYMTAB.
	(search_symbols): Likewise.
	* symtab.h (struct symbol): Add symtab member.
	* gdb.base/included.c, gdb.base/included.exp,
	gdb.base/included.h: New files.


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