From: Daniel Jacobowitz <drow@false.org>
To: Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFC] Add another "Are you sure..." case to gdb_unload in lib/gdb.exp
Date: Sat, 14 Jul 2007 05:16:00 -0000 [thread overview]
Message-ID: <20070714014123.GA23933@caradoc.them.org> (raw)
In-Reply-To: <20070713182535.3af63443@ironwood.lan>
On Fri, Jul 13, 2007 at 06:25:35PM -0700, Kevin Buettner wrote:
> (gdb) file
> A program is being debugged already.
> Are you sure you want to change the file? (y or n) ERROR: couldn't unload file in /ironwood1/toshmep-070403-branch/mep-elf/bld/gdb/testsuite/../../gdb/gdb (timed out).
> kill
Hmm. Maybe this is a bug in gdb, actually:
> -re "Discard symbol table from .*y or n.*$" {
> send_gdb "y\n"
> exp_continue
That question (generated elsewhere) might be all we should ask.
However, for the testsuite's purpose you can go even further. I don't
think you need gdb_unload at all, and sid is the only remaining caller
of it. It's followed by a new gdb_file_cmd, which should suffice.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-07-14 1:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-14 1:41 Kevin Buettner
2007-07-14 5:16 ` Daniel Jacobowitz [this message]
2007-07-15 1:01 ` Kevin Buettner
2007-07-19 0:45 ` Kevin Buettner
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=20070714014123.GA23933@caradoc.them.org \
--to=drow@false.org \
--cc=gdb-patches@sources.redhat.com \
--cc=kevinb@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