[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MPS: Win64 testers?
From: |
Eli Zaretskii |
Subject: |
Re: MPS: Win64 testers? |
Date: |
Sun, 01 Sep 2024 14:59:40 +0300 |
> Date: Sun, 01 Sep 2024 13:28:18 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: sebastian@sebasmonia.com, pipcet@protonmail.com,
> emacs-devel@gnu.org, yantar92@posteo.net
>
> I hesitate to make the change you proposed because emacs_abort is
> called not just when Emacs is under a debugger, so the change will
> affect many users who don't debug Emacs.
Does the alternative change below solve your problem when attaching to
Emacs?
diff --git a/src/.gdbinit b/src/.gdbinit
index 0f55cc1..885d3dc 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -1308,6 +1308,11 @@ if defined_HAVE_X_WINDOWS
break x_error_quitter
end
+if defined_WINDOWSNT
+ if kbdhook.hook_count > 0
+ call remove_w32_kbdhook()
+ end
+end
# Put the Python code at the end of .gdbinit so that if GDB does not
# support Python, GDB will do all the above initializations before
diff --git a/src/alloc.c b/src/alloc.c
index c22a5a7..3943224 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -8309,6 +8309,12 @@ syms_of_alloc (void)
enum defined_HAVE_PGTK { defined_HAVE_PGTK = false };
#endif
+#ifdef WINDOWSNT
+enum defined_WINDOWSNT { defined_WINDOWSNT = true };
+#else
+enum defined_WINDOWSNT { defined_WINDOWSNT = false };
+#endif
+
/* When compiled with GCC, GDB might say "No enum type named
pvec_type" if we don't have at least one symbol with that type, and
then xbacktrace could fail. Similarly for the other enums and
@@ -8329,6 +8335,7 @@ syms_of_alloc (void)
enum pvec_type pvec_type;
enum defined_HAVE_X_WINDOWS defined_HAVE_X_WINDOWS;
enum defined_HAVE_PGTK defined_HAVE_PGTK;
+ enum defined_WINDOWSNT defined_WINDOWSNT;
} const gdb_make_enums_visible;
union enums_for_gdb const EXTERNALLY_VISIBLE gdb_make_enums_visible = {0};
#endif /* __GNUC__ */
- Re: MPS: Win64 testers?, Kien Nguyen, 2024/09/01
- Re: MPS: Win64 testers?, Eli Zaretskii, 2024/09/01
- Re: MPS: Win64 testers?, Kien Nguyen, 2024/09/01
- Re: MPS: Win64 testers?, Eli Zaretskii, 2024/09/01
- Re: MPS: Win64 testers?,
Eli Zaretskii <=
- Re: MPS: Win64 testers?, Kien Nguyen, 2024/09/01
- Re: MPS: Win64 testers?, Eli Zaretskii, 2024/09/01
- Re: MPS: Win64 testers?, Pip Cet, 2024/09/01
- Re: MPS: Win64 testers?, Kien Nguyen, 2024/09/01
- Re: MPS: Win64 testers?, Eli Zaretskii, 2024/09/02
- Re: MPS: Win64 testers?, Kien Nguyen, 2024/09/03
- Re: MPS: Win64 testers?, Pip Cet, 2024/09/03
- Re: MPS: Win64 testers?, Kien Nguyen, 2024/09/03
- Re: MPS: Win64 testers?, Pip Cet, 2024/09/03
- Re: MPS: Win64 testers?, Eli Zaretskii, 2024/09/07