Use a separate variable for the size passed to sysctl.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 19 Jan 2016 18:23:00 +0000 (10:23 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 19 Jan 2016 19:35:19 +0000 (11:35 -0800)
commitf2feec9809edbeeee0bb5b036e4ae25f9c37cd14
tree623f783a121511bfe8aa27e40242acced85ed5d6
parent40068dccc4f9c86cb9e7c425c4ab3e272312affb
Use a separate variable for the size passed to sysctl.

This fixes a sign mismatch warning.

gdb/ChangeLog:

* fbsd-nat.c (fbsd_pid_to_exec_file): Use new "buflen" instead of
"len" with sysctl.
gdb/ChangeLog
gdb/fbsd-nat.c