gdb/
authorPedro Alves <palves@redhat.com>
Mon, 26 Jan 2009 16:24:27 +0000 (16:24 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 26 Jan 2009 16:24:27 +0000 (16:24 +0000)
commit3c16cced400ed60fb35435dd28c31e982a064328
tree01825655630499a67aee7ba74ea8bfb84bec27f7
parent62709adfbe2476eaada1b889fbea2f59e21d46cd
gdb/
Add "maint set|show internal-error|internal-warning quit|corefile
ask|yes|no" commands.

PR gdb/7580:
* utils.c (internal_problem_ask, internal_problem_yes)
(internal_problem_no, internal_problem_modes): New.
(struct internal_problem): Remove FIXME.  Make should_quit and
should_dump_core types to char *.
(internal_vproblem, internal_error_problem)
(internal_warning_problem): Adjust.
(set_internal_problem_cmd, show_internal_problem_cmd): New dummy
functions.
(add_internal_problem_command): New.
(_initialize_utils): New.

gdb/doc/
PR gdb/7580:
* gdb.texinfo (Maintenance Commands): Document "maint set|show
internal-error|internal-warning quit|corefile ask|yes|no".
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/utils.c