DDD - in Fedora Core core
(gdb) run
Starting program: /home/ukoul/CPP/PR_Char_LineCount warning: Child process unexpectedly missing: No child processes Program terminated with signal ?, Unknown signal. The program no longer exists. You can't do that without a process to debug. (gdb) above is the error I get when try to run a program i am trying to debug..... Any idea..?? |
I think this was a problem with gdb 5.1 (something to do with threads)
gdb 6 has it solved i believe. |
how do i find my gdb version....and how to i upgrade it.....?
Thx in advance... |
Quote:
Quote:
|
[ukoul@fedoracore2uk CPP]$ gdb - version
GNU gdb Red Hat Linux (6.0post-0.20040223.19rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...-: No such file or directory. /home/ukoul/CPP/version: No such file or directory. Above it the output for the version...looks like I am up to date....what else could be the prob with gdb..? |
I have exactly the same problem and no solution yet.
Even a simple hello world program doesn't work. (it compiles and runs without a problem, but debugging with gdb... same messages) Then I did exactly the same on my other machine (both are fedora core 2 i386) and it worked without any problems. The differences are, that I have a newer kernel (2.6.9-1.11) here, and it's an amd64, but also fedora core 2 i386 installed (there are no 64 bit ATI drivers). |
just found this:
http://www.fedoraforum.org/forum/sho...&highlight=gdb seems that the 2.6.9-1.11_FC2 kernel has some problems with gcc. so i started in the old kernel, and no more problems! |
how can i start the old kernel
|
I was able to load old kernel by going to menu --> System Settings-> Bootloader.
and select one previous Kernel version. I would think this to be fixed..anyways..Posting here for others to who r looking for help |
All times are GMT -5. The time now is 08:41 AM. |