This is the mail archive of the gdb-patches@sourceware.org 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: FYI: minsyms documentation


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


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