This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog exceptions.c exceptions.h cl ...
- From: cagney at sourceware dot org
- To: gdb-cvs at sources dot redhat dot com
- Date: 14 Jan 2005 18:55:34 -0000
- Subject: src/gdb ChangeLog exceptions.c exceptions.h cl ...
CVSROOT: /cvs/src
Module name: src
Changes by: cagney@sourceware.org 2005-01-14 18:55:34
Modified files:
gdb : ChangeLog exceptions.c exceptions.h
gdb/cli : cli-interp.c
gdb/mi : mi-main.c
Log message:
2005-01-13 Andrew Cagney <cagney@gnu.org>
* mi/mi-main.c (mi_execute_command): Print the exception.
* cli/cli-interp.c (safe_execute_command): Print the exception.
* exceptions.h (exception_print): Declare.
* exceptions.c (struct catcher): Add field print_message.
(catcher_init): Add parameter print_message, store in the catcher
struct.
(print_and_throw): Only print the message when print_message.
(catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
catcher_init.
(catch_exception): Pass print_message=0 to catcher_init.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.6817&r2=1.6818
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/exceptions.c.diff?cvsroot=src&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/exceptions.h.diff?cvsroot=src&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/cli/cli-interp.c.diff?cvsroot=src&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/mi/mi-main.c.diff?cvsroot=src&r1=1.71&r2=1.72