Mercurial > repos > blastem
comparison debug.h @ 829:cc05444a4a4e
WIP debugger improvements. Partial support for display command in 68K debugger. Minor refactor to support commands on a breakpoint.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 25 Sep 2015 18:12:55 -0700 |
parents | 9b7fcf748be0 |
children | 6b5c92b6205c |
comparison
equal
deleted
inserted
replaced
828:22c3c52b9871 | 829:cc05444a4a4e |
---|---|
10 uint32_t index; | 10 uint32_t index; |
11 char format_char; | 11 char format_char; |
12 } disp_def; | 12 } disp_def; |
13 | 13 |
14 typedef struct bp_def { | 14 typedef struct bp_def { |
15 struct bp_def * next; | 15 struct bp_def *next; |
16 uint32_t address; | 16 char *commands; |
17 uint32_t index; | 17 uint32_t address; |
18 uint32_t index; | |
18 } bp_def; | 19 } bp_def; |
19 | 20 |
20 bp_def ** find_breakpoint(bp_def ** cur, uint32_t address); | 21 bp_def ** find_breakpoint(bp_def ** cur, uint32_t address); |
21 bp_def ** find_breakpoint_idx(bp_def ** cur, uint32_t index); | 22 bp_def ** find_breakpoint_idx(bp_def ** cur, uint32_t index); |
22 void add_display(disp_def ** head, uint32_t *index, char format_char, char * param); | 23 void add_display(disp_def ** head, uint32_t *index, char format_char, char * param); |