summaryrefslogtreecommitdiff
path: root/output/outdbg.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-02-11 20:40:07 -0800
committerH. Peter Anvin <hpa@zytor.com>2016-02-11 20:40:07 -0800
commit33814133bdc8db9fcbdc1be097f7b4a226d8e143 (patch)
treeb8aead6d25a7c37ec7025f9469a56884d4bdc71b /output/outdbg.c
parentecc9e0ecd732c66918a880b8f225cc26b7cd83ba (diff)
downloadnasm-33814133bdc8db9fcbdc1be097f7b4a226d8e143.tar.gz
Replace global maxbits variable with field in struct ofmt
maxbits is strictly a property of the output format, so get rid of this ad hoc method of reporting. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'output/outdbg.c')
-rw-r--r--output/outdbg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/output/outdbg.c b/output/outdbg.c
index 155dbd17..034a6152 100644
--- a/output/outdbg.c
+++ b/output/outdbg.c
@@ -264,6 +264,7 @@ struct ofmt of_dbg = {
"Trace of all info passed to output stage",
"dbg",
OFMT_TEXT,
+ 64,
debug_debug_arr,
&debug_debug_form,
NULL,