diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-04-08 21:18:13 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-04-08 21:18:13 +0000 |
commit | f83f82bc153ade6a787dd5084f125a4cd7a6a2de (patch) | |
tree | 5d0dea6c9a03cb4e9e53089fbfec116bd0ff97b4 /gdb/valops.c | |
parent | fb2be677dcb440b001df7739bda229295910a7c8 (diff) | |
download | fsf-binutils-gdb-f83f82bc153ade6a787dd5084f125a4cd7a6a2de.zip fsf-binutils-gdb-f83f82bc153ade6a787dd5084f125a4cd7a6a2de.tar.gz fsf-binutils-gdb-f83f82bc153ade6a787dd5084f125a4cd7a6a2de.tar.bz2 |
2004-04-08 Andrew Cagney <cagney@redhat.com>
* breakpoint.h (deprecated_exception_catchpoints_are_fragile)
(deprecated_exception_support_initialized): Declare.
* hppa-hpux-tdep.c (initialize_hp_cxx_exception_support)
(initialize_hp_cxx_exception_support)
(child_enable_exception_callback): Update.
* breakpoint.c (deprecated_exception_catchpoints_are_fragile)
(deprecated_exception_support_initialized): Rename
deprecated_exception_catchpoints_are_fragile and
deprecated_exception_support_initialized.
(breakpoint_init_inferior, breakpoint_init_inferior): Update.
* symtab.c (deprecated_hp_som_som_object_present): Rename
hp_som_som_object_present.
* symtab.h (deprecated_hp_som_som_object_present): Declare.
* symfile.c (hp_som_som_object_present, RESET_HP_UX_GLOBALS):
Update. Delete extern declaration.
* valops.c (hp_som_som_object_present): Ditto.
* parse.c (deprecated_hp_som_som_object_present)
(parse_nested_classes_for_hpacc): Ditto.
* hpread.c (hp_som_som_object_present, hpread_expand_symtab): Ditto.
* hppa-hpux-tdep.c (hp_som_som_object_present)
(initialize_hp_cxx_exception_support): Ditto.
* eval.c (hp_som_som_object_present, evaluate_subexp_standard): Ditto.
* cp-valprint.c (hp_som_som_object_present)
(cp_print_class_method): Ditto.
* c-typeprint.c (hp_som_som_object_present):
(c_type_print_base): Ditto.
* c-exp.y (hp_som_som_object_present): Ditto.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index 6042277..def8e8f 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -43,10 +43,6 @@ #include "gdb_assert.h" #include "cp-support.h" -/* Flag indicating HP compilers were used; needed to correctly handle some - value operations with HP aCC code/runtime. */ -extern int hp_som_som_object_present; - extern int overload_debug; /* Local functions. */ @@ -299,8 +295,8 @@ value_cast (struct type *type, struct value *arg2) { LONGEST longest; - if (hp_som_som_object_present && /* if target compiled by HP aCC */ - (code2 == TYPE_CODE_PTR)) + if (deprecated_hp_som_som_object_present /* if target compiled by HP aCC */ + && (code2 == TYPE_CODE_PTR)) { unsigned int *ptr; struct value *retvalp; |