Re: [Bug win32/14529] Make gdb capable of JIT-debugging on W32

LRN
2016-06-30T15:44:49Z

[-- Attachment #1.1.1: Type: text/plain, Size: 798 bytes --]

On 30.06.2016 18:25, Eli Zaretskii wrote:
>> From: LRN <lrn1986@gmail.com>
>> Date: Thu, 30 Jun 2016 16:16:40 +0300
>>
>> I did the paperwork and now my rights on code that will be included in gdb
>> are assigned to FSF.
>> So i'm upping the thread. Also, attaching a version of the patch that can
>> be applied to current git master.
>
> Thanks. The documentation change is approved, but please include a
> NEWS entry, and also please show the ChangeLog entries for the
> changes.
>
Attached the NEWS and ChangeLog patches.

There's also a bug report[1] that will have to be updated/closed
(it also has obsolete patch and ChangeLog entries attached).

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=14529

--
O< ascii ribbon - stop html email! - www.asciiribbon.org

[-- Attachment #1.1.2: 0002-Add-a-changelog-entry-for-the-signal-event-command.patch --]
[-- Type: text/plain, Size: 915 bytes --]

From 537ee9817d0ecd60752b0312f171945a44b62f28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?=
=?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= <lrn1986@gmail.com>
Date: Thu, 30 Jun 2016 15:41:29 +0000
Subject: [PATCH 2/2] Add a changelog entry for the 'signal-event' command

---
gdb/ChangeLog | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e98a565..891d125 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2016-06-30 Руслан Ижбулатов <lrn1986@gmail.com>
+
+ * windows-nat.c: New command 'signal-event' for W32 compatibility
+ * gdb.texinfo: document the new 'signal-event' command.
+ * NEWS: Add an entry about the new 'signal-event' command.
+ Fix PR gdb/14529.
+
2016-06-25 Tom Tromey <tom@tromey.com>

* rust-lang.c (rust_get_disr_info, rust_print_type): Fix
--
2.4.0

[-- Attachment #1.1.3: 0001-Add-signal-event-command-to-the-NEWS-file.patch --]
[-- Type: text/plain, Size: 1101 bytes --]

From bf191c7936c812162744e5413559f805f55c1dfc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?=
=?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= <lrn1986@gmail.com>
Date: Thu, 30 Jun 2016 15:34:06 +0000
Subject: [PATCH 1/2] Add "signal-event" command to the NEWS file

---
gdb/NEWS | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/gdb/NEWS b/gdb/NEWS
index 3823f20..c3ce69e 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -80,6 +80,12 @@ new-ui INTERP TTY
Start a new user interface instance running INTERP as interpreter,
using the TTY file for input/output.

+signal-event EVENTID
+ Signal ("set") given Windows event object. This is used together
+ with Windows JIT debugging (AeDebug), where the OS suspends
+ a crashing process until a debugger can attach to it. Resuming
+ the process is done by siganlling an event.
+
* Support for tracepoints and fast tracepoints on s390-linux and s390x-linux
was added in GDBserver, including JIT compiling fast tracepoint's
conditional expression bytecode into native code.
--
2.4.0

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]