a review and questions on avr_scan_prologue()
Petr Hluzín
petr.hluzin@gmail.com
Sat Feb 20 23:20:00 GMT 2010
Hi
On 17 February 2010 10:02, Tristan Gingold <gingold@adacore.com> wrote:
>> else if (insn == 0x920f) /* push r0 */
>> {
>> info->size += 1;
>> vpc += 2;
>> }
>>
>> The condition is never true because of the preceding "Scan pushes
>> (saved registers)" loop's exit condition.
>
> I don't think so. You can have:
> rcall .+0
> push r0
You are right. (I have not realized that such case would be useful for
something.)
(Since you already committed the changes I am not filling the bug reports
Eric Weddington requested.)
--
Petr Hluzin
More information about the Gdb
mailing list