(gdb) bt full #0 0x00007ffff702969a in __strcmp_ssse3 () from /usr/lib/libc.so.6 No symbol table info available. #1 0x0000000000404beb in main (argc=1, argv=0x1b6) at lircd.c:2337 act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {140737353852784, 140737353863168, 4202892, 140737336384888, 4196224, 4294967296, 4294969392, 0, 140737354130568, 140737488349936, 140737353852784, 140737354129712, 140737488349976, 0, 140737351932527, 7}}, sa_flags = -134502544, sa_restorer = 0x1} nodaemon = 1 device = 0x645de5 "lirc0" errmsg = "/sys/class/rc/rc0/protocols\000\000\000\000\000\210\344\377\367\377\177\000\000`\352\377\377\377\177\000\000\000\360\377\377\001\000\000\000P\352\377\377\377\177\000\000.N=\366\000\000\000\000\214!@\000\000\000\000\000\377\377\377\377", '\000' , "\250\021\361\366\377\177\000\000\000\320\373\367\377\177\000\000\000\000\000\000\000\000\000\000\200\234*\367\377\177\000" (gdb) up #1 0x0000000000404beb in main (argc=1, argv=0x1b6) at lircd.c:2337 2337 if (hw.device != NULL && strcmp(hw.device, lircdfile) == 0) { (gdb) list 2332 } 2333 if (strcmp(hw.name, "null") == 0 && peern == 0) { 2334 fprintf(stderr, "%s: there's no hardware I can use and no peers are specified\n", progname); 2335 return (EXIT_FAILURE); 2336 } 2337 if (hw.device != NULL && strcmp(hw.device, lircdfile) == 0) { 2338 fprintf(stderr, "%s: refusing to connect to myself\n", progname); 2339 fprintf(stderr, "%s: device and output must not be the same file: %s\n", progname, lircdfile); 2340 return (EXIT_FAILURE); 2341 } (gdb) p hw $1 = {device = 0x645de0 "/dev/lirc0", fd = -1, features = 0, send_mode = 0, rec_mode = 0, code_length = 0, init_func = 0x4196b0 , deinit_func = 0x419510 , send_func = 0x419b80 , rec_func = 0x419550 , decode_func = 0x426380 , ioctl_func = 0x419590 , readdata = 0x4195b0 , name = 0x429f41 "default", resolution = 0} (gdb) p lircdfile $2 = 0x0 (gdb) p hw.device $3 = 0x645de0 "/dev/lirc0"