now works as expected. Do not strdup/free the argument string.
+2010-01-25 Keith Seitz <keiths@redhat.com>
+
+ * generic/gdbtk-cmds.c (gdb_set_inferior_args): set_inferior_args
+ now works as expected. Do not strdup/free the argument string.
+
2010-01-15 Stan Shebs <stan@codesourcery.com>
* generic/gdbtk-bp.c (gdb_trace_status): Use current_trace_status.
}
args = Tcl_GetStringFromObj (objv[1], NULL);
-
- /* The xstrdup/xfree stuff is so that we maintain a coherent picture
- for gdb. I would expect the accessors to do this, but they
- don't. */
- args = xstrdup (args);
- args = set_inferior_args (args);
- xfree (args);
+ set_inferior_args (args);
return TCL_OK;
}