This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Update deprecated hooks


Just FYI,

committed,
Andrew
2004-06-24  Andrew Cagney  <cagney@gnu.org>

	* generic/gdbtk-hooks.c (gdbtk_add_hooks): Update references to
	pre_add_symbol_hook and post_add_symbol_hook, both deprecated.
	* library/interface.tcl (gdbtk_memory_changed): Update comments.

Index: generic/gdbtk-hooks.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-hooks.c,v
retrieving revision 1.35
diff -p -u -r1.35 gdbtk-hooks.c
--- generic/gdbtk-hooks.c	24 Jun 2004 21:50:24 -0000	1.35
+++ generic/gdbtk-hooks.c	24 Jun 2004 22:06:45 -0000
@@ -144,8 +144,8 @@ gdbtk_add_hooks (void)
   deprecated_ui_load_progress_hook = gdbtk_load_hash;
 
   ui_loop_hook = x_event;
-  pre_add_symbol_hook = gdbtk_pre_add_symbol;
-  post_add_symbol_hook = gdbtk_post_add_symbol;
+  deprecated_pre_add_symbol_hook = gdbtk_pre_add_symbol;
+  deprecated_post_add_symbol_hook = gdbtk_post_add_symbol;
   deprecated_file_changed_hook = gdbtk_file_changed;
   specify_exec_file_hook (gdbtk_exec_file_display);
 
Index: library/interface.tcl
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/interface.tcl,v
retrieving revision 1.49
diff -p -u -r1.49 interface.tcl
--- library/interface.tcl	5 Apr 2004 20:36:42 -0000	1.49
+++ library/interface.tcl	24 Jun 2004 22:06:45 -0000
@@ -701,10 +701,10 @@ proc gdbtk_memory_changed {} {
 #         - file_changed_hook                                      #
 #            Called in file_command. The tcl hook is               #
 #            "gdbtk_tcl_file_changed"                              #
-#         - pre_add_symbol_hook                                    #
+#         - deprecated_pre_add_symbol_hook                         #
 #            Called in symbol_file_add before loading. The tcl     #
 #            hook is "gdbtk_tcl_pre_add_symbol"                    #
-#         - post_add_symbol_hook                                   #
+#         - deprecated_post_add_symbol_hook                        #
 #            Called in symbol_file_add when finished loading       #
 #            a symbol file. The tcl hook is                        #
 #            "gdbtk_tcl_post_add_symbol"                           #

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]