Code: Select all
Using gdbinit file: /home/marcin/.gdbinit
Current working dir: /home/marcin/Codelite_project/workspace
Launching gdb from : /home/marcin/Codelite_project/applications/i686-linux-gnu-m32/MainApp
Starting debugger : gdb --tty=/dev/pts/8 --interpreter=mi "./MainApp"
DEBUG>>set unwindonsignal on
DEBUG>>set breakpoint pending on
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set print elements 200
DEBUG>>foo
DEBUG>>00000102-break-insert "\"/home/marcin/Codelite_project/applications/MainApp/MainApp.cpp:181\""
Debug session started successfully!
DEBUG>>00000103-exec-arguments
DEBUG>>00000104-exec-run
DEBUG>>00000101^done,changelist=[]
DEBUG>>=thread-group-added,id="i1"
=thread-group-added,id="i1"
DEBUG>>~"GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2\n"
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
DEBUG>>~"Copyright (C) 2010 Free Software Foundation, Inc.\n"
Copyright (C) 2010 Free Software Foundation, Inc.
DEBUG>>~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type "show copying"\nand "show warranty" for details.
DEBUG>>~"This GDB was configured as \"i686-linux-gnu\".\nFor bug reporting instructions, please see:\n"
This GDB was configured as "i686-linux-gnu".\nFor bug reporting instructions, please see:
DEBUG>>~"<http://www.gnu.org/software/gdb/bugs/>...\n"
<http://www.gnu.org/software/gdb/bugs/>...
DEBUG>>~"Reading symbols from /home/marcin/Codelite_project/applications/i686-linux-gnu-m32/MainApp/MainApp..."
Reading symbols from /home/marcin/Codelite_project/applications/i686-linux-gnu-m32/MainApp/MainApp...
DEBUG>>~"done.\n"
done.
DEBUG>>&"set unwindonsignal on\n"
DEBUG>>^done
DEBUG>>&"set breakpoint pending on\n"
DEBUG>>^done
DEBUG>>&"set width 0\n"
DEBUG>>^done
DEBUG>>&"set height 0\n"
DEBUG>>^done
DEBUG>>&"set print elements 200\n"
DEBUG>>^done
DEBUG>>&"foo\n"
DEBUG>>&"Undefined command: \"foo\". Try \"help\".\n"
DEBUG>>^error,msg="Undefined command: \"foo\". Try \"help\"."
^error,msg="Undefined command: \"foo\". Try \"help\"."
DEBUG>>00000102^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0805d460",func="main(int, char**)",file="MainApp/MainApp.cpp",fullname="/home/marcin/Codelite_project/applications/MainApp/MainApp.cpp",line="181",times="0",original-location="\"/home/marcin/Codelite_project/applications/MainApp/MainApp.cpp:181"}
Found the breakpoint ID!
Storing debugger breakpoint Id=1
Successfully set breakpoint 1 at: /home/marcin/Codelite_project/applications/MainApp/MainApp.cpp:181
DEBUG>>00000103^done
DEBUG>>=thread-group-started,id="i1",pid="27609"
=thread-group-started,id="i1",pid="27609"
DEBUG>>=thread-created,id="1",group-id="i1"
=thread-created,id="1",group-id="i1"
DEBUG>>00000104^running
Continuing...
DEBUG>>*running,thread-id="all"
*running,thread-id="all"
DEBUG>>=library-loaded,id="/lib/ld-linux.so.2",target-name="/lib/ld-linux.so.2",host-name="/lib/ld-linux.so.2",symbols-loaded="0",thread-group="i1"
=library-loaded,id="/lib/ld-linux.so.2",target-name="/lib/ld-linux.so.2",host-name="/lib/ld-linux.so.2",symbols-loaded="0",thread-group="i1"
DEBUG>>=thread-exited,id="1",group-id="i1"
=thread-exited,id="1",group-id="i1"
DEBUG>>=thread-group-exited,id="i1"
=thread-group-exited,id="i1"
DEBUG>>*stopped,reason="exited",exit-code="0177"
Program exited normally.
DEBUG>>00000105-var-update "*"
Debug session ended