Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: Re: [RFC] Add another "Are you sure..." case to gdb_unload in  lib/gdb.exp
Date: Sun, 15 Jul 2007 01:01:00 -0000	[thread overview]
Message-ID: <20070713221621.6d14b1ce@ironwood.lan> (raw)
In-Reply-To: <20070714014123.GA23933@caradoc.them.org>

On Fri, 13 Jul 2007 21:41:23 -0400
Daniel Jacobowitz <drow@false.org> wrote:

> 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.

Okay, I'll dig into this a bit more.  Thanks for looking this over!

Kevin


  reply	other threads:[~2007-07-14  5:16 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
2007-07-15  1:01   ` Kevin Buettner [this message]
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=20070713221621.6d14b1ce@ironwood.lan \
    --to=kevinb@redhat.com \
    --cc=gdb-patches@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