From: Dirk Behme <dirk.behme@googlemail.com>
To: gdb@sourceware.org
Subject: MI return error changed from 6.3 to 6.4?
Date: Fri, 07 Apr 2006 16:02:00 -0000 [thread overview]
Message-ID: <44368B51.1030707@gmail.com> (raw)
Hello,
after upgrade from GDB 6.3 to 6.4 I noticed that the error
return behavior of MI interface invoked by
"--interpreter=mi" changed. While with 6.3 an "^error" was
returned which can be used by programs to react, 6.4 only
returns "^done":
GDB 6.3:
(gdb)
ererwrererwrewr
&"ererwrererwrewr\n"
&"Undefined command: \"ererwrererwrewr\". Try \"help\".\n"
^error,msg="Undefined command: \"ererwrererwrewr\". Try
\"help\"."
(gdb)
GDB 6.4:
(gdb)
srwwerrweweer
&"srwwerrweweer\n"
&"Undefined command: \"srwwerrweweer\". Try \"help\".\n"
^done
(gdb)
With this, a GUI interface has the problem that it can't
decide if the GDB
has some problems parsing the command given to it or not
because it scans for
the "^error" string as result. With 6.4 this doesn't work
any more.
Do I miss anything here? What is the new recommended way to
do this job?
Sorry if this is a FAQ, but searching release note and list
archives I can't find a hint for this.
Thanks
Dirk
next reply other threads:[~2006-04-07 15:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-07 16:02 Dirk Behme [this message]
2006-04-07 17:36 ` Daniel Jacobowitz
2006-04-08 8:23 ` Nick Roberts
2006-04-08 9:57 ` Eli Zaretskii
2006-04-08 10:07 ` Nick Roberts
2006-04-08 18:35 ` Eli Zaretskii
2006-04-08 18:45 ` 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=44368B51.1030707@gmail.com \
--to=dirk.behme@googlemail.com \
--cc=gdb@sourceware.org \
/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