**** BEGIN LOGGING AT Tue Oct 19 02:59:57 2010 Oct 19 12:29:27 I have a problem with openocd Oct 19 12:29:54 when i use it with gdb and lauch it with the --pipe option.. Oct 19 12:30:15 when i want to interrupt my runnig program and press ctrl-c Oct 19 12:30:20 openocd quits Oct 19 12:30:43 what i expect is the program im debugging breaks Oct 19 12:30:50 any way to work around this? Oct 19 12:32:16 kishore: do you run openocd and gdb in different terminals? does gdb receive crtl+c or does openocd? Oct 19 12:33:16 Weaselweb: no. i launch openocd in the gdbinit script Oct 19 12:33:43 target remote | openocd --pipe Oct 19 12:34:07 which openocd version do you urn? Oct 19 12:36:50 0.4 Oct 19 12:38:26 did you try git master? nevertheless, i never used --pipe. I started openocd in an other terminal manually and attached gdb afterwards using localhost:3333 Oct 19 12:38:36 (port depends on your config afaik) Oct 19 12:39:57 Weaselweb: that is the way i have mostly used it myself Oct 19 12:40:25 but i like the advantage of openocd automatically starting up and shutting down with gdb Oct 19 12:40:26 I even didn't know about --pipe, --help doesn't show it Oct 19 12:40:40 oh Oct 19 12:40:59 Weaselweb: must be deprecated then. Which version do you use? Oct 19 12:41:10 0.5.0-dev-00558-g94a5aa3 Oct 19 12:41:35 i guess the new version recommends using -c "gdb_port pipe" instead of --pipe Oct 19 12:42:43 hah, yes. "-p/--pipe is now deprecated. Use '-c "gdb_port pipe;log_output openocd.log"' instead. Warning logged." see commit 50d5441e2a615fb2c44b41a777e4373901f7a2e6 Oct 19 12:43:17 but about your problem: i guess openocd is getting the signal and quits Oct 19 12:45:45 Weaselweb: and it should not be Oct 19 12:46:29 Weaselweb: i need to tell gdb not to swallow the signal and not pass it on i guess Oct 19 12:49:30 well,no idea about that Oct 19 12:49:56 you can try sending SIGINT from another terminal using the kill command and gdb pid Oct 19 12:51:17 Weaselweb: that would be silly dont you think? I goal is to avoid multiple terminals in way... ;) Oct 19 12:52:11 well, I find it very usefull o have multiple tarminals. anyway, that suggest was just to make sure, the machnism itself works Oct 19 12:53:15 Weaselweb: given the current situation, i think i will switch back to running openocd in seperate terminal as you recommend Oct 19 12:53:25 Weaselweb: Thanks for trying **** ENDING LOGGING AT Wed Oct 20 02:59:56 2010