[rtems-tools commit] rtemstoolkit/dwarf: Fix function loading with an DW_AT_specification attr.
Chris Johns
chrisj at rtems.org
Sun Jun 24 05:40:14 UTC 2018
Module: rtems-tools
Branch: master
Commit: ddcf29f18d37928935244de7d0185f352cba1c38
Changeset: http://git.rtems.org/rtems-tools/commit/?id=ddcf29f18d37928935244de7d0185f352cba1c38
Author: Chris Johns <chrisj at rtems.org>
Date: Sun Jun 24 15:37:40 2018 +1000
rtemstoolkit/dwarf: Fix function loading with an DW_AT_specification attr.
---
rtemstoolkit/rld-dwarf.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rtemstoolkit/rld-dwarf.cpp b/rtemstoolkit/rld-dwarf.cpp
index f06bbad..9b92ec0 100644
--- a/rtemstoolkit/rld-dwarf.cpp
+++ b/rtemstoolkit/rld-dwarf.cpp
@@ -670,7 +670,7 @@ namespace rld
dwarf_offset spec_die_offset;
dwarf_error de;
int dr;
- dr = ::dwarf_global_formref (abst_at, &spec_die_offset, &de);
+ dr = ::dwarf_global_formref (spec, &spec_die_offset, &de);
if (dr == DW_DLV_OK)
{
debug_info_entry spec_die (debug, spec_die_offset);
More information about the vc
mailing list