From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Buettner To: Nick Duffek , ac131313@cygnus.com Cc: gdb@sources.redhat.com Subject: Re: [multi-arch] The frame as the global parameter (long, important) Date: Mon, 26 Feb 2001 13:53:00 -0000 Message-id: <1010226215318.ZM12999@ocotillo.lan> References: <3A970102.68681EB2@cygnus.com> <200102262120.f1QLKtd00557@rtl.cygnus.com> X-SW-Source: 2001-02/msg00386.html 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