|
|||||||||||
|
Technical Support Support Resources
Product Information |
DS-5: WARNING(LUX47): The Image Does Not Match the TargetInformation in this knowledgebase article applies to:
SYMPTOMThe message "WARNING(LUX47): The image does not match the target" occurs when loading the debug information from an image. CAUSEWhen loading debug information from an image the debugger also checks that the image being loaded into the debugger matches the one that is loaded on your target. If the images do not match then this warning is generated. The consequence of ignoring this warning is that source level debug operations such as stepping might not work correctly, breakpoints might be set in the wrong location and examining variables might return the wrong values. When comparing the two images, the debugger does not compare the entire contents because this can be very slow. Instead the debugger performs just a partial comparison of a few code instructions at the beginning and end of the image. Comparing the instructions at the beginning and end of the image is good enough to detect when instructions have been inserted or removed from the image, but may not catch cases where the instructions in between have changed but the total number of instructions remains the same. The comparison does not involve debug information, so using an unstripped image in the debugger and a stripped image on the target should succeed provided that the stripped image is derived from the unstripped one. RESOLUTIONEnsure that the image you are loading into the debugger is identical to the one that is running on your target. It is acceptable for the image on the target to be stripped of debug information provided that it is derived from the same image that you are loading into the debugger. Last Reviewed: Tuesday, January 26, 2021 | ||||||||||
|
|||||||||||
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.