'Get list of current breakpoints
Returns:
- list of tuple (Num(Int), Type(String), Disp(Bool), Nnb(Bool), Address(Int), commands(String))'

def get_breakpoints(self):

    result = []
    out = self.execute_redirect('info    breakpoints')
    if (not out):
        return []
    bplist = []
    for line in out.splitlines():
        m = re.match('^(\\d*).*', line)
        if (m and to_int(m.group(1))):
            bplist += [to_int(m.group(1))]
    for num in bplist:
        r = self.get_breakpoint(num)
        if r:
            result += [r]
    return result
