Skip to content

Instantly share code, notes, and snippets.

@msquirogac
Last active June 10, 2020 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msquirogac/77a495ff787e076074163d38d5450fac to your computer and use it in GitHub Desktop.
Save msquirogac/77a495ff787e076074163d38d5450fac to your computer and use it in GitHub Desktop.
Workarounds for wrong address interpreatation on AVR-GDB
define di
disas (void (*)())$arg0, (void (*)())$arg1
end
typedef void (*faddr)();
faddr filler __attribute__((used)) = 0x00;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment