LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   DDD - in Fedora Core core (https://www.linuxquestions.org/questions/programming-9/ddd-in-fedora-core-core-274771/)

jonty_11 01-06-2005 06:38 PM

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..??

zeropash 01-06-2005 10:24 PM

I think this was a problem with gdb 5.1 (something to do with threads)
gdb 6 has it solved i believe.

jonty_11 01-06-2005 11:01 PM

how do i find my gdb version....and how to i upgrade it.....?

Thx in advance...

Hko 01-07-2005 05:36 AM

Quote:

Originally posted by jonty_11
how do i find my gdb version....
Run "gdb --version" from a shell.

Quote:

and how to i upgrade it.....?
See if you can get the RPM-package from http://fedora.redhat.com/download/

jonty_11 01-07-2005 12:32 PM

[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..?

v_r 01-07-2005 03:14 PM

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).

v_r 01-07-2005 09:40 PM

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!

jonty_11 01-10-2005 03:25 PM

how can i start the old kernel

jonty_11 01-10-2005 04:25 PM

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.