aboutsummaryrefslogtreecommitdiff
path: root/source/Breakpoint
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-05-19 18:17:41 +0000
committerGreg Clayton <gclayton@apple.com>2011-05-19 18:17:41 +0000
commit265ab33ae56209d2bfdc47510a557aa075b2a829 (patch)
tree47504dde37bb083afa2cc5ac7a06fbee9ea0f276 /source/Breakpoint
parentf07f02b55d47d96bfab98b9947fd0d8efbdcef46 (diff)
downloadlldb-265ab33ae56209d2bfdc47510a557aa075b2a829.tar.gz
Moved a lot of simple functions from StoppointLocation.cpp to be inlined in
StoppointLocation.h. Added a new lldb_private::Address function: addr_t Address::GetOpcodeLoadAddress (Target *target) const; This will strip any special bits from an address to make sure it is suitable for use in addressing an opcode. Often ARM addresses have an extra bit zero that can be set to indicate ARM vs Thumb addresses (gotten from return address registers, or symbol addresses that may be marked up specially). We need to strip these bits off prior to setting breakpoints, so we can centralized the place to do this inside the Address class. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131658 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'source/Breakpoint')
-rw-r--r--source/Breakpoint/StoppointLocation.cpp64
1 files changed, 0 insertions, 64 deletions
diff --git a/source/Breakpoint/StoppointLocation.cpp b/source/Breakpoint/StoppointLocation.cpp
index 8d7325f03..5613f9061 100644
--- a/source/Breakpoint/StoppointLocation.cpp
+++ b/source/Breakpoint/StoppointLocation.cpp
@@ -46,67 +46,3 @@ StoppointLocation::StoppointLocation (break_id_t bid, addr_t addr, size_t size,
StoppointLocation::~StoppointLocation()
{
}
-
-
-size_t
-StoppointLocation::GetByteSize () const
-{
- return m_byte_size;
-}
-
-addr_t
-StoppointLocation::GetLoadAddress() const
-{
- return m_addr;
-}
-
-uint32_t
-StoppointLocation::GetHitCount () const
-{
- return m_hit_count;
-}
-
-bool
-StoppointLocation::HardwarePreferred () const
-{
- return m_hw_preferred;
-}
-
-bool
-StoppointLocation::IsHardware () const
-{
- return m_hw_index != LLDB_INVALID_INDEX32;
-}
-
-uint32_t
-StoppointLocation::GetHardwareIndex () const
-{
- return m_hw_index;
-}
-
-void
-StoppointLocation::SetHardwareIndex (uint32_t hw_index)
-{
- m_hw_index = hw_index;
-}
-
-// RETURNS - true if we should stop at this breakpoint, false if we
-// should continue.
-
-bool
-StoppointLocation::ShouldStop (StoppointCallbackContext *context)
-{
- return true;
-}
-
-break_id_t
-StoppointLocation::GetID() const
-{
- return m_loc_id;
-}
-
-void
-StoppointLocation::Dump (Stream *stream) const
-{
-
-}