Re: [PATCH] Fix agent code generate bug of ref

Tom Tromey
2013-03-11T14:38:55Z

>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:

Yao> SIZE is checked as "size in bits". Your fix is right, but not
Yao> complete. We also have to fix it when op is DW_OP_deref_size,
Yao> something like the patch below.

Yao> I am not familiar with this area, so I might be wrong.

You are correct, but IMO it is simpler to divide each of the case
constants by 8.

Tom