Skip to content

Instantly share code, notes, and snippets.

@sidprice
Created March 27, 2018 20:08
Show Gist options
  • Save sidprice/5aa7ce1f340ba2883678b206b731b2b7 to your computer and use it in GitHub Desktop.
Save sidprice/5aa7ce1f340ba2883678b206b731b2b7 to your computer and use it in GitHub Desktop.
GNU gdb (GDB) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-w64-mingw32 --target=arm-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from C:/iccv9_samples/oscar_test/bin/Debug/oscar_test.elf...done.
(gdb) target extended-remote //./com11
Remote debugging using //./com11
(gdb) mon sw
Target voltage: 3.3V
Available Targets:
No. Att Driver
1 STM32F411
(gdb) attach 1
Attaching to program: C:\iccv9_samples\oscar_test\bin\Debug\oscar_test.elf, Remote target
0x00000000 in ?? ()
(gdb) info reg
r0 0x0 0
r1 0x0 0
r2 0x0 0
r3 0x0 0
r4 0x0 0
r5 0x0 0
r6 0x0 0
r7 0x0 0
r8 0x0 0
r9 0x0 0
r10 0x0 0
r11 0x0 0
r12 0x0 0
sp 0x0 0x0
lr 0x0 0x0
pc 0x0 0x0
xpsr 0x0 0
msp 0x0 0x0
psp 0x0 0x0
primask 0x0 0 '\000'
basepri 0x0 0 '\000'
faultmask 0x0 0 '\000'
control 0x0 0 '\000'
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment