Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Dodji Seketeli <dodji@seketeli.org>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: GDB Discuss <gdb@sources.redhat.com>
Subject: Re: question about -file-exec-and-symbols gdbmi command
Date: Wed, 18 Apr 2007 10:11:00 -0000	[thread overview]
Message-ID: <20070418121124.36ccd4fa@coin> (raw)
In-Reply-To: <17957.60377.419260.20236@farnswood.snap.net.nz>

On Wed, 18 Apr 2007 21:58:49 +1200
Nick Roberts <nickrob@snap.net.nz> wrote:

[...]

> -file-exec-and-symbols is really just the `file' command:
> 
> In mi-cmds.c:
> 
>   { "file-exec-and-symbols", { "file", 1 }, NULL, NULL },
> 
> so it's not restricted to MI.
> 
> I don't really use either but maybe it would be inconvenient to have
> all the breakpoints cleared, if you wanted to switch to another
> version of the same program, say.  It's easier to delete then all
> manually, just with `delete' than it is to add them back again.
> 
> Perhaps it could be a GDB option.

Okay thank you for the hints, Nick.

I maybe I could try a patch that introduces a new command that clears
all the breakpoints when you load a new file ?

Cheers,


-- 
Dodji Seketeli
http://www.seketeli.org/dodji


  reply	other threads:[~2007-04-18 10:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-18  9:12 Dodji Seketeli
2007-04-18 10:01 ` Nick Roberts
2007-04-18 10:11   ` Dodji Seketeli [this message]
2007-04-18 10:38     ` Nick Roberts
2007-04-18 10:58       ` Daniel Jacobowitz
2007-04-18 12:02         ` Nick Roberts
2007-04-18 12:11           ` Daniel Jacobowitz
2007-04-18 13:06             ` Dodji Seketeli
2007-04-18 13:13               ` Daniel Jacobowitz
2007-04-18 21:55             ` Nick Roberts

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=20070418121124.36ccd4fa@coin \
    --to=dodji@seketeli.org \
    --cc=gdb@sources.redhat.com \
    --cc=nickrob@snap.net.nz \
    /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