This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: a question about rs6k's prologue analysis
Joel Brobecker wrote:
>> I knew this sounded familiar. Here it is:
>
> Yes, me too! :-)
>
>> http://sourceware.org/ml/gdb-patches/2004-12/msg00234.html
>> http://sourceware.org/ml/gdb-patches/2005-06/msg00242.html
>>
>> Joel, things have changed a lot since then - if you have a chance to
>> respond to my last message there, I'll take another look at it.
>
> For the record:
>
> http://www.sourceware.org/ml/gdb-patches/2006-10/msg00119.html
>
I had a test with your patch, changing the blrl test to be additional. It works ok in my scenario.
But I don't do any regression test yet (will do that later, having other things for rush). Also
that I am now applying your patch to RHEL4's gdb sources (It seems that community gdb has some
problems on ppc64, which hinders our scenario.). I will apply that patch to community source later
to see if there are any regression.
BTW, adapting the first three instructions to be four don't work in some cases. I see some cases
where bl_to_blrl occurs at about the 6th or even 8th instruction of the prologue.
Thanks a lot for all your help. I will return back to regression test a while later.
Regards
- Wu Zhou