Re: [PATCH 0/5] Return error code in get_number

Yao Qi
2014-03-14T00:59:01Z

On 03/13/2014 11:14 PM, Tom Tromey wrote:
> Could you say what you want this for?
> I don't understand why an MI client would ever use it.

I'd like to teach mi_cmd_break_commands to accept convenience variable,
so get_number is suggested to use
(https://sourceware.org/ml/gdb-patches/2014-02/msg00595.html).

mi_cmd_break_commands may throw two errors when it parses a number,
and I'd like to keep its behaviour after I change to get_number.
I want get_number returns the error code and mi_cmd_break_commands
can throws errors accordingly.

--
Yao (é½å°§)