Question about process states, ps and GDB

2012-12-02 Thread Dan Shimshoni
hello, I have a question about process states: I have this simplified code which I run under gdb. #include stdio.h int main() { int i; for(i=0; i 10; i++) printf(Hello, world!\n); pause(); return 0; } I build on x86_64 (fedora 17) with gcc -g hello.c -o hello. And then: gdb --quiet

Re: Question about process states, ps and GDB

2012-12-02 Thread Baruch Siach
Hi Dan, On Sun, Dec 02, 2012 at 02:57:30PM +0200, Dan Shimshoni wrote: [...] Starting program: /work/dev/t/sec/hello Breakpoint 1, main () at hello.c:7 7 for(i=0; i 10; i++) Missing separate debuginfos, use: debuginfo-install glibc-2.15-58.fc17.x86_64 (gdb) Now with ps aux | grep