Skip to content

Commit

Permalink
Fix trailing white space and indents per
Browse files Browse the repository at this point in the history
CODINGSTYLE.md.
	modified:   src/bin/dwarfdump/dwarfdump.c
	modified:   src/bin/dwarfdump/print_rnglists.c
  • Loading branch information
davea42 committed Nov 30, 2024
1 parent f1a608d commit 46f94a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/bin/dwarfdump/dwarfdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -1412,7 +1412,7 @@ process_one_file(
}
if (glflags.gf_print_raw_rnglists &&
glflags.gf_do_print_dwarf) {

int res = 0;
Dwarf_Error err = 0;

Expand Down
9 changes: 1 addition & 8 deletions src/bin/dwarfdump/print_rnglists.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,9 @@ print_offset_entry_table(Dwarf_Debug dbg,
Dwarf_Unsigned value = 0;

if (e == 0) {

printf("\n Location Offset Table at 0x%" DW_PR_XZEROS
DW_PR_DUx "\n",offset_of_offset_array);
/*
printf(" (Added 0x%" DW_PR_DUx
" to value for actual offsets)",
offset_of_offset_array);
*/

printf(" [goff][loff][index]\n");
}
hasnewline = FALSE;
Expand Down Expand Up @@ -280,7 +274,6 @@ print_entire_rangeslist(Dwarf_Debug dbg,
return DW_DLV_OK;
}


/* For printing the raw rangelist data from .debug_rnglists */
int
print_raw_all_rnglists(Dwarf_Debug dbg,
Expand Down

0 comments on commit 46f94a7

Please sign in to comment.