Nathan Sidwell <nathan@codesourcery.com>
* tracepoint.c (trace_save): Open in binary mode.
+2010-04-21 Stan Shebs <stan@codesourcery.com>
+ Nathan Sidwell <nathan@codesourcery.com>
+
+ * tracepoint.c (trace_save): Open in binary mode.
+
2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
* gdbtypes.h (builtin_type): Add builtin_char16 and builtin_char32
pathname = tilde_expand (filename);
cleanup = make_cleanup (xfree, pathname);
- fp = fopen (pathname, "w");
+ fp = fopen (pathname, "wb");
if (!fp)
error (_("Unable to open file '%s' for saving trace data (%s)"),
filename, safe_strerror (errno));