OSDN Git Service

2002-09-18 Andrew Cagney <ac131313@redhat.com>
authorcagney <cagney>
Wed, 18 Sep 2002 23:53:49 +0000 (23:53 +0000)
committercagney <cagney>
Wed, 18 Sep 2002 23:53:49 +0000 (23:53 +0000)
commit1cf1b22ba22ffaadf3240c53f77392b4801ac706
tree5ffbf1984a6b769e4d9f8fa46991e2100b7bb72e
parent897a328a3fd0c3808f62441767b2c204d675b833
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