This is the mail archive of the gdb@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: MI error msgs and localization


 > >                 ...More importantly, how do you propagate two messages
 > > back up the stack when gdb_exception only allows one?
 > > 
 > > (top-gdb) ptype e
 > > type = struct gdb_exception {
 > >     enum return_reason reason;
 > >     enum errors error;
 > >     const char *message;
 > > }
 > 
 > By adding to that struct?
 > 
 > -- 
 > Daniel Jacobowitz
 > CodeSourcery

Oh, that easy.  I don't know why, but I thought changing such a fundamental
data structure would be unwelcome.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


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