This is the mail archive of the gdb-patches@sourceware.org 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: [PATCH] Target stderr not displayed thru MI



Nick Roberts wrote:


+ /* Route target error through the MI as well. */
+ gdb_stdtargerr = mi->targ;



I know nothing about remote debugging but shouldn't error output go to mi->err so that you can distinguish it from target output?



Nick,

The mi->err is used for displaying debugger errors, not the error coming from the target execution.
The main problem with MI is that we can not distinguish target stdout from target stderr.


Denis


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