This is the mail archive of the gdb-patches@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: [RFC/MI] Renumber enum mi_cmd_result


> 
> Ugh. This turned out to be more elusive than I thought. After trying this
> and that to untangle captured_mi_execute_command and catch_errors
> (mi_execute_command used a return code that was a hybrid of both of
> these), I've settled on the following patch, which at least attempts to
> keep the mi return result of the command separate from what
> mi_execute_command should do.
> 

Looks like a good move.  Yes.

Andrew

PS: catch_exceptions() is something of a compromise so I'm not suprized. 
  One early prototype had the wrapped function returning void so code 
was forced to pass the result back via the argument.




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