Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@mvista.com>
To: gdb-patches@sources.redhat.com
Subject: Re: Fix a goof in the profiling code
Date: Mon, 27 Jan 2003 20:26:00 -0000	[thread overview]
Message-ID: <20030127202652.GA13126@nevyn.them.org> (raw)
In-Reply-To: <3E358A39.9020300@redhat.com>

On Mon, Jan 27, 2003 at 02:36:25PM -0500, Andrew Cagney wrote:
> >+  warning ("Profiling support is not available on this system.");
> 
> FYI,
> 
> that should error().

I thought about this at the time and settled on warning, but my
reasoning was pretty bogus now that I think about it.  OK, changed.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

2003-01-27  Daniel Jacobowitz  <drow@mvista.com>

	* maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
	(maintenance_set_profile_cmd): Use error () instead of warning ().

Index: maint.c
===================================================================
RCS file: /cvs/src/src/gdb/maint.c,v
retrieving revision 1.32
diff -u -p -r1.32 maint.c
--- maint.c	27 Jan 2003 14:36:56 -0000	1.32
+++ maint.c	27 Jan 2003 20:25:14 -0000
@@ -692,7 +692,7 @@ maintenance_set_profile_cmd (char *args,
 static void
 maintenance_set_profile_cmd (char *args, int from_tty, struct cmd_list_element *c)
 {
-  warning ("Profiling support is not available on this system.");
+  error ("Profiling support is not available on this system.");
 }
 #endif
 


      reply	other threads:[~2003-01-27 20:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-27 14:38 Daniel Jacobowitz
2003-01-27 19:36 ` Andrew Cagney
2003-01-27 20:26   ` Daniel Jacobowitz [this message]

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=20030127202652.GA13126@nevyn.them.org \
    --to=drow@mvista.com \
    --cc=gdb-patches@sources.redhat.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