diff options
author | Martin Hunt <hunt@redhat.com> | 1999-02-09 22:18:52 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 1999-02-09 22:18:52 +0000 |
commit | 945df66affccebedf7f9bcc6b5d88850224aa241 (patch) | |
tree | 59f862918c9f0cd674368ab5ec4e5144cd06180c /gdb/ChangeLog-gdbtk | |
parent | 8741159f8a410c65eaf66564a006812910a68b86 (diff) | |
download | gdb-945df66affccebedf7f9bcc6b5d88850224aa241.zip gdb-945df66affccebedf7f9bcc6b5d88850224aa241.tar.gz gdb-945df66affccebedf7f9bcc6b5d88850224aa241.tar.bz2 |
1999-02-09 Martin Hunt <hunt@cygnus.com>
* gdbtk-hooks.c: Remove gdbtk_ignorable_warning prototype.
It is in gdbtk.h.
(report_error): New function. Displays debugging information
if a hook function fails. All hook functions should probably
call this.
(gdbtk_warning): Call report_error() if there is a problem.
(gdbtk_register_changed): Call report_error() if there is a problem.
(gdbtk_memory_changed): Call report_error() if there is a problem.
(gdbtk_ignorable_warning): Pass along class argument. If there
is a problem, call report_error().
* gdbtk-cmds.c: Remove TclDebug prototype. It is in gdbtk.h.
(gdb_loadfile): Add class name to gdbtk_ignorable_warning call.
* gdbtk.c (TclDebug): Add "priority" argument. Calls "dbug"
instead of "debug". Removed non-ANSI ifdefs.
* gdbtk.h: Fixed protos for gdbtk_ignorable_warning and TclDebug.
Diffstat (limited to 'gdb/ChangeLog-gdbtk')
-rw-r--r-- | gdb/ChangeLog-gdbtk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gdb/ChangeLog-gdbtk b/gdb/ChangeLog-gdbtk index 3f90613..863a821 100644 --- a/gdb/ChangeLog-gdbtk +++ b/gdb/ChangeLog-gdbtk @@ -1,3 +1,24 @@ +1999-02-09 Martin Hunt <hunt@cygnus.com> + + * gdbtk-hooks.c: Remove gdbtk_ignorable_warning prototype. + It is in gdbtk.h. + (report_error): New function. Displays debugging information + if a hook function fails. All hook functions should probably + call this. + (gdbtk_warning): Call report_error() if there is a problem. + (gdbtk_register_changed): Call report_error() if there is a problem. + (gdbtk_memory_changed): Call report_error() if there is a problem. + (gdbtk_ignorable_warning): Pass along class argument. If there + is a problem, call report_error(). + + * gdbtk-cmds.c: Remove TclDebug prototype. It is in gdbtk.h. + (gdb_loadfile): Add class name to gdbtk_ignorable_warning call. + + * gdbtk.c (TclDebug): Add "priority" argument. Calls "dbug" + instead of "debug". Removed non-ANSI ifdefs. + + * gdbtk.h: Fixed protos for gdbtk_ignorable_warning and TclDebug. + 1999-02-05 James Ingham <jingham@cygnus.com> * Makefile.in: Add GDBTK_CFLAGS - this is now used to hold |