This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Add control variable for debug output to linux threads
Kevin Buettner wrote:
>
> On Apr 26, 4:13pm, Michael Snyder wrote:
>
> > This patch replaces your DEBUG macro with a runtime variable that is
> > settable by a user command. At some recent check-in, you left the
> > DEBUG macro turned on, and users have been asking about the extra
> > messages.
> >
> > 2001-04-26 Michael Snyder <msnyder@redhat.com>
> >
> > * thread-db.c (_initialize_thread_db): Add set/show command
> > "debug-linux-threads" for debugging output.
> > * lin-lwp.c (various): Use global "debug_linux_threads to
> > turn on extra debugging output.
>
> Michael,
>
> I have problems with your patch since it does a bit more than
> advertised.
>
> First, the following portion reverts a change from Mark Kettenis:
Ah darn, my bad. I'll revert it and try again.