[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Mintlib based Software running under plain TOS



m0n0 wrote:
when linking with traditional debug symbols, it is possible to navigate
through the prg with devpac MON,... but not so with NetSurf :) - to many
debug symbols ( I believe )

Yes, I already saw that with C++ programs. Too many symbols.

I remember that I have configured ld to generate traditional debug symbols for both public (=global) and private symbols. I may remind that ld should generate only the public symbols by default, and add the private ones only with some option. The same logic should apply to --traditional-format. There is room for improvements.

but I until now I haven't found out how to show something
like an call stack. :/

The "call stack" is an advanced concept, I'm not sure that is supported by ancient debuggers. Anyway, that requires the usage of a6 as frame pointer, so for such debugging -fomit-frame-pointer must not be used.

and the joke is: ADEBUG says something like:
"linef emulation"

Usually, this means you have jumped into a data area containing FF FF... That could also occur on a stack overflow. I also had that kind of unexplainable crashes when working on the USERDEFs and their small stack.

--
Vincent Rivière