OSDN Git Service

* maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
authorDaniel Jacobowitz <dan@debian.org>
Mon, 27 Jan 2003 20:25:35 +0000 (20:25 +0000)
committerDaniel Jacobowitz <dan@debian.org>
Mon, 27 Jan 2003 20:25:35 +0000 (20:25 +0000)
(maintenance_set_profile_cmd): Use error () instead of warning ().

gdb/ChangeLog
gdb/maint.c

index 198d936..9e7385f 100644 (file)
@@ -1,5 +1,10 @@
 2003-01-27  Daniel Jacobowitz  <drow@mvista.com>
 
+       * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
+       (maintenance_set_profile_cmd): Use error () instead of warning ().
+
+2003-01-27  Daniel Jacobowitz  <drow@mvista.com>
+
        * configure.in: Check that -pg works if using --enable-profiling.
        Check for monstartup and _mcleanup regardless of --enable-profiling.
        * maint.c: Check for monstartup and _mcleanup before using them.
index 6240b49..3595e18 100644 (file)
@@ -692,7 +692,7 @@ maintenance_set_profile_cmd (char *args, int from_tty, struct cmd_list_element *
 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