-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
Turns out that the documentation we relied on was bogus; SCPCD confirmed
this (from the Jaguar netlists) as well. Thanks to Bastian (42bs) for
the patch! :-)
We bumped the # of tokens in the TOKENSTREAM structure from 32 to 64,
but also added some logic to the macro invocation code to check if we
break the limits and thus don't crash. Will 64 be enough? My crystal
ball is cloudy ATM... :-P
As far as I can tell, there should be no more regressions, but that's
no guarantee of anything. Assuming no more are found, this should go
out as version 2.0.0. :-D
Basically give a more meaningful error message in incbin if the filename
is missing, and use the macros already defined in opkw.h instead of
cooking up our own and (possibly) getting out of sync later on down the
road.