This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/20926] gdb misses breakpoint and stops one line after


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]