Mail Archives: djgpp-workers/1999/03/24/16:24:19
> As result debugee does not get full command line (it is errorously truncated). It
> caused problems for me when I tried to debug cpp.exe and cc1plus.exe.
This is (at least for me) a well know bug. It manifests itself, if you look
in the corresponding sources for fsdb, edebug or gdb, where v2loadimage()
is called, since there the commandline is passed as an array, where the
[0]th character holds the length of the commandline which can represent
of course only up to 255 characters. This can be solved using the !proxy
methode, but I (and probably also others) hadn't the time and motivation
to do the job since the task to debug a program with very long commandlines
is not so often and in that case you can use the response file (@file)
to pass the commandline which will work.
> It doesn't
> happen when I'm running rhgdb dumparg.exe .... from bash command line or bat
I can't imagine that, because of the above description there is really a limitation
which can't be fixed by bash or any other extern program.
******************************************************
* email: Robert Hoehne <robert DOT hoehne AT gmx DOT net> *
* Post: Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW: http://www.tu-chemnitz.de/~sho/rho *
******************************************************
- Raw text -