On Mon, Nov 19, 2001 at 06:28:05PM -0500, Andrew Dixon wrote: > Hi Everyone- > > 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: > > [EMAIL PROTECTED]:~/hello$ ./hello > Hello World!!!!!!!!!!! > [EMAIL PROTECTED]:~/hello$ gdb hello > GNU gdb 4.17 > Copyright 1998 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 "--host=ppc-unknown-linux-gnu > --target=powerpc-elf"... > (gdb) run > Starting program: /var/home2/andrew.dixon/hello/hello > Don't know how to run. Try "help target". > (gdb)
That's not Debian's GDB, I'm pretty sure. We would never have built it with --host=ppc-unknown-linux-gnu (it's powerpc-*) or with --target=powerpc-elf (the reason Run doesn't work). As suggested, use the one in unstable. Or even testing. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer