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

Gdb: add support for "load" and "info_registers" and fix bugs. #482

Merged
merged 7 commits into from
Apr 11, 2022

Conversation

gatk555
Copy link
Collaborator

@gatk555 gatk555 commented Mar 19, 2022

Addition of load command fixes #371. The "awatch" command now works and "break" instructions are useable without having to make gdb jump over them by hand. General gdb behaviour is improved by not sending confusing stop reports. Other bug fixes as described in the commit comments, including an equivalent to the fix in #480.

ga added 7 commits March 16, 2022 17:55
"monitor ior <base> <count>" to select only some registers for output.
Selective cherry-pick of 6923a0a
and 05b6803.
https://github.com/msquirogac/simavr/tree/fix-371
This implements the vFlashxxxx remote protocol commands and should fix
issue buserror#371 - "GDB Error on OS X: Remote target does not support flash erase".
1. Do not report a TRAP signal on every stop, as it confuses gdb.
   Initial symptom was failure to step into an ISR.
2. AVR was running after reset command.
3. Excessive processor activity (buzzing) while AVR stopped.
…oint

stops (always reported as "awatch").  Fix the kill command and allow
the simulator to continue running on detach.
Add "monitor say" for debugging.
could never move past it, as gdb knows it is in ROM and will
not replace it.  Distinguish hard and soft breaks.
cycle counter on reset so that there is no crash on restart.
a helpful message when it is executed.  Also add help message
response for gdb's "monitor" command.
@gatk555 gatk555 mentioned this pull request Mar 19, 2022
@AlbertoTejada
Copy link

I'm really looking forward this fix.
I'm having issues with load in a #20~20.04.1-Ubuntu SMP Tue Sep 21 14:18:09 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Is this branch stable enough to use it? I would be able to provide some feedback

@buserror buserror merged commit fe9fea9 into buserror:master Apr 11, 2022
@gatk555 gatk555 deleted the gdb branch April 11, 2022 14:20
gatk555 pushed a commit to gatk555/simavr that referenced this pull request May 3, 2022
buserror added a commit that referenced this pull request May 11, 2022
Fix #421 (Tiny13) and an error in PR #482
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GDB Error on OS X: Remote target does not support flash erase
3 participants