On 2018-07-07, Nan Xiao <xiaonan830...@gmail.com> wrote:
> Hi Philip,
>
> Thanks very much for your time and effort!
>
> The following is the command output:
>
> $ readelf -Wl /usr/local/bin/egdb | awk '/RANDOM/{print ($5+0)/1024}'
> 88.4844
>
> The same as yours.

That is from -current.

> Honestly, I am not sure whether the package is for -stable or -current.
>
> After installation, I just add following config in /etc/installurl:
> $ cat /etc/installurl
> https://ftp.openbsd.org/pub/OpenBSD
>
> Then I use "pkg_add -u" sometimes. Doesn't
> https://ftp.openbsd.org/pub/OpenBSD guarantee it selects correct
> packages? Or I miss something?

Do you have PKG_PATH set in the environment?

Whatever the reason, it looks like you have a -current version of the
gdb package installed.

The one in 6.3 should look like this:

$ ls -l /usr/local/bin/egdb                                                     
                   
-rwxr-xr-x  1 root  bin  9452688 Mar 28 00:40 /usr/local/bin/egdb

$ readelf -Wl /usr/local/bin/egdb | awk '/RANDOM/{print($5+0)/1024}'
0.0078125


Reply via email to