This is the mail archive of the
mailing list for the GDB project.
MI return error changed from 6.3 to 6.4?
- From: Dirk Behme <dirk dot behme at googlemail dot com>
- To: gdb at sourceware dot org
- Date: Fri, 07 Apr 2006 17:54:57 +0200
- Subject: MI return error changed from 6.3 to 6.4?
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
&"Undefined command: \"ererwrererwrewr\". Try \"help\".\n"
^error,msg="Undefined command: \"ererwrererwrewr\". Try
&"Undefined command: \"srwwerrweweer\". Try \"help\".\n"
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
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.