This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: a review and questions on avr_scan_prologue()
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