Be sure you're using GDB 6.3-2 and no 5.x. Be sure you're compiling with the flag -g and without -s too.
and yeah, I'm compiling with only the -g flag, but still, the same problem.
here's the debugger output:
Command-line: /usr/bin/gdb -nx -fullname -quiet -args Untitled1
Working dir : /home/kreso/Projects/asdasdasdasd/
> set prompt >>>>>>cb_gdb:
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) >>>>>>cb_gdb:
> show version
GNU gdb 6.4-debian
Copyright 2005 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
>>>>>>cb_gdb:
> set breakpoint pending on
>>>>>>cb_gdb:
> set print asm-demangle on
>>>>>>cb_gdb:
> set unwindonsignal on
>>>>>>cb_gdb:
> set disassembly-flavor att
>>>>>>cb_gdb:
> directory /home/kreso/Projects/asdasdasdasd/
>>>>>>cb_gdb:
> delete breakpoints
>>>>>>cb_gdb:
> start
Breakpoint 1 at 0x80483a4: file src.cpp, line 6.
main () at src.cpp:6
/home/kreso/Projects/asdasdasdasd/src.cpp:6:35:beg:0x80483a4
>>>>>>cb_gdb:
> info program
Using the running image of child process 5792.
Program stopped at 0x80483a4.
It stopped at a breakpoint that has since been deleted.
Type "info stack" or "info registers" for more information.
>>>>>>cb_gdb:
> cont
drek
Program exited normally.
>>>>>>cb_gdb:
> quit