[hatari-devel] Debugger usage examples?
Laurent Sallafranque
laurent.sallafranque at free.fr
Sat Jun 11 11:43:45 CEST 2011
Perhaps also the same commands for DSP ?
7. disassembling from DSP PC
8. show (set ?) dsp registers
...
Another little question : when I break hatari and use d or dd, I see the
instructions at PC + some more instructions.
If I use d or dd again, I can see the next instructions.
Sometimes, I use d xxx to see instructions at a certain jump address.
But if I want to return back to current PC address, I have to full write it.
Isn't it possible to have a "d pc" or "dd pc" command ?
Laurent
Le 11/06/2011 00:07, Eero Tamminen a écrit :
> Hi,
>
> Miro asked about debugger usage examples to be added
> to the Manual. I came up with these simple ones:
>
> 1. stopping on program startup
> 2. disassembling from PC
> 2.1 and showing BSS content
> 3. single stepping
> 3.1 with e.g. regs shown after each step
> 4. setting breakpoint on register value change
> 4.1 so that instructions leading to it are show
> when the breakpoint is hit
> 4.2 without stopping
> 5. listing stack contents
> 5.1 that being shown whenever one enters the debugger
> 6. tracing all OS calls between two breakpoints
>
> Any others?
>
>
> - Eero
> _______________________________________________
> hatari-devel mailing list
> hatari-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/hatari-devel
>
More information about the hatari-devel
mailing list