Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Michael Snyder <msnyder@cygnus.com>
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	[thread overview]
Message-ID: <3AEE0DE6.8B843E8D@cygnus.com> (raw)
In-Reply-To: <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


  parent reply	other threads:[~2001-04-30 18:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-30 11:34 Michael Snyder
2001-04-30 12:06 ` Mark Kettenis
2001-04-30 18:14 ` Andrew Cagney [this message]
2001-05-01 13:38   ` [patch] change printf to fprintf_unfiltered Michael Snyder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AEE0DE6.8B843E8D@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=cagney@cygnus.com \
    --cc=gdb-patches@sourceware.cygnus.com \
    --cc=kettenis@wins.uva.nl \
    --cc=kevinb@cygnus.com \
    --cc=msnyder@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox