public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Nick Roberts <nick@nick.uklinux.net>
To: gdb@sources.redhat.com
Subject: `interpreter mi' with -noasync
Date: Fri, 22 Aug 2003 22:50:00 -0000	[thread overview]
Message-ID: <16198.40193.617385.411538@nick.uklinux.net> (raw)


The `interpreter mi' command works fine as follows:

nick:{nick}63: gdb -n -ann=2 ~/myprog
GNU gdb 5.3.90_2003-08-22-cvs
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-pc-linux-gnu"...
breakpoints-invalid

^Z^Zframes-invalid


^Z^Zpre-prompt
(gdb) 
^Z^Zprompt
interp mi "sho hei"

^Z^Zpost-prompt
&"sho hei\n"
^done,value="23"
(gdb) 

^Z^Zpre-prompt
(gdb) 
^Z^Zprompt


But when used with -noasync it seems to get a bit confused:


nick:{nick}61: gdb -q -n -ann=2 -noasync ~/myprog

^Z^Zbreakpoints-invalid

^Z^Zframes-invalid

^Z^Zpre-prompt
(gdb) 
^Z^Zprompt
interp mi "sho hei"

^Z^Zpost-prompt
&"sho hei\n"
^done,value="23"
(gdb) 
~"\n\032\032pre-"
~"prompt\n"
(gdb) 
^Z^Zprompt


Is that appropriate behaviour or shall I file a bug report?

Nick

             reply	other threads:[~2003-08-22 22:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-22 22:50 Nick Roberts [this message]
2003-08-28 20:14 ` Andrew Cagney
2003-08-29 16:45   ` Nick Roberts
2003-09-03 23:00     ` Andrew Cagney

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=16198.40193.617385.411538@nick.uklinux.net \
    --to=nick@nick.uklinux.net \
    --cc=gdb@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).