public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: tromey@redhat.com
Cc: Gdb List <gdb@sources.redhat.com>
Subject: Re: fix break, not add future-break
Date: Tue, 11 Mar 2003 22:10:00 -0000	[thread overview]
Message-ID: <3E6E5ED6.9040704@redhat.com> (raw)
In-Reply-To: <87r89dmxkw.fsf@fleche.redhat.com>

> "Andrew" == Andrew Cagney <ac131313@redhat.com> writes:
> 
> 
> Andrew> I'd like to propose that break be modified so that it behaves
> Andrew> something like:
> Andrew> 	(gdb) break printf.c:printf
> Andrew> 	File "printf.c" not currently known, set breakpoint anyway?
> 
> For Insight I think it would be useful to have a version of the
> command (or a flag, e.g. "break -future") that never asks.  I imagine
> that's true of other GUIs as well, though you'd have to ask those more
> familiar with them.
> 
> The scenario I'm thinking of is saving breakpoints.  Right now we save
> all the breakpoints in the session.  When reloading breakpoints, any
> breakpoint that isn't immediately valid is discarded.  This is a major
> problem for me (and presumably others), since I do a lot of debugging
> of code in shared libraries -- meaning that many of my breakpoints are
> lost from session to session.

Yep.  If the breakpoint is comming from a script, just assume `user 
knows best' and add them regardless.

> For breakpoints the user enters by hand, asking seems like a nice
> idea.
> 
> Tom

Andrew


  reply	other threads:[~2003-03-11 22:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-11 15:13 Andrew Cagney
2003-03-11 21:03 ` Tom Tromey
2003-03-11 22:10   ` Andrew Cagney [this message]
2003-03-12 18:43 ` Eli Zaretskii
     [not found] <1047587818.8256.ezmlm@sources.redhat.com>
2003-03-13 22:20 ` Jim Ingham

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=3E6E5ED6.9040704@redhat.com \
    --to=ac131313@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=tromey@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).