pi@raspberrypi ~ $ gdb --args indiserver -v indi_asi_ccd GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabihf". For bug reporting instructions, please see: ... Reading symbols from /usr/bin/indiserver...Reading symbols from /usr/lib/debug/usr/bin/indiserver...done. done. (gdb) run Starting program: /usr/bin/indiserver -v indi_asi_ccd [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". 2015-02-15T14:59:40: startup: /usr/bin/indiserver -v indi_asi_ccd 2015-02-15T14:59:40: Driver indi_asi_ccd: pid=30737 rfd=7 wfd=10 efd=11 2015-02-15T14:59:40: listening to port 7624 on fd 8 2015-02-15T14:59:40: Driver indi_asi_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD 2015-02-15T14:59:40: Driver indi_asi_ccd: snooping on CCD Simulator.FILTER_SLOT 2015-02-15T14:59:40: Driver indi_asi_ccd: snooping on CCD Simulator.FILTER_NAME 2015-02-15T14:59:56: Client 0: new arrival from 192.168.178.7:55150 - welcome! 2015-02-15T14:59:59: Driver indi_asi_ccd: stdin EOF 2015-02-15T14:59:59: Driver indi_asi_ccd: restart #1 2015-02-15T14:59:59: Driver indi_asi_ccd: pid=30738 rfd=7 wfd=11 efd=12 2015-02-15T14:59:59: Driver indi_asi_ccd: snooping on Telescope Simulator.EQUATORIAL_EOD_COORD 2015-02-15T14:59:59: Driver indi_asi_ccd: snooping on CCD Simulator.FILTER_SLOT 2015-02-15T14:59:59: Driver indi_asi_ccd: snooping on CCD Simulator.FILTER_NAME ^C Program received signal SIGINT, Interrupt. 0xb6f31970 in select () from /lib/arm-linux-gnueabihf/libc.so.6 (gdb) bt #0 0xb6f31970 in select () from /lib/arm-linux-gnueabihf/libc.so.6 #1 0x0000cae0 in indiRun () at /home/pi/Projects/packages/libindi/libindi/indiserver.c:749 #2 0x00009fa8 in main (ac=, av=0xbefff620) at /home/pi/Projects/packages/libindi/libindi/indiserver.c:304 (gdb) quit A debugging session is active. Inferior 1 [process 30734] will be killed. Quit anyway? (y or n) y pi@raspberrypi ~ $