FYI: minsyms documentation

Pedro Alves alves.ped@gmail.com
Tue Jan 3 11:05:00 GMT 2012


On 01/03/2012 02:52 AM, Joel Brobecker wrote:
>
> One of the issues this was supposed to solve, I was told, is that
> you can have the same function declared in multiple .h files, which
> is a big "ugh", but true I guess.

Really big "ugh".  That is insane, and we should get rid of such
cases.  Off hand, I know that command.h, and cli/ stuff declare
some of the same functions.  It's not funny to change the
interface/prototype of such a function, update only one of the headers,
and then find at run time you have weird crashes, because some module
is calling the function still using the old prototype, because it pulled
the not-updated header.

-- 
Pedro Alves



More information about the Gdb-patches mailing list