diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-05 22:47:50 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-05 22:47:50 +0000 |
commit | d3e9c991c822e84cc7744e8131fb8a871f0b674f (patch) | |
tree | 0390bcaa61666c81b21980719333afec123abed1 /gdb/c-exp.y | |
parent | 5e787d22c9685b84fd1d7b22256d54a1d9d03aeb (diff) | |
download | gdb-d3e9c991c822e84cc7744e8131fb8a871f0b674f.zip gdb-d3e9c991c822e84cc7744e8131fb8a871f0b674f.tar.gz gdb-d3e9c991c822e84cc7744e8131fb8a871f0b674f.tar.bz2 |
* hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook,
HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break,
HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification,
hp_cxx_exception_support, hp_cxx_exception_support_initialized,
eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr,
eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior,
find_stub_with_shl_get, cover_find_stub_with_shl_get,
initialize_hp_cxx_exception_support, child_enable_exception_callback,
current_ex_event, child_get_current_exception_event): Remove.
(hppa_hpux_inferior_created): Remove.
(hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created.
* breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove.
(deprecated_exception_support_initialized): Remove.
* breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove.
(deprecated_exception_support_initialized): Remove.
(breakpoint_init_inferior): Remove handling of non-zero
deprecated_exception_catchpoints_are_fragile.
* symtab.h (deprecated_hp_som_som_object_present): Remove.
* symtab.c (deprecated_hp_som_som_object_present): Remove.
* c-typeprint.c (c_type_print_base): Remove handling of non-zero
deprecated_hp_som_som_object_present.
* eval.c (evaluate_subexp_standard): Likewise.
* valops.c (value_cast): Likewise.
* parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove.
* parser-defs.h (parse_nested_classes_for_hpacc): Remove.
* c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc.
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r-- | gdb/c-exp.y | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y index cda9177..fde097d 100644 --- a/gdb/c-exp.y +++ b/gdb/c-exp.y @@ -1301,10 +1301,8 @@ yylex () int tempbufindex; static char *tempbuf; static int tempbufsize; - struct symbol * sym_class = NULL; char * token_string = NULL; int class_prefix = 0; - int unquoted_expr; retry: @@ -1320,7 +1318,6 @@ yylex () } prev_lexptr = lexptr; - unquoted_expr = 1; tokstart = lexptr; /* See if it is a special token of length 3. */ @@ -1392,7 +1389,6 @@ yylex () if (namelen > 2) { lexptr = tokstart + namelen; - unquoted_expr = 0; if (lexptr[-1] != '\'') error ("Unmatched single quote."); namelen -= 2; @@ -1691,30 +1687,6 @@ yylex () return VARIABLE; } - /* Look ahead and see if we can consume more of the input - string to get a reasonable class/namespace spec or a - fully-qualified name. This is a kludge to get around the - HP aCC compiler's generation of symbol names with embedded - colons for namespace and nested classes. */ - - /* NOTE: carlton/2003-09-24: I don't entirely understand the - HP-specific code, either here or in linespec. Having said that, - I suspect that we're actually moving towards their model: we want - symbols whose names are fully qualified, which matches the - description above. */ - if (unquoted_expr) - { - /* Only do it if not inside single quotes */ - sym_class = parse_nested_classes_for_hpacc (yylval.sval.ptr, yylval.sval.length, - &token_string, &class_prefix, &lexptr); - if (sym_class) - { - /* Replace the current token with the bigger one we found */ - yylval.sval.ptr = token_string; - yylval.sval.length = strlen (token_string); - } - } - /* Use token-type BLOCKNAME for symbols that happen to be defined as functions or symtabs. If this is not so, then ... Use token-type TYPENAME for symbols that happen to be defined |