Subject: Re: bug#77125: [PATCH] igc ; * etc/DEBUG: Fix gdb examples to: call ... (global_igc->arena)

From: Jeremy Bryant <[email-masked]>
Date: Thu, 20 Mar 2025 21:56:36 +0000

Jeremy Bryant via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email-masked]> writes:

> Minor fix to recent revised patch, which was missing the improvement.
>
> global_igc->arena

>From 22efbdca24543630583de23f7c31266927830f56 Mon Sep 17 00:00:00 2001
From: Jeremy Bryant <[email-masked]>
Date: Wed, 19 Mar 2025 22:49:00 +0000
Subject: [PATCH] ; * etc/DEBUG: Fix gdb examples to: call ...
 (global_igc->arena)

---
 etc/DEBUG | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/etc/DEBUG b/etc/DEBUG
index 79bb6584489..22f206b1482 100644
--- a/etc/DEBUG
+++ b/etc/DEBUG
@@ -1382,11 +1382,11 @@ states.  Two of these are important for debugging, the clamped and
 parked states.  When debugging igc, you can clamp the arena before
 inspecting memory:
 
-     (gdb) call mps_arena_clamp(arena)
+     (gdb) call mps_arena_clamp(global_igc->arena)
 
 and then release it afterwards with:
 
-     (gdb) call mps_arena_release(arena)
+     (gdb) call mps_arena_release(global_igc->arena)

-- 
2.47.2