aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2014-08-29 17:01:43 +1000
committerMichael Ellerman <[email protected]>2015-07-13 15:46:04 +1000
commite8a4fd0afe05d5213d809fa686d3b8319464acfd (patch)
tree945006ddebc11ee251bcbc08ae442de29a43872b /scripts/gdb/linux
parent817820b0226a1376f0fc68827ab8e42d86431117 (diff)
powerpc: Add macros for the ibm_architecture_vec[] lengths
The encoding of the lengths in the ibm_architecture_vec array is "interesting" to say the least. It's non-obvious how the number of bytes we provide relates to the length value. In fact we already got it wrong once, see 11e9ed43ca8a "Fix up ibm_architecture_vec definition". So add some macros to make it (hopefully) clearer. These at least have the property that the integer present in the code is equal to the number of bytes that follows it. Signed-off-by: Michael Ellerman <[email protected]> Reviewed-by: Stewart Smith <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions