[fpc-pascal] Nonfunctional debugger on OS X
jonas at zeus.ugent.be
Sun Jan 30 13:56:31 CET 2005
On 30 jan 2005, at 11:55, Lance Boyle wrote:
>> As far as variables are concerned, you can typically only see local
>> vars. Never been able to see
>> string in meaningful way.
> Not being able to see global variables seems like a significant bug.
It's a bug in gdb. I've tried everything I could think of to get gdb to
see Pascal-style global variables (i.e., global variables which have a
different name in the binary than what you use in the debugger), but
it's simply impossible with the standard GDB on Mac OS X. You can only
view them while stepping through code in the same unit as where the
global variable is declared.
It's possible this can be solved with dwarf-style debugging information
(as opposed to stabs, which is what we use now), but I haven't looked
into that yet. Also, dwarf is only supported since XCode 1.5 (so it
would preclude support for 10.1 and 10.2, unless people start building
their own cctools)
>> You may also wish to re-install the fpc XCode files
> After installing 1.9.6, I attempted to re-install the XCode
> Integration Kit 1.1. The installer crashes. I've sent Dr. Jansen a
> crash log, but I don't think it is necessary to re-install Integration
> Kit anyway.
No, it shouldn't be.
More information about the fpc-pascal