Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: James Sampson <i_am_triumph@ofir.dk>
To: GDB Archive <gdb@sources.redhat.com>
Subject: RE: Debugging GDB and breaking?
Date: Thu, 19 Dec 2002 01:16:00 -0000	[thread overview]
Message-ID: <20021219094701.B1FDB342DA@postfix2.ofir.com> (raw)

>Some general hints for debugging gdb:

Cool!



>I start with "gdb /my/gdb/to/debug/bin/gdb". I like to use a stable gdb
>for the top gdb, such as the vendor-supplied gdb or gdb 5.3. Also this
>helps separate, in my mind, the top gdb from the inferior gdb.


I didn't even know the 5.3 was out - Gonna grab that immediatly :-)




>After that, in your specific case, you want to break at break_command
>and then use "next" and "step" from there.


Ok, so the "break_command" is the first function to be called when setting a 
breakpoint? :-)



>Hope this helps,


Sure did, thanks :-D

Best Regards
James
						


             reply	other threads:[~2002-12-19  9:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-19  1:16 James Sampson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-12-18  7:23 Michael Elizabeth Chastain
2002-12-18  7:59 ` Andreas Schwab
2002-12-18 11:01 ` Grant Edwards
2002-12-18  5:49 James Sampson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021219094701.B1FDB342DA@postfix2.ofir.com \
    --to=i_am_triumph@ofir.dk \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox