This is the mail archive of the gdb@sources.redhat.com 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]

name collision??


Dear Friends,
        I am facing a strange problem of name collision between a
variable in test program and a static global variable in libc (from
libiberty sources) when I try to debug in gdb. How come is this
happening? I am compiling the program with debug info using gcc -g
option. Could the reason be that compiler which built libc is goofing
up in name decoration?

Thanks in advance.
-- 
regards,
Roopesh Kohad


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