kukugt / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

Debugger bugfixes and improvements #134

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
 - Linux distribution: Gentoo
 - Machine type: 64-bit
 - Mupen64Plus version: svn, around rev 790

Here are some requested fixes/improvements for the debugger that I wrote
down after stepping through some interrupt service routine code.  I found
these issues on the system given above; if you can't replicate any of these
I'll help you track it down.

Normally I don't like laundry-list bug reports much but let's start with
this for now.  Some of them are pretty simple and hopefully won't take
long, if others require more effort then we can break them out into
separate reports.

1. the bottom of the text lines are cut off in the disassembly window: "JR"
looks like "IR", "reg20" looks like "rea20", etc
2. disassembly window doesn't always update correctly after branches.
sometimes it doesn't move so that the current instruction is inside the window
3. the hightlight for the current instruction doesn't work correctly for
delay slots
   - when I am stepping through the asm code, after taking one step past a
conditional branch, the highlighted instruction will be the one _after_ the
delay slot
   - And then, when taking 1 more step, if the condition was true (it
should branch), then it will jump to the first new instruction to execute.
 Otherwise, if it doesn't branch, then it _executes_ the instruction that
was highlighted
   - This is not the behavior of the actual CPU
   - It should highlight the delay slot instruction right after stepping
past the conditional branch, and then when taking 1 step past the delay
slot, it should execute the delay slot instruction and then jump to either
the new location (if condition true) or else the next instruction.
4. sometimes while stepping through code, the ASM source code window shows
inconsistent or random instructions for 1 cycle
5. scroll bars on ASM source window don't work with mouse roller wheel
6. version number says 0.0.3.  You may want to remove the version number
altogether, or else use the defined macro.

Original issue reported on code.google.com by richard...@gmail.com on 23 Jul 2008 at 1:55

GoogleCodeExporter commented 8 years ago
issues fixed as per revisions 1228 & 1229

Original comment by jezte...@gmail.com on 16 Dec 2008 at 8:55

GoogleCodeExporter commented 8 years ago
Issue 183 has been merged into this issue.

Original comment by jezte...@gmail.com on 23 Dec 2008 at 5:52