This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] small patch to command_line_handler
On Friday 07 June 2002 02:51 pm, Elena Zannoni wrote:
> Martin M. Hunt writes:
> > Please check this carefully because I don't really understand the code
> > here.
> >
> > I'm trying to track down some memory trashing and random crashes and the
> > command line handler is reading memory it didn't allocate, which is
> > mostly harmless, but annoying and bad programming. So here's a proposed
> > fix.
>
> Hmmm, odd. Martin, can you look at what happened to this thread that
> reported the very same error? I thought this got fixed.
>
> http://sources.redhat.com/ml/gdb-patches/2002-03/msg00533.html
Jason reported the same bug and posted a patch that appears logically
equivalent to mine. Andrew approved it. There was much discussion of
related things but Jason never committed his patch.
--
Martin Hunt
GDB Engineer
Red Hat, Inc.