[gem5-users] Problem with single stepping

2012-09-20 Thread Tobias Friemel
Hello, I'm working on a thesis that includes fault injection in connection with gem5 (ARM specific) and I'm looking for a way to implement some sort of single stepping for this. I already found the method the RemoteGDB uses, but there seems to be a problem with some machine instructions. What

Re: [gem5-users] Problem with single stepping

2012-10-02 Thread Tobias Friemel
y looking at the ExtMachInst and adjust it appropriately. I don't know what version of the simulator you're using, but we fixed some identification of branch instructions recently. THat said I'm very surprised that bxeq isn't recognized as it certainly should be. Ali On 20.

Re: [gem5-users] Problem with single stepping

2012-10-02 Thread Tobias Friemel
7;t write any destination registers including the PC, so I'm not sure how it could cause a branch. Could you print out the bits of the machine instruction that you're having a problem with? Thanks, Ali On 02.10.2012 09:19, Tobias Friemel wrote: I have tested both versions,

Re: [gem5-users] Problem with single stepping

2012-10-02 Thread Tobias Friemel
e where those are wrong. Ali On 02.10.2012 09:41, Tobias Friemel wrote: From the objdump output it's "012fff13 bxeqr3". And I used this code to get the instruction and print the decoded version: MachInst inst; FSTranslatingPortProxy &proxy = tc->getVirtProxy(); pro

Re: [gem5-users] Problem with single stepping

2012-10-04 Thread Tobias Friemel
s not an indirect branch." In comparison for a normal branch instruction (just b) the function B::branchTarget in arm/arch/generated/decoder.cc is called. I found a similar function for Bl, but not for Bx. Can it be that there is missing something? Regards, Tobias Am 02.10.2012 22:19, sc