This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfc] msymbol.size
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: Michael Elizabeth Chastain <mec at shout dot net>
- Cc: ezannoni at redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Fri, 7 Nov 2003 15:31:34 -0500
- Subject: Re: [rfc] msymbol.size
- References: <200311072019.hA7KJodd024882@duracef.shout.net>
Michael Elizabeth Chastain writes:
> 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.
>
ok, build proceeding now...
elena
> Michael C