aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorRandolph Chung <tausq@debian.org>2004-06-14 20:40:40 +0000
committerRandolph Chung <tausq@debian.org>2004-06-14 20:40:40 +0000
commit90f943f11a3e71ce86df68d8c6553bc7b51175d0 (patch)
tree180dd397f216b1b069dea17459d423aaa5c43930 /gdb/symfile.c
parent092dcd755dcdcf664b25a7011fd15957f124c29f (diff)
downloadgdb-90f943f11a3e71ce86df68d8c6553bc7b51175d0.zip
gdb-90f943f11a3e71ce86df68d8c6553bc7b51175d0.tar.gz
gdb-90f943f11a3e71ce86df68d8c6553bc7b51175d0.tar.bz2
2004-06-14 Randolph Chung <tausq@debian.org>
* Makefile.in (hppa-hpux-tdep.o): Update dependency. * hppa-hpux-tdep.c (hp_cxx_exception_support_initialized): Make static. (hppa_hpux_inferior_created): New function. (hppa_hpux_init_abi): Register observer. * symfile.c (hp_cxx_exception_support_initialized) (RESET_HP_UX_GLOBALS): Remove HPUXHPPA specific hacks. (symbol_file_add_main_1, symbol_file_clear): Likewise.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 2332037..95d6249 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -60,18 +60,6 @@
#define O_BINARY 0
#endif
-#ifdef HPUXHPPA
-
-/* Some HP-UX related globals to clear when a new "main"
- symbol file is loaded. HP-specific. */
-
-extern int hp_cxx_exception_support_initialized;
-#define RESET_HP_UX_GLOBALS() do {\
- deprecated_hp_som_som_object_present = 0; /* indicates HP-compiled code */ \
- hp_cxx_exception_support_initialized = 0; /* must reinitialize exception stuff */ \
- } while (0)
-#endif
-
int (*deprecated_ui_load_progress_hook) (const char *section, unsigned long num);
void (*deprecated_show_load_progress) (const char *section,
unsigned long section_sent,
@@ -957,10 +945,6 @@ symbol_file_add_main_1 (char *args, int from_tty, int flags)
{
symbol_file_add (args, from_tty, NULL, 1, flags);
-#ifdef HPUXHPPA
- RESET_HP_UX_GLOBALS ();
-#endif
-
/* Getting new symbols may change our opinion about
what is frameless. */
reinit_frame_cache ();
@@ -989,9 +973,6 @@ symbol_file_clear (int from_tty)
symfile_objfile = NULL;
if (from_tty)
printf_unfiltered ("No symbol file now.\n");
-#ifdef HPUXHPPA
- RESET_HP_UX_GLOBALS ();
-#endif
}
static char *
@@ -1944,9 +1925,6 @@ reread_symbols (void)
if (objfile == symfile_objfile)
{
(*objfile->sf->sym_new_init) (objfile);
-#ifdef HPUXHPPA
- RESET_HP_UX_GLOBALS ();
-#endif
}
(*objfile->sf->sym_init) (objfile);