Skip to content

Commit 1725cc0

Browse files
committed
[lldb] Remove unused hardware argument (NFC)
1 parent 2b7e3f6 commit 1725cc0

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

lldb/include/lldb/Breakpoint/BreakpointLocation.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ class BreakpointLocation
235235
/// \b true if the target should stop at this breakpoint and \b
236236
/// false not.
237237
bool InvokeCallback(StoppointCallbackContext *context);
238-
238+
239239
/// Report whether the callback for this location is synchronous or not.
240240
///
241241
/// \return
@@ -371,11 +371,8 @@ class BreakpointLocation
371371
/// The thread for which this breakpoint location is valid, or
372372
/// LLDB_INVALID_THREAD_ID if it is valid for all threads.
373373
///
374-
/// \param[in] hardware
375-
/// \b true if a hardware breakpoint is requested.
376-
377374
BreakpointLocation(lldb::break_id_t bid, Breakpoint &owner,
378-
const Address &addr, lldb::tid_t tid, bool hardware,
375+
const Address &addr, lldb::tid_t tid,
379376
bool check_for_resolver = true);
380377

381378
// Data members:

lldb/source/Breakpoint/BreakpointLocation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ using namespace lldb_private;
3131

3232
BreakpointLocation::BreakpointLocation(break_id_t loc_id, Breakpoint &owner,
3333
const Address &addr, lldb::tid_t tid,
34-
bool hardware, bool check_for_resolver)
34+
bool check_for_resolver)
3535
: m_should_resolve_indirect_functions(false), m_is_reexported(false),
3636
m_is_indirect(false), m_address(addr), m_owner(owner),
3737
m_condition_hash(0), m_loc_id(loc_id), m_hit_counter() {

lldb/source/Breakpoint/BreakpointLocationList.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ BreakpointLocationList::Create(const Address &addr,
3232
lldb::break_id_t bp_loc_id = ++m_next_id;
3333
BreakpointLocationSP bp_loc_sp(
3434
new BreakpointLocation(bp_loc_id, m_owner, addr, LLDB_INVALID_THREAD_ID,
35-
m_owner.IsHardware(), resolve_indirect_symbols));
35+
resolve_indirect_symbols));
3636
m_locations.push_back(bp_loc_sp);
3737
m_address_to_location[addr] = bp_loc_sp;
3838
return bp_loc_sp;

0 commit comments

Comments
 (0)