This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 5fa1d40e9790ed55931263430130e69a99329be7
- From: qiyao at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 6 Mar 2014 07:10:40 -0000
- Subject: gdb and binutils branch master updated. 5fa1d40e9790ed55931263430130e69a99329be7
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 5fa1d40e9790ed55931263430130e69a99329be7 (commit)
via 0c13193f334ea744a251f768179468b5a17915b6 (commit)
from 2217da06d8dbaf59c17bd363935bd926e5fdc8ab (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5fa1d40e9790ed55931263430130e69a99329be7
commit 5fa1d40e9790ed55931263430130e69a99329be7
Author: Yao Qi <yao@codesourcery.com>
Date: Sat Feb 22 13:53:37 2014 +0800
Remove argument optional_p from get_tracepoint_by_number
This patch is to remove parameter optional_p as it is always true,
in order to simplify get_tracepoint_by_number.
'optional_p' was added by this change,
1999-11-18 Tom Tromey <tromey@cygnus.com>
* tracepoint.h (get_tracepoint_by_number): Updated
declaration.
* tracepoint.c (trace_pass_command): Better error message.
Fixed logic when `all' not specified.
(get_tracepoint_by_number): Added `optional_p' argument. Fixed
all callers.
but after this patch,
FYI: remove `static's from cli-utils.c
https://sourceware.org/ml/gdb-patches/2011-03/msg00636.html
'optional_p' passed to get_tracepoint_by_number become always true.
gdb:
2014-03-06 Yao Qi <yao@codesourcery.com>
* breakpoint.c (get_tracepoint_by_number): Remove argument
optional_p. All callers updated. Adjust comments. Update
output message.
* breakpoint.h (get_tracepoint_by_number): Update declaration.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0c13193f334ea744a251f768179468b5a17915b6
commit 0c13193f334ea744a251f768179468b5a17915b6
Author: Yao Qi <yao@codesourcery.com>
Date: Sat Feb 22 14:42:12 2014 +0800
Handle parse number error in goto_bookmark_command
In GDB mainline, the error message for goto-bookmark
isn't perfect.
(gdb) goto-bookmark 1.1
goto-bookmark: no bookmark found for ''.
This patch tweaks the error message by checking the return value of
get_number. With patch applied, it becomes:
(gdb) goto-bookmark 1.1
goto-bookmark: invalid bookmark number '1.1'.
gdb:
2014-03-06 Yao Qi <yao@codesourcery.com>
* reverse.c (goto_bookmark_command): Add local 'p'. Emit error
early if get_number returns zero. Use 'p' instead of 'args'.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 12 ++++++++++++
gdb/breakpoint.c | 22 ++++++++--------------
gdb/breakpoint.h | 3 +--
gdb/reverse.c | 7 ++++++-
gdb/tracepoint.c | 2 +-
5 files changed, 28 insertions(+), 18 deletions(-)
hooks/post-receive
--
gdb and binutils