diff options
author | Daniel Jacobowitz <dan@debian.org> | 2003-01-27 20:25:35 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2003-01-27 20:25:35 +0000 |
commit | 371d3557e64b031589c6d1d719254cdcbca7e923 (patch) | |
tree | 19c91334094e3eb71fa164c684de3d1e3122c39f /gdb | |
parent | e6862a57fe1d368739166abfe82c145246d576cd (diff) | |
download | gdb-371d3557e64b031589c6d1d719254cdcbca7e923.tar.gz |
* maint.c [! (HAVE_MONSTARTUP && HAVE__MCLEANUP)]
(maintenance_set_profile_cmd): Use error () instead of warning ().
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/maint.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 198d9366361..9e7385fe018 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 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 |