This is the mail archive of the gdb-prs@sourceware.org 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]

[Bug symtab/8424] Include non-loadable sections in objfile struct


http://sourceware.org/bugzilla/show_bug.cgi?id=8424

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2013-04-08 20:18:13 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    tromey@sourceware.org    2013-04-08 20:18:11

Modified files:
    gdb            : ChangeLog blockframe.c breakpoint.c elfread.c 
                     findvar.c hppa-hpux-tdep.c infcmd.c linespec.c 
                     maint.c minsyms.c parse.c printcmd.c psymtab.c 
                     spu-tdep.c stabsread.c symmisc.c symtab.c 
                     symtab.h 

Log message:
    PR symtab/8424:
    * blockframe.c (find_pc_partial_function_gnu_ifunc): Check
    SYMBOL_SECTION, not SYMBOL_OBJ_SECTION.
    * breakpoint.c (resolve_sal_pc): Update.
    * elfread.c (elf_gnu_ifunc_record_cache): Update.
    * findvar.c (struct minsym_lookup_data) <objfile>: New field.
    (minsym_lookup_iterator_cb): Use it.
    (default_read_var_value): Update.
    * hppa-hpux-tdep.c (hppa64_hpux_in_solib_call_trampoline):
    Update.
    * infcmd.c (jump_command): Update.
    * linespec.c (minsym_found): Update.
    * maint.c (maintenance_translate_address): Update.
    * minsyms.c (lookup_minimal_symbol_by_pc_section_1): Update.
    (prim_record_minimal_symbol_full): Don't set SYMBOL_OBJ_SECTION.
    * parse.c (write_exp_msymbol): Update.
    * printcmd.c (address_info): Update.
    * psymtab.c (find_pc_sect_psymbol): Update.
    (fixup_psymbol_section): Check SYMBOL_SECTION, not
    SYMBOL_OBJ_SECTION.
    (add_psymbol_to_bcache): Correctly initialize SYMBOL_SECTION.
    Don't initialize SYMBOL_OBJ_SECTION.
    * spu-tdep.c (spu_catch_start): Update.
    * stabsread.c (define_symbol): Don't set SYMBOL_SECTION.
    * symmisc.c (dump_msymbols, print_symbol): Update.
    * symtab.c (fixup_section): Don't set 'obj_section'.  Change
    how fallback section is computed.
    (fixup_symbol_section): Update.
    (find_pc_sect_symtab, find_function_start_sal, skip_prologue_sal):
    Update.
    (allocate_symbol, initialize_symbol, allocate_template_symbol):
    Initialize SYMBOL_SECTION.
    * symtab.h (struct general_symbol_info) <section>: Update comment.
    <obj_section>: Remove.
    (SYMBOL_OBJ_SECTION): Add 'objfile' argument.  Rewrite.
    (SYMBOL_OBJFILE): New macro.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.15383&r2=1.15384
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/blockframe.c.diff?cvsroot=src&r1=1.140&r2=1.141
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&r1=1.751&r2=1.752
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/elfread.c.diff?cvsroot=src&r1=1.152&r2=1.153
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/findvar.c.diff?cvsroot=src&r1=1.149&r2=1.150
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/hppa-hpux-tdep.c.diff?cvsroot=src&r1=1.89&r2=1.90
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/infcmd.c.diff?cvsroot=src&r1=1.326&r2=1.327
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/linespec.c.diff?cvsroot=src&r1=1.182&r2=1.183
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/maint.c.diff?cvsroot=src&r1=1.93&r2=1.94
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/minsyms.c.diff?cvsroot=src&r1=1.100&r2=1.101
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/parse.c.diff?cvsroot=src&r1=1.138&r2=1.139
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/printcmd.c.diff?cvsroot=src&r1=1.227&r2=1.228
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/psymtab.c.diff?cvsroot=src&r1=1.72&r2=1.73
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/spu-tdep.c.diff?cvsroot=src&r1=1.86&r2=1.87
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/stabsread.c.diff?cvsroot=src&r1=1.154&r2=1.155
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/symmisc.c.diff?cvsroot=src&r1=1.93&r2=1.94
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/symtab.c.diff?cvsroot=src&r1=1.359&r2=1.360
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/symtab.h.diff?cvsroot=src&r1=1.233&r2=1.234

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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