This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 5acfdbae5d2b0aaa2320ddfa3aa1f2cddce7b978
- From: sergiodj at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 12 Jan 2014 03:34:53 -0000
- Subject: gdb and binutils branch master updated. 5acfdbae5d2b0aaa2320ddfa3aa1f2cddce7b978
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 5acfdbae5d2b0aaa2320ddfa3aa1f2cddce7b978 (commit)
from 024f4684065717944ab36c96154b023992fc56f1 (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=5acfdbae5d2b0aaa2320ddfa3aa1f2cddce7b978
commit 5acfdbae5d2b0aaa2320ddfa3aa1f2cddce7b978
Author: Sergio Durigan Junior <sergiodj@redhat.com>
Date: Sun Jan 12 01:32:26 2014 -0200
Split i386_stap_parse_special_token into smaller functions
This patch reorganizes code on gdb/i386-tdep.c's SystemTap SDT probe
support functions. Before it, the code to parse special operands on x86
lived in a single, big function. This patch creates 2 new functions
that makes the code more organized and removes a few indentation levels
(which is always good IMO).
I haven't modified anything logical in the functions, i.e., there's still
one latent bug on i386_stap_parse_special_token_triplet now. I will soon
post a patch to fix this, and to also improve the readability of the two
new functions.
2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
* i386-tdep.c (i386_stap_parse_special_token_triplet): New
function, with code from i386_stap_parse_special_token.
(i386_stap_parse_special_token_three_arg_disp): Likewise.
(i386_stap_parse_special_token): Move code to the two functions
above; simplify it.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 8 +
gdb/i386-tdep.c | 573 +++++++++++++++++++++++++++++--------------------------
2 files changed, 308 insertions(+), 273 deletions(-)
hooks/post-receive
--
gdb and binutils