public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: James Ingham <jingham AT cygnus.com>
To: lduperval AT sprint.ca
Cc: Insight Maling List <insight AT sourceware.cygnus.com>
Subject: Re: A few questions
Date: Thu, 16 Sep 1999 16:41:00 -0000	[thread overview]
Message-ID: <14305.32939.810781.563320@leda.cygnus.com> (raw)
In-Reply-To: <199909162328.TAA16126@hme0.smtp04.sprint.ca>

lduperval@sprint.ca writes:
 > Hi,
 > 
 > I'm a new user and I have a couple of questions:
 > 
 > - Is it possible to save my breakpoints? When I debug a program, I'd ike
 >   to reload the same breakpoints I had the last time. Especially since
 >   debugging that program makes gdb crash...

Bring up the breakpoints window, and choose:

Global->Save Breakpoints

This writes a gdb command file with the breakpoints in it.  This
command doesn't yet store away the commands and conditions, but that
would not be too hard to hack in...

There is an equivalent restore breakpoints entry.

 > 
 > - How do I pass command line parameters to the program I'm debugging? In
 >   cli mode I can do "run params" but how does it work with th GUI?

Couple of ways.  You can do:

(gdb) set args whatever

in the console window before you run.

Or you can bring up the Target Settings dialog (File->Target
Settings), set the target to exec, and enter the args in the magical
Args box that will appear below the target dropdown.

 > 
 > I'm using a July release (I've a slow connection). If the above is
 > available in the most recent release, let me know and i'll just hog the
 > phone line a little more.

I think you should have both of these.

Jim

P.S. If you can get a reproducible case which crashes gdb, please send 
it to us.  We will try to fix it.

Jim

-- 
++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++
Jim Ingham                                              jingham@cygnus.com
Cygnus Solutions Inc.

  reply	other threads:[~1999-09-16 16:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-16 16:29 lduperval
1999-09-16 16:41 ` James Ingham [this message]
1999-09-16 19:40   ` lduperval

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=14305.32939.810781.563320@leda.cygnus.com \
    --to=insight@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).