From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0F036386F830; Sun, 17 May 2020 22:00:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0F036386F830 From: "ssbssa at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/17534] GDB failed to set bp on source line that includes an inlined function call Date: Sun, 17 May 2020 22:00:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ssbssa at sourceware dot org X-Bugzilla-Status: NEW 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: cc 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: Sun, 17 May 2020 22:00:45 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D17534 Hannes Domani changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ssbssa at sourceware dot o= rg --- Comment #1 from Hannes Domani --- I can reproduce this problem when I use gcc 7 or older to compile the examp= le, but with gcc 8.1 or newer, the breakpoint on line 19 works fine (it doesn't matter which gdb version, I tested from 7.8 to current master): (gdb) b 19 Breakpoint 1 at 0x402bfd: file gdb-17534.c, line 19. (gdb) r Starting program: C:\src\tests\gdb-17534-8.1.exe [New Thread 1140.0x404] Breakpoint 1, main () at gdb-17534.c:19 19 NVIC_EnableIRQ(16); Not sure if this means that we can close this. --=20 You are receiving this mail because: You are on the CC list for the bug.=