| View previous topic :: View next topic |
| Author |
Message |
rubing Tux's lil' helper

Joined: 10 Aug 2008 Posts: 77 Location: Bham, AL
|
Posted: Sat Jan 03, 2009 2:19 pm Post subject: gftp not executable using gdb |
|
|
i am trying to debug gftp, which crashes constantly. When I try running gdb it tells me that gftp is not an executable file:
$ gdb /usr/bin/gftp
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
"/usr/bin/gftp": not in executable format: File format not recognized |
|
| Back to top |
|
 |
widremann Veteran

Joined: 14 Mar 2005 Posts: 1312
|
Posted: Sat Jan 03, 2009 3:11 pm Post subject: |
|
|
| Maybe it's a shell-script or written in Python? Open the file in vi and see if it's garbage (i.e., and ELF executable) or something in text. |
|
| Back to top |
|
 |
outermeasure Apprentice

Joined: 26 Nov 2008 Posts: 194 Location: ping6 ff02::1
|
Posted: Sat Jan 03, 2009 3:31 pm Post subject: |
|
|
| widremann wrote: | | Maybe it's a shell-script or written in Python? Open the file in vi and see if it's garbage (i.e., and ELF executable) or something in text. |
vi? Surely the answer is to less the file. It should be a shell script to call either gftp-gtk or gftp-text. |
|
| Back to top |
|
 |
|