This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa] Printf debugging output in lin-lwp.c
- To: Michael Snyder <msnyder at cygnus dot com>
- Subject: Re: [rfa] Printf debugging output in lin-lwp.c
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 30 Apr 2001 21:14:14 -0400
- Cc: gdb-patches at sourceware dot cygnus dot com, cagney at cygnus dot com,kevinb at cygnus dot com, kettenis at wins dot uva dot nl
- References: <3AEDAF16.8D27C455@cygnus.com>
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