[Geany] Geany Custom GDB

Barbieri Alessandro linuxale at xxxxx
Sun Jun 14 08:15:51 UTC 2009


Hallo friends,
I'm using geany with GDB plug in for remote debugging on embedded Linux.

I have modify the plugin in this way:

1) I have change gdb with cris-gdb directly in the code (and maybe it 
should be not so bad to move this option in the preference)
static gchar *gdbio_args[] = { "cris-gdb", "--interpreter=mi", "-nx", 
NULL };

2) I have change the command run command to 'target remote [ip:port] ' 
from '-exec-run'
process_token = gdbio_send_seq_cmd(gdbio_target_started, "target remote 
192.168.0.90:1234\n");

And so... I have found a "work around" quick and dirty to adapt the 
plugin for my use.

But... I have a question for who know better then me gtk:

Is it possible to have a function like: input dialog (like you can find 
in MFC under Microsoft visual studio) to get a string form the user??
So I could get [ip:port]for running debug from remote.

Can someone help me??

Thanks
Alessandro Barbieri



More information about the Users mailing list