[lldb-dev] [Bug 18965] New: Can't debug with gdbserver on Linux with top of tree lldb
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Feb 25 10:36:36 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=18965
Bug ID: 18965
Summary: Can't debug with gdbserver on Linux with top of tree
lldb
Product: lldb
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: lldb-dev at cs.uiuc.edu
Reporter: spucci at google.com
Classification: Unclassified
Created attachment 12140
--> http://llvm.org/bugs/attachment.cgi?id=12140&action=edit
tar file containing test directory
If I try to attach to a gdbserver with lldb on Ubuntu 12.04 or Ubuntu 13.10,
lldb attaches to the process, successfully stops the program, but is unable to
display the stack or dump the registers:
(lldb) bt
* thread #1: tid = 7330, , stop reason = signal SIGTRAP
* frame #0:
(lldb) register read
error: invalid frame
(lldb)
The commands I'm using to connect to the gdbserver are:
platform select remote-linux
target create --arch x86_64--linux-gnu ./foo
gdb-remote localhost:2388
Trying without the "platform select" line gives the same results, as does
removing the --arch x86_64--linux-gnu
A test directory is attached to this bug report. In that test directory, run
the following, *each in its own shell window* :
- make run # will run executable, which has an infinite loop of sleep(1)
- make gdbserver # will bring up gdbserver, attaching to the executable
- lldb # will execute commands in .lldbinit, attaching to gdbserver
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140225/b85ee1d4/attachment.html>
More information about the lldb-dev
mailing list