Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run gdb command doesn't work #267

Closed
l29ah opened this issue Sep 29, 2014 · 4 comments
Closed

run gdb command doesn't work #267

l29ah opened this issue Sep 29, 2014 · 4 comments

Comments

@l29ah
Copy link
Contributor

l29ah commented Sep 29, 2014

(gdb) target extended-remote localhost:4242
Remote debugging using localhost:4242
0x08001154 in ?? ()
(gdb) kill
Kill the program being debugged? (y or n) y
(gdb) run

Starting program: /home/l29ah/projects/coreboot/stm32f4-flashrom/serprog-stm32f4discovery/serprog-stm32f4discovery.elf serprog-stm32f4discovery.elf
Remote target does not support "set args" or run
(gdb) c
The program is not being run.

-- GNU gdb (Linaro GDB) 7.5-2012.12-1

@prattmic
Copy link
Contributor

st-link does not support 'run', as it does not load arbitrary programs without explicit commands.

You can use 'monitor reset' to reset the MCU, then continue.

@l29ah
Copy link
Contributor Author

l29ah commented Sep 29, 2014

Then the README should be fixed. Thank you!

@Nightwalker-87
Copy link
Member

@xor-gate: The related reference in our README has moved to the tutorial in the meanwhile.
I am not so sure if documentation is wrong here... Can you remember anything from earlier times and/or look into this?

@Nightwalker-87
Copy link
Member

The run command is indeed still present in the unrevised part of our project tutorial.
Could someone rewrite and verify the gdb-related sections? (some hardware would be preferable to do some testing)

@Nightwalker-87 Nightwalker-87 modified the milestones: a) Old issues, v1.6.2 Mar 8, 2021
@Nightwalker-87 Nightwalker-87 self-assigned this Mar 10, 2021
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Mar 10, 2021
@Nightwalker-87 Nightwalker-87 moved this to Done in Release v1.7.0 Apr 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants