This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MI output change


On Fri, Jan 14, 2005 at 03:54:07PM -0500, Andrew Cagney wrote:
> Hello,
> 
> The MI output is currently littered with:
> 
> (gdb)
> PASS: gdb.mi/mi-var-cmd.exp: create lsimple->integer
> -var-create int * int
> &"Attempt to use a type name as an expression.\n"
> &"mi_cmd_var_create: unable to create variable object\n"
> ^error,msg="mi_cmd_var_create: unable to create variable object"
> (gdb)
> 
> (note how the error appears as both the result and as standard out)
> 
> My recent exception handling rewrite means that this can finally be 
> fixed.  However that means that the MI output has technically changed - 
> no one should be relying on the message appearing on stdout but hey ...
> 
> Is this going to be an issue?

Seems like a nice improvement. 

The message in "msg" does not have a newline, while the one after '&'
does. Does this matter at all?

Bob Rossi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]