User forums > Using Code::Blocks

GDB problem

<< < (2/2)

Halan:
LD_LIBRARY_PATH=.:
Command-line: /usr/bin/gdb -nx -fullname  -quiet -args bin/Debug/MapEditor
Working dir : /home/kai/Desktop/Coding/ProjectFreedom/MapEditor/
> set prompt >>>>>>cb_gdb:
Executing: xterm -T 'Program Console' -e sleep 87866
Executing: ps x -o tty,pid,command
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) >>>>>>cb_gdb:
> show version
GNU gdb 6.6-debian
Copyright (C) 2006 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 "i486-linux-gnu".
>>>>>>cb_gdb:
> set confirm off
>>>>>>cb_gdb:
> set width 0
>>>>>>cb_gdb:
> set height 0
PS result: ?         8083 ps x -o tty,pid,command
PS result: pts/0     8082 sleep 87866
TTY is[/dev/pts/0]
GetConsoleTTY[/dev/pts/0]ConsolePid[8081]
Queued:[tty /dev/pts/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:
> directory /home/kai/Desktop/Coding/ProjectFreedom/MapEditor/
>>>>>>cb_gdb:
> directory /home/kai/Desktop/Coding/ProjectFreedom/
>>>>>>cb_gdb:
> tty /dev/pts/0
>>>>>>cb_gdb:
> start
Function "main" not defined.
Breakpoint 1 (main) pending.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1213200704 (LWP 8084)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Program exited with code 0377.
>>>>>>cb_gdb:
> quit

Jenna:
Which version of C::B do you use ?
Can you post (or mail me) the project-file (*.cbp) and the "default.conf" ?
You find "default.conf" in "$HOME/.codeblocks".

AsM0DeUz:
Hi !

You probably have the same issue i had 'till today  :) If you create a new file (File - New - File ...) you won't be able to debug anything but if you create a project (File - New - Project ...) all grayed actions in debug menu will be available.

Regards

Navigation

[0] Message Index

[*] Previous page

Go to full version