This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [multi-arch] The frame as the global parameter (long, important)


On Feb 26,  4:20pm, Nick Duffek wrote:

> Keeping those values in global variables could make the code more
> maintainable rather than less.  We'd need to add explicit context switches
> at frame boundary crossings, but that seems lees onerous to me than adding
> extra parameters to hundreds (thousands?) of function calls.

Personally, I'd prefer to see one extra parameter added to those
functions which are already getting one (or more) parameters
implicitly via globals.

Kevin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]