]> Shamusworld >> Repos - rmac/commit
Support -g debug info generation
authorJames Jones <atari@theinnocuous.com>
Mon, 18 Jul 2022 07:35:28 +0000 (00:35 -0700)
committerShamus Hammons <jlhamm@acm.org>
Tue, 16 Aug 2022 02:08:10 +0000 (21:08 -0500)
commit526716329c31d18f0ecc0e23698fa6381628409c
tree1f436ac43ff4ddb76d67ef80ab1482cbfd70d073
parente8f9d55bc7aaf40ad5f55de6b3b3cb007d61c865
Support -g debug info generation

-Add GenLineNoSym(), which will generate debug
 symbols for file names and line numbers when
 debug info generation is requested.

-Replace code that warns -g is not supported with
 code to set a flag.

-Complain if -g is specified for non-BSD output
 formats, as only stabs-in-symbol-table/a.out
 format debug information is supported currently.

-Document -g flag in usage information function.

-Document -g flag in manual.

v2:
-Only call debug symbol generation functions when
 dbg_sym != 0
6502.c
docs/rmac.rst
op.c
procln.c
riscasm.c
rmac.c
rmac.h
symbol.c
symbol.h