Re: [rfc] msymbol.size

Michael Elizabeth Chastain
2003-11-07T20:19:54Z

eza> let me see if I can get at one.

The critical code is:

/* dbxread.c */
end_symtab (...)
{
...
if (pst->texthigh == 0 && last_function_name)
{
...

if (minsym)
pst->texthigh = SYMBOL_VALUE_ADDRESS (minsym) + MSYMBOL_SIZE (minsym);

...
}
...
}

If that assignment executes, and the address and size have the same
value before and after my patch, then the patch is okay.

A before-and-after test run on such a platform would be perfect.

Michael C