From: Ian Lance Taylor Date: Thu, 11 Jul 2024 22:27:18 +0000 (-0700) Subject: libbacktrace: remove trailing whitespace X-Git-Tag: basepoints/gcc-16~7575 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02f7525e5e9e8d749c9ba2b9a925da4b202553ce;p=thirdparty%2Fgcc.git libbacktrace: remove trailing whitespace * dwarf.c: Remove trailing whitespace. * macho.c: Likewise. --- diff --git a/libbacktrace/dwarf.c b/libbacktrace/dwarf.c index ed0672964c2..cc36a0a2990 100644 --- a/libbacktrace/dwarf.c +++ b/libbacktrace/dwarf.c @@ -1705,7 +1705,7 @@ add_ranges_from_ranges ( base = (uintptr_t) high; else { - if (!add_range (state, rdata, + if (!add_range (state, rdata, (uintptr_t) low + base + base_address, (uintptr_t) high + base + base_address, error_callback, data, vec)) @@ -1904,7 +1904,7 @@ add_ranges (struct backtrace_state *state, const struct dwarf_sections *dwarf_sections, uintptr_t base_address, int is_bigendian, struct unit *u, uintptr_t base, const struct pcrange *pcrange, - int (*add_range) (struct backtrace_state *state, void *rdata, + int (*add_range) (struct backtrace_state *state, void *rdata, uintptr_t lowpc, uintptr_t highpc, backtrace_error_callback error_callback, void *data, void *vec), diff --git a/libbacktrace/macho.c b/libbacktrace/macho.c index b4856346ccc..42f24721e6a 100644 --- a/libbacktrace/macho.c +++ b/libbacktrace/macho.c @@ -674,7 +674,6 @@ macho_add_symtab (struct backtrace_state *state, int descriptor, struct macho_syminfo_data *p; p = backtrace_atomic_load_pointer (pp); - if (p == NULL) break;