Improving GCC's line table information to help GDB
Alexandre Oliva
oliva@gnu.org
Sat Oct 19 04:58:00 GMT 2019
On Oct 16, 2019, Luis Machado <luis.machado@linaro.org> wrote:
> It seems, from reading the blog post about SFN's, that it was meant to
> help with debugging optimized binaries.
Indeed. Getting rid of the dummy jumps would be one kind of
optimization, and then SFN might help preserve some of the loss of
location info in some cases. However, SFN doesn't kick in at -O0
because the dummy jumps and all other artifacts of unoptimized code are
retained anyway, so SFN wouldn't have a chance to do any of the good
it's meant to do there.
--
Alexandre Oliva, freedom fighter he/him https://FSFLA.org/blogs/lxo
Be the change, be Free! FSF VP & FSF Latin America board member
GNU Toolchain Engineer Free Software Evangelist
Hay que enGNUrecerse, pero sin perder la terGNUra jamás - Che GNUevara
More information about the Gcc
mailing list