LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-06-2005, 06:38 PM   #1
jonty_11
Member
 
Registered: Sep 2004
Posts: 127

Rep: Reputation: 15
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..??
 
Old 01-06-2005, 10:24 PM   #2
zeropash
Member
 
Registered: Apr 2003
Location: Bangalore,India
Distribution: FC2, RHES, RH9, FC3, FC1, Slackware 3.0
Posts: 208

Rep: Reputation: 30
I think this was a problem with gdb 5.1 (something to do with threads)
gdb 6 has it solved i believe.
 
Old 01-06-2005, 11:01 PM   #3
jonty_11
Member
 
Registered: Sep 2004
Posts: 127

Original Poster
Rep: Reputation: 15
how do i find my gdb version....and how to i upgrade it.....?

Thx in advance...
 
Old 01-07-2005, 05:36 AM   #4
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 111Reputation: 111
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/
 
Old 01-07-2005, 12:32 PM   #5
jonty_11
Member
 
Registered: Sep 2004
Posts: 127

Original Poster
Rep: Reputation: 15
[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..?
 
Old 01-07-2005, 03:14 PM   #6
v_r
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
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).
 
Old 01-07-2005, 09:40 PM   #7
v_r
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
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!
 
Old 01-10-2005, 03:25 PM   #8
jonty_11
Member
 
Registered: Sep 2004
Posts: 127

Original Poster
Rep: Reputation: 15
how can i start the old kernel
 
Old 01-10-2005, 04:25 PM   #9
jonty_11
Member
 
Registered: Sep 2004
Posts: 127

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 4 x86_64 on a Shuttle XPC SN25P with an AMD 64 X2 (Dual core) gwiesenekker Linux - Hardware 4 12-06-2005 11:53 PM
If i install Fedora Core 2, can i just update to Core 3 from internet? FocusedWolf Fedora 12 02-07-2005 01:03 PM
Fedora Core 1...can I update to core 2 w/out downloading all discs again? arctic123 Red Hat 3 09-05-2004 04:47 AM
Severe problems with Fedora Core 1 and Fedora Core 2 installatiom TheOneKEA Fedora - Installation 2 07-14-2004 02:12 PM
Fedora Core 2 - Just days away! Final comments on Fedora Core 1 lrt2003 Fedora 3 05-12-2004 02:09 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration