diff options
Diffstat (limited to 'gdb/guile')
-rw-r--r-- | gdb/guile/scm-breakpoint.c | 4 | ||||
-rw-r--r-- | gdb/guile/scm-cmd.c | 2 | ||||
-rw-r--r-- | gdb/guile/scm-param.c | 2 | ||||
-rw-r--r-- | gdb/guile/scm-pretty-print.c | 2 | ||||
-rw-r--r-- | gdb/guile/scm-string.c | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/gdb/guile/scm-breakpoint.c b/gdb/guile/scm-breakpoint.c index ad853ed..eef8a4b 100644 --- a/gdb/guile/scm-breakpoint.c +++ b/gdb/guile/scm-breakpoint.c @@ -340,8 +340,8 @@ gdbscm_make_breakpoint (SCM location_scm, SCM rest) char *s; char *location; int type_arg_pos = -1, access_type_arg_pos = -1, internal_arg_pos = -1; - int type = bp_breakpoint; - int access_type = hw_write; + enum bptype type = bp_breakpoint; + enum target_hw_bp_type access_type = hw_write; int internal = 0; SCM result; breakpoint_smob *bp_smob; diff --git a/gdb/guile/scm-cmd.c b/gdb/guile/scm-cmd.c index a693df2..4477b98 100644 --- a/gdb/guile/scm-cmd.c +++ b/gdb/guile/scm-cmd.c @@ -673,7 +673,7 @@ gdbscm_make_command (SCM name_scm, SCM rest) int doc_arg_pos = -1; char *s; char *name; - int command_class = no_class; + enum command_class command_class = no_class; SCM completer_class = SCM_BOOL_F; int is_prefix = 0; char *doc = NULL; diff --git a/gdb/guile/scm-param.c b/gdb/guile/scm-param.c index 508bcb9..da9c31a 100644 --- a/gdb/guile/scm-param.c +++ b/gdb/guile/scm-param.c @@ -957,7 +957,7 @@ gdbscm_make_parameter (SCM name_scm, SCM rest) if (gdbscm_is_exception (initial_value_scm)) gdbscm_throw (initial_value_scm); } - pascm_set_param_value_x (param_type, &p_smob->value, enum_list, + pascm_set_param_value_x (p_smob->type, &p_smob->value, enum_list, initial_value_scm, initial_value_arg_pos, FUNC_NAME); } diff --git a/gdb/guile/scm-pretty-print.c b/gdb/guile/scm-pretty-print.c index 860cf8e..879c4ea 100644 --- a/gdb/guile/scm-pretty-print.c +++ b/gdb/guile/scm-pretty-print.c @@ -971,7 +971,7 @@ gdbscm_apply_val_pretty_printer (const struct extension_language_defn *extlang, struct value *value; enum display_hint hint; struct cleanup *cleanups; - int result = EXT_LANG_RC_NOP; + enum ext_lang_rc result = EXT_LANG_RC_NOP; enum string_repr_result print_result; /* No pretty-printer support for unavailable values. */ diff --git a/gdb/guile/scm-string.c b/gdb/guile/scm-string.c index dc84b83..587ad75 100644 --- a/gdb/guile/scm-string.c +++ b/gdb/guile/scm-string.c @@ -83,7 +83,7 @@ struct scm_to_stringn_data SCM string; size_t *lenp; const char *charset; - int conversion_kind; + scm_t_string_failed_conversion_handler conversion_kind; char *result; }; @@ -151,7 +151,7 @@ struct scm_from_stringn_data const char *string; size_t len; const char *charset; - int conversion_kind; + scm_t_string_failed_conversion_handler conversion_kind; SCM result; }; |