summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOzkan Sezer <sezero@users.noreply.github.com>2020-05-04 09:35:04 +0300
committerGitHub <noreply@github.com>2020-05-03 23:35:04 -0700
commit976d2e093485b2d1d9d48a4905f8d4b842853b08 (patch)
tree821d2d2b03fd0d667ca8bb5f055b25abac4c70a9
parentea8f2393611025c5d32ddfe022dddff5a1a5c989 (diff)
downloadyasm-976d2e093485b2d1d9d48a4905f8d4b842853b08.tar.gz
Fix info.stab / info.stabstr typo in stabs-dbgfmt.c (#96)
-rw-r--r--modules/dbgfmts/stabs/stabs-dbgfmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dbgfmts/stabs/stabs-dbgfmt.c b/modules/dbgfmts/stabs/stabs-dbgfmt.c
index 5c0cba6a..64896cab 100644
--- a/modules/dbgfmts/stabs/stabs-dbgfmt.c
+++ b/modules/dbgfmts/stabs/stabs-dbgfmt.c
@@ -355,7 +355,7 @@ stabs_dbgfmt_generate(yasm_object *object, yasm_linemap *linemap,
yasm_error_set(YASM_ERROR_GENERAL,
N_("stabs debugging conflicts with user-defined section .stabstr"));
yasm_errwarn_propagate(errwarns,
- yasm_section_bcs_first(info.stab)->line);
+ yasm_section_bcs_first(info.stabstr)->line);
} else {
yasm_warn_set(YASM_WARN_GENERAL,
N_("stabs debugging overrides empty section .stabstr"));