[PTLsim-devel] RIP having 2 macro-ops & gdb debugger
satya satya
Fri Dec 28 04:41:39 EST 2007
Hi,
In the trace file i could notice an Rip is having
two Macro-ops ie
rip - SOM
EOM
SOM
..
..
EOM
from logfile
118307 fetch rip 0x42cc3a: collcc tr0 = zf,cf,of
[zco]
\(BB 0x401deb40 uopid 4; SOM)
118308 fetch rip 0x42cc3a: bru.+ rip = zero,zero
[taken 0x42cc3a, seq 0x42cc3a] (BB 0x401deb40 uopid 5;
EOM 2 bytes) -> pred 0x42cc3a
next cycle
118309 fetch rip 0x42cc3a: chk.sub.ne tr0 =
cx,zero,10 (BB 0x401e3000 uopid 0; SOM)
118310 fetch rip 0x42cc3a: ldb tr0 = [rsi,0] (BB
0x401e3000 uopid 1)
118311 fetch rip 0x42cc3a: ldb tr1 = [rdi,0] (BB
0x401e3000 uopid 2)
118312 fetch rip 0x42cc3a: add rsi = rsi,1 (BB
0x401e3000 uopid 3)
are these some special kind of instructions??.I could
see them in the commit stage also.
one more query about the gdb debugger.I was trying to
follow the steps given in the document
attach pid
load symbol file
but once the simulator reaches the call ptlswitch
to native,gdb is loosing control and I was unable to
break even when the simulator switches back to
simulation mode.
thanks
satya
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
More information about the PTLsim-devel mailing list