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 0/5] Return error code in get_number


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 (éå)


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