[Lldb-commits] [PATCH] D12079: [MIPS] microMIPS breakpoints, disassembly and compressed addresses

Jaydeep Patil via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 9 20:49:52 PDT 2015

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.



More information about the lldb-commits mailing list