From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: Add Windows x64 SEH unwinder (take 2)
Date: Wed, 09 Jan 2013 10:53:00 -0000 [thread overview]
Message-ID: <1357728781-15073-1-git-send-email-brobecker@adacore.com> (raw)
Hello,
This patch series adds an unwinder using the native Windows x64 SEH
data. This dramatically improves the behavior as soon as system
calls are involved. For instance, after switching to a different
thread, we now get...
(gdb) bt
#0 0x0000000077a46eba in ntdll!ZwWaitForSingleObject ()
from C:\Windows\system32\ntdll.dll
#1 0x00000000778fb380 in WaitForSingleObjectEx ()
from C:\Windows\system32\kernel32.dll
#2 0x000000000040a7e9 in system__task_primitives__operations__cond_wait ()
#3 0x0000000000407c3b in system__tasking__rendezvous__accept_trivial ()
#4 0x0000000000401f3c in task_switch.callee (<_task>=0x394410)
at task_switch.adb:29
#5 0x0000000000406637 in system__tasking__stages__task_wrapper ()
[...]
... instead of:
#0 0x0000000077a46eba in ntdll!ZwWaitForSingleObject ()
from C:\Windows\system32\ntdll.dll
#1 0x00000000778fb380 in WaitForSingleObjectEx ()
from C:\Windows\system32\kernel32.dll
#2 0x000007fffffdc000 in ?? ()
#3 0x0000000077a266e4 in ntdll!LdrInitializeThunk ()
from C:\Windows\system32\ntdll.dll
#4 0x0000000000000000 in ?? ()
next reply other threads:[~2013-01-09 10:53 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-09 10:53 Joel Brobecker [this message]
2013-01-09 10:53 ` [RFA/commit+NEWS 1/2] Add command set/show debug unwind Joel Brobecker
2013-01-09 12:41 ` Jan Kratochvil
2013-01-09 18:40 ` Joel Brobecker
2013-01-09 15:14 ` Tom Tromey
2013-01-09 16:01 ` Eli Zaretskii
2013-01-09 10:53 ` [RFA/commit+doco 2/2] Windows x64 SEH unwinder Joel Brobecker
2013-01-09 15:52 ` Pedro Alves
2013-01-09 16:28 ` Tristan Gingold
2013-01-09 17:10 ` Pedro Alves
2013-01-09 17:53 ` Tom Tromey
2013-01-09 19:11 ` Pedro Alves
2013-01-09 20:07 ` Tristan Gingold
2013-01-10 16:24 ` Pedro Alves
2013-01-11 8:04 ` Tristan Gingold
2013-07-08 10:55 ` [RFA] Windows x64 SEH unwinder (v2) Tristan Gingold
2013-07-26 15:22 ` Pedro Alves
2013-08-19 13:59 ` Tristan Gingold
2013-08-19 14:13 ` Pedro Alves
2013-08-22 9:33 ` [PATCH v3] Windows x64 SEH unwinder Tristan Gingold
2013-08-22 15:10 ` Eli Zaretskii
2013-08-22 15:26 ` Pedro Alves
2013-08-22 15:41 ` Tristan Gingold
2013-08-22 16:15 ` Pedro Alves
2013-08-23 6:54 ` Tristan Gingold
2013-08-27 17:45 ` Pedro Alves
2013-09-02 9:28 ` Tristan Gingold
2013-01-09 16:06 ` [RFA/commit+doco 2/2] " Eli Zaretskii
2013-01-09 16:29 ` Tristan Gingold
2013-01-09 11:05 ` Add Windows x64 SEH unwinder (take 2) Pedro Alves
2013-01-09 11:11 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1357728781-15073-1-git-send-email-brobecker@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox