This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 97c2dca091f6cd078ddbede0a6abee1a2fa9c4c2
- From: sergiodj at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 23 Dec 2013 22:50:39 -0000
- Subject: gdb and binutils branch master updated. 97c2dca091f6cd078ddbede0a6abee1a2fa9c4c2
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 97c2dca091f6cd078ddbede0a6abee1a2fa9c4c2 (commit)
from d192b37306c0aeb5882002c1aae0f1f480254a41 (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=97c2dca091f6cd078ddbede0a6abee1a2fa9c4c2
commit 97c2dca091f6cd078ddbede0a6abee1a2fa9c4c2
Author: Sergio Durigan Junior <sergiodj@redhat.com>
Date: Mon Dec 23 20:48:08 2013 -0200
Some cleanups on stap-probe.c
This patch does some basic cleanups on the SystemTap SDT probes API. It
removes spurious newlines, brackets, reindents some code, and do
explicit checks for NULL, NUL, and 0 where applicable.
2013-12-23 Sergio Durigan JUnior <sergiodj@redhat.com>
* stap-probe.c (struct stap_probe) <args_parsed>: Add comment.
(stap_is_generic_prefix): Delete extra brackets. Reindent.
(stap_parse_register_operand): Remove spurious newlines. Simplify
code to parse special token.
(stap_parse_argument_conditionally): Add gdb_assert.
(stap_parse_argument_1): Likewise. Explicitly check for NULL and
NUL.
(stap_parse_probe_arguments): Likewise.
(handle_stap_probe): Likewise. Reindent code.
(get_stap_base_address): Explicitly check for NULL.
(stap_get_probes): Likewise. Reindent code.
(stap_relocate): Explicitly check for 0.
(stap_gen_info_probes_table_values): Likewise.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 16 +++++++++++
gdb/stap-probe.c | 77 ++++++++++++++++++++++++++---------------------------
2 files changed, 54 insertions(+), 39 deletions(-)
hooks/post-receive
--
gdb and binutils