This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/20926] gdb misses breakpoint and stops one line after
- From: "lgustavo at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 05 Jan 2017 20:06:05 +0000
- Subject: [Bug breakpoints/20926] gdb misses breakpoint and stops one line after
- Auto-submitted: auto-generated
- References: <bug-20926-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20926
Luis Machado <lgustavo at codesourcery dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |lgustavo at codesourcery dot com
--- Comment #1 from Luis Machado <lgustavo at codesourcery dot com> ---
I think you want "b *_start" if you want to stop at the first instruction of
the function. Otherwise "b _start" will cause gdb to attempt to skip what it
thinks is the prologue of the function, which is probably causing the
breakpoint to be moved to line 6.
This doesn't look like a bug.
--
You are receiving this mail because:
You are on the CC list for the bug.