Received: (at 77125-done) by debbugs.gnu.org; 7 Apr 2025 11:19:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 07 07:19:00 2025 Received: from localhost ([127.0.0.1]:52998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u1kVI-0006TC-1a for submit <at> debbugs.gnu.org; Mon, 07 Apr 2025 07:19:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47036) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1u1kVF-0006Sj-ML for 77125-done <at> debbugs.gnu.org; Mon, 07 Apr 2025 07:18:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1u1kV8-0000QK-QO; Mon, 07 Apr 2025 07:18:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=0uqwzGAlwA/QzQGF7nBTHX1/X+fY8Kf+RvhvMX+Drxg=; b=EiJ8zqUFZC2ftPGN2hd6 MxoIxArb/60qxQsabSd4gCWp1sYVQY7YO8HXv5aXJ8EDyLAqkahJ7hbGvrX36o1jzt2w2JhvUwGd0 eqoUS4xY59Ce3JYq8KudYZwAnEI+mvZnJC19GepDHbWVpSgdvM7c/ZDpuOqCbOxG1klyShxescKtp 1hSmphGSxG6qez4XNtCDar2oBQnDZd1ZtOals5fD2rZC7dJsaNe2fAilYzeUWRmepD3CJfRHbug3O cZnaxvDmRqPR7I4XOKVU+xNIhTArx9/sh3zl4DP9fVk2brUprgR2UOKk/+u4XipMcWeuhybsdu3Fe JfoysEQOPMco9Q==; Date: Mon, 07 Apr 2025 14:18:45 +0300 Message-Id: <86y0wcte22.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Jeremy Bryant <jb@HIDDEN> In-Reply-To: <87h631t4ti.fsf@HIDDEN> (message from Jeremy Bryant on Sun, 06 Apr 2025 21:26:01 +0100) Subject: Re: bug#77125: [PATCH] igc ; * etc/DEBUG: Fix gdb examples to: call ... (global_igc->arena) References: <87v7s4ws23.fsf@HIDDEN> <87h63nweln.fsf@HIDDEN> <86tt7mlr98.fsf@HIDDEN> <87h631t4ti.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77125-done Cc: gerd.moellmann@HIDDEN, 77125-done <at> debbugs.gnu.org, pipcet@HIDDEN, eller.helmut@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Jeremy Bryant <jb@HIDDEN> > Cc: 77125 <at> debbugs.gnu.org, pipcet@HIDDEN, Helmut Eller > <eller.helmut@HIDDEN>, Gerd Möllmann > <gerd.moellmann@HIDDEN> > Date: Sun, 06 Apr 2025 21:26:01 +0100 > > Eli Zaretskii <eliz@HIDDEN> writes: > > >> From: Jeremy Bryant <jb@HIDDEN> > >> 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.
Jeremy Bryant <jb@HIDDEN>
:Eli Zaretskii <eliz@HIDDEN>
:Received: (at 77125) by debbugs.gnu.org; 6 Apr 2025 20:26:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 06 16:26:15 2025 Received: from localhost ([127.0.0.1]:49863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u1WZK-0007sU-Rt for submit <at> debbugs.gnu.org; Sun, 06 Apr 2025 16:26:15 -0400 Received: from out-180.mta0.migadu.com ([2001:41d0:1004:224b::b4]:21227) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <jb@HIDDEN>) id 1u1WZH-0007rq-O1 for 77125 <at> debbugs.gnu.org; Sun, 06 Apr 2025 16:26:13 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net; s=key1; t=1743971163; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Q3pCo4/BBiV+okS3NQuPk7um7EvjNw5ESc1x/qgvQ3o=; b=OzUe34LyGX1gEAJzPEHBByagaG6bBbS45FTPefAJmU23qQHQ9koCBS1GUUtkimGLPaiKxJ jkXo8H4AJUjb6PvHQfJ1ftUx8r0YEpBaHEzAn0sKdfXAQ8iuHdajUYHqUYEP9KbDRoXLfh U6l2XiVoeT7qxtO4uEWf5xoGZNbK6PVaZ8aqUtlxXpdTikfp5uaiaof2luA0xzBXFZhWPA RNSgCknXhcCh2YaAbm0/L3NO6xWxvGc0Pl7CBBIWYz+oHVpnzhTQRbE619fYGWZ9PRoBzm AnPYrz0PQqiZX3dK5hQ4XfV3QGWh5FfK40XDpQc36DPVMz2fMwtWswe4WDUmWQ== From: Jeremy Bryant <jb@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#77125: [PATCH] igc ; * etc/DEBUG: Fix gdb examples to: call ... (global_igc->arena) In-Reply-To: <86tt7mlr98.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 21 Mar 2025 10:30:59 +0200") References: <87v7s4ws23.fsf@HIDDEN> <87h63nweln.fsf@HIDDEN> <86tt7mlr98.fsf@HIDDEN> Date: Sun, 06 Apr 2025 21:26:01 +0100 Message-ID: <87h631t4ti.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Migadu-Flow: FLOW_OUT X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 77125 Cc: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>, pipcet@HIDDEN, Helmut Eller <eller.helmut@HIDDEN>, 77125 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Eli Zaretskii <eliz@HIDDEN> writes: >> From: Jeremy Bryant <jb@HIDDEN> >> 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'. I believe that there is only one global arena on the basis of the comments below. igc.c: /* The registry for an MPS arena. There is only one arena used. */ igc.org: - Arena. We tell MPS to create the global arena that is used for all objects. All other model objects are handled in the same way, threads, arenas, pools, object formats and so on. Igc collects all these MPS handles in a =struct igc=. This "registry" of MPS handles is found in the global variable =global_igc= and thus can be accessed from anywhere. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-etc-DEBUG-Improve-documentation-of-debugging-igc-are.patch From 578840331d4b3a471eaecd40dedd8e8e5860ebba Mon Sep 17 00:00:00 2001 From: Jeremy Bryant <jb@HIDDEN> Date: Sun, 6 Apr 2025 21:17:15 +0100 Subject: [PATCH] ; * etc/DEBUG: Improve documentation of debugging igc arena --- etc/DEBUG | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/DEBUG b/etc/DEBUG index 79bb6584489..546ff362b0a 100644 --- a/etc/DEBUG +++ b/etc/DEBUG @@ -1388,6 +1388,7 @@ and then release it afterwards with: (gdb) call mps_arena_release(arena) +In Emacs, the arena is usually stored in 'global_igc->arena'. -- 2.47.2 --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#77125
; Package emacs
.
Full text available.Received: (at 77125) by debbugs.gnu.org; 21 Mar 2025 08:31:13 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 21 04:31:13 2025 Received: from localhost ([127.0.0.1]:34888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tvXmZ-0006QA-8Q for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:31:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39986) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tvXmW-0006Om-PG for 77125 <at> debbugs.gnu.org; Fri, 21 Mar 2025 04:31:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tvXmQ-0001YZ-Sr; Fri, 21 Mar 2025 04:31:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=QJwqcryYMmScmUonxynlPvdZyJYJQ2zrbITJ0Vh9yOU=; b=PsDuwFj8nTnH OzcJAIwvKsoGrKqdJhPCEfP6Gm5gqT/XeDD6EKNSEHb8WBV8hQarKsE1YKNYIUCvG8SB9p0HpVuFP Gd9ff27O5L065GPNxCtZQfcWcn1zaeiCAqXpHHQFX4YovT66PIYA/p4DdLL2LbjQrlfJeMrFL2vQC j8rxQ8TvuwsL5isqJIrz2vYTvzu+q0H6DsFLOtXqfCTXl2bTUdsQntQaPpsD4rM7v+2yfZACK57Vs zjYV6bKq4O2ZWszRwjkkO9bw5yiuwQRNTAOzutvLISiFCxisbUi4ZX2QzY0tPKH66gUQy/oUGIcgJ 866wYy5UngrEb/SQOwk8lg==; Date: Fri, 21 Mar 2025 10:30:59 +0200 Message-Id: <86tt7mlr98.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Jeremy Bryant <jb@HIDDEN> In-Reply-To: <87h63nweln.fsf@HIDDEN> (message from Jeremy Bryant on Thu, 20 Mar 2025 21:56:36 +0000) Subject: Re: bug#77125: [PATCH] igc ; * etc/DEBUG: Fix gdb examples to: call ... (global_igc->arena) References: <87v7s4ws23.fsf@HIDDEN> <87h63nweln.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 77125 Cc: pipcet@HIDDEN, 77125 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Jeremy Bryant <jb@HIDDEN> > Cc: 77125 <at> debbugs.gnu.org, pipcet@HIDDEN, eliz@HIDDEN > Date: Thu, 20 Mar 2025 21:56:36 +0000 > > --- 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) 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.
bug-gnu-emacs@HIDDEN
:bug#77125
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 20 Mar 2025 21:57:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 20 17:57:03 2025 Received: from localhost ([127.0.0.1]:59341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tvNss-0000Ml-EQ for submit <at> debbugs.gnu.org; Thu, 20 Mar 2025 17:57:02 -0400 Received: from lists.gnu.org ([2001:470:142::17]:47068) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <jb@HIDDEN>) id 1tvNsl-0000L5-MY for submit <at> debbugs.gnu.org; Thu, 20 Mar 2025 17:56:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jb@HIDDEN>) id 1tvNsb-0002dm-9p for bug-gnu-emacs@HIDDEN; Thu, 20 Mar 2025 17:56:45 -0400 Received: from out-180.mta0.migadu.com ([2001:41d0:1004:224b::b4]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jb@HIDDEN>) id 1tvNsX-00019W-ID for bug-gnu-emacs@HIDDEN; Thu, 20 Mar 2025 17:56:45 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net; s=key1; t=1742507798; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eyaCBpG/AEAJMoSiInEGUdCYYOvlIdIHFMMlMMQiVtg=; b=HHOtX39LkM3ms71PPDkd+rnaf4b28KUcsFCoKCNdFJUxzSLsM9HrrnwGvNkslbc/Nch0oF pnYsA7EBRViu1xyuR/PHjSt6pTTZUCrT8HxCbnt87wPB1hJ+gxJqvnADWu7XvHUiJ/WnsX d6XokxI7SPjNZ3wQwYv9MavVA6b34uo21GOLu7j7p2pcaIXwEhpPl4NbVtTnT8dLUFDhjC PpZO3FOW2b9DvmfaVG+qd2BBBVb3iqT6GNY+XC1CCdDcWAGYmSvNBsAwWJgOEJuRPzTNT1 pkuK1nnuyuH6sPaqaHWRHTIrM+1uA7pSVnulHPxYo70JxPcgDOITyPlEQiu2sg== From: Jeremy Bryant <jb@HIDDEN> To: Jeremy Bryant via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> Subject: Re: bug#77125: [PATCH] igc ; * etc/DEBUG: Fix gdb examples to: call ... (global_igc->arena) In-Reply-To: <87v7s4ws23.fsf@HIDDEN> (Jeremy Bryant via's message of "Wed, 19 Mar 2025 22:53:40 +0000") References: <87v7s4ws23.fsf@HIDDEN> Date: Thu, 20 Mar 2025 21:56:36 +0000 Message-ID: <87h63nweln.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:1004:224b::b4; envelope-from=jb@HIDDEN; helo=out-180.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: pipcet@HIDDEN, eliz@HIDDEN, 77125 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.1 (/) --=-=-= Content-Type: text/plain Jeremy Bryant via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > Minor fix to recent revised patch, which was missing the improvement. > > global_igc->arena --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-etc-DEBUG-Fix-gdb-examples-to-call-.-global_igc-aren.patch From 22efbdca24543630583de23f7c31266927830f56 Mon Sep 17 00:00:00 2001 From: Jeremy Bryant <jb@HIDDEN> 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 --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#77125
; Package emacs
.
Full text available.Received: (at 77125) by debbugs.gnu.org; 20 Mar 2025 21:56:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 20 17:56:50 2025 Received: from localhost ([127.0.0.1]:59336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tvNse-0000L2-Pq for submit <at> debbugs.gnu.org; Thu, 20 Mar 2025 17:56:50 -0400 Received: from out-181.mta0.migadu.com ([2001:41d0:1004:224b::b5]:11744) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <jb@HIDDEN>) id 1tvNsc-0000JA-13 for 77125 <at> debbugs.gnu.org; Thu, 20 Mar 2025 17:56:46 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net; s=key1; t=1742507798; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eyaCBpG/AEAJMoSiInEGUdCYYOvlIdIHFMMlMMQiVtg=; b=HHOtX39LkM3ms71PPDkd+rnaf4b28KUcsFCoKCNdFJUxzSLsM9HrrnwGvNkslbc/Nch0oF pnYsA7EBRViu1xyuR/PHjSt6pTTZUCrT8HxCbnt87wPB1hJ+gxJqvnADWu7XvHUiJ/WnsX d6XokxI7SPjNZ3wQwYv9MavVA6b34uo21GOLu7j7p2pcaIXwEhpPl4NbVtTnT8dLUFDhjC PpZO3FOW2b9DvmfaVG+qd2BBBVb3iqT6GNY+XC1CCdDcWAGYmSvNBsAwWJgOEJuRPzTNT1 pkuK1nnuyuH6sPaqaHWRHTIrM+1uA7pSVnulHPxYo70JxPcgDOITyPlEQiu2sg== From: Jeremy Bryant <jb@HIDDEN> To: Jeremy Bryant via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> Subject: Re: bug#77125: [PATCH] igc ; * etc/DEBUG: Fix gdb examples to: call ... (global_igc->arena) In-Reply-To: <87v7s4ws23.fsf@HIDDEN> (Jeremy Bryant via's message of "Wed, 19 Mar 2025 22:53:40 +0000") References: <87v7s4ws23.fsf@HIDDEN> Date: Thu, 20 Mar 2025 21:56:36 +0000 Message-ID: <87h63nweln.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Migadu-Flow: FLOW_OUT X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 77125 Cc: pipcet@HIDDEN, eliz@HIDDEN, 77125 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Jeremy Bryant via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > Minor fix to recent revised patch, which was missing the improvement. > > global_igc->arena --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-etc-DEBUG-Fix-gdb-examples-to-call-.-global_igc-aren.patch From 22efbdca24543630583de23f7c31266927830f56 Mon Sep 17 00:00:00 2001 From: Jeremy Bryant <jb@HIDDEN> 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 --=-=-=--
bug-gnu-emacs@HIDDEN
:bug#77125
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 19 Mar 2025 22:54:06 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 19 18:54:06 2025 Received: from localhost ([127.0.0.1]:53789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tv2IY-0003te-I8 for submit <at> debbugs.gnu.org; Wed, 19 Mar 2025 18:54:06 -0400 Received: from lists.gnu.org ([2001:470:142::17]:56408) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <jb@HIDDEN>) id 1tv2IW-0003t7-ID for submit <at> debbugs.gnu.org; Wed, 19 Mar 2025 18:54:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jb@HIDDEN>) id 1tv2IQ-0000J9-Vq for bug-gnu-emacs@HIDDEN; Wed, 19 Mar 2025 18:53:59 -0400 Received: from out-177.mta0.migadu.com ([2001:41d0:1004:224b::b1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jb@HIDDEN>) id 1tv2IP-0008GK-6Q for bug-gnu-emacs@HIDDEN; Wed, 19 Mar 2025 18:53:58 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net; s=key1; t=1742424824; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=fEtXY4x1FlAZ9ni2j073RnJYsMU4nHY1o+oYFbQXDJg=; b=Xz6bAu3uUrAYOFIY0iaDk0xCI6A33htteTNFWO00tnxRYlh4fq5BkoZ28jsnNW/m9hDD5/ JDn9vAtPni2lMlbTXgqFxgndkZt8L0y3zjL7B30smCYG/Z95pu0sSVtD1BMgQuHj7UiWkU IFY9g+2+vJo4qiGlrGLBXlYwPDRT6zLwIc+emd64M0Av7Ii+ugYEJ1ojUiQUYY7AZLInEw yKlAVdMBmonTfYnhj+DiF3Iui5OMLQyhHlfBpyeZ4gTDpGuw7HjfIStMIaJUeWoCCfDtg9 JTGPzlt7LN21UMRNXQFpq01VY3UPaNV3BZlqdHKg9IX3GX8hGUxMvLcN1Z6gow== From: Jeremy Bryant <jb@HIDDEN> To: bug-gnu-emacs@HIDDEN, Pip Cet <pipcet@HIDDEN>, Eli Zaretskii <eliz@HIDDEN> Subject: [PATCH] igc ; * etc/DEBUG: Fix gdb examples to: call ... (global_igc->arena) Date: Wed, 19 Mar 2025 22:53:40 +0000 Message-ID: <87v7s4ws23.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:1004:224b::b1; envelope-from=jb@HIDDEN; helo=out-177.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.1 (/) Minor fix to recent revised patch, which was missing the improvement. global_igc->arena
Jeremy Bryant <jb@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#77125
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.