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

Previous Next

Package: emacs;

Reported by: Jeremy Bryant <jb <at> jeremybryant.net>

Date: Wed, 19 Mar 2025 22:55:01 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#77125: closed ([PATCH] igc ; * etc/DEBUG: Fix gdb examples
 to: call ... (global_igc->arena))
Date: Mon, 07 Apr 2025 11:19:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 07 Apr 2025 14:18:45 +0300
with message-id <86y0wcte22.fsf <at> gnu.org>
and subject line Re: bug#77125: [PATCH] igc ; * etc/DEBUG: Fix gdb examples to: call ... (global_igc->arena)
has caused the debbugs.gnu.org bug report #77125,
regarding [PATCH] igc ; * etc/DEBUG: Fix gdb examples to: call ... (global_igc->arena)
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
77125: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77125
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jeremy Bryant <jb <at> jeremybryant.net>
To: bug-gnu-emacs <at> gnu.org, Pip Cet <pipcet <at> protonmail.com>, Eli Zaretskii
 <eliz <at> gnu.org>
Subject: [PATCH] igc ; * etc/DEBUG: Fix gdb examples to: call ...
 (global_igc->arena)
Date: Wed, 19 Mar 2025 22:53:40 +0000
Minor fix to recent revised patch, which was missing the improvement.

global_igc->arena


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Jeremy Bryant <jb <at> jeremybryant.net>
Cc: gerd.moellmann <at> gmail.com, 77125-done <at> debbugs.gnu.org, pipcet <at> protonmail.com,
 eller.helmut <at> gmail.com
Subject: Re: bug#77125: [PATCH] igc ; * etc/DEBUG: Fix gdb examples to: call
 ... (global_igc->arena)
Date: Mon, 07 Apr 2025 14:18:45 +0300
> From: Jeremy Bryant <jb <at> jeremybryant.net>
> Cc: 77125 <at> debbugs.gnu.org,  pipcet <at> protonmail.com, Helmut Eller
>  <eller.helmut <at> gmail.com>, Gerd Möllmann
>  <gerd.moellmann <at> gmail.com>
> Date: Sun, 06 Apr 2025 21:26:01 +0100
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> From: Jeremy Bryant <jb <at> jeremybryant.net>
> >>  and then release it afterwards with:
> >>  
> >> -     (gdb) call mps_arena_release(arena)
> >> +     (gdb) call mps_arena_release(global_igc->arena)
> >
> > Is it really true that the arena pointer is always global_igc->arena
> > in Emacs?  If so, I would suggest to tell that separately, because the
> > GDB calls to functions can have arguments constructed in many
> > different ways.  Something like
> >
> >   In Emacs, the arena is usually stored in 'global_igc->arena'.
> >
> > and leave the examples in their current general form.
> 
> OK, on that basis please find attached patch adding that line, with 'usually'.

Thanks, installed on the branch.

Please in the future remember to mention the bug number (when known)
in the commit log message, and also end single-line log messages with
a period.


This bug report was last modified 72 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.