aboutsummaryrefslogtreecommitdiff
path: root/gdb/guile
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/guile')
-rw-r--r--gdb/guile/scm-value.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/guile/scm-value.c b/gdb/guile/scm-value.c
index 1cdf953..416e488 100644
--- a/gdb/guile/scm-value.c
+++ b/gdb/guile/scm-value.c
@@ -726,7 +726,8 @@ gdbscm_value_field (SCM self, SCM field_scm)
{
struct value *tmp = value;
- res_val = value_struct_elt (&tmp, NULL, field, NULL, NULL);
+ res_val = value_struct_elt (&tmp, NULL, field, NULL,
+ "struct/class/union");
}
CATCH (except, RETURN_MASK_ALL)
{