[Lldb-commits] [PATCH] Refactor POSIXThread::GetRegisterContext and use i386 register context

Todd Fiala tfiala at google.com
Thu Feb 13 13:58:59 PST 2014


  Register logging from doing a '(lldb) run' on the sample program listed in a previous comment:

  tfiala at ub-x86-13:~/play/hello$ ~/lldb/work/build-debug/bin/lldb ./hello
  Current executable set to './hello' (i386).
  (lldb) log enable linux registers
  (lldb) run
  Process 10693 launching
  operation ProcessMonitor::Execute() write reg dr6: 0xffffffff
  operation ProcessMonitor::Execute() write reg dr7: 0xffffffff
  operation ProcessMonitor::Execute() read reg dr6: 0x2ac
  operation ProcessMonitor::Execute() read reg dr6: 0x2ac
  operation ProcessMonitor::Execute() read reg dr6: 0x2ac
  operation ProcessMonitor::Execute() read reg dr6: 0x2ac
  operation ProcessMonitor::Execute() read reg dr6: 0x2ac
  operation ProcessMonitor::Execute() read reg dr6: 0x2ac
  operation ProcessMonitor::Execute() write reg dr6: 0xffffffff
  operation ProcessMonitor::Execute() read reg dr7: 0x2a8
  operation ProcessMonitor::Execute() read reg dr2: 0x2a8
  lldb: /home/tfiala/lldb/work/llvm/tools/lldb/source/Plugins/Process/POSIX/POSIXThread.cpp:526: void POSIXThread::WatchNotify(const ProcessMessage&): Assertion `wp_sp.get() && "No watchpoint found"' failed.
  Aborted (core dumped)

http://llvm-reviews.chandlerc.com/D2765



More information about the lldb-commits mailing list