History log of /openbsd/gnu/gcc/gcc/config/i386/i386.opt (Results 1 – 2 of 2)
Revision Date Author Comments
# c31aa7c2 27-Apr-2017 dlg <dlg@openbsd.org>

add support for -msave-args in gcc on amd64

i got sick of not having arguments in ddb stack traces on amd64,
which is because amd64 passes arguments in registers, and it's
impossible to figure out w

add support for -msave-args in gcc on amd64

i got sick of not having arguments in ddb stack traces on amd64,
which is because amd64 passes arguments in registers, and it's
impossible to figure out where they go without dwarf info, and when
you have dwarf info it is complicated.

solaris has a simple solution for this. they tweaked their compilers
to accept an -msave-args option which makes functions store their
arguments on the stack, while maintaining compatability with the
System V AMD64 ABI. tools (eg, ddb) can then look at the stack to
get access to function arguments in traces.

this ports their changes to gcc 3 to our gcc.

ok deraadt@

show more ...


# 404b540a 15-Oct-2009 robert <robert@openbsd.org>

import of gcc-4.2.1, the last gcc release under GPLv2