[Lazarus] Funny bug

Martin Frb lazarus at mfriebe.de
Fri Apr 11 21:20:25 CEST 2014


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.




More information about the Lazarus mailing list