| 1570 | } |
| 1571 | |
| 1572 | static void breakOnCyclesCB( GtkToggleButton *togglebutton, debuggerWin_t * dw) |
| 1573 | { |
| 1574 | const char *txt; |
| 1575 | |
| 1576 | break_on_cycles = !break_on_cycles; |
| 1577 | |
| 1578 | txt = gtk_entry_get_text( GTK_ENTRY(dw->brk_cycles_lim_entry) ); |
| 1579 | |
| 1580 | //printf("'%s'\n", txt ); |
| 1581 | |
| 1582 | if ( isdigit(txt[0]) ) |
| 1583 | { |
| 1584 | break_cycles_limit = strtoul( txt, NULL, 0 ); |
| 1585 | } |
| 1586 | |
| 1587 | updateAllDebugWindows(); |
| 1588 | } |
| 1589 | |
| 1590 | static void |
| 1591 | breakOnCyclesLimitCB (GtkEntry *entry, |
nothing calls this directly
no test coverage detected