This is the mail archive of the
mailing list for the GDB project.
Re: RFA: Recognize bottom of stack on Linux
> I'm curious as to why we can't just set this universally, or at least a
>> little more globally. Most things that have a main () use it as a
>> normal main (). I'd propose that we set it as the default frame chain,
>> and provide/document an option to ignore inside_main_func.
> Well, gdbarch is never supposed to change the default behavior of
> macros; this helps us convert pre-gdbarch targets incrementally.
> Simply turning on gdbarch for one's target ideally wouldn't change its
> behavior at all.
Yes, definitly. Rule of least suprise, learnt from multi-arch experience.
However, that doesn't stop an independant change that does alter the
default behavour. cf. my proposed patch to change the default value of
TARGET_LONG_DOUBLE_FORMAT to ieee_double from floatformat_unknown.