Open avrs-admin opened 2 years ago
jehle 2015-05-28 10:31:29.422000
Are there any solutions yet? ice-gdb is relies on calling avarice in detached mode - so every ctrl+c doesn't only stop gdb it also stops avarice what is quiet annoying.
I tried to trap SIGINT in start-avarice script or start via "nohup" but was not sucessful
jehle 2015-05-28 12:31:11.691000
Solved it somehow: the problem is the common parent process (don't ask me why...). When you start avarice in a screen session it's working fine.
Change last line in /usr/bin/start-avarice to: screen -dm avarice $AVARICE_ARGS localhost:6423
johny_flash
2013-02-26 20:58:26.364000
Currently, if avarice is started by means of the
shell
command within a gdb session you can't stop the uC withCtrl-C
without killing avarice. And thus closing the connection to the remote target.At least for my workflow it would make debugging a lot easier when avarice ignores
SIGINT
if started in detached mode.Unfortunately it seems to be harder than simply put
into the
if(detach)
condition insidemain()
.It would be so kind if somebody put some effort into this or rather give a hint how to achieve this.
With best regards
This issue was migrated from https://sourceforge.net/p/avarice/feature-requests/7/