Re: DDD debugger problem
From: jacob navia (jacob_at_jacob.remcomp.fr)
Date: 02/03/05
- Next message: Michael Mair: "Re: DDD debugger problem"
- Previous message: teachtiro_at_yahoo.com: "printing % with printf(), use of \ (escape) character"
- In reply to: Ioannis Hadjichambis: "DDD debugger problem"
- Next in thread: Michael Mair: "Re: DDD debugger problem"
- Reply: Michael Mair: "Re: DDD debugger problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 03 Feb 2005 21:32:51 +0100
Ioannis Hadjichambis wrote:
> I am trying to debug my program using the DDD debugger. I have also
> downloaded a manual for the debugger but I cannot RUN my
> program in the debugger. I use the -g flag when compiling. I then write
> to the command line
> > ddd table2
> Then the debugger pops up and i press Programs->Run where it asks for
> arguments and because my program doesn't need any, I don't provide it
> with any and so I check the blank line.
>
> I always get the following:
>
> Program terminated with signal ?, Unknown signal.
> The program no longer exists.
> You can't do that without a process to debug.
> (gdb) set args
> (gdb) run
> 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)
>
> I don't understand why.
>
> Do you have any suggestions?
Your program is dying somehow.
Do not use any gdb extensions and use gdb itself.
gdb table2
run
If this works, it means that your installation of ddd is
screwed and you should re-install it.
If it doesn't, it means that your program is linking with some
wrong shared library and your program crashes before it
reaches the main() function.
Inspect your program to see which shared objects it uses
and then try figuring out which one is faulty.
jacob
- Next message: Michael Mair: "Re: DDD debugger problem"
- Previous message: teachtiro_at_yahoo.com: "printing % with printf(), use of \ (escape) character"
- In reply to: Ioannis Hadjichambis: "DDD debugger problem"
- Next in thread: Michael Mair: "Re: DDD debugger problem"
- Reply: Michael Mair: "Re: DDD debugger problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|