aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r--gdb/gdbtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c
index 089a0ca..81dda49 100644
--- a/gdb/gdbtk.c
+++ b/gdb/gdbtk.c
@@ -3094,7 +3094,7 @@ gdb_loadfile (clientData, interp, objc, objv)
return TCL_ERROR;
}
- if (fstat (fp->_file, &st) < 0)
+ if (stat (file, &st) < 0)
{
catch_errors (perror_with_name_wrapper, "gdbtk: get time stamp", "",
RETURN_MASK_ALL);