Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » GDB hw debugging not uploading to target.(gdb debug skips the "load image" step when debugging)
GDB hw debugging not uploading to target. [message #1837637] Wed, 03 February 2021 09:02 Go to next message
Eclipse UserFriend
For a long time I have been using eclipse 2018 with gdb hw debugging.
While sometimes tricky to set up it was possible with some tinkering.

With the latest eclipse versions I am unable to have eclipse load the binary to my target board.

I am programming an STM32F429-Discovery board using the arm-none-eabi- toolchain, and openocd.
Connecting with arm-none-eabi-gdb to openocd manually works and these steps in gdb will get me started :
* target remote localhost:3333
* mon reset init
* file target-elf-file
* load

When debugging using elicpse it connects to the board and I can step through the last program loaded - it basically behaves as I would expect if I had deselected "load image" in the setup.

How can I debug this? Is there any way to see the step eclipse are taking when starting to debug?

Re: GDB hw debugging not uploading to target. [message #1837650 is a reply to message #1837637] Wed, 03 February 2021 10:51 Go to previous message
Eclipse UserFriend
Check your debug configuration. On the Startup tab, there is a checkbox Load Image.
Previous Topic:GDB / OpenOCD problem
Next Topic:paths and symbols missing
Goto Forum:
  


Current Time: Tue Jul 08 23:34:27 EDT 2025

Powered by FUDForum. Page generated in 0.03292 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top