public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12471] New: functions shown as ?? in gdb
@ 2003-10-01  2:31 gcc-bugzilla at gcc dot gnu dot org
  2003-10-01  2:36 ` [Bug c++/12471] " pinskia at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2003-10-01  2:31 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: functions shown as ?? in gdb
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: xu at cs dot wisc dot edu
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8

	If you compile the following simple program and debug it with gdb 5.3
64bit version, everything works fine except that when you press ^C and stop in
the gdb prompt and do a "where" command. You will not see the function names of
the c++ library. I have tried other calls and gdb was able to show function
name of /usr/lib/libc.so, for instance. I am not sure this is a bug of gcc or
gdb, I shall report to both.

Environment:
System: SunOS pinot.cs.wisc.edu 5.8 Generic_108528-23 sun4u sparc SUNW,Sun-Fire-880
Architecture: sun4

	
host: sparc-sun-solaris2.8
build: sparc-sun-solaris2.8
target: sparc-sun-solaris2.8
configured with: ../gcc-3.3/configure --prefix=/s/gcc-3.3 --enable-threads --enable-shared

How-To-Repeat:
	For the following code:

#include <iostream>
using namespace std;

main() {
  cout << "helo" << endl;
  for(;;) {
    cout << "a";
  }
}

	compile with
  g++ -g -m64 -mcpu=v9 -ldl test.cc
	debug with
  gdb a.out
	in gdb
  run
  ^c
  where
------- Additional Comments From xu at cs dot wisc dot edu  2003-10-01 02:30 -------
Fix:
	if you know, let me know.


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2003-10-04 17:06 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-01  2:31 [Bug c++/12471] New: functions shown as ?? in gdb gcc-bugzilla at gcc dot gnu dot org
2003-10-01  2:36 ` [Bug c++/12471] " pinskia at gcc dot gnu dot org
2003-10-01 12:55 ` bangerth at dealii dot org
2003-10-01 14:25 ` mxu at cae dot wisc dot edu
2003-10-01 14:27 ` mxu at cae dot wisc dot edu
2003-10-01 14:36 ` bangerth at dealii dot org
2003-10-01 14:43 ` mxu at cae dot wisc dot edu
2003-10-01 15:11 ` [Bug target/12471] [sparc] no backtrace into libstdc++ possible bangerth at dealii dot org
2003-10-03  4:30 ` [Bug target/12471] " ebotcazou at gcc dot gnu dot org
2003-10-03  4:30 ` ebotcazou at gcc dot gnu dot org
2003-10-03  6:47 ` ebotcazou at gcc dot gnu dot org
2003-10-03 14:27 ` mxu at cae dot wisc dot edu
2003-10-03 14:45 ` ebotcazou at gcc dot gnu dot org
2003-10-04  5:01 ` ebotcazou at gcc dot gnu dot org
2003-10-04 17:06 ` mxu at cae dot wisc dot edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).