Opened 7 years ago

Last modified 3 years ago

#41672 assigned defect

gdb 7 can't read mach-o-le files. gdb apple can.

Reported by: macports-prf@… Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager)
Port: gdb

Description (last modified by mf2k (Frank Schima))

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.

Attachments (1)

myfile (612.7 KB) - added by macports-prf@… 7 years ago.

Download all attachments as: .zip

Change History (9)

Changed 7 years ago by macports-prf@…

Attachment: myfile added

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to dweber@…
Port: gdb added

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

comment:2 Changed 7 years ago by macports-prf@…

Will do, sorry.

comment:3 Changed 7 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:4 Changed 6 years ago by mf2k (Frank Schima)

Owner: changed from dweber@… to macports-tickets@…

dweber has retired. See #43834.

comment:5 Changed 6 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to stuartwesterman@…

comment:6 Changed 4 years ago by mf2k (Frank Schima)

Owner: stuartwesterman deleted
Status: newassigned

comment:7 Changed 3 years ago by raimue (Rainer Müller)

Can this still be reproduced?

comment:8 Changed 3 years ago by jief666

Absolutely. I have GDB 7.10.1 installed in /usr/local/bin and it still can't read symbols.

Note: See TracTickets for help on using tickets.