[PATCH] Define NetBSD specific skip_solib_resolver

Tom Tromey tom@tromey.com
Tue Apr 7 15:42:48 GMT 2020


>>>>> "Kamil" == Kamil Rytarowski <n54@gmx.com> writes:

Kamil> gdb/ChangeLog:
Kamil> 	* nbsd-tdep.c: Include "objfiles.h".
Kamil> 	(nbsd_skip_solib_resolver): New.
Kamil> 	(nbsd_init_abi): Call set_gdbarch_skip_solib_resolver().

Thanks.

Kamil> +#include "objfiles.h"

It doesn't really matter to me (gdb isn't anywhere near header
cleanliness), but I wonder why this include was needed.

Kamil> +  msym = lookup_minimal_symbol("_rtld_bind_start", NULL, NULL);

Missing a space before the "(".

Ok with that change.

Tom


More information about the Gdb-patches mailing list