public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-muller-windows-multi:  * Fix cygwin compilation failure on last commit
@ 2011-03-28 14:39 muller
  0 siblings, 0 replies; only message in thread
From: muller @ 2011-03-28 14:39 UTC (permalink / raw)
  To: archer-commits

The branch, archer-muller-windows-multi has been updated
       via  df2f3e1d0285f3743464833c7173e0ca79ec78f9 (commit)
      from  578a0c0b06a83b0f408772a873dd3effc089bf6a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit df2f3e1d0285f3743464833c7173e0ca79ec78f9
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Mon Mar 28 16:38:30 2011 +0200

     * Fix cygwin compilation failure on last commit

-----------------------------------------------------------------------

Summary of changes:
 gdb/windows-nat.c |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

First 500 lines of diff:
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index a7c4410..ed44566 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -2071,13 +2071,10 @@ windows_create_inferior (struct target_ops *ops, char *exec_file,
       cygallargs = (wchar_t *) alloca (len * sizeof (wchar_t));
       swprintf (cygallargs, len, L" -c 'exec %s %s'", exec_file, allargs);
 #else
-      cygallargs = (char *)
-	alloca (sizeof (" -c 'exec  '") + strlen (exec_file)
+      cygallargs = (char *) alloca (sizeof (" -c 'exec  '")
+				    + strlen (exec_file)
 				    + strlen (allargs) + 2);
-      if (use_windows_shell)
-	sprintf (cygallargs, " /C %s %s", exec_file, allargs);
-      else
-	sprintf (cygallargs, " -c 'exec %s %s'", exec_file, allargs);
+      sprintf (cygallargs, " -c 'exec %s %s'", exec_file, allargs);
 #endif
       toexec = shell;
       flags |= DEBUG_PROCESS;


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-28 14:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-28 14:39 [SCM] archer-muller-windows-multi: * Fix cygwin compilation failure on last commit muller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).