From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Michael Snyder Cc: "Peter.Schauer" , gdb-patches@sources.redhat.com Subject: Re: [RFC] if (INNER_THAN (read_sp(), step_sp - 16)) Date: Sat, 16 Jun 2001 09:42:00 -0000 Message-id: <3B2B843C.2090807@cygnus.com> References: <3B2A97C7.52A839FD@cygnus.com> <3B2A9EC8.7020106@cygnus.com> <3B2AB1E7.C32AA591@cygnus.com> X-SW-Source: 2001-06/msg00319.html > Well it can't be a (ugh) #ifdef :-) > > > Not even to temporarily circumvent a known bug? Not even to tempoarily circumvent a known bug. > I understand your objection (multi-arch, if not general > distaste), but there are lots of ifdefs in infrun.c already... > > FYI, I was thinking along the lines of > (currently_stepping (ecs) > #ifdef TM_i386SOL2_H > && !(step_range_end > && INNER_THAN (read_sp (), (step_sp - 16))) > #endif > )); > > which would preserve the behavior on x86 solaris, while > protecting the rest of the world until Peter can come up > with a better implementation. I honestly think it would be better to revert PeterS's N year old change and file a PR. Andrew