aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/value.c')
-rw-r--r--gdb/value.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/value.c b/gdb/value.c
index 605e52d..4702863 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -2254,7 +2254,7 @@ value_of_internalvar (struct gdbarch *gdbarch, struct internalvar *var)
break;
default:
- internal_error (__FILE__, __LINE__, _("bad kind"));
+ internal_error (_("bad kind"));
}
/* Change the VALUE_LVAL to lval_internalvar so that future operations
@@ -2348,7 +2348,7 @@ set_internalvar_component (struct internalvar *var,
default:
/* We can never get a component of any other kind. */
- internal_error (__FILE__, __LINE__, _("set_internalvar_component"));
+ internal_error (_("set_internalvar_component"));
}
}
@@ -4005,8 +4005,7 @@ value_fetch_lazy_register (struct value *val)
if (VALUE_LVAL (new_val) == lval_register
&& value_lazy (new_val)
&& VALUE_NEXT_FRAME_ID (new_val) == next_frame_id)
- internal_error (__FILE__, __LINE__,
- _("infinite loop while fetching a register"));
+ internal_error (_("infinite loop while fetching a register"));
}
/* If it's still lazy (for instance, a saved register on the
@@ -4104,7 +4103,7 @@ value_fetch_lazy (struct value *val)
&& value_computed_funcs (val)->read != NULL)
value_computed_funcs (val)->read (val);
else
- internal_error (__FILE__, __LINE__, _("Unexpected lazy value type."));
+ internal_error (_("Unexpected lazy value type."));
set_value_lazy (val, 0);
}