On Wed, Mar 14, 2012 at 08:57:00AM +0200, Marko Kohtala wrote:
> Yes, I've seen it mentioned elsewhere. I've understood it is somewhat
> of a burden to Microchip because not many people are competent in
> maintaining anything written in pascal.
I don't see a lot of competency required... pascal is more or less like
C and (at least in Borland) the object system was quite simple... it's
more like "you usually don't program in pascal because people already
know C" :P
> When using ICD, MPLAB adds some code for the debugger. Some of these
> sound like they could be used in that code to access some debugging
> features of PICs that are not public to us mortals.
The 'debugger executive' also has to be assembled in some way, I doubt
that MC hand coded it in hex!
> variables ("activation records"). I have not tried this -g option, but
> it most likely uses this information for a report.
It's some kind of raw report more or less resembling the call tree.
Probably its used behind the scene for that. Funny thing is the option
is documented but the file format or usage is not.
Anyway I opened a ticket asking for explanation, maybe these would be
useful to implement.