[RFA] Dummy frames on x86-64

Michal Ludvig mludvig@suse.cz
Thu Mar 6 22:42:00 GMT 2003


Andrew Cagney wrote:
>> +static void
>> +x86_64_save_dummy_frame_tos (CORE_ADDR sp)
>> +{
>> +  /* We must add the size of the return address that is already
>> +     put on the stack.  */
>> +  generic_save_dummy_frame_tos (sp + sizeof(CORE_ADDR));
> 
> Yes, but use TYPE_LENGTH (builtin_type_void_{code/data}_ptr).

Great, thanks for your help!
Can I commit the attached patch to mainline, please?

Michal Ludvig
-- 
* SuSE CR, s.r.o     * mludvig@suse.cz
* (+420) 296.545.373 * http://www.suse.cz
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dummy-unwind-1.diff
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030306/8dc767c0/attachment.ksh>


More information about the Gdb-patches mailing list