diff --git a/src/lib/libdwarf/dwarf_errmsg_list.h b/src/lib/libdwarf/dwarf_errmsg_list.h index aae6eb57e..15862dfc5 100644 --- a/src/lib/libdwarf/dwarf_errmsg_list.h +++ b/src/lib/libdwarf/dwarf_errmsg_list.h @@ -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"} }; diff --git a/src/lib/libdwarf/dwarf_opaque.h b/src/lib/libdwarf/dwarf_opaque.h index 1e48e438f..c5d945883 100644 --- a/src/lib/libdwarf/dwarf_opaque.h +++ b/src/lib/libdwarf/dwarf_opaque.h @@ -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))) @@ -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; @@ -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; @@ -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);