This is the mail archive of the gdb@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: Does gdb support weak/normal symbols?


On Sun, Jan 15, 2006 at 08:49:04PM -0500, Daniel Jacobowitz wrote:
> On Sun, Jan 15, 2006 at 04:48:31PM -0800, H. J. Lu wrote:
> > foo in weak.c isn't in the symbol table. But gdb sets the breakpoint
> > of foo on it. Shouldn't gdb be clever enough to know to check the
> > other one?
> 
> GDB uses the debug information in preference to the ELF symbol table. 
> That one says this is a definition of foo.
> 
> Eventually "break foo" will breakpoint both of them.

What did you mean by "Eventually"? Were you saying that it was a bug
and would be fixed in the future? Is anyone working on it? I'd like
to help.


H.J.


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