Sorry, I thought that since it was likely a configuration problem that I had already included all the relevant information. Also, I realize that this is not the latest version of CodeLite. But, again since it seemed like a config issue...
CodeLite: V2.8.0.4537
GDB: 7.4-2012.04
Clang: 3.1
OS: Unbuntu 12.04, under VMware
Self Compiled: NO, for nothing
Debug Log: below, but the relevant line seems to be this:
(Note, the program is a just a bit more than hello world, and it does run properly without the debugger.)
DEBUG>>00000219^error,msg="During startup program exited with code 1."
=====================================
Using gdbinit file: /home/vmplanet/.gdbinit
Current working dir: /home/vmplanet/projects/ikm1
Launching gdb from : ./Debug
Starting debugger : gdb --tty=/dev/? --interpreter=mi "./ikm1"
Debug session started successfully!
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
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.
This GDB was configured as "i686-linux-gnu".\nFor bug reporting instructions, please see:
<
http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /home/vmplanet/projects/ikm1/Debug/ikm1...
done.
Catchpoint 1 (throw)
Successfully set breakpoint 2 at: /home/vmplanet/projects/ikm1/main.cpp:16
Successfully set breakpoint 3 at: /home/vmplanet/projects/ikm1/main.cpp:18
Breakpoint 3 deleted
Successfully set temporary breakpoint 5 at: /home/vmplanet/projects/ikm1/main.cpp:16
Debug session ended
Using gdbinit file: /home/vmplanet/.gdbinit
Current working dir: /home/vmplanet/projects/ikm1
Launching gdb from : ./Debug
Starting debugger : gdb --tty=/dev/? --interpreter=mi "./ikm1"
DEBUG>>set unwindonsignal on
DEBUG>>set breakpoint pending on
DEBUG>>catch throw
DEBUG>>set width 0
DEBUG>>set height 0
DEBUG>>set print pretty on
DEBUG>>set print elements 200
DEBUG>>00000216-break-insert "\"/home/vmplanet/projects/ikm1/main.cpp:16\""
DEBUG>>00000217-break-insert main
Debug session started successfully!
DEBUG>>00000218-exec-arguments
DEBUG>>00000219-exec-run
DEBUG>>set unwindonsignal on
set unwindonsignal on
DEBUG>>set breakpoint pending on
set breakpoint pending on
DEBUG>>catch throw
catch throw
DEBUG>>set width 0
set width 0
DEBUG>>set height 0
set height 0
DEBUG>>set print pretty on
set print pretty on
DEBUG>>set print elements 200
set print elements 200
DEBUG>>00000216-break-insert "\"/home/vmplanet/projects/ikm1/main.cpp:16\""
DEBUG>>00000217-break-insert main
DEBUG>>00000218-exec-arguments
DEBUG>>00000219-exec-run
DEBUG>>=thread-group-added,id="i1"
=thread-group-added,id="i1"
DEBUG>>~"GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04\n"
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
DEBUG>>~"Copyright (C) 2012 Free Software Foundation, Inc.\n"
Copyright (C) 2012 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://bugs.launchpad.net/gdb-linaro/>...\n"
<
http://bugs.launchpad.net/gdb-linaro/>...
DEBUG>>~"Reading symbols from /home/vmplanet/projects/ikm1/Debug/ikm1..."
Reading symbols from /home/vmplanet/projects/ikm1/Debug/ikm1...
DEBUG>>~"done.\n"
done.
DEBUG>>&"set unwindonsignal on\n"
DEBUG>>^done
DEBUG>>&"set breakpoint pending on\n"
DEBUG>>^done
DEBUG>>&"catch throw\n"
DEBUG>>&"Function \"__cxa_throw\" not defined.\n"
DEBUG>>~"Catchpoint 1 (throw)\n"
Catchpoint 1 (throw)
DEBUG>>=breakpoint-created,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",what="exception throw",times="0",original-location="__cxa_throw"}
=breakpoint-created,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="<PENDING>",what="exception throw",times="0",original-location="__cxa_throw"}
DEBUG>>^done
DEBUG>>&"set width 0\n"
DEBUG>>^done
DEBUG>>&"set height 0\n"
DEBUG>>^done
DEBUG>>&"set print pretty on\n"
DEBUG>>^done
DEBUG>>&"set print elements 200\n"
DEBUG>>^done
DEBUG>>00000216^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x080486b6",func="main(int, char**)",file="main.cpp",fullname="/home/vmplanet/projects/ikm1/main.cpp",line="16",times="0",original-location="/home/vmplanet/projects/ikm1/main.cpp:16"}
Found the breakpoint ID!
Storing debugger breakpoint Id=2
Successfully set breakpoint 2 at: /home/vmplanet/projects/ikm1/main.cpp:16
DEBUG>>00000217^done,bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="0x08048694",at="<main(int, char**)+4>",times="0",original-location="main"}
DEBUG>>00000218^done
DEBUG>>&"/dev/?: No such file or directory.\n"
DEBUG>>=thread-group-started,id="i1",pid="18370"
=thread-group-started,id="i1",pid="18370"
DEBUG>>=thread-created,id="1",group-id="i1"
=thread-created,id="1",group-id="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>>00000219^error,msg="During startup program exited with code 1."
DEBUG>>00000220-var-update "*"
During startup program exited with code 1.
DEBUG>>00000220-var-update "*"
DEBUG>>00000220^done,changelist=[]