This is the mail archive of the gdb-prs@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]

[Bug server/16255] gdbserver cannot attach to a second inferior that is multi-threaded


https://sourceware.org/bugzilla/show_bug.cgi?id=16255

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
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  94611da2409673314d7caaf38c66baa52d6f5adc (commit)
      from  7ae1a6a6ccda41aa8bbe9adb0f7fcde8bf8d5cb3 (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=94611da2409673314d7caaf38c66baa52d6f5adc

commit 94611da2409673314d7caaf38c66baa52d6f5adc
Author: Pedro Alves <palves@redhat.com>
Date:   Fri Apr 25 19:22:27 2014 +0100

    Add missing gdbserver/ChangeLog entry for previous commit.

    2014-04-25  Pedro Alves  <palves@redhat.com>

        PR server/16255
        * linux-low.c (linux_attach_fail_reason_string): New function.
        (linux_attach_lwp): Delete.
        (linux_attach_lwp_1): Rename to ...
        (linux_attach_lwp): ... this.  Take a ptid instead of a pid as
        argument.  Remove "initial" parameter.  Return int instead of
        void.  Don't error or warn here.
        (linux_attach): Adjust to call linux_attach_lwp.  Call error on
        failure to attach to the tgid.  Call warning when failing to
        attach to an lwp.
        * linux-low.h (linux_attach_lwp): Take a ptid instead of a pid as
        argument.  Remove "initial" parameter.  Return int instead of
        void.  Don't error or warn here.
        (linux_attach_fail_reason_string): New declaration.
        * thread-db.c (attach_thread): Adjust to linux_attach_lwp's
        interface change.  Use linux_attach_fail_reason_string.

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

Summary of changes:
 gdb/gdbserver/ChangeLog |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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