From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A465D3857019; Tue, 18 Jul 2023 16:10:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A465D3857019 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689696616; bh=X/GXMVf6ehLJdRrKgxWP8JYbTfsZAjU8CmDg2dz5PeE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wLq5EmtmOkz87KPbdHzYw9wfdZyEvaJRcQvdseasS4XMKZXNYNegFZNH2JyE2Uvd8 l/k2CJhAmQ8Zl0+UK8WsUDC0NyRVJFbBGZ6pLAlMpWyUZwq1pMHCPyw74fzCUaMAvG xdY5Lor8KjJR5LTmuWApxd8dcRf0ydKFcJWQVXNw= From: "me at dominicclifton dot name" 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: Tue, 18 Jul 2023 16:10:15 +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: me at dominicclifton dot name X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D28219 --- Comment #10 from Dominic Clifton --- Created attachment 14983 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14983&action=3Ded= it requested .elf file that causes GDB to crash ``` arm-none-eabi-gcc.exe (Arm GNU Toolchain 12.2.MPACBTI-Rel1 (Build arm-12-mpacbti.34)) 12.2.1 20230214 ``` source for testing: https://github.com/hydra/betaflight/commits/bf-stm32h725 Note there are two important commits in the branch: 168741486eac3dd0eb43efd40bc20c024ac50904 - changes the Makefile so that '-g= gdb' is used instead of `-ggdb3` 9407467d8be0cab4b492f30d6089f5e1bcd9cadc - parent commit of above used to b= uild the attached binaries. Note that if you want to re-build the above binaries from the source you'll need ``` GCC_REQUIRED_VERSION=3D12.2.1 ``` in `mk\local.mk`, and then build with: ``` make CHONKERH735 DEBUG=3DINFO EXTRA_FLAGS=3D"-DUSE_TIMER_MAP_PRINT" ``` Full GDB trace log also included in the `.zip` along with the corresponding `.map` file --=20 You are receiving this mail because: You are on the CC list for the bug.=