[lldb-dev] changing register size on the fly?

Ted Woodward ted.woodward at codeaurora.org
Thu Dec 11 11:24:58 PST 2014


Some cores can change register sizes on the fly; for example, the Freescale
e6500 can switch between 32 bit and 64 bit mode by writing the CM bit in the
MSR. This causes the upper 32 bits of many 64 bit registers to be ignored.

 

I'm working with a device that has registers that behave like this. I could
display the larger size, but that's confusing to a user who's working with
the smaller size.

 

Is there a way to change register size on the fly?

 

--

Qualcomm Innovation Center, Inc.

The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a
Linux Foundation Collaborative Project

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20141211/aed7a84d/attachment.html>


More information about the lldb-dev mailing list