gdb/testsuite/
[deliverable/binutils-gdb.git] / gdb / remote.c
index a3309c7aacfeb736dee3e5403cc7757ae876b57c..1750bee07ebe79f373a241a17cd73d0dfc5f7621 100644 (file)
@@ -10588,15 +10588,11 @@ remote_get_trace_status (struct trace_status *ts)
   /* We're working with a live target.  */
   ts->from_file = 0;
 
-  /* Set some defaults.  */
-  ts->running_known = 0;
-  ts->stop_reason = trace_stop_reason_unknown;
-  ts->traceframe_count = -1;
-  ts->buffer_free = 0;
-
   if (*p++ != 'T')
     error (_("Bogus trace status reply from target: %s"), target_buf);
 
+  /* Function 'parse_trace_status' sets default value of each field of
+     'ts' at first, so we don't have to do it here.  */
   parse_trace_status (p, ts);
 
   return ts->running;
This page took 0.029999 seconds and 4 git commands to generate.