- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: gdb error: not in executable format: File form...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 08:09 PM
тАО05-08-2005 08:09 PM
When I try to use gdb with binaries compile as:
ELF-64 executable object file - PA-RISC 2.0 (LP64)
I get the following error:
This GDB was configured as "hppa2.0w-hp-hpux11.11"..."/tmp/jose/2prugdb": not in executable format: File format not recognized
With 32bits binaries is working fine.
Any idea how to correct the problem?
Best regards
jose
Solved! Go to Solution.
- Tags:
- gdb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 08:23 PM
тАО05-08-2005 08:23 PM
Re: gdb error: not in executable format: File format not recognized
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 08:31 PM
тАО05-08-2005 08:31 PM
Re: gdb error: not in executable format: File format not recognized
I don't think so, actually I thought that the problem could be there but I couldn't find the option to build the gdb explicity with 64 bit support.
The hppa2.0w-hp-hpux11.11 seems to indicate that it's 64 bits but I'm not sure of that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 08:37 PM
тАО05-08-2005 08:37 PM
Re: gdb error: not in executable format: File format not recognized
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 08:59 PM
тАО05-08-2005 08:59 PM
Re: gdb error: not in executable format: File format not recognized
You can get it from here.
http://www.hp.com/go/gdb
It installs into /opt/langtools/bin.
$ file a.out
a.out: ELF-64 executable object file - PA-RISC 2.0 (LP64)
$ gdb ./a.out
Detected 64-bit executable.
Invoking /opt/langtools/bin/gdb64.
HP gdb 5.0 for PA-RISC 2.0 (wide), HP-UX 11.00
and target hppa2.0w-hp-hpux11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.0 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..(no debugging symbols found)...
(gdb) quit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 09:09 PM
тАО05-08-2005 09:09 PM
Re: gdb error: not in executable format: File format not recognized
./gdb -v
GNU gdb 5.3
Copyright 2002 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 "hppa2.0w-hp-hpux11.11".
I think the w in hppa2.0w-hp-hpux11.11 means 64bits, so now I'm completely lost.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 10:37 PM
тАО05-08-2005 10:37 PM
SolutionYou may be able to compile gdb with 64-bit binary support with
$ ./configure --target=hppa64-hp-hpux11.11 --host=hppa64-hp-hpux11.11
Or simply install it from HP's web site.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 11:24 PM
тАО05-08-2005 11:24 PM
Re: gdb error: not in executable format: File format not recognized
GREAT!!
That's the string I was looking for :)
Where in the HP site? I couldn't find it that's why I'm trying to build directly from the source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 11:30 PM
тАО05-08-2005 11:30 PM
Re: gdb error: not in executable format: File format not recognized
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2005 11:43 PM
тАО05-08-2005 11:43 PM
Re: gdb error: not in executable format: File format not recognized
Thanks for all the help with this.