This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12471] functions shown as ?? in gdb
- From: "mxu at cae dot wisc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Oct 2003 14:43:22 -0000
- Subject: [Bug c++/12471] functions shown as ?? in gdb
- References: <20031001023058.12471.xu@cs.wisc.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12471
------- Additional Comments From mxu at cae dot wisc dot edu 2003-10-01 14:43 -------
Subject: Re: functions shown as ?? in gdb
bangerth,
The lib is not striped:
file /s/gcc-3.3/sun4x_58/lib/sparcv9/libstdc++.so.5.0.4
/s/gcc-3.3/sun4x_58/lib/sparcv9/libstdc++.so.5.0.4: ELF 64-bit MSB dynamic
lib SPARCV9 Version 1, dynamically linked, not stripped
nm it shows:
[4606] | 295956| 8|FUNC |WEAK |0 |434
|_ZNKSt9basic_iosI
cSt11char_traitsIcEE5rdbufEv
[4702] | 297504| 60|FUNC |WEAK |0 |456
|_ZNKSt9basic_iosI
cSt11char_traitsIcEE5widenEc
[3958] | 297440| 64|FUNC |WEAK |0 |455
|_ZNKSt9basic_iosI
cSt11char_traitsIcEE6narrowEcc
[3561] | 295892| 8|FUNC |WEAK |0 |430
|_ZNKSt9basic_iosI
cSt11char_traitsIcEE7rdstateEv
Does this indicate it's compile with -g?
In fact, this problem started on my application library which
I compiled with -g. The library is then dlopened.
-Min
On Wed, 01 Oct 2003 bangerth at dealii dot org wrote :
> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12471
>
>
>
> ------- Additional Comments From bangerth at dealii dot org 2003-10-01 14:36 -------
> Stack traces look like this is either the library wasn't compiled with -g,
> or if they were stripped. Not having such a system at hand, anything more
> from my side would be speculation, though.
>
> W.
>
>
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.