Re: GDB: without symbol name?
Re: GDB: without symbol name?
- Subject: Re: GDB: without symbol name?
- From: Andrew Farmer <email@hidden>
- Date: Sun, 5 Mar 2006 14:32:15 -0800
On 05 Mar 06, at 12:05, Greg Herlihy wrote:
The question marks indicate gdb's confusion about the method you
have chosen
to solve the problem of creating a custom dictionary document.
After all,
the dictionaries that Dictionary.app uses are XML files. So gdb cannot
figure you why you are not using an XML editor to create your own
dictionary
documents. And the question marks are simply gdb's way of
communicating all
that information.
What?
The question marks indicate that the code that is being debugged
doesn't have
debug symbols. GDB is definitely not an XML editor, and the original
poster
knows this full well. There's absolutely no way you could even use it
as one!
The correct answer to the poster's question is that there are two
kinds of
symbols involved - Objective-C symbols, and debugging symbols. GDB
only looks
for the latter, which are only present in debugging builds; the
former are
required in all Objective-C programs, as they're used by the runtime.
As far as dictionary files go, they're XML. The format is defined at
the URL
given at the head of the file. It's not exactly the same, but, if you
look at
the dictionary files provided in the OS, you can probably figure out the
format well enough.
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden