On 11/04/2014 13:03, Mattias Gaertner wrote:
Under Linux '\' are converted when running with the gdb
debugger.
It does not happen when running with the 'none' debugger.

Maybe this gives Martin an idea.


Confirmed, or rather, they are in most cases dropped.

That is a different issue though. And they do not get changed from \ to /


The problem is that gdb sees them as escape char.

<-exec-arguments -a /b \c \/d>
^done
(gdb)

and the app will see
  -a /b c /b

I will ave to test this across different versions of gdb, to make sure, that a fix will not break some versions.

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to