diff options
Diffstat (limited to 'gdb/guile')
-rw-r--r-- | gdb/guile/guile-internal.h | 2 | ||||
-rw-r--r-- | gdb/guile/scm-block.c | 2 | ||||
-rw-r--r-- | gdb/guile/scm-breakpoint.c | 16 | ||||
-rw-r--r-- | gdb/guile/scm-cmd.c | 2 | ||||
-rw-r--r-- | gdb/guile/scm-disasm.c | 2 | ||||
-rw-r--r-- | gdb/guile/scm-frame.c | 38 | ||||
-rw-r--r-- | gdb/guile/scm-lazy-string.c | 2 | ||||
-rw-r--r-- | gdb/guile/scm-math.c | 2 | ||||
-rw-r--r-- | gdb/guile/scm-param.c | 4 | ||||
-rw-r--r-- | gdb/guile/scm-ports.c | 2 | ||||
-rw-r--r-- | gdb/guile/scm-pretty-print.c | 2 | ||||
-rw-r--r-- | gdb/guile/scm-symbol.c | 10 | ||||
-rw-r--r-- | gdb/guile/scm-symtab.c | 2 | ||||
-rw-r--r-- | gdb/guile/scm-type.c | 24 | ||||
-rw-r--r-- | gdb/guile/scm-value.c | 30 |
15 files changed, 70 insertions, 70 deletions
diff --git a/gdb/guile/guile-internal.h b/gdb/guile/guile-internal.h index 0a24325..a3e02ab 100644 --- a/gdb/guile/guile-internal.h +++ b/gdb/guile/guile-internal.h @@ -681,7 +681,7 @@ gdbscm_wrap (Function &&func, Args &&... args) { result = func (std::forward<Args> (args)...); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } diff --git a/gdb/guile/scm-block.c b/gdb/guile/scm-block.c index 6f91f88..2114ca1 100644 --- a/gdb/guile/scm-block.c +++ b/gdb/guile/scm-block.c @@ -687,7 +687,7 @@ gdbscm_lookup_block (SCM pc_scm) if (cust != NULL && COMPUNIT_OBJFILE (cust) != NULL) block = block_for_pc (pc); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } diff --git a/gdb/guile/scm-breakpoint.c b/gdb/guile/scm-breakpoint.c index 356abca..3ba2dab 100644 --- a/gdb/guile/scm-breakpoint.c +++ b/gdb/guile/scm-breakpoint.c @@ -465,7 +465,7 @@ gdbscm_register_breakpoint_x (SCM self) gdb_assert_not_reached ("invalid breakpoint type"); } } - catch (const gdb_exception_RETURN_MASK_ALL &ex) + catch (const gdb_exception &ex) { except = ex; } @@ -493,7 +493,7 @@ gdbscm_delete_breakpoint_x (SCM self) { delete_breakpoint (bp_smob->bp); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -593,7 +593,7 @@ gdbscm_set_breakpoint_enabled_x (SCM self, SCM newvalue) else disable_breakpoint (bp_smob->bp); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -627,7 +627,7 @@ gdbscm_set_breakpoint_silent_x (SCM self, SCM newvalue) { breakpoint_set_silent (bp_smob->bp, gdbscm_is_true (newvalue)); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -667,7 +667,7 @@ gdbscm_set_breakpoint_ignore_count_x (SCM self, SCM newvalue) { set_ignore_count (bp_smob->number, (int) value, 0); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -787,7 +787,7 @@ gdbscm_set_breakpoint_task_x (SCM self, SCM newvalue) { valid_id = valid_task_id (id); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -807,7 +807,7 @@ gdbscm_set_breakpoint_task_x (SCM self, SCM newvalue) { breakpoint_set_task (bp_smob->bp, id); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -972,7 +972,7 @@ gdbscm_breakpoint_commands (SCM self) { print_command_lines (current_uiout, breakpoint_commands (bp), 0); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { current_uiout->redirect (NULL); gdbscm_throw_gdb_exception (except); diff --git a/gdb/guile/scm-cmd.c b/gdb/guile/scm-cmd.c index a89650b..38db7f5 100644 --- a/gdb/guile/scm-cmd.c +++ b/gdb/guile/scm-cmd.c @@ -776,7 +776,7 @@ gdbscm_register_command_x (SCM self) c_smob->doc, cmd_list); } } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } diff --git a/gdb/guile/scm-disasm.c b/gdb/guile/scm-disasm.c index 584de37..d673a1e 100644 --- a/gdb/guile/scm-disasm.c +++ b/gdb/guile/scm-disasm.c @@ -257,7 +257,7 @@ gdbscm_arch_disassemble (SCM self, SCM start_scm, SCM rest) else insn_len = gdb_print_insn (gdbarch, pc, &buf, NULL); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } diff --git a/gdb/guile/scm-frame.c b/gdb/guile/scm-frame.c index 9360bb9..ca271db 100644 --- a/gdb/guile/scm-frame.c +++ b/gdb/guile/scm-frame.c @@ -248,7 +248,7 @@ frscm_scm_from_frame (struct frame_info *frame, struct inferior *inferior) } gdbarch = get_frame_arch (frame); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { return gdbscm_scm_from_gdb_exception (except); } @@ -400,7 +400,7 @@ gdbscm_frame_valid_p (SCM self) { frame = frscm_frame_smob_to_frame (f_smob); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -429,7 +429,7 @@ gdbscm_frame_name (SCM self) if (frame != NULL) name = find_frame_funname (frame, &lang, NULL); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -466,7 +466,7 @@ gdbscm_frame_type (SCM self) if (frame != NULL) type = get_frame_type (frame); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -495,7 +495,7 @@ gdbscm_frame_arch (SCM self) { frame = frscm_frame_smob_to_frame (f_smob); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -525,7 +525,7 @@ gdbscm_frame_unwind_stop_reason (SCM self) { frame = frscm_frame_smob_to_frame (f_smob); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -559,7 +559,7 @@ gdbscm_frame_pc (SCM self) if (frame != NULL) pc = get_frame_pc (frame); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -591,7 +591,7 @@ gdbscm_frame_block (SCM self) if (frame != NULL) block = get_frame_block (frame, NULL); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -641,7 +641,7 @@ gdbscm_frame_function (SCM self) if (frame != NULL) sym = find_pc_function (get_frame_address_in_block (frame)); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -677,7 +677,7 @@ gdbscm_frame_older (SCM self) if (frame != NULL) prev = get_prev_frame (frame); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -713,7 +713,7 @@ gdbscm_frame_newer (SCM self) if (frame != NULL) next = get_next_frame (frame); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -748,7 +748,7 @@ gdbscm_frame_sal (SCM self) if (frame != NULL) sal = find_frame_sal (frame); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -793,7 +793,7 @@ gdbscm_frame_read_register (SCM self, SCM register_scm) value = value_of_register (regnum, frame); } } - catch (const gdb_exception_RETURN_MASK_ALL &ex) + catch (const gdb_exception &ex) { except = ex; } @@ -842,7 +842,7 @@ gdbscm_frame_read_var (SCM self, SCM symbol_scm, SCM rest) { frame = frscm_frame_smob_to_frame (f_smob); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -894,7 +894,7 @@ gdbscm_frame_read_var (SCM self, SCM symbol_scm, SCM rest) var = lookup_sym.symbol; block = lookup_sym.block; } - catch (const gdb_exception_RETURN_MASK_ALL &ex) + catch (const gdb_exception &ex) { except = ex; } @@ -917,7 +917,7 @@ gdbscm_frame_read_var (SCM self, SCM symbol_scm, SCM rest) { value = read_var_value (var, block, frame); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -942,7 +942,7 @@ gdbscm_frame_select (SCM self) if (frame != NULL) select_frame (frame); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -968,7 +968,7 @@ gdbscm_newest_frame (void) { frame = get_current_frame (); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -988,7 +988,7 @@ gdbscm_selected_frame (void) { frame = get_selected_frame (_("No frame is currently selected")); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } diff --git a/gdb/guile/scm-lazy-string.c b/gdb/guile/scm-lazy-string.c index 5dd386a..4d69b23 100644 --- a/gdb/guile/scm-lazy-string.c +++ b/gdb/guile/scm-lazy-string.c @@ -336,7 +336,7 @@ lsscm_safe_lazy_string_to_value (SCM string, int arg_pos, break; } } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { *except_scmp = gdbscm_scm_from_gdb_exception (except); return NULL; diff --git a/gdb/guile/scm-math.c b/gdb/guile/scm-math.c index 3be9fb6..dc7245b 100644 --- a/gdb/guile/scm-math.c +++ b/gdb/guile/scm-math.c @@ -824,7 +824,7 @@ vlscm_convert_typed_value_from_scheme (const char *func_name, value = NULL; } } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { except_scm = gdbscm_scm_from_gdb_exception (except); } diff --git a/gdb/guile/scm-param.c b/gdb/guile/scm-param.c index ee29712..a55deab 100644 --- a/gdb/guile/scm-param.c +++ b/gdb/guile/scm-param.c @@ -1018,7 +1018,7 @@ gdbscm_register_parameter_x (SCM self) set_list, show_list, &p_smob->set_command, &p_smob->show_command); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -1067,7 +1067,7 @@ gdbscm_parameter_value (SCM self) { found = lookup_cmd_composition (newarg, &alias, &prefix, &cmd); } - catch (const gdb_exception_RETURN_MASK_ALL &ex) + catch (const gdb_exception &ex) { except = ex; } diff --git a/gdb/guile/scm-ports.c b/gdb/guile/scm-ports.c index 20557f8..57d3b18 100644 --- a/gdb/guile/scm-ports.c +++ b/gdb/guile/scm-ports.c @@ -279,7 +279,7 @@ ioscm_write (SCM port, const void *data, size_t size) else fputsn_filtered ((const char *) data, size, gdb_stdout); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } diff --git a/gdb/guile/scm-pretty-print.c b/gdb/guile/scm-pretty-print.c index 6706f82..656c4bb 100644 --- a/gdb/guile/scm-pretty-print.c +++ b/gdb/guile/scm-pretty-print.c @@ -558,7 +558,7 @@ ppscm_pretty_print_one_value (SCM printer, struct value **out_value, (_("invalid result from pretty-printer to-string"), result); } } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { } diff --git a/gdb/guile/scm-symbol.c b/gdb/guile/scm-symbol.c index 65eb101..c135ff5 100644 --- a/gdb/guile/scm-symbol.c +++ b/gdb/guile/scm-symbol.c @@ -490,7 +490,7 @@ gdbscm_symbol_needs_frame_p (SCM self) { result = symbol_read_needs_frame (symbol); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -556,7 +556,7 @@ gdbscm_symbol_value (SCM self, SCM rest) can happen with nested functions). */ value = read_var_value (symbol, NULL, frame_info); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -607,7 +607,7 @@ gdbscm_lookup_symbol (SCM name_scm, SCM rest) selected_frame = get_selected_frame (_("no frame selected")); block = get_frame_block (selected_frame, NULL); } - catch (const gdb_exception_RETURN_MASK_ALL &ex) + catch (const gdb_exception &ex) { xfree (name); GDBSCM_HANDLE_GDB_EXCEPTION (ex); @@ -620,7 +620,7 @@ gdbscm_lookup_symbol (SCM name_scm, SCM rest) symbol = lookup_symbol (name, block, (domain_enum) domain, &is_a_field_of_this).symbol; } - catch (const gdb_exception_RETURN_MASK_ALL &ex) + catch (const gdb_exception &ex) { except = ex; } @@ -656,7 +656,7 @@ gdbscm_lookup_global_symbol (SCM name_scm, SCM rest) { symbol = lookup_global_symbol (name, NULL, (domain_enum) domain).symbol; } - catch (const gdb_exception_RETURN_MASK_ALL &ex) + catch (const gdb_exception &ex) { except = ex; } diff --git a/gdb/guile/scm-symtab.c b/gdb/guile/scm-symtab.c index 8879c32..60ed707 100644 --- a/gdb/guile/scm-symtab.c +++ b/gdb/guile/scm-symtab.c @@ -597,7 +597,7 @@ gdbscm_find_pc_line (SCM pc_scm) sal = find_pc_line (pc, 0); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } diff --git a/gdb/guile/scm-type.c b/gdb/guile/scm-type.c index ee0bfa7..8f47ef6 100644 --- a/gdb/guile/scm-type.c +++ b/gdb/guile/scm-type.c @@ -112,7 +112,7 @@ tyscm_type_name (struct type *type) LA_PRINT_TYPE (type, "", &stb, -1, 0, &type_print_raw_options); return std::move (stb.string ()); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { SCM excp = gdbscm_scm_from_gdb_exception (except); gdbscm_throw (excp); @@ -238,7 +238,7 @@ tyscm_equal_p_type_smob (SCM type1_scm, SCM type2_scm) { result = types_deeply_equal (type1, type2); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -631,7 +631,7 @@ gdbscm_type_sizeof (SCM self) { check_typedef (type); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { } @@ -654,7 +654,7 @@ gdbscm_type_strip_typedefs (SCM self) { type = check_typedef (type); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -675,7 +675,7 @@ tyscm_get_composite (struct type *type) { type = check_typedef (type); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -731,7 +731,7 @@ tyscm_array_1 (SCM self, SCM n1_scm, SCM n2_scm, int is_vector, if (is_vector) make_vector_type (array); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -785,7 +785,7 @@ gdbscm_type_pointer (SCM self) { type = lookup_pointer_type (type); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -846,7 +846,7 @@ gdbscm_type_reference (SCM self) { type = lookup_lvalue_reference_type (type); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -883,7 +883,7 @@ gdbscm_type_const (SCM self) { type = make_cv_type (1, 0, type, NULL); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -905,7 +905,7 @@ gdbscm_type_volatile (SCM self) { type = make_cv_type (0, 1, type, NULL); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -927,7 +927,7 @@ gdbscm_type_unqualified (SCM self) { type = make_cv_type (0, 0, type, NULL); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -1231,7 +1231,7 @@ tyscm_lookup_typename (const char *type_name, const struct block *block) type = lookup_typename (current_language, get_current_arch (), type_name, block, 0); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { return NULL; } diff --git a/gdb/guile/scm-value.c b/gdb/guile/scm-value.c index 7f119a2..5bbc3e8 100644 --- a/gdb/guile/scm-value.c +++ b/gdb/guile/scm-value.c @@ -163,7 +163,7 @@ vlscm_print_value_smob (SCM self, SCM port, scm_print_state *pstate) common_val_print (v_smob->value, &stb, 0, &opts, current_language); scm_puts (stb.c_str (), port); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -190,7 +190,7 @@ vlscm_equal_p_value_smob (SCM v1, SCM v2) { result = value_equal (v1_smob->value, v2_smob->value); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -394,7 +394,7 @@ gdbscm_value_address (SCM self) { address = vlscm_scm_from_value (value_addr (value)); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { } @@ -529,7 +529,7 @@ gdbscm_value_dynamic_type (SCM self) type = NULL; } } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -684,7 +684,7 @@ gdbscm_value_call (SCM self, SCM args) { ftype = check_typedef (value_type (function)); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -752,7 +752,7 @@ gdbscm_value_to_bytevector (SCM self) length = TYPE_LENGTH (type); contents = value_contents (value); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -793,7 +793,7 @@ gdbscm_value_to_bool (SCM self) { type = check_typedef (type); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -808,7 +808,7 @@ gdbscm_value_to_bool (SCM self) else l = value_as_long (value); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -834,7 +834,7 @@ gdbscm_value_to_integer (SCM self) { type = check_typedef (type); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -849,7 +849,7 @@ gdbscm_value_to_integer (SCM self) else l = value_as_long (value); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -879,7 +879,7 @@ gdbscm_value_to_real (SCM self) { type = check_typedef (type); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -905,7 +905,7 @@ gdbscm_value_to_real (SCM self) check = value_from_longest (type, (LONGEST) d); } } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } @@ -998,7 +998,7 @@ gdbscm_value_to_string (SCM self, SCM rest) LA_GET_STRING (value, &buffer, &length, &char_type, &la_encoding); buffer_contents = buffer.release (); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { xfree (encoding); GDBSCM_HANDLE_GDB_EXCEPTION (except); @@ -1119,7 +1119,7 @@ gdbscm_value_to_lazy_string (SCM self, SCM rest) result = lsscm_make_lazy_string (addr, length, encoding, type); } - catch (const gdb_exception_RETURN_MASK_ALL &ex) + catch (const gdb_exception &ex) { except = ex; } @@ -1181,7 +1181,7 @@ gdbscm_value_print (SCM self) { common_val_print (value, &stb, 0, &opts, current_language); } - catch (const gdb_exception_RETURN_MASK_ALL &except) + catch (const gdb_exception &except) { GDBSCM_HANDLE_GDB_EXCEPTION (except); } |