From: Daniel Jacobowitz Date: Mon, 27 Jan 2003 20:25:35 +0000 (+0000) Subject: * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51ee2ddc9ebd02032e3c7b032a4e99c0a35ff6d7;p=binutils-gdb.git * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] (maintenance_set_profile_cmd): Use error () instead of warning (). --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 198d9366361..9e7385fe018 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-01-27 Daniel Jacobowitz + + * maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)] + (maintenance_set_profile_cmd): Use error () instead of warning (). + 2003-01-27 Daniel Jacobowitz * configure.in: Check that -pg works if using --enable-profiling. diff --git a/gdb/maint.c b/gdb/maint.c index 6240b49f2d3..3595e184ab9 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