This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v8 09/10] Validate symbol file using build-id


Jan Kratochvil wrote:

> +static char *
> +svr4_validate (const struct so_list *const so)
> +{

...

> +      return xstrprintf (_("remote build ID is %s "
> +			   "but local file does not have build ID"),
> +			 remote_hex);

Seems odd to say "remote" here.  Can't these errors trigger with native
debugging as well?

Doug Evans wrote:
> 
>> > If so, having solib in the option name is confusing.
>> > 
>> > set build-id-force
>> > or
>> > set require-build-id-match
>> > or some such would be clearer.

"build-id-force" sound odd to me.  The latter sounds OK,
as would "set build-id-validation on/off/...".

With that, and once the previous issues raised are
addressed, I think this is good to go.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]