aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-06-24 22:09:34 +0000
committerAndrew Cagney <cagney@redhat.com>2004-06-24 22:09:34 +0000
commit769d7dc4f11735bfe220f4d86934e5fdf9c19630 (patch)
treefaa6715c5c9823d846ad119bbb098510935040a4 /gdb/symfile.c
parent11c949aaae4b4cc30283a917133a485800514ecb (diff)
downloadgdb-769d7dc4f11735bfe220f4d86934e5fdf9c19630.zip
gdb-769d7dc4f11735bfe220f4d86934e5fdf9c19630.tar.gz
gdb-769d7dc4f11735bfe220f4d86934e5fdf9c19630.tar.bz2
2004-06-24 Andrew Cagney <cagney@gnu.org>
* defs.h (deprecated_pre_add_symbol_hook) (deprecated_post_add_symbol_hook): Deprecated. * symfile.c (symbol_file_add_with_addrs_or_offsets) (symbol_file_add_with_addrs_or_offsets): Update references.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index a98c188..f3108a3 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -66,8 +66,8 @@ void (*deprecated_show_load_progress) (const char *section,
unsigned long section_size,
unsigned long total_sent,
unsigned long total_size);
-void (*pre_add_symbol_hook) (const char *);
-void (*post_add_symbol_hook) (void);
+void (*deprecated_pre_add_symbol_hook) (const char *);
+void (*deprecated_post_add_symbol_hook) (void);
void (*deprecated_target_new_objfile_hook) (struct objfile *);
static void clear_symtab_users_cleanup (void *ignore);
@@ -805,8 +805,8 @@ symbol_file_add_with_addrs_or_offsets (bfd *abfd, int from_tty,
performed, or need to read an unmapped symbol table. */
if (from_tty || info_verbose)
{
- if (pre_add_symbol_hook)
- pre_add_symbol_hook (name);
+ if (deprecated_pre_add_symbol_hook)
+ deprecated_pre_add_symbol_hook (name);
else
{
printf_unfiltered ("Reading symbols from %s...", name);
@@ -871,8 +871,8 @@ symbol_file_add_with_addrs_or_offsets (bfd *abfd, int from_tty,
if (from_tty || info_verbose)
{
- if (post_add_symbol_hook)
- post_add_symbol_hook ();
+ if (deprecated_post_add_symbol_hook)
+ deprecated_post_add_symbol_hook ();
else
{
printf_unfiltered ("done.\n");