From: Jim Blandy Date: Fri, 17 Oct 2003 21:44:26 +0000 (+0000) Subject: [Part of 2003-09-19 change, mistakenly not committed.] X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=73270cd5fce214a981a064c3995a64266f7256c0;p=thirdparty%2Fbinutils-gdb.git [Part of 2003-09-19 change, mistakenly not committed.] Merge from mainline: 2003-09-12 Jim Blandy * dbxread.c (read_dbx_symtab): Don't report an internal error if the file has no .data, .bss, or .rodata sections. Instead wait until we see a variable alleged to live in one of those sections. 2003-09-12 Jim Blandy * dbxread.c (read_dbx_symtab): If we have no .data section and no .bss section, presume that any variables we find live in the .rodata section. 2003-09-12 Jim Blandy * dbxread.c (read_dbx_symtab): Add FIXME about finding section offsets for global and static variables. 2003-09-09 Jim Blandy * dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXT symbol types are, by definition, in the .data section, so it is correct to use SECT_OFF_DATA (objfile) here, not data_sect_index. If there is no .data section, there should be no N_DATA or N_DATA | N_EXT symbols. 2003-07-10 Jim Blandy * Makefile.in (dbxread.o): Note new dependency on $(gdb_assert_h). * dbxread.c: #include "gdb_assert.h". (read_dbx_symtab): If the objfile has no .data section, use the section index for the .bss section instead. --- diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 93073190bca..aa842fcefc5 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1663,7 +1663,7 @@ dbxread.o: dbxread.c $(defs_h) $(gdb_string_h) $(gdb_obstack_h) \ $(gdb_stat_h) $(symtab_h) $(breakpoint_h) $(target_h) $(gdbcore_h) \ $(libaout_h) $(symfile_h) $(objfiles_h) $(buildsym_h) $(stabsread_h) \ $(gdb_stabs_h) $(demangle_h) $(language_h) $(complaints_h) \ - $(cp_abi_h) $(aout_aout64_h) $(aout_stab_gnu_h) + $(cp_abi_h) $(aout_aout64_h) $(aout_stab_gnu_h) $(gdb_assert_h) dcache.o: dcache.c $(defs_h) $(dcache_h) $(gdbcmd_h) $(gdb_string_h) \ $(gdbcore_h) $(target_h) delta68-nat.o: delta68-nat.c $(defs_h)