~ubuntu-branches/ubuntu/saucy/radare/saucy

« back to all changes in this revision

Viewing changes to src/dbg/bp.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Reichel
  • Date: 2009-05-22 19:01:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090522190100-qqp4aja112976t5v
Tags: 20090522-1
* new hg checkout
 - added 'cX' command to compare like 'cc' does but using two side hexdiff dump format
 - specify pointer & data size in pm with %<size>
 - add graph.weight
 - fix 'c' command (missing radare_read(0))
 - added /P search command that searchs for proximity in bytelevel distance
 - added more 'ag' and 'gu' commands to readline autocompletion.
 - fix build of debugger for non-linux systems
 - fixed code analysis at startup
 - more work in graphs (graph.split)
 - fixups in x86 code analysis

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (C) 2008
 
2
 * Copyright (C) 2008, 2009
3
3
 *       pancake <youterm.com>
4
4
 *
5
5
 * radare is part of the radare project
67
67
        switch(ptr[0]) {
68
68
        case '-':
69
69
                addr = get_math(ptr+1);
70
 
                flag_clear_by_addr(addr);
71
70
                if(debug_bp_rm_addr(addr) == 0)
72
71
                        eprintf("breakpoint at 0x%x dropped\n", addr);
73
72
                break;
191
190
        if(ret < 0)
192
191
                return ret;
193
192
 
194
 
        flag_clear_by_addr((addr_t)addr);
 
193
//      flag_clear_by_addr((addr_t)addr);
 
194
{
 
195
                char tcmd[128];
 
196
                sprintf(tcmd, "f -breakpoint@0x%08llx", addr);
 
197
                radare_cmd(tcmd, 0);
 
198
}
195
199
 
196
200
        bp->addr = 0;
197
201
        ps.bps_n--;