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

symtab/1319: Include non-loadable sections in objfile struct


>Number:         1319
>Category:       symtab
>Synopsis:       Include non-loadable sections in objfile struct
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          maintenance
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 05 05:08:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     ac131313@redhat.com
>Release:        unknown-1.0
>Organization:
>Environment:

>Description:
It should be possible to merge "section" and "bfd_section" into a single obj_section pointer and a `relocate' bit - saving ~2 bytes off every symbol.

The objfile data structure contains a table of sections.  Unfortunatly the sections are filtered - only loadable ones are in the table.

If instead all the sections were included in the table, it would be come very easy to map between a GDB and BFD section object (just index the table).

Alternativly, code iterating over sections could use GDB's objfile table.

Either way, the section indexes can be replaced with proper pointers to the real sections.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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