This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
name collision??
- From: Roopesh Kohad <roopesh dot kohad at gmail dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 23 Mar 2005 16:12:24 +0530
- Subject: name collision??
- Reply-to: Roopesh Kohad <roopesh dot kohad at gmail dot com>
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