aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-01-27 20:25:35 +0000
committerDaniel Jacobowitz <drow@false.org>2003-01-27 20:25:35 +0000
commit51ee2ddc9ebd02032e3c7b032a4e99c0a35ff6d7 (patch)
tree5806af3d1e198915d85cb00332a14d88996c9a08 /gdb
parenta84dbcb3d96d324aea07ac99f901ed7843687a42 (diff)
downloadgdb-51ee2ddc9ebd02032e3c7b032a4e99c0a35ff6d7.zip
gdb-51ee2ddc9ebd02032e3c7b032a4e99c0a35ff6d7.tar.gz
gdb-51ee2ddc9ebd02032e3c7b032a4e99c0a35ff6d7.tar.bz2
* maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
(maintenance_set_profile_cmd): Use error () instead of warning ().
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/maint.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 198d936..9e7385f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/maint.c b/gdb/maint.c
index 6240b49..3595e18 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -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