Bug 10727 - x86_64 gdb can't load i386 executables on darwin10
Summary: x86_64 gdb can't load i386 executables on darwin10
Status: RESOLVED DUPLICATE of bug 13157
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: unknown
: P2 normal
Target Milestone: 6.8
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-02 23:33 UTC by howarth.mailing.lists@gmail.com
Modified: 2016-05-02 20:07 UTC (History)
2 users (show)

See Also:
Host: x86_64-apple-darwin10
Target: x86_64-apple-darwin10
Build: x86_64-apple-darwin10
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description howarth.mailing.lists@gmail.com 2009-10-02 23:33:59 UTC
The current gdb 7.0 branch and gdb cvs builds a usable gdb on the x86_64-apple-darwin10 target which 
works normally when run as root with one exception. The resulting gdb is unable to load i386 executables 
(unlike the linux version). Loading a 32-bit executable in the x86_64 gdb on darwin10 produces the error 
message...

This GDB was configured as "x86_64-apple-darwin10".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
"/Users/howarth/junk2/a.out": not in executable format: File format not recognized
Comment 1 Marc-Andre Laperle 2016-01-23 08:20:41 UTC
I can't reproduce this on Darwin 15.3.0 (El Capitan) with gdb 7.9.1
Comment 2 Marc-Andre Laperle 2016-01-24 19:37:30 UTC
Is it possible that the executable had both i386 and x86_64? I can reproduce that. This would be the same as bug 13157.
Comment 3 Marc-Andre Laperle 2016-05-02 20:07:11 UTC
I'll mark this as a duplicate for now as it is likely the same issue and I can reproduce it.

*** This bug has been marked as a duplicate of bug 13157 ***