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

Re: [rfc] msymbol.size


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


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