Skip to content

Commit

Permalink
Fixed an indent.
Browse files Browse the repository at this point in the history
	modified:   dwarf_errmsg_list.h
Removde trailing whitespace.
	modified:   dwarf_opaque.h
  • Loading branch information
davea42 committed Nov 28, 2024
1 parent 3b2303c commit 046aca5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/lib/libdwarf/dwarf_errmsg_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ static const char _dwarf_errmsgs[DW_DLE_LAST+1][DW_MAX_MSG_LEN] = {
{"DW_DLE_UNIV_BIN_OFFSET_SIZE_ERROR(503) Offset/size from "
"a Mach-O universal binary has an impossible value"},
{"DW_DLE_PE_SECTION_SIZE_HEURISTIC_FAIL(504) Section size fails "
"a heuristic sanity check"},
"a heuristic sanity check"},
{"DW_DLE_LLE_ERROR(505) Generic .debug_loclists read error"},
{"DW_DLE_RLE_ERROR(506) Generic .debug_rnglists read error"}
};
Expand Down
6 changes: 2 additions & 4 deletions src/lib/libdwarf/dwarf_opaque.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
#define DBG_IS_SECONDARY(p) ((p) && (p)->de_secondary_dbg && \
((p)->de_secondary_dbg == (p)))
#define DBG_IS_PRIMARY(p) ((p) && ((!(p)->de_secondary_dbg) || \
((p)->de_secondary_dbg && ((p)->de_secondary_dbg != (p)))))
((p)->de_secondary_dbg && ((p)->de_secondary_dbg != (p)))))
#define DBG_HAS_SECONDARY(p) (DBG_IS_PRIMARY(p) && \
(DBG_IS_SECONDARY((p)->de_secondary_dbg)))

Expand All @@ -96,7 +96,6 @@ _dwarf_dump_optional_fields(const char *msg,
const char *filepath);
#endif /* DEBUG_PRIMARY_DBG */


struct Dwarf_Rnglists_Context_s;
typedef struct Dwarf_Rnglists_Context_s *Dwarf_Rnglists_Context;
struct Dwarf_Loclists_Context_s;
Expand Down Expand Up @@ -638,7 +637,7 @@ struct Dwarf_Debug_s {
struct Dwarf_Obj_Access_Interface_a_s *de_obj_file;

/* See dwarf_generic_init.c comments on the
use of the next four fields. And see
use of the next four fields. And see
DBG_IS_SECONDARY(p) DBG_IS_PRIMARY(p)
DBG_HAS_SECONDARY(p) below and also dwarf_util.c */
struct Dwarf_Debug_s * de_dbg;
Expand Down Expand Up @@ -1207,7 +1206,6 @@ _dwarf_has_SECT_fission(Dwarf_CU_Context ctx,
Dwarf_Bool *hasfissionoffset,
Dwarf_Unsigned *loclistsbase);


int _dwarf_skip_leb128(char * leb,
Dwarf_Unsigned * leblen,
char * endptr);
Expand Down

0 comments on commit 046aca5

Please sign in to comment.