This log is saved to: /tmp/gdb-cmds8305691119939945325.log NB build: 201403101706 =thread-group-added,id="i1" ~"GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7\n" ~"Copyright (C) 2014 Free Software Foundation, Inc.\n" ~"License GPLv3+: GNU GPL version 3 or later \nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n" ~"This GDB was configured as \"x86_64-linux-gnu\".\nType \"show configuration\" for configuration details." ~"\nFor bug reporting instructions, please see:\n" ~".\n" ~"Find the GDB manual and other documentation resources online at:\n.\n" ~"For help, type \"help\".\n" ~"Type \"apropos word\" to search for commands related to \"word\".\n" &"/home/robert/.gdbinit: Nie ma takiego pliku ani katalogu.\n" (gdb) 2-list-features 3info signals 4-gdb-set print repeat 0 5-gdb-set backtrace limit 1024 6-gdb-set print elements 400 7-gdb-set follow-fork-mode parent 8-gdb-set detach-on-fork on 9-enable-pretty-printing 10-file-symbol-file "/usr/bin/gdb" 2^done,features=["frozen-varobjs","pending-breakpoints","thread-info","data-read-memory-bytes","breakpoint-notifications","ada-task-info","language-option","info-gdb-mi-command","undefined-command-error-code","exec-run-start-option","python"] (gdb) &"info signals\n" ~"Signal Stop\tPrint\tPass to program\tDescription\n" ~"\n" ~"SIGHUP Yes\tYes\tYes\t\tHangup\n" ~"SIGINT Yes\tYes\tNo\t\tInterrupt\n" ~"SIGQUIT Yes\tYes\tYes\t\tQuit\n" ~"SIGILL Yes\tYes\tYes\t\tIllegal instruction\n" ~"SIGTRAP Yes\tYes\tNo\t\tTrace/breakpoint trap\n" ~"SIGABRT Yes\tYes\tYes\t\tAborted\n" ~"SIGEMT Yes\tYes\tYes\t\tEmulation trap\n" ~"SIGFPE Yes\tYes\tYes\t\tArithmetic exception\n" ~"SIGKILL Yes\tYes\tYes\t\tKilled\n" ~"SIGBUS Yes\tYes\tYes\t\tBus error\n" ~"SIGSEGV Yes\tYes\tYes\t\tSegmentation fault\n" ~"SIGSYS Yes\tYes\tYes\t\tBad system call\n" ~"SIGPIPE Yes\tYes\tYes\t\tBroken pipe\n" ~"SIGALRM No\tNo\tYes\t\tAlarm clock\n" ~"SIGTERM Yes\tYes\tYes\t\tTerminated\n" ~"SIGURG No\tNo\tYes\t\tUrgent I/O condition\n" ~"SIGSTOP Yes\tYes\tYes\t\tStopped (signal)\n" ~"SIGTSTP Yes\tYes\tYes\t\tStopped (user)\n" ~"SIGCONT Yes\tYes\tYes\t\tContinued\n" ~"SIGCHLD No\tNo\tYes\t\tChild status changed\n" ~"SIGTTIN Yes\tYes\tYes\t\tStopped (tty input)\n" ~"SIGTTOU Yes\tYes\tYes\t\tStopped (tty output)\n" ~"SIGIO No\tNo\tYes\t\tI/O possible\n" ~"SIGXCPU Yes\tYes\tYes\t\tCPU time limit exceeded\n" ~"SIGXFSZ Yes\tYes\tYes\t\tFile size limit exceeded\n" ~"SIGVTALRM No\tNo\tYes\t\tVirtual timer expired\n" ~"SIGPROF No\tNo\tYes\t\tProfiling timer expired\n" ~"SIGWINCH No\tNo\tYes\t\tWindow size changed\n" ~"SIGLOST Yes\tYes\tYes\t\tResource lost\n" ~"SIGUSR1 Yes\tYes\tYes\t\tUser defined signal 1\n" ~"SIGUSR2 Yes\tYes\tYes\t\tUser defined signal 2\n" ~"SIGPWR Yes\tYes\tYes\t\tPower fail/restart\n" ~"SIGPOLL No\tNo\tYes\t\tPollable event occurred\n" ~"SIGWIND Yes\tYes\tYes\t\tSIGWIND\n" ~"SIGPHONE Yes\tYes\tYes\t\tSIGPHONE\n" ~"SIGWAITING No\tNo\tYes\t\tProcess's LWPs are blocked\n" ~"SIGLWP No\tNo\tYes\t\tSignal LWP\n" ~"SIGDANGER Yes\tYes\tYes\t\tSwap space dangerously low\n" ~"SIGGRANT Yes\tYes\tYes\t\tMonitor mode granted\n" ~"SIGRETRACT Yes\tYes\tYes\t\tNeed to relinquish monitor mode\n" ~"SIGMSG Yes\tYes\tYes\t\tMonitor mode data available\n" ~"SIGSOUND Yes\tYes\tYes\t\tSound completed\n" ~"SIGSAK Yes\tYes\tYes\t\tSecure attention\n" ~"SIGPRIO No\tNo\tYes\t\tSIGPRIO\n" ~"SIG33 Yes\tYes\tYes\t\tReal-time event 33\n" ~"SIG34 Yes\tYes\tYes\t\tReal-time event 34\n" ~"SIG35 Yes\tYes\tYes\t\tReal-time event 35\n" ~"SIG36 Yes\tYes\tYes\t\tReal-time event 36\n" ~"SIG37 Yes\tYes\tYes\t\tReal-time event 37\n" ~"SIG38 Yes\tYes\tYes\t\tReal-time event 38\n" ~"SIG39 Yes\tYes\tYes\t\tReal-time event 39\n" ~"SIG40 Yes\tYes\tYes\t\tReal-time event 40\n" ~"SIG41 Yes\tYes\tYes\t\tReal-time event 41\n" ~"SIG42 Yes\tYes\tYes\t\tReal-time event 42\n" ~"SIG43 Yes\tYes\tYes\t\tReal-time event 43\n" ~"SIG44 Yes\tYes\tYes\t\tReal-time event 44\n" ~"SIG45 Yes\tYes\tYes\t\tReal-time event 45\n" ~"SIG46 Yes\tYes\tYes\t\tReal-time event 46\n" ~"SIG47 Yes\tYes\tYes\t\tReal-time event 47\n" ~"SIG48 Yes\tYes\tYes\t\tReal-time event 48\n" ~"SIG49 Yes\tYes\tYes\t\tReal-time event 49\n" ~"SIG50 Yes\tYes\tYes\t\tReal-time event 50\n" ~"SIG51 Yes\tYes\tYes\t\tReal-time event 51\n" ~"SIG52 Yes\tYes\tYes\t\tReal-time event 52\n" ~"SIG53 Yes\tYes\tYes\t\tReal-time event 53\n" ~"SIG54 Yes\tYes\tYes\t\tReal-time event 54\n" ~"SIG55 Yes\tYes\tYes\t\tReal-time event 55\n" ~"SIG56 Yes\tYes\tYes\t\tReal-time event 56\n" ~"SIG57 Yes\tYes\tYes\t\tReal-time event 57\n" ~"SIG58 Yes\tYes\tYes\t\tReal-time event 58\n" ~"SIG59 Yes\tYes\tYes\t\tReal-time event 59\n" ~"SIG60 Yes\tYes\tYes\t\tReal-time event 60\n" ~"SIG61 Yes\tYes\tYes\t\tReal-time event 61\n" ~"SIG62 Yes\tYes\tYes\t\tReal-time event 62\n" ~"SIG63 Yes\tYes\tYes\t\tReal-time event 63\n" ~"SIGCANCEL No\tNo\tYes\t\tLWP internal signal\n" ~"SIG32 Yes\tYes\tYes\t\tReal-time event 32\n" ~"SIG64 Yes\tYes\tYes\t\tReal-time event 64\n" ~"SIG65 Yes\tYes\tYes\t\tReal-time event 65\n" ~"SIG66 Yes\tYes\tYes\t\tReal-time event 66\n" ~"SIG67 Yes\tYes\tYes\t\tReal-time event 67\n" ~"SIG68 Yes\tYes\tYes\t\tReal-time event 68\n" ~"SIG69 Yes\tYes\tYes\t\tReal-time event 69\n" ~"SIG70 Yes\tYes\tYes\t\tReal-time event 70\n" ~"SIG71 Yes\tYes\tYes\t\tReal-time event 71\n" ~"SIG72 Yes\tYes\tYes\t\tReal-time event 72\n" ~"SIG73 Yes\tYes\tYes\t\tReal-time event 73\n" ~"SIG74 Yes\tYes\tYes\t\tReal-time event 74\n" ~"SIG75 Yes\tYes\tYes\t\tReal-time event 75\n" ~"SIG76 Yes\tYes\tYes\t\tReal-time event 76\n" ~"SIG77 Yes\tYes\tYes\t\tReal-time event 77\n" ~"SIG78 Yes\tYes\tYes\t\tReal-time event 78\n" ~"SIG79 Yes\tYes\tYes\t\tReal-time event 79\n" ~"SIG80 Yes\tYes\tYes\t\tReal-time event 80\n" ~"SIG81 Yes\tYes\tYes\t\tReal-time event 81\n" ~"SIG82 Yes\tYes\tYes\t\tReal-time event 82\n" ~"SIG83 Yes\tYes\tYes\t\tReal-time event 83\n" ~"SIG84 Yes\tYes\tYes\t\tReal-time event 84\n" ~"SIG85 Yes\tYes\tYes\t\tReal-time event 85\n" ~"SIG86 Yes\tYes\tYes\t\tReal-time event 86\n" ~"SIG87 Yes\tYes\tYes\t\tReal-time event 87\n" ~"SIG88 Yes\tYes\tYes\t\tReal-time event 88\n" ~"SIG89 Yes\tYes\tYes\t\tReal-time event 89\n" ~"SIG90 Yes\tYes\tYes\t\tReal-time event 90\n" ~"SIG91 Yes\tYes\tYes\t\tReal-time event 91\n" ~"SIG92 Yes\tYes\tYes\t\tReal-time event 92\n" ~"SIG93 Yes\tYes\tYes\t\tReal-time event 93\n" ~"SIG94 Yes\tYes\tYes\t\tReal-time event 94\n" ~"SIG95 Yes\tYes\tYes\t\tReal-time event 95\n" ~"SIG96 Yes\tYes\tYes\t\tReal-time event 96\n" ~"SIG97 Yes\tYes\tYes\t\tReal-time event 97\n" ~"SIG98 Yes\tYes\tYes\t\tReal-time event 98\n" ~"SIG99 Yes\tYes\tYes\t\tReal-time event 99\n" ~"SIG100 Yes\tYes\tYes\t\tReal-time event 100\n" ~"SIG101 Yes\tYes\tYes\t\tReal-time event 101\n" ~"SIG102 Yes\tYes\tYes\t\tReal-time event 102\n" ~"SIG103 Yes\tYes\tYes\t\tReal-time event 103\n" ~"SIG104 Yes\tYes\tYes\t\tReal-time event 104\n" ~"SIG105 Yes\tYes\tYes\t\tReal-time event 105\n" ~"SIG106 Yes\tYes\tYes\t\tReal-time event 106\n" ~"SIG107 Yes\tYes\tYes\t\tReal-time event 107\n" ~"SIG108 Yes\tYes\tYes\t\tReal-time event 108\n" ~"SIG109 Yes\tYes\tYes\t\tReal-time event 109\n" ~"SIG110 Yes\tYes\tYes\t\tReal-time event 110\n" ~"SIG111 Yes\tYes\tYes\t\tReal-time event 111\n" ~"SIG112 Yes\tYes\tYes\t\tReal-time event 112\n" ~"SIG113 Yes\tYes\tYes\t\tReal-time event 113\n" ~"SIG114 Yes\tYes\tYes\t\tReal-time event 114\n" ~"SIG115 Yes\tYes\tYes\t\tReal-time event 115\n" ~"SIG116 Yes\tYes\tYes\t\tReal-time event 116\n" ~"SIG117 Yes\tYes\tYes\t\tReal-time event 117\n" ~"SIG118 Yes\tYes\tYes\t\tReal-time event 118\n" ~"SIG119 Yes\tYes\tYes\t\tReal-time event 119\n" ~"SIG120 Yes\tYes\tYes\t\tReal-time event 120\n" ~"SIG121 Yes\tYes\tYes\t\tReal-time event 121\n" ~"SIG122 Yes\tYes\tYes\t\tReal-time event 122\n" ~"SIG123 Yes\tYes\tYes\t\tReal-time event 123\n" ~"SIG124 Yes\tYes\tYes\t\tReal-time event 124\n" ~"SIG125 Yes\tYes\tYes\t\tReal-time event 125\n" ~"SIG126 Yes\tYes\tYes\t\tReal-time event 126\n" ~"SIG127 Yes\tYes\tYes\t\tReal-time event 127\n" ~"SIGINFO Yes\tYes\tYes\t\tInformation request\n" ~"EXC_BAD_ACCESS Yes\tYes\tYes\t\tCould not access memory\n" ~"EXC_BAD_INSTRUCTION Yes\tYes\tYes\t\tIllegal instruction/operand\n" ~"EXC_ARITHMETIC Yes\tYes\tYes\t\tArithmetic exception\n" ~"EXC_EMULATION Yes\tYes\tYes\t\tEmulation instruction\n" ~"EXC_SOFTWARE Yes\tYes\tYes\t\tSoftware generated exception\n" ~"EXC_BREAKPOINT Yes\tYes\tYes\t\tBreakpoint\n" ~"\nUse the \"handle\" command to change these tables.\n" 3^done (gdb) 4^done (gdb) 5^done (gdb) 6^done (gdb) 7^done (gdb) 8^done (gdb) 9^done (gdb) 10^done 11cd /home/robert/NetBeansProjects/helloWorld 12-exec-arguments (gdb) &"cd /home/robert/NetBeansProjects/helloWorld\n" ~"Working directory /home/robert/NetBeansProjects/helloWorld.\n" 11^done (gdb) 12^done (gdb) 13attach 3688 &"attach 3688\n" ~"Attaching to process 3688\n" =thread-group-started,id="i1",pid="3688" =thread-created,id="1",group-id="i1" ~"Reading symbols from /usr/bin/gdb..." ~"(no debugging symbols found)...done.\n" =library-loaded,id="/lib/x86_64-linux-gnu/libreadline.so.6",target-name="/lib/x86_64-linux-gnu/libreadline.so.6",host-name="/lib/x86_64-linux-gnu/libreadline.so.6",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib/x86_64-linux-gnu/libdl.so.2",target-name="/lib/x86_64-linux-gnu/libdl.so.2",host-name="/lib/x86_64-linux-gnu/libdl.so.2",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib/x86_64-linux-gnu/libncurses.so.5",target-name="/lib/x86_64-linux-gnu/libncurses.so.5",host-name="/lib/x86_64-linux-gnu/libncurses.so.5",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib/x86_64-linux-gnu/libtinfo.so.5",target-name="/lib/x86_64-linux-gnu/libtinfo.so.5",host-name="/lib/x86_64-linux-gnu/libtinfo.so.5",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib/x86_64-linux-gnu/libz.so.1",target-name="/lib/x86_64-linux-gnu/libz.so.1",host-name="/lib/x86_64-linux-gnu/libz.so.1",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib/x86_64-linux-gnu/libm.so.6",target-name="/lib/x86_64-linux-gnu/libm.so.6",host-name="/lib/x86_64-linux-gnu/libm.so.6",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib/x86_64-linux-gnu/libpthread.so.0",target-name="/lib/x86_64-linux-gnu/libpthread.so.0",host-name="/lib/x86_64-linux-gnu/libpthread.so.0",symbols-loaded="0",thread-group="i1" =library-loaded,id="/usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0",target-name="/usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0",host-name="/usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib/x86_64-linux-gnu/libexpat.so.1",target-name="/lib/x86_64-linux-gnu/libexpat.so.1",host-name="/lib/x86_64-linux-gnu/libexpat.so.1",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib/x86_64-linux-gnu/liblzma.so.5",target-name="/lib/x86_64-linux-gnu/liblzma.so.5",host-name="/lib/x86_64-linux-gnu/liblzma.so.5",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib/x86_64-linux-gnu/libc.so.6",target-name="/lib/x86_64-linux-gnu/libc.so.6",host-name="/lib/x86_64-linux-gnu/libc.so.6",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib64/ld-linux-x86-64.so.2",target-name="/lib64/ld-linux-x86-64.so.2",host-name="/lib64/ld-linux-x86-64.so.2",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib/x86_64-linux-gnu/libutil.so.1",target-name="/lib/x86_64-linux-gnu/libutil.so.1",host-name="/lib/x86_64-linux-gnu/libutil.so.1",symbols-loaded="0",thread-group="i1" ~"Reading symbols from /lib/x86_64-linux-gnu/libreadline.so.6..." ~"(no debugging symbols found)...done.\n" ~"Loaded symbols for /lib/x86_64-linux-gnu/libreadline.so.6\n" ~"Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2..." ~"Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libdl-2.19.so..." ~"done.\n" ~"done.\n" ~"Loaded symbols for /lib/x86_64-linux-gnu/libdl.so.2\n" ~"Reading symbols from /lib/x86_64-linux-gnu/libncurses.so.5..." ~"(no debugging symbols found)...done.\n" ~"Loaded symbols for /lib/x86_64-linux-gnu/libncurses.so.5\n" ~"Reading symbols from /lib/x86_64-linux-gnu/libtinfo.so.5..." ~"(no debugging symbols found)...done.\n" ~"Loaded symbols for /lib/x86_64-linux-gnu/libtinfo.so.5\n" ~"Reading symbols from /lib/x86_64-linux-gnu/libz.so.1..." ~"(no debugging symbols found)...done.\n" ~"Loaded symbols for /lib/x86_64-linux-gnu/libz.so.1\n" ~"Reading symbols from /lib/x86_64-linux-gnu/libm.so.6..." ~"Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libm-2.19.so..." ~"done.\n" ~"done.\n" ~"Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6\n" ~"Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0..." ~"Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libpthread-2.19.so..." ~"done.\n" ~"done.\n" ~"[Thread debugging using libthread_db enabled]\n" ~"Using host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\n" ~"Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0\n" ~"Reading symbols from /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0..." ~"(no debugging symbols found)...done.\n" ~"Loaded symbols for /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0\n" ~"Reading symbols from /lib/x86_64-linux-gnu/libexpat.so.1..." ~"(no debugging symbols found)...done.\n" ~"Loaded symbols for /lib/x86_64-linux-gnu/libexpat.so.1\n" ~"Reading symbols from /lib/x86_64-linux-gnu/liblzma.so.5..." ~"(no debugging symbols found)...done.\n" ~"Loaded symbols for /lib/x86_64-linux-gnu/liblzma.so.5\n" ~"Reading symbols from /lib/x86_64-linux-gnu/libc.so.6..." ~"Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libc-2.19.so..." ~"done.\n" ~"done.\n" ~"Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6\n" ~"Reading symbols from /lib64/ld-linux-x86-64.so.2..." ~"Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.19.so..." ~"done.\n" ~"done.\n" ~"Loaded symbols for /lib64/ld-linux-x86-64.so.2\n" ~"Reading symbols from /lib/x86_64-linux-gnu/libutil.so.1..." ~"Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/libutil-2.19.so..." ~"done.\n" ~"done.\n" ~"Loaded symbols for /lib/x86_64-linux-gnu/libutil.so.1\n" ~"0x00007f654c3bcfa0 in __poll_nocancel () at ../sysdeps/unix/syscall-template.S:81\n" &"81\t../sysdeps/unix/syscall-template.S: Nie ma takiego pliku ani katalogu.\n" *stopped,frame={addr="0x00007f654c3bcfa0",func="__poll_nocancel",args=[],file="../sysdeps/unix/syscall-template.S",fullname="/build/buildd/eglibc-2.19/io/../sysdeps/unix/syscall-template.S",line="81"},thread-id="1",stopped-threads="all",core="0" 14-break-insert -f "/home/robert/NetBeansProjects/CppApplication_1/main.cpp:16" 15-break-insert -f "/home/robert/NetBeansProjects/helloWorld/src/helloWorld/cpp/main.cpp:5" 16-exec-continue 13^done (gdb) &"No source file named /home/robert/NetBeansProjects/CppApplication_1/main.cpp.\n" 14^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="",pending="/home/robert/NetBeansProjects/CppApplication_1/main.cpp:16",times="0",original-location="/home/robert/NetBeansProjects/CppApplication_1/main.cpp:16"} (gdb) &"No source file named /home/robert/NetBeansProjects/helloWorld/src/helloWorld/cpp/main.cpp.\n" 15^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="",pending="/home/robert/NetBeansProjects/helloWorld/src/helloWorld/cpp/main.cpp:5",times="0",original-location="/home/robert/NetBeansProjects/helloWorld/src/helloWorld/cpp/main.cpp:5"} (gdb) 16^running *running,thread-id="all" (gdb) 17-break-delete 1 *stopped,reason="signal-received",signal-name="SIGINT",signal-meaning="Interrupt",frame={addr="0x00007f654c3bcfa0",func="__poll_nocancel",args=[],file="../sysdeps/unix/syscall-template.S",fullname="/build/buildd/eglibc-2.19/io/../sysdeps/unix/syscall-template.S",line="81"},thread-id="1",stopped-threads="all",core="1" (gdb) 17^done No answer for: 16-exec-continue 18-exec-continue (gdb) 18^running *running,thread-id="all" (gdb)