Skip to content

Commit 47ef492

Browse files
committed
Correcting the labeling of the base offset.
-"DW_AT_loclists_base : 0x%" +"loclists base offset : 0x%" -"CU DW_AT_rnglists_base : 0x%" +"rnglists base offset : 0x%" modified: src/bin/dwarfdump/print_die.c
1 parent 72d856e commit 47ef492

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/bin/dwarfdump/print_die.c

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6762,7 +6762,7 @@ print_loclists_context_head(Dwarf_Debug dbg,
67626762
if (loclists_base_present) {
67636763
append_local_prefix(esbp);
67646764
esb_append_printf_u(esbp,
6765-
"DW_AT_loclists_base : 0x%"
6765+
"loclists base offset : 0x%"
67666766
DW_PR_XZEROS DW_PR_DUx,
67676767
loclists_base);
67686768
}
@@ -7974,21 +7974,22 @@ handle_rnglists( Dwarf_Attribute attrib,
79747974
if (rnglists_base_present) {
79757975
append_local_prefix(esbp);
79767976
esb_append_printf_u(esbp,
7977-
"CU DW_AT_rnglists_base : 0x%"
7977+
"rnglists base offset : 0x%"
7978+
79787979
DW_PR_XZEROS DW_PR_DUx,
7979-
rnglists_base);
7980+
rnglists_base);
79807981
}
79817982
if (rnglists_base_address_present) {
79827983
append_local_prefix(esbp);
79837984
esb_append_printf_u(esbp,
7984-
"CU DW_AT_low_pc (baseaddr): 0x%"
7985+
"CU DW_AT_low_pc (baseaddr): 0x%"
79857986
DW_PR_XZEROS DW_PR_DUx,
79867987
rnglists_base_address);
79877988
}
79887989
if (debug_addr_base_present) {
79897990
append_local_prefix(esbp);
79907991
esb_append_printf_u(esbp,
7991-
"CU DW_AT_addr_base : 0x%"
7992+
"CU DW_AT_addr_base : 0x%"
79927993
DW_PR_XZEROS DW_PR_DUx,
79937994
debug_addr_base);
79947995
}

0 commit comments

Comments
 (0)