From: Daniel Jacobowitz <drow@false.org>
To: Nick Roberts <nickrob@snap.net.nz>, Fred Fish <fnf@specifix.com>
Cc: Mark Kettenis <mark.kettenis@xs4all.nl>, gdb@sourceware.org
Subject: Re: quit no longer seems to work
Date: Fri, 09 Feb 2007 16:53:00 -0000 [thread overview]
Message-ID: <20070209165306.GA15875@nevyn.them.org> (raw)
In-Reply-To: <17867.58160.575337.645831@kahikatea.snap.net.nz>
Fred, have you had a chance to look at this?
On Fri, Feb 09, 2007 at 03:57:52PM +1300, Nick Roberts wrote:
> Mark Kettenis writes:
> > I'm seeing the following testsuite regression:
> >
> > help
> > List of classes of commands:
> >
> > aliases -- Aliases of other commands
> > breakpoints -- Making program stop at certain points
> > data -- Examining data
> > files -- Specifying and examining files
> > internals -- Maintenance commands
> > obscure -- Obscure features
> > running -- Running the program
> > ---Type <return> to continue, or q <return> to quit---PASS: gdb.base/page.exp: paged help
> > q
> > stack -- Examining the stack
> > status -- Status inquiries
> > support -- Support facilities
> > tracepoints -- Tracing of program execution without stopping the program
> > user-defined -- User-defined commands
> >
> > Type "help" followed by a class name for a list of commands in that class.
> > Type "help all" for the list of all commands.
> > Type "help" followed by command name for full documentation.
> > ---Type <return> to continue, or q <return> to quit---ERROR: Window too small.
> > UNRESOLVED: gdb.base/page.exp: q
>
> Does the patch below fix it? (Taken from Apple's code.)
>
> --
> Nick http://www.inet.net.nz/~nickrob
>
>
> *** event-top.c 09 Feb 2007 08:39:22 +1300 1.49
> --- event-top.c 09 Feb 2007 15:55:35 +1300
> *************** async_request_quit (gdb_client_data arg)
> *** 1001,1007 ****
> the current command before we got back to the event loop. So
> there is no reason to call quit again here. */
>
> ! if (quit_flag == 0)
> return;
>
> quit ();
> --- 1001,1007 ----
> the current command before we got back to the event loop. So
> there is no reason to call quit again here. */
>
> ! if (quit_flag == 0 && immediate_quit == 0)
> return;
>
> quit ();
>
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2007-02-09 16:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-08 22:27 Mark Kettenis
2007-02-08 22:58 ` Daniel Jacobowitz
2007-02-08 23:06 ` Joel Brobecker
2007-02-09 2:58 ` Nick Roberts
2007-02-09 16:53 ` Daniel Jacobowitz [this message]
2007-02-09 17:32 ` Fred Fish
2007-02-09 23:48 ` Fred Fish
2007-02-10 20:45 ` Daniel Jacobowitz
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=20070209165306.GA15875@nevyn.them.org \
--to=drow@false.org \
--cc=fnf@specifix.com \
--cc=gdb@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
--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