http://llvm.org/bugs/show_bug.cgi?id=17213
Bug ID: 17213 Summary: Expression evaluation fails on FreeBSD in some cases Product: lldb Version: unspecified Hardware: PC OS: FreeBSD Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: lldb-dev@cs.uiuc.edu Reporter: ema...@freebsd.org Classification: Unclassified See also 17184 - expression evaluation fails for many cases of a crashing / asserting inferior. There are two other cases where expression evaluation fails in the absence of a crashing inferior. BreakpointConditionsTestCase.test_breakpoint_condition_inline_with_dwarf_and_run_command BreakpointConditionsTestCase.test_breakpoint_condition_with_dwarf_and_run_command E.g. % bin/lldb ../tools/lldb/test/functionalities/breakpoint/breakpoint_conditions/a.out Current executable set to '../tools/lldb/test/functionalities/breakpoint/breakpoint_conditions/a.out' (x86_64). (lldb) breakpoint set --name c -c 'val == 3' Breakpoint 1: where = a.out`c + 7 at main.c:36, address = 0x0000000000400667 (lldb) run Process 27897 launched: '../tools/lldb/test/functionalities/breakpoint/breakpoint_conditions/a.out' (x86_64) Process 27897 stopped * thread #1: tid = 102689, 0x00000000008004d0 a.out`_start(ap=0x0000000000000000, cleanup=0x0000000000001000) at crt1.c:65, stop reason = breakpoint 1.1 frame #0: 0x00000000008004d0 a.out`_start(ap=0x0000000000000000, cleanup=0x0000000000001000) at crt1.c:65 62 /* The entry function. */ 63 void 64 _start(char **ap, void (*cleanup)(void)) -> 65 { 66 int argc; 67 char **argv; 68 char **env; Stopped due to an error evaluating condition of breakpoint 1.1: "val == 3" Couldn't execute expression: Couldn't materialize struct: size of variable val disagrees with the ValueObject's size (0,4) Errored out in Execute, couldn't PrepareToExecuteJITExpression -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ lldb-dev mailing list lldb-dev@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev