[RFA] Move alloca(0) to wait_for_inferior() from registers_changed()

Andrew Cagney ac131313@cygnus.com
Wed Dec 13 19:34:00 GMT 2000


Nick Duffek wrote:
> 
> On 13-Nov-2000, Nick Duffek wrote:
> 
> >The appended patch moves an alloca (0) call from
> >registers_changed() in regcache.c to wait_for_inferior() in infrun.c.
> 
> I haven't received a yea or nay on this yet.  Andrew, are you the person
> to [dis]approve this, since neither regcache.c nor infrun.c is mentioned
> in MAINTAINERS?
> 
> I've augmented the comment in infrun.c a bit; modified patch is appended.
> No regressions on i686-pc-linux-gnu.

Shouldn't such a thing be part of the event loop (or very close to it?).

	Andrew


More information about the Gdb-patches mailing list