This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: FYI: minsyms documentation
- From: Pedro Alves <alves dot ped at gmail dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, Stan Shebs <stanshebs at earthlink dot net>, gdb-patches at sourceware dot org
- Date: Tue, 03 Jan 2012 11:04:44 +0000
- Subject: Re: FYI: minsyms documentation
- References: <m3vcp972sf.fsf@fleche.redhat.com> <4EF38DAD.3040106@earthlink.net> <20111223042053.GW23376@adacore.com> <m3fwfxhhvp.fsf@fleche.redhat.com> <20120103025256.GD2730@adacore.com>
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