This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
symtab/1316: symbol.aux_value.loc.funcs redundant
- From: ac131313 at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 5 Aug 2003 04:39:07 -0000
- Subject: symtab/1316: symbol.aux_value.loc.funcs redundant
- Reply-to: ac131313 at redhat dot com
>Number: 1316
>Category: symtab
>Synopsis: symbol.aux_value.loc.funcs redundant
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: maintenance
>Submitter-Id: net
>Arrival-Date: Tue Aug 05 04:48:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: ac131313@redhat.com
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
The field `struct symbol.aux_value.loc.funcs' is redundant. Given a structure:
struct symbol_impl
{
enum address_class aclass;
struct location_funcs funcs;
struct value *(*read_variable) ()
...
};
and a table of all possible symbols, then things like
SYMBOL_CLASS(s)
symbol_impl[s->impl].aclass;
SYMBOL_LOCATION_FUNCS(s)
symbol_impl[s->impl].funcs...;
and that shaves one word of a symbol (56 vs 60, and 40 for a minsym).
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: