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
|
# funcoes para facilitar o uso do arm-none-eabi-gdb
|
||||||
|
|
||||||
# sequencia inicial
|
# sequencia inicial
|
||||||
def rst
|
define rst
|
||||||
monitor reset halt
|
monitor reset halt
|
||||||
tb main
|
tb main
|
||||||
continue
|
continue
|
||||||
end
|
end
|
||||||
|
|
||||||
# essa eh necessaria com a STM32F4 para programar
|
# essa eh necessaria com a STM32F4 para programar
|
||||||
def mrh
|
define mrh
|
||||||
monitor reset halt
|
monitor reset halt
|
||||||
end
|
end
|
||||||
|
|
||||||
# para conectar ao microcontrolador
|
# para conectar ao microcontrolador
|
||||||
def loco
|
define loco
|
||||||
target remote localhost:3333
|
target remote localhost:3333
|
||||||
end
|
end
|
||||||
|
|
||||||
def semihosting
|
define semihosting
|
||||||
monitor arm semihosting enable
|
monitor arm semihosting enable
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue