GDB (xrefs)

Classes | Functions | Variables
scm-exception.c File Reference
`#include "defs.h"`
`#include <signal.h>`
`#include "guile-internal.h"`

Go to the source code of this file.

## Classes
struct | exception_smob

## Functions
static int | exscm_print_exception_smob (SCM self, SCM port, scm_print_state *pstate)
SCM | gdbscm_make_exception (SCM key, SCM args)
int | gdbscm_is_exception (SCM scm)
static SCM | gdbscm_exception_p (SCM scm)
SCM | gdbscm_exception_key (SCM self)
SCM | gdbscm_exception_args (SCM self)
SCM | gdbscm_make_exception_with_stack (SCM key, SCM args, SCM stack)
SCM | gdbscm_make_error_scm (SCM key, SCM subr, SCM message, SCM args, SCM data)
SCM | gdbscm_make_error (SCM key, const char *subr, const char *message, SCM args, SCM data)
SCM | gdbscm_make_type_error (const char *subr, int arg_pos, SCM bad_value, const char *expected_type)
static SCM | gdbscm_make_arg_error (SCM key, const char *subr, int arg_pos, SCM bad_value, const char *error_prefix, const char *error)
SCM | gdbscm_make_invalid_object_error (const char *subr, int arg_pos, SCM bad_value, const char *object)
void | gdbscm_invalid_object_error (const char *subr, int arg_pos, SCM bad_value, const char *object)
SCM | gdbscm_make_out_of_range_error (const char *subr, int arg_pos, SCM bad_value, const char *error)
void | gdbscm_out_of_range_error (const char *subr, int arg_pos, SCM bad_value, const char *error)
SCM | gdbscm_make_misc_error (const char *subr, int arg_pos, SCM bad_value, const char *error)
void | gdbscm_misc_error (const char *subr, int arg_pos, SCM bad_value, const char *error)
SCM | gdbscm_make_memory_error (const char *subr, const char *msg, SCM args)
void | gdbscm_memory_error (const char *subr, const char *msg, SCM args)
int | gdbscm_memory_error_p (SCM key)
int | gdbscm_user_error_p (SCM key)
void | gdbscm_throw (SCM exception)
SCM | gdbscm_scm_from_gdb_exception (struct gdb_exception exception)
void | gdbscm_throw_gdb_exception (struct gdb_exception exception)
static void | gdbscm_print_exception_message (SCM port, SCM frame, SCM key, SCM args)
void | gdbscm_print_exception_with_stack (SCM port, SCM stack, SCM key, SCM args)
void | gdbscm_print_gdb_exception (SCM port, SCM exception)
char * | gdbscm_exception_message_to_string (SCM exception)
static SCM | gdbscm_percent_exception_print_style (void)
static SCM | gdbscm_percent_exception_count (void)
void | gdbscm_initialize_exceptions (void)

## Variables
static const char | exception_smob_name [] = "gdb:exception"
static scm_t_bits | exception_smob_tag
static SCM | error_symbol
static SCM | memory_error_symbol
static SCM | signal_symbol
static SCM | user_error_symbol
static SCM | with_stack_error_symbol
SCM | gdbscm_invalid_object_error_symbol
static SCM | none_symbol
static SCM | message_symbol
static SCM | full_symbol
static const char | percent_print_exception_message_name []
static SCM | percent_print_exception_message_var = SCM_BOOL_F
static const char | percent_print_exception_with_stack_name []
static SCM | percent_print_exception_with_stack_var = SCM_BOOL_F
static unsigned long | gdbscm_exception_count = 0
static const scheme_function | exception_functions []
static const scheme_function | private_exception_functions []

## Function Documentation

## ◆ exscm_print_exception_smob()

static int exscm_print_exception_smob | ( | SCM | self,
|  | SCM | port,
|  | scm_print_state * | pstate
| ) |  |
| static

Definition at line 109 of file scm-exception.c.

References exception_smob::args, exception_smob_name, gdbscm_printf(), and exception_smob::key.

Referenced by gdbscm_initialize_exceptions().

## ◆ gdbscm_exception_args()

SCM gdbscm_exception_args | ( | SCM | self | ) |

Definition at line 177 of file scm-exception.c.

References exception_smob::args, FUNC_NAME, and gdbscm_is_exception().

Referenced by gdbscm_exception_message_to_string(), gdbscm_print_gdb_exception(), and gdbscm_throw().

## ◆ gdbscm_exception_key()

SCM gdbscm_exception_key | ( | SCM | self | ) |

Definition at line 163 of file scm-exception.c.

References FUNC_NAME, gdbscm_is_exception(), and exception_smob::key.

Referenced by cmdscm_function(), gdbscm_exception_message_to_string(), gdbscm_print_gdb_exception(), gdbscm_throw(), pascm_signal_setshow_error(), and ppscm_print_exception_unless_memory_error().

## ◆ gdbscm_exception_message_to_string()

char* gdbscm_exception_message_to_string | ( | SCM | exception | ) |

Definition at line 583 of file scm-exception.c.

References gdb_assert, gdbscm_exception_args(), gdbscm_exception_key(), gdbscm_is_exception(), gdbscm_print_exception_message(), gdbscm_scm_to_c_string(), and with_stack_error_symbol.

Referenced by cmdscm_function(), pascm_signal_setshow_error(), and ppscm_print_exception_unless_memory_error().

## ◆ gdbscm_exception_p()

static SCM gdbscm_exception_p | ( | SCM | scm | ) |
| static

Definition at line 155 of file scm-exception.c.

References gdbscm_is_exception().

## ◆ gdbscm_initialize_exceptions()

void gdbscm_initialize_exceptions | ( | void |  | ) |

Definition at line 677 of file scm-exception.c.

References error_symbol, exception_functions, exception_smob_name, exception_smob_tag, exscm_print_exception_smob(), full_symbol, gdbscm_define_functions(), gdbscm_invalid_object_error_symbol, gdbscm_make_smob_type(), memory_error_symbol, message_symbol, none_symbol, private_exception_functions, signal_symbol, user_error_symbol, and with_stack_error_symbol.

## ◆ gdbscm_invalid_object_error()

void gdbscm_invalid_object_error | ( | const char * | subr,
|  | int | arg_pos,
|  | SCM | bad_value,
|  | const char * | object
| ) |  |

Definition at line 325 of file scm-exception.c.

References gdbscm_make_invalid_object_error(), and gdbscm_throw().

Referenced by bkscm_get_valid_block_smob_arg_unsafe(), bpscm_get_valid_breakpoint_smob_arg_unsafe(), cmdscm_get_valid_command_smob_arg_unsafe(), frscm_get_frame_smob_arg_unsafe(), gdbscm_frame_arch(), gdbscm_frame_block(), gdbscm_frame_function(), gdbscm_frame_name(), gdbscm_frame_newer(), gdbscm_frame_older(), gdbscm_frame_pc(), gdbscm_frame_read_register(), gdbscm_frame_read_var(), gdbscm_frame_sal(), gdbscm_frame_select(), gdbscm_frame_type(), gdbscm_frame_unwind_stop_reason(), ofscm_get_valid_objfile_smob_arg_unsafe(), psscm_get_valid_pspace_smob_arg_unsafe(), stscm_get_valid_sal_smob_arg(), stscm_get_valid_symtab_smob_arg_unsafe(), and syscm_get_valid_symbol_smob_arg_unsafe().

## ◆ gdbscm_is_exception()

int gdbscm_is_exception | ( | SCM | scm | ) |

Definition at line 147 of file scm-exception.c.

References exception_smob_tag.

Referenced by cmdscm_completer(), cmdscm_function(), frscm_scm_from_frame_unsafe(), gdbscm_apply_val_pretty_printer(), gdbscm_breakpoint_cond_says_stop(), gdbscm_exception_args(), gdbscm_exception_key(), gdbscm_exception_message_to_string(), gdbscm_exception_p(), gdbscm_make_lazy_value(), gdbscm_make_parameter(), gdbscm_make_value(), gdbscm_parse_and_eval(), gdbscm_print_exception_message(), gdbscm_print_exception_with_stack(), gdbscm_print_gdb_exception(), gdbscm_scm_from_string(), gdbscm_scm_to_string(), gdbscm_value_address(), gdbscm_value_call(), gdbscm_value_dereference(), gdbscm_value_field(), gdbscm_value_referenced_value(), gdbscm_value_subscript(), gdbscm_value_to_lazy_string(), ioscm_with_output_to_port_worker(), pascm_set_func(), pascm_show_func(), ppscm_pretty_print_one_value(), ppscm_print_children(), ppscm_print_string_repr(), ppscm_search_pp_list(), vlscm_binop(), vlscm_do_cast(), and vlscm_unop().

## ◆ gdbscm_make_arg_error()

static SCM gdbscm_make_arg_error | ( | SCM | key,
|  | const char * | subr,
|  | int | arg_pos,
|  | SCM | bad_value,
|  | const char * | error_prefix,
|  | const char * | error
| ) |  |
| static

Definition at line 279 of file scm-exception.c.

References _, error(), gdbscm_make_error(), xfree(), and xstrprintf().

Referenced by gdbscm_make_invalid_object_error(), gdbscm_make_misc_error(), and gdbscm_make_out_of_range_error().

## ◆ gdbscm_make_error()

SCM gdbscm_make_error | ( | SCM | key,
|  | const char * | subr,
|  | const char * | message,
|  | SCM | args,
|  | SCM | data
| ) |  |

Definition at line 220 of file scm-exception.c.

References gdbarch::data, and gdbscm_make_error_scm().

Referenced by gdbscm_make_arg_error(), gdbscm_make_memory_error(), gdbscm_make_type_error(), gdbscm_parse_function_args(), gdbscm_scm_from_gdb_exception(), and ppscm_make_pp_type_error_exception().

## ◆ gdbscm_make_error_scm()

SCM gdbscm_make_error_scm | ( | SCM | key,
|  | SCM | subr,
|  | SCM | message,
|  | SCM | args,
|  | SCM | data
| ) |  |

Definition at line 210 of file scm-exception.c.

References gdbarch::data, and gdbscm_make_exception().

Referenced by gdbscm_make_error().

## ◆ gdbscm_make_exception()

SCM gdbscm_make_exception | ( | SCM | key,
|  | SCM | args
| ) |  |

Definition at line 128 of file scm-exception.c.

References exception_smob::args, exception_smob_name, exception_smob_tag, gdbscm_exception_count, gdbscm_init_gsmob(), exception_smob::key, and scm_new_smob().

Referenced by gdbscm_make_error_scm(), gdbscm_make_exception_with_stack(), and scscm_recording_unwind_handler().

## ◆ gdbscm_make_exception_with_stack()

SCM gdbscm_make_exception_with_stack | ( | SCM | key,
|  | SCM | args,
|  | SCM | stack
| ) |  |

Definition at line 192 of file scm-exception.c.

References gdbscm_make_exception(), and with_stack_error_symbol.

Referenced by scscm_recording_unwind_handler().

## ◆ gdbscm_make_invalid_object_error()

SCM gdbscm_make_invalid_object_error | ( | const char * | subr,
|  | int | arg_pos,
|  | SCM | bad_value,
|  | const char * | object
| ) |  |

Definition at line 313 of file scm-exception.c.

References _, gdbscm_invalid_object_error_symbol, and gdbscm_make_arg_error().

Referenced by bkscm_get_valid_block(), and gdbscm_invalid_object_error().

## ◆ gdbscm_make_memory_error()

SCM gdbscm_make_memory_error | ( | const char * | subr,
|  | const char * | msg,
|  | SCM | args
| ) |  |

Definition at line 382 of file scm-exception.c.

References gdbscm_make_error(), and memory_error_symbol.

Referenced by gdbscm_memory_error().

## ◆ gdbscm_make_misc_error()

SCM gdbscm_make_misc_error | ( | const char * | subr,
|  | int | arg_pos,
|  | SCM | bad_value,
|  | const char * | error
| ) |  |

Definition at line 361 of file scm-exception.c.

References error(), and gdbscm_make_arg_error().

Referenced by gdbscm_misc_error(), and vlscm_convert_typed_value_from_scheme().

## ◆ gdbscm_make_out_of_range_error()

SCM gdbscm_make_out_of_range_error | ( | const char * | subr,
|  | int | arg_pos,
|  | SCM | bad_value,
|  | const char * | error
| ) |  |

Definition at line 337 of file scm-exception.c.

References _, error(), and gdbscm_make_arg_error().

Referenced by gdbscm_out_of_range_error(), gdbscm_value_to_string(), lsscm_make_lazy_string(), lsscm_safe_lazy_string_to_value(), pascm_param_value(), vlscm_convert_bytevector(), vlscm_convert_number(), and vlscm_convert_typed_number().

## ◆ gdbscm_make_type_error()

SCM gdbscm_make_type_error | ( | const char * | subr,
|  | int | arg_pos,
|  | SCM | bad_value,
|  | const char * | expected_type
| ) |  |

Definition at line 234 of file scm-exception.c.

References _, gdbscm_make_error(), xfree(), and xstrprintf().

Referenced by bkscm_get_valid_block(), vlscm_convert_typed_number(), and vlscm_convert_typed_value_from_scheme().

## ◆ gdbscm_memory_error()

void gdbscm_memory_error | ( | const char * | subr,
|  | const char * | msg,
|  | SCM | args
| ) |  |

Definition at line 391 of file scm-exception.c.

References gdbscm_make_memory_error(), and gdbscm_throw().

Referenced by gdbscm_memory_port_fill_input(), gdbscm_memory_port_flush(), and gdbscm_memory_port_write().

## ◆ gdbscm_memory_error_p()

int gdbscm_memory_error_p | ( | SCM | key | ) |

Definition at line 402 of file scm-exception.c.

References memory_error_symbol.

## ◆ gdbscm_misc_error()

void gdbscm_misc_error | ( | const char * | subr,
|  | int | arg_pos,
|  | SCM | bad_value,
|  | const char * | error
| ) |  |

Definition at line 371 of file scm-exception.c.

References error(), gdbscm_make_misc_error(), and gdbscm_throw().

Referenced by gdbscm_make_breakpoint(), gdbscm_make_parameter(), and gdbscm_register_parameter_x().

## ◆ gdbscm_out_of_range_error()

void gdbscm_out_of_range_error | ( | const char * | subr,
|  | int | arg_pos,
|  | SCM | bad_value,
|  | const char * | error
| ) |  |

Definition at line 349 of file scm-exception.c.

References error(), gdbscm_make_out_of_range_error(), and gdbscm_throw().

Referenced by compute_enum_list(), gdbscm_arch_disassemble(), gdbscm_frame_read_register(), gdbscm_frame_read_var(), gdbscm_lookup_block(), gdbscm_make_breakpoint(), gdbscm_make_command(), gdbscm_make_field_iterator(), gdbscm_make_parameter(), gdbscm_memory_port_end_input(), gdbscm_memory_port_flush(), gdbscm_memory_port_seek(), gdbscm_memory_port_write(), gdbscm_open_memory(), gdbscm_parameter_value(), gdbscm_parse_command_name(), gdbscm_set_breakpoint_hit_count_x(), gdbscm_set_breakpoint_stop_x(), gdbscm_set_breakpoint_task_x(), gdbscm_set_breakpoint_thread_x(), gdbscm_set_memory_port_read_buffer_size_x(), gdbscm_set_memory_port_write_buffer_size_x(), gdbscm_symbol_value(), gdbscm_type_field(), gdbscm_type_fields(), gdbscm_type_has_field_p(), gdbscm_type_num_fields(), gdbscm_value_to_lazy_string(), gdbscm_value_to_real(), ioscm_parse_mode_bits(), pascm_set_param_value_x(), and tyscm_array_1().

## ◆ gdbscm_percent_exception_count()

static SCM gdbscm_percent_exception_count | ( | void |  | ) |
| static

Definition at line 629 of file scm-exception.c.

References gdbscm_exception_count.

## ◆ gdbscm_percent_exception_print_style()

static SCM gdbscm_percent_exception_print_style | ( | void |  | ) |
| static

Definition at line 614 of file scm-exception.c.

References full_symbol, gdb_assert_not_reached, gdbscm_print_excp, gdbscm_print_excp_full, gdbscm_print_excp_message, gdbscm_print_excp_none, message_symbol, and none_symbol.

## ◆ gdbscm_print_exception_message()

static void gdbscm_print_exception_message | ( | SCM | port,
|  | SCM | frame,
|  | SCM | key,
|  | SCM | args
| ) |  |
| static

Definition at line 470 of file scm-exception.c.

References _, gdb_assert, gdbscm_init_module_name, gdbscm_is_exception(), gdbscm_is_false, gdbscm_printf(), gdbscm_safe_call_4(), percent_print_exception_message_name, percent_print_exception_message_var, status, and with_stack_error_symbol.

Referenced by gdbscm_exception_message_to_string().

## ◆ gdbscm_print_exception_with_stack()

void gdbscm_print_exception_with_stack | ( | SCM | port,
|  | SCM | stack,
|  | SCM | key,
|  | SCM | args
| ) |  |

Definition at line 526 of file scm-exception.c.

References _, gdbscm_init_module_name, gdbscm_is_exception(), gdbscm_is_false, gdbscm_printf(), gdbscm_safe_call_4(), percent_print_exception_with_stack_name, percent_print_exception_with_stack_var, and status.

Referenced by gdbscm_print_gdb_exception(), and scscm_printing_pre_unwind_handler().

## ◆ gdbscm_print_gdb_exception()

void gdbscm_print_gdb_exception | ( | SCM | port,
|  | SCM | exception
| ) |  |

Definition at line 567 of file scm-exception.c.

References gdb_assert, gdbscm_exception_args(), gdbscm_exception_key(), gdbscm_is_exception(), and gdbscm_print_exception_with_stack().

Referenced by cmdscm_add_completion(), cmdscm_completer(), cmdscm_function(), pascm_set_func(), pascm_show_func(), pascm_signal_setshow_error(), ppscm_print_exception_unless_memory_error(), and ppscm_print_pp_type_error().

## ◆ gdbscm_scm_from_gdb_exception()

SCM gdbscm_scm_from_gdb_exception | ( | struct gdb_exception | exception | ) |

Definition at line 431 of file scm-exception.c.

References _, gdb_exception::error, error_symbol, gdbscm_make_error(), gdbscm_scm_from_c_string(), MEMORY_ERROR, memory_error_symbol, gdb_exception::message, gdb_exception::reason, RETURN_QUIT, and signal_symbol.

Referenced by gdbscm_throw_gdb_exception(), lsscm_safe_lazy_string_to_value(), tyscm_type_name(), and vlscm_convert_typed_value_from_scheme().

## ◆ gdbscm_throw()

void gdbscm_throw | ( | SCM | exception | ) |

Definition at line 421 of file scm-exception.c.

References gdb_assert_not_reached, gdbscm_exception_args(), and gdbscm_exception_key().

Referenced by compute_enum_list(), frscm_scm_from_frame_unsafe(), gdbscm_frame_read_var(), gdbscm_invalid_object_error(), gdbscm_lazy_string_to_value(), gdbscm_lookup_symbol(), gdbscm_lookup_type(), gdbscm_make_lazy_value(), gdbscm_make_parameter(), gdbscm_make_value(), gdbscm_memory_error(), gdbscm_misc_error(), gdbscm_out_of_range_error(), gdbscm_parameter_value(), gdbscm_parse_and_eval(), gdbscm_parse_function_args(), gdbscm_throw_gdb_exception(), gdbscm_value_address(), gdbscm_value_call(), gdbscm_value_dereference(), gdbscm_value_field(), gdbscm_value_referenced_value(), gdbscm_value_subscript(), gdbscm_value_to_lazy_string(), gdbscm_value_to_string(), ioscm_with_output_to_port_worker(), pascm_set_param_value_x(), tyscm_type_name(), vlscm_binop(), vlscm_do_cast(), vlscm_rich_compare(), and vlscm_unop().

## ◆ gdbscm_throw_gdb_exception()

void gdbscm_throw_gdb_exception | ( | struct gdb_exception | exception | ) |

Definition at line 457 of file scm-exception.c.

References gdbscm_scm_from_gdb_exception(), and gdbscm_throw().

Referenced by gdbscm_breakpoint_commands().

## ◆ gdbscm_user_error_p()

int gdbscm_user_error_p | ( | SCM | key | ) |

Definition at line 411 of file scm-exception.c.

References user_error_symbol.

## Variable Documentation

## ◆ error_symbol

SCM error_symbol
| static

Definition at line 57 of file scm-exception.c.

Referenced by gdbscm_initialize_exceptions(), and gdbscm_scm_from_gdb_exception().

## ◆ exception_functions

const scheme_function exception_functions[]
| static

Initial value:
=
{
{ "make-exception", 2, 0, 0, as_a_scm_t_subr (gdbscm_make_exception),
"\
Create a <gdb:exception> object.\n\
\n\
Arguments: key args\n\
These are the standard key,args arguments of \"throw\"." },
{ "exception?", 1, 0, 0, as_a_scm_t_subr (gdbscm_exception_p),
"\
Return #t if the object is a <gdb:exception> object." },
{ "exception-key", 1, 0, 0, as_a_scm_t_subr (gdbscm_exception_key),
"\
Return the exception's key." },
{ "exception-args", 1, 0, 0, as_a_scm_t_subr (gdbscm_exception_args),
"\
Return the exception's arg list." },
END_FUNCTIONS
}
as_a_scm_t_subr
static scm_t_subr as_a_scm_t_subr(SCM(*func)(void))
Definition: guile-internal.h:66
gdbscm_exception_args
SCM gdbscm_exception_args(SCM self)
Definition: scm-exception.c:177
END_FUNCTIONS
#define END_FUNCTIONS
Definition: guile-internal.h:103
gdbscm_exception_p
static SCM gdbscm_exception_p(SCM scm)
Definition: scm-exception.c:155
gdbscm_make_exception
SCM gdbscm_make_exception(SCM key, SCM args)
Definition: scm-exception.c:128
gdbscm_exception_key
SCM gdbscm_exception_key(SCM self)
Definition: scm-exception.c:163

Definition at line 636 of file scm-exception.c.

Referenced by gdbscm_initialize_exceptions().

## ◆ exception_smob_name

const char exception_smob_name[] = "gdb:exception"
| static

Definition at line 50 of file scm-exception.c.

Referenced by exscm_print_exception_smob(), gdbscm_initialize_exceptions(), and gdbscm_make_exception().

## ◆ exception_smob_tag

scm_t_bits exception_smob_tag
| static

Definition at line 53 of file scm-exception.c.

Referenced by gdbscm_initialize_exceptions(), gdbscm_is_exception(), and gdbscm_make_exception().

## ◆ full_symbol

SCM full_symbol
| static

Definition at line 82 of file scm-exception.c.

Referenced by gdbscm_initialize_exceptions(), and gdbscm_percent_exception_print_style().

## ◆ gdbscm_exception_count

unsigned long gdbscm_exception_count = 0
| static

Definition at line 102 of file scm-exception.c.

Referenced by gdbscm_make_exception(), and gdbscm_percent_exception_count().

## ◆ gdbscm_invalid_object_error_symbol

SCM gdbscm_invalid_object_error_symbol

Definition at line 77 of file scm-exception.c.

Referenced by gdbscm_initialize_exceptions(), and gdbscm_make_invalid_object_error().

## ◆ memory_error_symbol

SCM memory_error_symbol
| static

Definition at line 61 of file scm-exception.c.

Referenced by gdbscm_initialize_exceptions(), gdbscm_make_memory_error(), gdbscm_memory_error_p(), and gdbscm_scm_from_gdb_exception().

## ◆ message_symbol

SCM message_symbol
| static

Definition at line 81 of file scm-exception.c.

Referenced by gdbscm_initialize_exceptions(), and gdbscm_percent_exception_print_style().

## ◆ none_symbol

SCM none_symbol
| static

Definition at line 80 of file scm-exception.c.

Referenced by gdbscm_initialize_exceptions(), and gdbscm_percent_exception_print_style().

## ◆ percent_print_exception_message_name

const char percent_print_exception_message_name[]
| static

Initial value:
=
"%print-exception-message"

Definition at line 84 of file scm-exception.c.

Referenced by gdbscm_print_exception_message().

## ◆ percent_print_exception_message_var

SCM percent_print_exception_message_var = SCM_BOOL_F
| static

Definition at line 90 of file scm-exception.c.

Referenced by gdbscm_print_exception_message().

## ◆ percent_print_exception_with_stack_name

const char percent_print_exception_with_stack_name[]
| static

Initial value:
=
"%print-exception-with-stack"

Definition at line 92 of file scm-exception.c.

Referenced by gdbscm_print_exception_with_stack().

## ◆ percent_print_exception_with_stack_var

SCM percent_print_exception_with_stack_var = SCM_BOOL_F
| static

Definition at line 98 of file scm-exception.c.

Referenced by gdbscm_print_exception_with_stack().

## ◆ private_exception_functions

const scheme_function private_exception_functions[]
| static

Initial value:
=
{
{ "%exception-print-style", 0, 0, 0,
as_a_scm_t_subr (gdbscm_percent_exception_print_style),
"\
Return the value of the \"guile print-stack\" option." },
{ "%exception-count", 0, 0, 0,
as_a_scm_t_subr (gdbscm_percent_exception_count),
"\
Return a count of the number of <gdb:exception> objects created.\n\
This is for debugging purposes." },
END_FUNCTIONS
}
as_a_scm_t_subr
static scm_t_subr as_a_scm_t_subr(SCM(*func)(void))
Definition: guile-internal.h:66
gdbscm_percent_exception_print_style
static SCM gdbscm_percent_exception_print_style(void)
Definition: scm-exception.c:614
gdbscm_percent_exception_count
static SCM gdbscm_percent_exception_count(void)
Definition: scm-exception.c:629
END_FUNCTIONS
#define END_FUNCTIONS
Definition: guile-internal.h:103

Definition at line 660 of file scm-exception.c.

Referenced by gdbscm_initialize_exceptions().

## ◆ signal_symbol

SCM signal_symbol
| static

Definition at line 64 of file scm-exception.c.

Referenced by gdbscm_initialize_exceptions(), and gdbscm_scm_from_gdb_exception().

## ◆ user_error_symbol

SCM user_error_symbol
| static

Definition at line 67 of file scm-exception.c.

Referenced by gdbscm_initialize_exceptions(), and gdbscm_user_error_p().

## ◆ with_stack_error_symbol

SCM with_stack_error_symbol
| static

Definition at line 73 of file scm-exception.c.

Referenced by gdbscm_exception_message_to_string(), gdbscm_initialize_exceptions(), gdbscm_make_exception_with_stack(), and gdbscm_print_exception_message().