]> Shamusworld >> Repos - rmac/commitdiff
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)
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


No differences found