projects
/
sx
/
simavr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
regExp
home
|
summary
|
tags
|
heads
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
raw
|
patch
| inline |
side by side
(parent:
e1cbefc
)
Commit
398c292e97b5a3309fd1114988e1afdb31d0083c
author
Michel Pollet
<buserror@gmail.com>
Tue, 12 Oct 2010 09:02:55 +0000
(10:02 +0100)
committer
Michel Pollet
<buserror@gmail.com>
Tue, 12 Oct 2010 09:02:55 +0000
(10:02 +0100)
Apparently needed for compatibility with AVRStudio debugger
Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/sim_gdb.c
patch
|
blob
|
history
|
download
diff --git
a/simavr/sim/sim_gdb.c
b/simavr/sim/sim_gdb.c
index 33d924f6dfd72184ea0e125af58962d9126578f1..f2d46ff6873eea0e0d230bb635ebb106fc029d45 100644
(file)
--- a/
simavr/sim/sim_gdb.c
+++ b/
simavr/sim/sim_gdb.c
@@
-251,6
+251,10
@@
static void gdb_handle_command(avr_gdb_t * g, char * cmd)
case 's': { // step
avr->state = cpu_Step;
} break;
+ case 'r': { // deprecated, suggested for AVRStudio compatibility
+ avr->state = cpu_StepDone;
+ avr_reset(avr);
+ } break;
case 'Z': // set clear break/watchpoint
case 'z': {
uint32_t kind, addr, len;