bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdb compatibility with gcc and the error?


From: spai
Subject: gdb compatibility with gcc and the error?
Date: Fri, 05 Dec 2003 10:21:18 -0800


Build environment:
Compile machine: SunOS burbank 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60
gcc version 3.2.2
gdb version 5.3

Also version of gdb is "c++" aware and what gcc compiler produces C++ gdb-aware
symbolic debug info?

Thanks,
Suhas

I'm getting following errors in trying to debug my program:

burbank{440}> gdb
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8".
(gdb) file scgdb
Reading symbols from scgdb...done.
(gdb) b sc_main
Breakpoint 1 at 0x10003439c: file scgdb.cpp, line 74.
(gdb) run
Starting program: /usr/local/projects/vlsi/scp/osci/scprimer/scgdb
procfs:4235 -- process not stopped.
procfs: ...giving up...
(gdb) l
procfs: couldn't find pid 2809 (kernel thread 1) in procinfo list.
(gdb) q
The program is running.  Exit anyway? (y or n) y



reply via email to

[Prev in Thread] Current Thread [Next in Thread]