jaydeep added a comment.

In http://reviews.llvm.org/D12079#242751, @clayborg wrote:

> Actually not a new format type, but an extra arg will need to be passed to 
> DumpAddress like "bool addr_is_callable".
>
> Can you explain something to me? In the following example:
>
>   0x8020067d <+0>:  addiusp -16
>   0x8020067f <+2>:  sw     $fp, 12($sp)
>   0x80200681 <+4>:  move   $fp, $sp
>
>
> Is the addiusp actually at 0x8020067c in memory? Then we just display 
> 0x8020067d to let people know this is MicroMIPS?


Yes, addiusp is actually at 0x8020067c, but processor (when running in 
microMIPS mode) strips bit #0 while fetching it from memory. We should display 
it at 0x8020067d to let user know that this is microMIPS.


Repository:
  rL LLVM

http://reviews.llvm.org/D12079



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to