This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb/gdb-7.10-branch] Linux gdbserver fork event debug output
- From: sergiodj+buildbot at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Thu, 06 Aug 2015 07:41:10 -0400
- Subject: [binutils-gdb/gdb-7.10-branch] Linux gdbserver fork event debug output
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT d8f4deab5c7fc63c31bcfa08068301cc23d50df5 ***
Author: Pedro Alves <palves@redhat.com>
Branch: gdb-7.10-branch
Commit: d8f4deab5c7fc63c31bcfa08068301cc23d50df5
Linux gdbserver fork event debug output
The "extended event with waitstatus" debug output is unreachable, as
it is guarded by "if (!report_to_gdb)". If extended_event_reported is
true, then so is report_to_gdb. Move it to where we print why we're
reporting an event to GDB.
Also, the debug output currently tries to print the wrong struct
target_waitstatus.
gdb/gdbserver/ChangeLog:
2015-08-06 Pedro Alves <palves@redhat.com>
* linux-low.c (linux_wait_1): Move fork event output out of the
!report_to_gdb check. Pass event_child->waitstatus to
target_waitstatus_to_string instead of ourstatus.
- Follow-Ups:
- Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch gdb-7.10-branch
- Failures on Fedora-x86_64-native-gdbserver-m64, branch gdb-7.10-branch
- Failures on AIX-POWER7-plain, branch gdb-7.10-branch
- Failures on Debian-s390x-native-extended-gdbserver-m64, branch gdb-7.10-branch
- Failures on Fedora-x86_64-native-gdbserver-m32, branch gdb-7.10-branch
- Failures on Fedora-ppc64be-cc-with-index, branch gdb-7.10-branch
- Failures on Fedora-ppc64be-native-gdbserver-m64, branch gdb-7.10-branch
- Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch gdb-7.10-branch
- Failures on Debian-i686, branch gdb-7.10-branch
- Failures on Debian-i686-native-gdbserver, branch gdb-7.10-branch
- Failures on Debian-MIPS-m64, branch gdb-7.10-branch