hey guys:
I have a question about using prxtool debugging a program.
I remember last time I used prxtool to disassemble a boot.bin, it will alert you whenever it detects a valuable pointing to a memory location, something like this:
===========================================
...
...
...
loc_0002B2C8: ; Refs: 0x0002AF6C
0x0002B2C8: 0x3C0A001A '...<' - lui $t2, 0x1A
loc_0002B2CC: ; Refs: 0x0002AF74
; Data ref 0x00198EF0 "../btl/bgcgugetmem.h"
0x0002B2CC: 0x24A48EF0 '...$' - addiu $a0, $a1, -28944
...
...
...
============================================
so it will warn you when $a0 references to the address 0x00198EF0
However, this time when I disassembled yet another boot.bin, it just failed to show any address hints like before, although I am pretty sure there are many address references in the output assembly file. BTW, I am using the same command for both boot.bin's.
I need this feature so bad ;(
Does anyone know how can I turn on these hints? my prxtool is version 1.1.
Many thanks!
prxtool not showing data refs?
prxtool not showing data refs?
Last edited by serige on Tue Apr 01, 2008 7:36 pm, edited 1 time in total.
here is a code fragment i have this time:
; Subroutine sub_0884F7B0 - Address 0x0884F7B0
sub_0884F7B0: ; Refs: 0x0884D7E4 0x0884D8C0
0x0884F7B0: 0x3C020899 '...<' - lui $v0, 0x899
0x0884F7B4: 0x03E00008 '....' - jr $ra
0x0884F7B8: 0x2442728C '.rB$' - addiu $v0, $v0, 29324
0x0884F7BC: 0x27BDFFF0 '...'' - addiu $sp, $sp, -16
0x0884F7C0: 0xAFBF000C '....' - sw $ra, 12($sp)
0x0884F7C4: 0xAFB00008 '....' - sw $s0, 8($sp)
$v0 above should point to 0x0899728c, but it somehow fails to show it :(
; Subroutine sub_0884F7B0 - Address 0x0884F7B0
sub_0884F7B0: ; Refs: 0x0884D7E4 0x0884D8C0
0x0884F7B0: 0x3C020899 '...<' - lui $v0, 0x899
0x0884F7B4: 0x03E00008 '....' - jr $ra
0x0884F7B8: 0x2442728C '.rB$' - addiu $v0, $v0, 29324
0x0884F7BC: 0x27BDFFF0 '...'' - addiu $sp, $sp, -16
0x0884F7C0: 0xAFBF000C '....' - sw $ra, 12($sp)
0x0884F7C4: 0xAFB00008 '....' - sw $s0, 8($sp)
$v0 above should point to 0x0899728c, but it somehow fails to show it :(