Just out of curiosity which field are you printing to get the RIP/pc --
objdump will give you a virtual address, but perhaps the field you are using
is somehow giving you either a host physical address (or perhaps a host
virtual address). Neither of these help you very much.

Also, could you give an example of an address that you see in objdump and
what that address is being printed as in ptlsim?

On Tue, Jun 28, 2011 at 4:07 PM, Chintan Panirwala <[email protected]>wrote:

> Hi,
>
> I trying to get information about the indirect branches. To start with that
> I wrote a simple C code and compiled it. Then I used objdump on a binary to
> get assembly code. I also ran full simulation for the same binary using
> ptlsim  and dumped out information about pc, opcode etc. But I don't find
> any similarity between pcs obtained in these way. Is there any problem?
>
> Thanks.
> --
> Chintan Panirwala,
> Graduate Student at Department of Electrical and Computer Engineering,
> North Carolina State University.
>
>
> _______________________________________________
> http://www.marss86.org
> Marss86-Devel mailing list
> [email protected]
> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to