[MacPorts] #41672: gdb 7 can't read mach-o-le files. gdb apple can.

MacPorts noreply at macports.org
Tue Dec 3 14:21:43 PST 2013


#41672: gdb 7 can't read mach-o-le files. gdb apple can.
-----------------------------+----------------------
  Reporter:  macports-prf@…  |      Owner:  dweber@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  gdb             |
-----------------------------+----------------------
Changes (by macsforever2000@…):

 * owner:  macports-tickets@… => dweber@…
 * port:   => gdb


Old description:

> Hi,
>
> gdb 7 seems to worl better with eclipse cdt, so I got it. Unfortunately,
> it seems to not load my symbol file (mach-o-le). gdb apple can.
>
> (gdb) file myfile
> Reading symbols from /Volumes/JiefHD/Users/jief_ml/AHome/Devel/Chameleon
> /Chameleon-Jief/sym/i386/myfile...(no debugging symbols found)...done.
> (gdb)
>

> command : "file myfile" give the result : "myfile: Mach-O preload
> executable i386"
>
> gdb apple 6.3.50 says it's "file type mach-o-le".
>
> Thanks.

New description:

 Hi,

 gdb 7 seems to worl better with eclipse cdt, so I got it. Unfortunately,
 it seems to not load my symbol file (mach-o-le). gdb apple can.

 {{{
 (gdb) file myfile
 Reading symbols from /Volumes/JiefHD/Users/jief_ml/AHome/Devel/Chameleon
 /Chameleon-Jief/sym/i386/myfile...(no debugging symbols found)...done.
 (gdb)
 }}}

 command : "file myfile" give the result : "myfile: Mach-O preload
 executable i386"

 gdb apple 6.3.50 says it's "file type mach-o-le".

 Thanks.

--

Comment:

 In the future, please use WikiFormatting, fill in the Port field and Cc
 the port maintainers (port info --maintainers gdb).

-- 
Ticket URL: <https://trac.macports.org/ticket/41672#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list