Page MenuHomePhabricator

[lldb/Breakpoint] Include whether or not a breakpoint is a HW BP
ClosedPublic

Authored by JDevlieghere on Jan 24 2020, 4:04 PM.

Details

Summary

Include whether or not a breakpoint is a hardware breakpoint in the breakpoint list.

(lldb) breakpoint list
Current breakpoints:
1: name = 'main', locations = 1, resolved = 1, hit count = 0
  1.1: where = a.out`main + 15 at <stdin>:18:10, address = 0x0000000100000f9f, resolved, hardware, hit count = 0

(lldb) breakpoint list -v
Current breakpoints:
1: name = 'main'
    1.1:
      module = /Volumes/Jonas/llvm/build-ra/a.out
      compile unit = -
      function = main
      location = /Volumes/Jonas/llvm/build-ra/<stdin>:18:10
      address = 0x0000000100000f9f
      resolved = true
      hardware = true
      hit count = 0

Diff Detail

Repository
rLLDB LLDB

Event Timeline

JDevlieghere created this revision.Jan 24 2020, 4:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 24 2020, 4:04 PM
davide accepted this revision.Jan 24 2020, 5:12 PM
davide added a subscriber: davide.

LGTM.

This revision is now accepted and ready to land.Jan 24 2020, 5:12 PM
This revision was automatically updated to reflect the committed changes.