This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 379a5e2d36e4323702d48aeb794a8e42bf5bff5b
- From: brobecke at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 13 Dec 2013 15:43:30 -0000
- Subject: gdb and binutils branch master updated. 379a5e2d36e4323702d48aeb794a8e42bf5bff5b
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 379a5e2d36e4323702d48aeb794a8e42bf5bff5b (commit)
via 4210d83ee607bffaf27a235f0475bf1e5ea8266d (commit)
from a75555d13b5d6c927cc0adca2a8b4bbd9da1200e (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=379a5e2d36e4323702d48aeb794a8e42bf5bff5b
commit 379a5e2d36e4323702d48aeb794a8e42bf5bff5b
Author: Joel Brobecker <brobecker@adacore.com>
Date: Thu Dec 12 12:53:45 2013 -0500
nameless LOAD_DLL_DEBUG_EVENT causes ntdll.dll to be missing
This is the gdbserver-equivalent of the change made in GDB to handle
the case, in x64 windows version 2012, where the kernel produces
a LOAD_DLL_DEBUG_EVENT where the name of the associated DLL cannot
be determined at that time, and thus has to be processed later.
The visible symptom is that ntdll.dll is missing from the list of
shared libraries known to be mapped by the inferior, with other
side-effects such as failure to unwind through code provided by
that DLL (such as exception handling routines).
gdb/gdbserver/ChangeLog:
* Makefile.in (safe-ctype.o, lbasename.o): New rules.
* configure.srv: Add safe-ctype.o and lbasename.o to srv_tgtobj
for all targets that use win32-low.c.
* win32-low.c (win32_ensure_ntdll_loaded): New function.
(do_initial_child_stuff): Add call to win32_ensure_ntdll_loaded.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4210d83ee607bffaf27a235f0475bf1e5ea8266d
commit 4210d83ee607bffaf27a235f0475bf1e5ea8266d
Author: Pedro Alves <palves@redhat.com>
Date: Thu Dec 12 11:12:30 2013 -0500
Do the target-waiting within do_initial_child_stuff on Windows.
This is a preparatory patch that achieves two goals:
. Makes the initial event handling more similar to GDB's;
. Opens the door for implementing post-inititial-handling
operations.
At the moment, this is only done on Windows, where the
post-initial-handling is going to be needed (in the context of
Windows 2012). And because we're close to creating the gdb 7.7
branch, making that change for all platforms is a little more
risk that we'd like. So the change is currently implemented
on Windows.
gdb/gdbserver/ChangeLog:
* target.c (mywait): Set OURSTATUS->KIND to TARGET_WAITKIND_STOPPED
if equal to TARGET_WAITKIND_LOADED.
* win32-low.c (cached_status): New static global.
(win32_wait): Add declaration.
(do_initial_child_stuff): Flush all initial pending debug events
up to the initial breakpoint.
(win32_wait): If CACHED_STATUS was set, return that instead
of doing a real wait. Remove the code resuming the execution
of the inferior after receiving a TARGET_WAITKIND_LOADED event
during the initial phase. Also remove the code changing
OURSTATUS->KIND from TARGET_WAITKIND_LOADED to
TARGET_WAITKIND_STOPPED.
-----------------------------------------------------------------------
Summary of changes:
gdb/gdbserver/ChangeLog | 23 +++++++
gdb/gdbserver/Makefile.in | 6 ++
gdb/gdbserver/configure.srv | 6 ++
gdb/gdbserver/target.c | 5 ++
gdb/gdbserver/win32-low.c | 148 ++++++++++++++++++++++++++++++++++++++-----
5 files changed, 173 insertions(+), 15 deletions(-)
hooks/post-receive
--
gdb and binutils