Hi,

I just downloaded lldb-3.3 from http://llvm.org/apt/ and was starting to play with it on my Ubuntu 12.10 installation.

Loading a program, running it, setting break points and stepping through the source code works great. However, calling functions does unfortunately not work.

(lldb) call malloc(4)
error: 'malloc' has unknown return type; cast the call to its declared return type
error: 1 errors parsing expression

(lldb) p (void*) malloc(4)
Segmentation fault (core dumped)

Is this expected on Linux? Any ideas how to fix this?

Thanks,
Tobi

_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to