This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/5] Return error code in get_number
- From: Yao Qi <yao at codesourcery dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Fri, 14 Mar 2014 08:56:40 +0800
- Subject: Re: [PATCH 0/5] Return error code in get_number
- Authentication-results: sourceware.org; auth=none
- References: <1394677950-4054-1-git-send-email-yao at codesourcery dot com> <87d2hqku59 dot fsf at fleche dot redhat dot com>
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 (éå)