http://llvm.org/bugs/show_bug.cgi?id=14767
Bug #: 14767
Summary: the curious case of tracing parameters
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Keywords: googler
Severity: enhancement
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
Blocks: 14395
Classification: Unclassified
One of the GDB 7.5 test suite tests (gdb.trace/save-trace.exp) is failing for
reasons I can't seem to fathom/divine, so I'm filing this bug for now & can
investigate further at some point.
Given this:
void func(int p) {
}
doing this in gdb:
trace 2
actions
collect p
end
completes successfully with GCC's debug info, but crashes GDB
("../../gdb-7.5.x/gdb/tracepoint.c:665: internal-error: expression has min
height < 0
A problem internal to GDB has been detected,
further debugging may prove unreliable.") with Clang's debug info. Normal
operations such as breaking on the function & printing out 'p' interactively,
seem to work just fine.
I've yet to figure out what the critical bit of debug info or assembly is
causing this hiccup.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs