Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/5] Return error code in get_number
@ 2014-03-13  2:35 Yao Qi
  2014-03-13  2:35 ` [PATCH 4/5] get_number returns status in details Yao Qi
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Yao Qi @ 2014-03-13  2:35 UTC (permalink / raw)
  To: gdb-patches

Patch #5 tries to teach GDB to accept convenience variable in MI
commands, in which we use get_number to parse string and get number.
However, get_number returns zero for any kinds of error, and callers
can't tell from it.  Patch #4 changes get_number's interface to
return parsing status and parsed number.  This patch also moves
some printing messages out of get_number, and let the callers to
print messages according to returned status.

Patch #1 - #3 are cleanups and each of them are independent.  This
series is tested on x86_64-linux.

*** BLURB HERE ***

Yao Qi (5):
  Remove argument 'state' from get_tracepoint_by_number
  Change argument 'args' of get_tracepoint_by_number to char *
  Emit wrong value error when parsing range
  get_number returns status in details
  Accept convenience variable in commands -break-passcount and
    -break-commands

 gdb/NEWS                                           |    5 +
 gdb/breakpoint.c                                   |   62 +++++++------
 gdb/breakpoint.h                                   |    3 +-
 gdb/cli/cli-utils.c                                |   94 ++++++++++++++------
 gdb/cli/cli-utils.h                                |   20 ++++-
 gdb/mi/mi-cmd-break.c                              |   26 ++++--
 gdb/reverse.c                                      |    6 +-
 gdb/testsuite/gdb.base/ena-dis-br.exp              |    9 ++
 gdb/testsuite/gdb.mi/mi-break.exp                  |    8 ++
 gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp     |    2 +
 .../gdb.trace/mi-trace-frame-collected.exp         |    4 +-
 gdb/testsuite/gdb.trace/mi-trace-unavailable.exp   |    4 +-
 gdb/tracepoint.c                                   |    2 +-
 13 files changed, 167 insertions(+), 78 deletions(-)

-- 
1.7.7.6


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-05-15 17:58 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-13  2:35 [PATCH 0/5] Return error code in get_number Yao Qi
2014-03-13  2:35 ` [PATCH 4/5] get_number returns status in details Yao Qi
2014-03-13  2:35 ` [PATCH 5/5] Accept convenience variable in commands -break-passcount and -break-commands Yao Qi
2014-03-14  8:22   ` Eli Zaretskii
2014-03-13  2:35 ` [PATCH 2/5] Change argument 'args' of get_tracepoint_by_number to char * Yao Qi
2014-03-13  2:35 ` [PATCH 3/5] Emit wrong value error when parsing range Yao Qi
2014-03-13  2:35 ` [PATCH 1/5] Remove argument 'state' from get_tracepoint_by_number Yao Qi
2014-03-13 15:14 ` [PATCH 0/5] Return error code in get_number Tom Tromey
2014-03-14  0:59   ` Yao Qi
2014-03-14 14:38     ` Tom Tromey
2014-03-17  0:51       ` Yao Qi
2014-05-15 17:58         ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox