From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F03B43858407; Wed, 4 May 2022 23:58:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F03B43858407 From: "jose.simoes at eclo dot solutions" To: gdb-prs@sourceware.org Subject: [Bug gdb/28219] arm-none-eabi-gdb, .../gdb/utils.c:671: "internal-error: virtual memory exhausted: can't allocate 4064 bytes" Date: Wed, 04 May 2022 23:58:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jose.simoes at eclo dot solutions X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2022 23:58:03 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28219 --- Comment #2 from Jos=C3=A9 Sim=C3=B5es --- Here's some extra information about this: I'm compiling with -Og and origin= ally with -ggdb3. With this I could set the option to stop at `main()` but continuing to the = next line was incredibly slow. Resuming execution works but, on hitting pause button, the gbd overflow exception would pop and the debug would be termina= ted. After changing the build options to -ggdb (or just -g) the debug started to work again. Stops at main(). Moving to the next line occurs swiftly. Resumi= ng execution works as expected. And I can now pause and continue execution as = many times as I want. Tested this with gdb from GCC 8-2019-q3-update and the latest 11.2-2022.02. --=20 You are receiving this mail because: You are on the CC list for the bug.=