]> Shamusworld >> Repos - rmac/commit
Add NewDebugSymbol(): stabs symbol factory
authorJames Jones <atari@theinnocuous.com>
Mon, 18 Jul 2022 06:20:21 +0000 (23:20 -0700)
committerShamus Hammons <jlhamm@acm.org>
Tue, 16 Aug 2022 02:08:06 +0000 (21:08 -0500)
commite8f9d55bc7aaf40ad5f55de6b3b3cb007d61c865
treeec9f7d171e4f4a228635f2c465e6d5e0d5e0648b
parent3bdb75018beeefb1b9ce2f431011f0db55721eb5
Add NewDebugSymbol(): stabs symbol factory

This function, currently unused, generates a stabs
debugging symbol, as documented here:

https://sourceware.org/gdb/onlinedocs/stabs.html

It can be used to process stabs directives, also
documented at the above URL, generated by HLL
compilers such as GCC, as well as to generate line
number and file name debug symbols when assembling
hand-coded assembly files with the -g option.

v2:
-Don't double-init stabs symbol fields
-Consistently use tabs, not spaces
object.c
rmac.h
symbol.c
symbol.h