This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb and binutils branch master updated. e671835b7afc90b3ff201b79f07a6fb67797bc5c


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  e671835b7afc90b3ff201b79f07a6fb67797bc5c (commit)
      from  fa72205cb90527fd34753203993859907a53ead2 (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=e671835b7afc90b3ff201b79f07a6fb67797bc5c

commit e671835b7afc90b3ff201b79f07a6fb67797bc5c
Author: Baruch Siach <baruch@tkos.co.il>
Date:   Mon Jan 20 09:53:12 2014 +0200

    gdb: xtensa: fix linux ptrace includes
    
    Currently, xtensa code using the Linux ptrace interface only include
    sys/ptrace.h.  This file comes from the C library (glibc and uClibc,
    at least), and includes a declaration of the ptrace() functions, along
    with some cross architecture constants that are mostly copied from the
    file located at include/uapi/linux/ptrace.h in recent Linux kernels.
    
    For xtensa specific constants like PTRACE_GETXTREGS and
    PTRACE_SETXTREGS the asm/ptrace.h include from the Linux kernel UAPI
    is needed.  The code in gdbserver xtensa specific part doesn't call
    ptrace() directly, so we can remove the unneeded sys/ptrace.h include.
    The gdb xtensa specific code needs both headers, since it calls
    ptrace().
    
    gdb/
    	* xtensa-linux-nat.c: Include asm/ptrace.h.
    
    gdb/gdbserver/
    	* linux-xtensa-low.c: Include asm/ptrace.h instead of
    	sys/ptrace.h.

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

Summary of changes:
 gdb/ChangeLog                    |    4 ++++
 gdb/gdbserver/ChangeLog          |    5 +++++
 gdb/gdbserver/linux-xtensa-low.c |    2 +-
 gdb/xtensa-linux-nat.c           |    1 +
 4 files changed, 11 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
gdb and binutils


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]