You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
545 B
16 lines
545 B
# https://github.com/devkitPro/libctru/blob/master/libctru/source/system/stack_adjust.s#LL28C23-L28C23 |
|
# or should this be `_exit` ? |
|
break __ctru_exit |
|
commands |
|
# TODO: needed? |
|
continue |
|
# ARM calling convention will put the exit code in r0 when __ctru_exit is called. |
|
# Just tell GDB to exit with the same code, since it doesn't get passed back when |
|
# the program exits |
|
quit $r0 |
|
end |
|
|
|
# TODO: parametrize or pass as command line arg instead |
|
target extended-remote 192.168.0.167:4003 |
|
# target extended-remote :4000 |
|
continue
|
|
|