This is the mail archive of the archer@sourceware.org mailing list for the Archer 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] | |
On Thu, 31 Jul 2008 21:54:13 +0200, Tom Tromey wrote:
> Could you elaborate on this? I didn't understand.
It was being discussed at:
http://sourceware.org/ml/gdb-patches/2008-05/msg00190.html
Example attached.
SHADOW should default for the current file but it is also in file2.c
Breakpoint 2 at 0x400550: file file1.c, line 7.
But FUNC is equally in func2.c and func3.c, which file to choose?
Breakpoint 3 at 0x4005bc: file file3.c, line 12.
func () at file3.c:9
9 puts ("3func-inner-enter-leave"); /* break line 9 */
Here is the nested function shadowing the others (like SHADOW).
Breakpoint 4 at 0x4005db: file file3.c, line 9.
Regards,
Jan
Attachment:
multiple-symbols.tar.gz
Description: GNU Zip compressed data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |