From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Michael Snyder Cc: gdb-patches@sourceware.cygnus.com, cagney@cygnus.com, kevinb@cygnus.com, kettenis@wins.uva.nl Subject: Re: [rfa] Printf debugging output in lin-lwp.c Date: Mon, 30 Apr 2001 18:14:00 -0000 Message-id: <3AEE0DE6.8B843E8D@cygnus.com> References: <3AEDAF16.8D27C455@cygnus.com> X-SW-Source: 2001-04/msg00287.html Michael Snyder wrote: > ! if (debug_lin_lwp) > ! printf ("Delayed SIGSTOP caught for %s.\n", > ! target_pid_to_str (lp->pid)); > ! FYI, once this is in, someone should go through and change the printf()'s to: fprintf_unfiltered (gdb_stdlog, ...); > + > + add_show_from_set (add_set_cmd ("lin-lwp", no_class, var_zinteger, > + (char *) &debug_lin_lwp, > + "Set debugging of linux lwp module.\n\ > + Enables printf debugging output.\n", > + &setdebuglist), > + &showdebuglist); Yep, thanks! Andrew