[Gambas-user] My Raspberry Pi has arrived!
Benoît Minisini
gambas at ...1...
Wed May 30 19:15:11 CEST 2012
Le 30/05/2012 15:04, tobi a écrit :
>
> Don't know how remote debugging programs like gdb or something work with this, but a naive and
> the more annoying-to-write approach could be a socket on the other side which receives commands.
> There are passed through a function that selects the debugging functions by identifiers (strings
> would be best, I think). Depending on what is possible with the current debugger, parameter(s) are
> required (pointers? names?) and a way to obtain them from the debugger over there (this could be
> the only addition to the debugger process interface). The socket over there writes back the data
> so that the IDE here can display the stuff as if it was received from the debugger... This is a
> technically not that complicated protocol, I think. Quickly googled, the gdb seems to have
> implemented a GDB remote protocol, too - what else?
> (Written freely without security considerations)
>
> Regards,
> Tobi
>
Actually the Gambas debugger already works like that, except that it is
based on a local named pipe, and not a socket.
--
Benoît Minisini
More information about the User
mailing list