Manual Reference Pages - GST2ASCII (1)
gst2ascii - Output Atari program DRI/GST format symbol table
gst2ascii reads DRI/GST symbol table from given Atari program and
outputs it in the ASCII format understood by Hatari debugger and its
profiler data post-processor (which doesnt accept any other format).
There are some options to filter the symbol table content and the
resulting ASCII output is easy to edit also by hand, if other symbols
(for e.g. loop labels) need to be removed or missing function symbols
need to be added.
Sort symbol output by symbol name, not by their addresses.
Filter BSS symbols out from the output.
Filter DATA symbols out from the output.
Filter TEXT symbols out from the output.
Filter local (.L*) symbols out. Usually theyre useless because
they dont have names, just numbers.
Filter symbols for object files (*.o) out.
If you have problems, try with nm -n <program> instead
(Atari or cross-compiler version). If nm works,
but gst2ascii doesnt, please report a bug on it.
Save program.prg symbol table in ASCII format with
local symbols filtered out:
gst2ascii -l program.prg > program.sym
Load generated ASCII symbols file in Hatari debugger:
symbols program.sym TEXT DATA BSS
Written by Eero Tamminen <oak at helsinkinet fi>.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
|Hatari ||GST2ASCII (1) ||2014-05-08 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.