[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gdb problems on lin3
From: |
Richard Frith-Macdonald |
Subject: |
Re: gdb problems on lin3 |
Date: |
Wed, 23 May 2001 16:07:20 +0100 |
On Wednesday, May 23, 2001, at 03:53 PM, Mark Allison wrote:
Hi Richard,
I am having some problems debugging on lin3:
bash$ gdb Sema
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 "i686-pc-linux-gnu"...
"/usr/GNUstep/Local/Tools/Sema": not in executable format: File format
not recognized
Running /usr/GNUstep/Local/Tools/Sema manually works fine.
Any ideas?
The contents of /usr/GNUstep/Local/Tools/ are shell scripts which set up
environment
variables and launch the actual binaries.
To debug the binary you should use
/usr/GNUstep/Local/Tools/is86/linux-gnu/gnu-gnu-gnu/Sema
or (on a system with an older version of GNUstep),
/usr/GNUstep/Local/Tools/is86/linux-gnu/gnu-gnu-gnu-xgps/Sema
I tend to do a ps -axw to get the actual paths of running programs and
paste those onto
the command line when starting gdb.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: gdb problems on lin3,
Richard Frith-Macdonald <=