Symbols created by MWC are outwardly different from those produced
by Sozobon C in that that names can be longer — up to
sixteen characters — and an underscore character is appended instead of
beeing prepended.
When will detect an MWC produced object it will apply its
conventions.
That means that if you type main it will first try
to find a symbol main.
If this fails it will search for main_
next (not for _main
).
If a symbol name has a leading underscore, or more
than one trailing, you have to type them yourself.
The debugger is trying to guess by itself which compiler produced the current executable. If it guesses wrong you may always override its choice by dropping a hint on the command line. It consists of an -os flag for the Sozobon format and -om for MWC. Remember that if you work in an assembler the guessing code can always be fooled. The flags always provide a way to set things straight.
When writing this guessing code I had no official description of the format used by MWC. All necessary information was inferred from an examination of MWC produced binaries. The code worked so far on everything I tried, but it may happen to be wrong for your version. Since comes complete with source you can modify it accordingly and recompile (look for all places where a global variable swidth is modified).