'Wrapper for GDB break command
- location: target function or address (String ot Int)
Returns:
- True if can set breakpoint'

def set_breakpoint(self, location, temp=0, hard=0):

    cmd = 'break'
    if hard:
        cmd = ('h' + cmd)
    if temp:
        cmd = ('t' + cmd)
    if (to_int(location) is not None):
        return peda.execute(('%s    *0x%x' % (cmd, to_int(location))))
    else:
        return peda.execute(('%s    %s' % (cmd, location)))
