gdb and binutils branch master updated. 05c0465e16a5e2db92f8975aebf2bb5aacb1c542

sergiodj@sourceware.org sergiodj@sourceware.org
Thu Dec 19 20:56:00 GMT 2013


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  05c0465e16a5e2db92f8975aebf2bb5aacb1c542 (commit)
      from  9ef5d938819dff73d7640a2654b07df64670d7f9 (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=05c0465e16a5e2db92f8975aebf2bb5aacb1c542

commit 05c0465e16a5e2db92f8975aebf2bb5aacb1c542
Author: Sergio Durigan Junior <sergiodj@redhat.com>
Date:   Thu Dec 19 18:53:40 2013 -0200

    Extend SystemTap SDT probe argument parser
    
    This patch extends the current generic parser for SystemTap SDT probe
    arguments.  It can be almost considered a cleanup, but the main point of
    it is actually to allow the generic parser to accept multiple prefixes
    and suffixes for the its operands (i.e., integers, register names, and
    register indirection).
    
    I have chosen to implement this as a list of const strings, and declare
    this list as "static" inside each target's method used to initialize
    gdbarch.
    
    This patch is actually a preparation for an upcoming patch for ARM,
    which implements the support for multiple integer prefixes (as defined
    by ARM's asm spec).  And AArch64 will also need this, for the same
    reason.
    
    This patch was regtested on all architectures that it touches (i.e.,
    i386, x86_64, ARM, PPC/PPC64, s390x and IA-64).  No regressions were found.
    
    2013-12-19  Sergio Durigan Junior  <sergiodj@redhat.com>
    
    	* amd64-tdep.c (amd64_init_abi): Declare SystemTap SDT probe
    	argument prefixes and suffixes.  Initialize gdbarch with them.
    	* arm-linux-tdep.c (arm_linux_init_abi): Likewise.
    	* gdbarch.c: Regenerate.
    	* gdbarch.h: Regenerate.
    	* gdbarch.sh (stap_integer_prefix, stap_integer_suffix)
    	(stap_register_prefix, stap_register_suffix)
    	(stap_register_indirection_prefix)
    	(stap_register_indirection_suffix): Declare as "const char *const
    	*" instead of "const char *".  Adjust printing function.  Rename
    	all of the variables to the plural.
    	(pstring_list): New function.
    	* i386-tdep.c (i386_elf_init_abi): Declare SystemTap SDT probe
    	argument prefixes and suffixes.  Initialize gdbarch with them.
    	* ia64-linux-tdep.c (ia64_linux_init_abi): Likewise.
    	* ppc-linux-tdep.c (ppc_linux_init_abi): Likewise.
    	* s390-linux-tdep.c (s390_gdbarch_init): Likewise.
    	* stap-probe.c (stap_is_generic_prefix): New function.
    	(stap_is_register_prefix): Likewise.
    	(stap_is_register_indirection_prefix): Likewise.
    	(stap_is_integer_prefix): Likewise.
    	(stap_generic_check_suffix): Likewise.
    	(stap_check_integer_suffix): Likewise.
    	(stap_check_register_suffix): Likewise.
    	(stap_check_register_indirection_suffix): Likewise.
    	(stap_parse_register_operand): Remove unecessary declarations for
    	variables holding prefix and suffix information.  Use the new
    	functions listed above for checking for prefixes and suffixes.
    	(stap_parse_single_operand): Likewise.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog         |   32 +++++
 gdb/amd64-tdep.c      |   16 ++-
 gdb/arm-linux-tdep.c  |   16 ++-
 gdb/gdbarch.c         |  185 +++++++++++++++++------------
 gdb/gdbarch.h         |   44 ++++---
 gdb/gdbarch.sh        |   61 ++++++++--
 gdb/i386-tdep.c       |   17 ++-
 gdb/ia64-linux-tdep.c |   13 ++-
 gdb/ppc-linux-tdep.c  |   13 ++-
 gdb/s390-linux-tdep.c |   13 ++-
 gdb/stap-probe.c      |  311 +++++++++++++++++++++++++++++++++++++------------
 11 files changed, 513 insertions(+), 208 deletions(-)


hooks/post-receive
-- 
gdb and binutils



More information about the Gdb-cvs mailing list