[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gdb



Andrew Dixon <andrew.dixon@seranoa.com> writes:

> I'd like to get gdb set up on my machine but it's giving me some
> problems.  I'm running testing on G4 briq from Total Impact.  When I
> try to run a program in a gdb session it fails saying it doesn't
> know how to run.  Here's an example session:
>
> andrew.dixon@wolf:~/hello$ ./hello 
> Hello World!!!!!!!!!!!

[...]

> (gdb) run
> Starting program: /var/home2/andrew.dixon/hello/hello 
> Don't know how to run.  Try "help target".
> (gdb) 

First of all, I would upgrade to the GDB in sid.  Secondly, are you
using libtool or something like that to build the "hello"
executable?  What does "file hello" say?



Reply to: