This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/12429] New: stepping broken when always_inline functions
- From: "gds at chartertn dot net" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 21 Jan 2011 16:07:15 +0000
- Subject: [Bug gdb/12429] New: stepping broken when always_inline functions
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12429
Summary: stepping broken when always_inline functions
Product: gdb
Version: 7.2
Status: NEW
Severity: normal
Priority: P2
Component: gdb
AssignedTo: unassigned@sourceware.org
ReportedBy: gds@chartertn.net
If I create an inline function with __attribute((always_inline)) with
optimization at -O0 (no optimization) single stepping does not work and often
results in loss of communication with target. The only way to step reliably in
inline functions is to set a bp and run to it. Non-inline functions step fine.
This is with embedded arm using a remote gdb server. Not sure if this is
specific to this setup.
See this with 7.1 and 7.2. Does not do this with older 6.8 gdb using the same
program and inline scheme and gcc version .
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.