[PATCH] Use a separate variable for the size passed to sysctl.

Pedro Alves palves@redhat.com
Tue Jan 19 19:18:00 GMT 2016


OK with ...

On 01/19/2016 06:24 PM, John Baldwin wrote:
> --- a/gdb/ChangeLog
> +++ b/gdb/ChangeLog
> @@ -1,5 +1,10 @@
>  2016-01-19  John Baldwin  <jhb@FreeBSD.org>
>  
> +	* fbsd-tdep.c (fbsd_pid_to_exec_file): Use new "buflen" instead of
> +	"len" with sysctl.

... should be "fbsd-nat.c".

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list