C++ debug

Cristiano Nattero kr1zz@linux.it
Ven 4 Maggio 2007 20:14:14 CEST


Cristiano Nattero wrote:
> se provo a debuggare non si apre nemmeno la konsole... :-P

Qualche info pił teNNica:

gdb
/home/kr1zz/uni/tesi/progetto/prova_strutture/debug/src/prova_strutture
-fullname -quiet
(gdb) set edit off
(gdb) set confirm off
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb)
(gdb)
(gdb) set print static-members off
(gdb) tty /dev/pts/1
(gdb) set width 0
(gdb) set height 0
(gdb) set stop-on 1
(gdb) handle SIG32 pass nostop noprint
(gdb) handle SIG41 pass nostop noprint
(gdb) handle SIG42 pass nostop noprint
(gdb) handle SIG43 pass nostop noprint
(gdb) set print asm-demangle on
(gdb) set output-radix 10
(gdb) cd /home/kr1zz/uni/tesi/progetto/prova_strutture/debug/src
(gdb) run
Failed to read a valid object file image from memory.

(gdb) backtrace
Stopped due to shared library event
#0  0xb7f55010 in _dl_debug_state () from /lib/ld-linux.so.2
#1  0xb7f4bc35 in dl_main () from /lib/ld-linux.so.2
#2  0xb7f583e8 in _dl_sysdep_start () from /lib/ld-linux.so.2
#3  0xb7f49b46 in _dl_start () from /lib/ld-linux.so.2
#4  0xb7f497b7 in _start () from /lib/ld-linux.so.2
(gdb) info args
No symbol table info available.
(gdb) info local
No symbol table info available.
(gdb) frame 0
#0  0xb7f55010 in _dl_debug_state () from /lib/ld-linux.so.2
(gdb) info args
No symbol table info available.
(gdb) info local
No symbol table info available.

-- 
Ciao,
Cristiano

http://blog.linux.it/kr1zz
http://www.partecipattiva.org/


Maggiori informazioni sulla lista glug