gdb/
[deliverable/binutils-gdb.git] / gdb / tracepoint.c
index ce61fb7b2f6345335992de680c7034322a55700f..c086587ca7e3f0bd5056aab004af1b930bcbfab2 100644 (file)
@@ -2444,7 +2444,7 @@ tfind_1 (enum trace_find_type type, int num,
       else
        print_what = SRC_AND_LOC;
 
-      print_stack_frame (get_selected_frame (NULL), 1, print_what);
+      print_stack_frame (get_selected_frame (NULL), 1, print_what, 1);
       do_displays ();
     }
 }
@@ -3163,7 +3163,7 @@ tfile_start (struct trace_file_writer *self, const char *filename)
   writer->fp = gdb_fopen_cloexec (writer->pathname, "wb");
   if (writer->fp == NULL)
     error (_("Unable to open file '%s' for saving trace data (%s)"),
-          filename, safe_strerror (errno));
+          writer->pathname, safe_strerror (errno));
 }
 
 /* This is the implementation of trace_file_write_ops method
This page took 0.024211 seconds and 4 git commands to generate.