Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- luke@debian:~/altos/src/telemega-v2.0$ arm-none-eabi-gdb telemega-v2.0-1.7.elf
- GNU gdb (7.7.1+dfsg-1+6) 7.7.1
- Copyright (C) 2014 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=x86_64-linux-gnu --target=arm-none-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 telemega-v2.0-1.7.elf...done.
- (gdb) target remote:3333
- Remote debugging using :3333
- 0x080001b4 in ?? ()
- (gdb) break black_box.c:8
- Breakpoint 1 at 0x800ab3e: file black_box.c, line 8.
- (gdb) cont
- Continuing.
- Note: automatically using hardware breakpoints for read-only addresses.
- Breakpoint 1, ao_black_box () at black_box.c:8
- 8 ao_led_on(LED_PIN_GREEN);
- (gdb) s
- ao_led_on (colors=colors@entry=9) at ../stm/ao_led.c:27
- 27 LED_PORT->bsrr = (colors & ao_led_enable);
- (gdb) s
- ao_black_box () at black_box.c:9
- 9 ao_delay(AO_SEC_TO_TICKS(1));
- (gdb) quit
- A debugging session is active.
- Inferior 1 [Remote target] will be detached.
- Quit anyway? (y or n) y
- Detaching from program: /home/luke/altos/src/telemega-v2.0/telemega-v2.0-1.7.elf, Remote target
- Ending remote debugging.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement