[PATCH] Fix agent code generate bug of ref
Tom Tromey
tromey@redhat.com
Mon Mar 11 14:38:00 GMT 2013
>>>>> "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
More information about the Gdb-patches
mailing list