From 9d62932daa6c211b8ee8b4c22b79b4f8a5b26501 Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Wed, 18 Feb 2004 00:21:01 +0000 Subject: [PATCH] 2004-02-17 Elena Zannoni * Makefile.in (defs_h): Remove dependency on progress_h. * defs.h (QUIT): Remove use of PROGRESS macro. Remove include of progress.h. * main.c (captured_main): Delete use of START_PROGRESS and END_PROGRESS. 2004-02-17 Elena Zannoni * gdb.base/selftest.exp (do_steps_and_nexts): Add comment. --- gdb/ChangeLog | 8 ++++++++ gdb/Makefile.in | 2 +- gdb/defs.h | 3 --- gdb/main.c | 4 ---- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/selftest.exp | 3 +++ 6 files changed, 16 insertions(+), 8 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8a1184078d6..5b8fa487858 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2004-02-17 Elena Zannoni + * Makefile.in (defs_h): Remove dependency on progress_h. + * defs.h (QUIT): Remove use of PROGRESS macro. Remove include of + progress.h. + * main.c (captured_main): Delete use of START_PROGRESS and + END_PROGRESS. + +2004-02-17 Elena Zannoni + * objfiles.c (terminate_minimal_symbol_table): Add back initialization of MSYMBOL_TYPE. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 10db2803255..82471f196fd 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -638,7 +638,7 @@ cp_abi_h = cp-abi.h cp_support_h = cp-support.h $(symtab_h) dcache_h = dcache.h defs_h = defs.h $(config_h) $(ansidecl_h) $(gdb_locale_h) $(gdb_signals_h) \ - $(libiberty_h) $(progress_h) $(bfd_h) $(ui_file_h) $(xm_h) $(nm_h) \ + $(libiberty_h) $(bfd_h) $(ui_file_h) $(xm_h) $(nm_h) \ $(tm_h) $(fopen_same_h) $(gdbarch_h) dictionary_h = dictionary.h disasm_h = disasm.h diff --git a/gdb/defs.h b/gdb/defs.h index 820f205b611..e6d2fec2649 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -63,8 +63,6 @@ #include "libiberty.h" -#include "progress.h" - /* For BFD64 and bfd_vma. */ #include "bfd.h" @@ -201,7 +199,6 @@ extern void quit (void); #define QUIT { \ if (quit_flag) quit (); \ if (interactive_hook) interactive_hook (); \ - PROGRESS (1); \ } #endif diff --git a/gdb/main.c b/gdb/main.c index 9017a8afba9..7385cfdf20c 100644 --- a/gdb/main.c +++ b/gdb/main.c @@ -163,8 +163,6 @@ captured_main (void *data) bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); - START_PROGRESS (argv[0], 0); - /* This needs to happen before the first use of malloc. */ init_malloc (NULL); @@ -750,8 +748,6 @@ extern int gdbtk_test (char *); BEFORE_MAIN_LOOP_HOOK; #endif - END_PROGRESS (argv[0]); - /* Show time and/or space usage. */ if (display_time) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 174a787d02e..a1fe6a1c6a0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-02-17 Elena Zannoni + + * gdb.base/selftest.exp (do_steps_and_nexts): Add comment. + 2004-02-16 Fred Fish * gdb.arch/gdb1291.c: Remove diff --git a/gdb/testsuite/gdb.base/selftest.exp b/gdb/testsuite/gdb.base/selftest.exp index 442adb92ec1..4196b74e786 100644 --- a/gdb/testsuite/gdb.base/selftest.exp +++ b/gdb/testsuite/gdb.base/selftest.exp @@ -95,6 +95,9 @@ proc do_steps_and_nexts {} { set command "next" } -re ".*START_PROGRESS.*$gdb_prompt $" { + # Note: ezannoni/2004/02/17: This check should be + # removed, since as of today that source line is not + # in gdb anymore. set description "next over START_PROGRESS and everything it calls" set command "next" } -- 2.30.2