Re: kdevelop gdb commands
- From: Chris <chris@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 21 Feb 2008 17:35:31 GMT
Jeff wrote:
On Feb 21, 8:20 am, Jeff <j...@xxxxxxxxx> wrote:
Im new to Kdevelop. Im trying to figure out where the gdb commands
come from when I launch gdb from kdevelop. Ive inherited this
project
from
a former employee and it seems that not only when gdb starts to run
it
excecutes a bunch of things, but the program Im trying to debug
crashes
and then it excecutes a bunch of other commands and finally stops and
I cannot figure out where all these commands (both before startup and
after crash) are coming from?
Secondarily, I want to add 3 commands to gdb before my program
starts excuting. Where do I add them? Or How do I add them so it
automatically starts up with those already executed? They are:
handle SIG64 nopass
handle SIG64 noprint
handle SIG64 nostop
Ive read the KDevelop manual and googled and cant seem to find these
answers so far.
Thanks for your help
Ok for some reason I missed it in the gdb man page that you can
use .gdbinit for startup commands. The rest is a mystery to me
still, but at least that much works. Just an FYI for the next guy who
sees this post and needs an answer :)
What version of KDevelop?
If the program cashes, it will still be active in the debugger. Use the
Stack to see where the crash (or chain of calls) occurred. If the source is
available for the function, the file containing that function should be
loaded with offending line highlighted.
If you don't know, the Stack is located at the bottom pane along with the
console, etc.
--
Chris
.
- References:
- kdevelop gdb commands
- From: Jeff
- Re: kdevelop gdb commands
- From: Jeff
- kdevelop gdb commands
- Prev by Date: Re: kdevelop gdb commands
- Next by Date: Re: download peak control
- Previous by thread: Re: kdevelop gdb commands
- Index(es):
Relevant Pages
|