2002-09-18 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Wed, 18 Sep 2002 23:53:52 +0000 (23:53 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 18 Sep 2002 23:53:52 +0000 (23:53 +0000)
commitdec43320d95c180b5601a515fa18bfe541df0448
treec900791d7b4563b4faf1a96ea7236a80337a8583
parentb81654f1c061cfbadd7e270a2920b014d4c9cfdd
2002-09-18  Andrew Cagney  <ac131313@redhat.com>

* maint.c (maintenance_internal_error): Print the parameter as the
error message.
(maintenance_internal_warning): New function.
(_initialize_maint_cmds): Add command `maint internal-warning'.

* defs.h (internal_warning, internal_vwarning): Declare.
* utils.c (struct internal_problem): Define.
(internal_vproblem): New function.
(internal_warning): New function.
(internal_vwarning): New function.
(internal_warning_problem, internal_error_problem): New variables.
(internal_verror): Just call internal_vproblem.

Index: testsuite/ChangeLog
2002-09-18  Andrew Cagney  <ac131313@redhat.com>

* gdb.base/maint.exp: Check `help maint internal-warning'.
gdb/ChangeLog
gdb/defs.h
gdb/maint.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/maint.exp
gdb/utils.c