GDB freezed, i had to kill it from a terminal, debug process couldn't stopped.
Debug log by GNU gdb 6.8 under Linux Debian, CB nightly 5045:
LD_LIBRARY_PATH=.:/home/szurilo/SRC3000/lib:
Command-line: /usr/bin/gdb -nx -fullname -quiet -args bin/Debug/SRC3000
Working dir : /home/szurilo/SRC3000/
(gdb)
> set prompt >>>>>>cb_gdb:
>>>>>>cb_gdb:
> show version
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
>>>>>>cb_gdb:
> set confirm off
>>>>>>cb_gdb:
> set width 0
>>>>>>cb_gdb:
> set height 0
>>>>>>cb_gdb:
> set breakpoint pending on
>>>>>>cb_gdb:
> set print asm-demangle on
>>>>>>cb_gdb:
> set unwindonsignal on
>>>>>>cb_gdb:
> set disassembly-flavor intel
>>>>>>cb_gdb:
> catch throw
Function "__cxa_throw" not defined.
>>>>>>cb_gdb:
> directory /home/szurilo/SRC3000/
>>>>>>cb_gdb:
> break "/home/szurilo/SRC3000/src/WorkerThread.cpp:237"
Breakpoint 1 at 0x8067ad9: file /home/szurilo/SRC3000/src/WorkerThread.cpp, line 237.
>>>>>>cb_gdb:
> run
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread 0xb678a6c0 (LWP 3831)]
(SRC3000:3831): Gtk-CRITICAL **: gtk_window_set_icon_list: assertion `GTK_IS_WINDOW (window)' failed
[New Thread 0xb6410bb0 (LWP 3834)]
[New Thread 0xb5c0fbb0 (LWP 3835)]
[Thread 0xb5c0fbb0 (LWP 3835) exited]
[New Thread 0xb540ebb0 (LWP 3836)]
[Thread 0xb540ebb0 (LWP 3836) exited]
(SRC3000:3831): Gtk-CRITICAL **: gtk_file_system_unix_get_folder: assertion `g_path_is_absolute (filename)' failed
[Switching to Thread 0xb6410bb0 (LWP 3834)]
Breakpoint 1, WorkerThread::Entry (this=0x82ad278) at /home/szurilo/SRC3000/src/WorkerThread.cpp:237
/home/szurilo/SRC3000/src/WorkerThread.cpp:237:7130:beg:0x8067ad9
>>>>>>cb_gdb:
> info locals
event = <incomplete type>
>>>>>>cb_gdb:
> info args
this = (WorkerThread * const) 0x82ad278
>>>>>>cb_gdb:
> whatis freqfifolist.back()
type = CFrBase *&
>>>>>>cb_gdb:
> output freqfifolist.back()
(CFrBase *&) @0x1fc: <error reading variable>>>>>>>cb_gdb:
> next
I tried to run gdb from command line, it works, but this is very uncomfortable for me.
Szurilo