mirror of https://github.com/ericonr/dotfiles.git
Update GDB init.
Fix errors: "def" could be either "define" or "define-prefix".
This commit is contained in:
parent
6151c7ef81
commit
eb07550bd6
|
@ -1,22 +1,27 @@
|
|||
# funcionalidade basica
|
||||
|
||||
set history save
|
||||
set history size 1000
|
||||
|
||||
# funcoes para facilitar o uso do arm-none-eabi-gdb
|
||||
|
||||
# sequencia inicial
|
||||
def rst
|
||||
define rst
|
||||
monitor reset halt
|
||||
tb main
|
||||
continue
|
||||
end
|
||||
|
||||
# essa eh necessaria com a STM32F4 para programar
|
||||
def mrh
|
||||
define mrh
|
||||
monitor reset halt
|
||||
end
|
||||
|
||||
# para conectar ao microcontrolador
|
||||
def loco
|
||||
define loco
|
||||
target remote localhost:3333
|
||||
end
|
||||
|
||||
def semihosting
|
||||
define semihosting
|
||||
monitor arm semihosting enable
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue