From 1201b3201dfc6889b39cd03ed37ad44e9609496f Mon Sep 17 00:00:00 2001 From: Derek Parker Date: Fri, 19 Jun 2015 08:05:23 -0500 Subject: [PATCH] Remove unused thread methods --- proc/threads.go | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/proc/threads.go b/proc/threads.go index c61e29c1..d20d4b1f 100644 --- a/proc/threads.go +++ b/proc/threads.go @@ -93,21 +93,6 @@ func (thread *Thread) Step() (err error) { return nil } -// Set breakpoint using this thread. -func (thread *Thread) Break(addr uint64) (*Breakpoint, error) { - return thread.dbp.setBreakpoint(thread.Id, addr, false) -} - -// Set temp breakpoint using this thread. Primarily used for next'ing. -func (thread *Thread) TempBreak(addr uint64) (*Breakpoint, error) { - return thread.dbp.setBreakpoint(thread.Id, addr, true) -} - -// Clear breakpoint using this thread. -func (thread *Thread) Clear(addr uint64) (*Breakpoint, error) { - return thread.dbp.clearBreakpoint(thread.Id, addr) -} - // Returns the threads location, including the file:line // of the corresponding source code, the function we're in // and the current instruction address.