From 6205d23a8ce4ff231f42dc642d43e6cc9ff942d2 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Sun, 6 Aug 2006 00:39:50 +0000 Subject: [PATCH] (Note): Add note about ollowing a longjmp call. --- etc/DEBUG | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/etc/DEBUG b/etc/DEBUG index 63327b3ce5c..1eb5d5ca9f4 100644 --- a/etc/DEBUG +++ b/etc/DEBUG @@ -272,6 +272,13 @@ related data structures in a terse and user-friendly format: The above commands also exist in a version with an `x' suffix which takes an object of the relevant type as argument. +** Following longjmp call. + +Recent versions of glibc (2.4+?) encrypt stored values for setjmp/longjmp which +prevents GDB from being able to follow a longjmp call using `next'. To +disable this protection you need to set the environment variable +LD_POINTER_GUARD to 0. + ** Using GDB in Emacs Debugging with GDB in Emacs offers some advantages over the command line (See -- 2.39.2