[Zlib-devel] Fwd: fix no backtrace in match.s/inffast32.asm/match686.asm (patch)

yoni londner jontra at gmail.com
Mon Jun 27 11:43:44 EDT 2011


Hi,

I am not sure the list got this mail, So I am resending it.

Yoni.

---------- Forwarded message ----------
From: yoni londner <jontra at gmail.com>
Date: Mon, Jun 20, 2011 at 12:50
Subject: fix no backtrace in match.s/inffast32.asm/match686.asm (patch)
To: zlib-devel at madler.net


Hi,

As you know, on 32bit systems, when using EBP for anything other than
holding the stack base, it is very difficult to get reasonable backtrace.
this can be fixed if directing the compiler to add a debug record which
tells (at runtime) where we keep EBP value.
So, I added this record (FPO in ml.exe and cfi in gcc), and now we can
debug/get backtrace at runtime.
Patch is attached, and I hope you will merge it to trunk.

Yoni Londner.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20110627/9cc1219f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cli_fpo.patch
Type: application/octet-stream
Size: 3042 bytes
Desc: not available
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20110627/9cc1219f/attachment.obj>


More information about the Zlib-devel mailing list