Commit Graph

9552 Commits

Author SHA1 Message Date
maya
b78f5c4f5d import pkg_install version 20201218 from pkgsrc
- Support continuing to install to /var/db/pkg if it exists and the
new pkgdb doesn't.
In the future, we can warn about this once we have tested advice that
we can give to users who want to move the location of pkgdb.

- Don't do anything about /var/db/pkg on non-NetBSD-base.
This creates conflicts with other package managers that also install to
/var/db/pkg.
2020-12-18 17:19:16 +00:00
rin
258e420cd1 For alpha, apply -O0 hack again to rtree.c for GCC9.
Otherwise, GDB11 crashes in strange ways.
2020-12-16 01:21:32 +00:00
rin
33bbc93266 Correct and extend comments on VA for alpha. No binary changes. 2020-12-16 01:20:19 +00:00
martin
95f08802a7 Initialize namelen 2020-12-14 12:34:07 +00:00
rin
c85c1127ef Add some precautions for platforms without PT_STEP support.
"nat/gdb_ptrace.h" defines PT_STEP as 9, if it is not defined. nat-ptrace.c
depends on this; inf_ptrace_target::resume() uses PT_STEP unconditionally
when its ``step'' argument is non-zero. Therefore,

- Add comment that nbsd-nat.c should include <sys/ptrace.h> directly,
  instead of "nat/gdb_ptrace.h".

- Add gdb_assert(step == 0) in nbsd_nat_target::resume() ifndef PT_STEP,
  before calling inf_ptrace_target::resume().
2020-12-14 02:05:07 +00:00
rin
9b9416d880 Revert previous as per request from kamil; now, arm/ptrace.h does not
expose unimplemented PT_STEP.
2020-12-14 02:01:03 +00:00
christos
ae9ebf6f0f Improve previous: generated names end with .[[:digits:]] so look for that
instead.
2020-12-13 16:50:47 +00:00
roy
3728077580 diffutils: execl requires a NULL sentinel 2020-12-13 00:04:40 +00:00
christos
b98337e278 Use the NetBSD-specific back-end. 2020-12-12 18:45:11 +00:00
christos
d95e80469e Add a NetBSD-specific back-end. (riastradh@) 2020-12-12 18:44:38 +00:00
christos
e84e9f5696 Don't try to memcpy (size_t)-1 bytes! 2020-12-12 18:19:34 +00:00
wiz
de1f604daa merge pkg_install-20201212 2020-12-12 11:00:57 +00:00
christos
cf7777a2e0 PR/55851: Martin Husemann: recognize <symbol>.part.<n> names
This is gross; perhaps we should hide them completely (not print them
in stack traces etc.)
2020-12-11 18:25:45 +00:00
christos
d8dceee84f fix aarch64 crossgdb 2020-12-11 18:23:25 +00:00
christos
22c0a8465b regen 2020-12-11 18:22:11 +00:00
martin
52d85f7124 Avoid an unused variable (breaking the build) 2020-12-10 16:07:26 +00:00
rin
93b94eb346 Fix armeb; CORE_ADDR is uint64_t but 2nd argument of raw_supply() is
expected to be the same size as PC. Therefore, PC was always read as
zero for big-endian.
2020-12-10 07:27:37 +00:00
rin
9e80800bb0 Fix arm, for which PT_STEP is defined but unimplemented.
XXX
Stop exposing PT_STEP to userland for arm?
2020-12-10 07:14:58 +00:00
christos
9d73d70e90 include gdbarch.h 2020-12-08 13:56:38 +00:00
christos
16f88d4a62 make function static (fixes crossgdb build, reported by martin@) 2020-12-07 20:28:53 +00:00
rin
393045b225 mknative for aarch64eb. 2020-12-07 08:31:05 +00:00
rin
db812a1d3b Add elf32-aarch64.c to DPSRCS and CLEANFILES. 2020-12-07 08:24:09 +00:00
christos
85d1299109 Don't descend to gdbserver for now 2020-12-06 15:00:25 +00:00
christos
2d450a0b24 fix powerpc 2020-12-06 14:26:40 +00:00
christos
9fd8799cb5 regen more mips and aarch64 2020-12-06 05:23:03 +00:00
christos
e5d758f832 fix sh3, regen some more 2020-12-06 04:08:51 +00:00
christos
20c7f62303 fix m68k, ppc, sparc, vax 2020-12-06 03:29:03 +00:00
christos
13f1e6e199 need -lpthread for sun2 2020-12-06 03:28:25 +00:00
christos
d52bc7250a fix hppa 2020-12-05 23:02:25 +00:00
christos
3909f68e34 fix arm build 2020-12-05 22:24:26 +00:00
christos
5275d28a1c fix alpha build. 2020-12-05 22:14:44 +00:00
nia
05b0f27ac9 Don't install header marked obsolete
pointed out by mrg
2020-12-05 21:36:21 +00:00
christos
992125b748 fix and rege aarch64 2020-12-05 21:27:06 +00:00
christos
417fcb580b add aarch64 bits 2020-12-05 21:26:43 +00:00
wiz
f5c2953af3 Merge pkg_install-20201205 2020-12-05 16:21:26 +00:00
christos
a0835e958e merge changes 2020-12-04 18:27:44 +00:00
christos
1fc1e710a8 Version 1.5.0 (2020-09-01)
hid_linux: return FIDO_OK if no devices are found.
    hid_osx:
        repair communication with U2F tokens, gh#166;
        reliability fixes.
    fido2-{assert,cred}: new options to explicitly toggle UP, UV.
    Support for configurable report lengths.
    New API calls:
        fido_cbor_info_maxcredcntlst;
        fido_cbor_info_maxcredidlen;
        fido_cred_aaguid_len;
        fido_cred_aaguid_ptr;
        fido_dev_get_touch_begin;
        fido_dev_get_touch_status.
    Use COSE_ECDH_ES256 with CTAP_CBOR_CLIENT_PIN; gh#154.
    Allow CTAP messages up to 2048 bytes; gh#171.
    Ensure we only list USB devices by default.
Version 1.4.0 (2020-04-15)
    hid_hidapi: hidapi backend; enable with -DUSE_HIDAPI=1.
    Fall back to U2F if the key claims to, but does not support FIDO2.
    FIDO2 credential protection (credprot) support.
    New API calls:
        fido_cbor_info_fwversion;
        fido_cred_prot;
        fido_cred_set_prot;
        fido_dev_set_transport_functions;
        fido_set_log_handler.
    Support for FreeBSD.
    Support for C++.
    Support for MSYS.
    Fixed EdDSA and RSA self-attestation.
Version 1.3.1 (2020-02-19)
    fix zero-ing of le1 and le2 when talking to a U2F device.
    dropping sk-libfido2 middleware, please find it in the openssh tree.
2020-12-04 18:09:13 +00:00
wiz
0a3564ede9 Define PREFIX for pkg_install build. 2020-12-02 13:54:25 +00:00
wiz
c42605055f merge pkg_install after import of 20201202 version 2020-12-02 13:53:50 +00:00
rin
a3e196b030 gcc.old: Switch earmv6{,hf}eb to BE8, ported from gcc. 2020-12-01 02:39:48 +00:00
rin
8f72a86eed Switch earmv6{,hf}eb from BE32 (deprecated) to BE8 (new), which enables
- binary compatibility with earmv7{,hf}eb and later, as well as
  COMPAT_NETBSD32 on aarch64eb
- unaligned memory access

whereas compatibility with earmv5{,hf}eb and prior is lost.

As we have never released kernel and userland for earmv6{,hf}eb yet,
this does not causes any compatibility problems.

Discussed on port-arm and tech-toolchain.
2020-12-01 02:39:08 +00:00
jkoshy
d1342fa268 Unbreak the lint build (sync to elftoolchain [r3912]). 2020-11-30 22:26:30 +00:00
yhardy
afb8d88625 Use vn_close to release the vnodes in the error handling blocks, since
the vnodes were opened for writing. Fix proposed on current-users
and improved by hannken@.
2020-11-28 22:53:06 +00:00
roy
5e88f5cfd3 Sync with dhcpcd-9.3.4 2020-11-28 14:27:20 +00:00
roy
5e29b77e59 Upate to dhcpcd-9.3.4 with the following changes:
With the following changes:
 * DHCP: If error adding the address in oneshot, exit with failure
 * DHCP: Only listen to the address if we successfully added it
 * DHCP6: Fix segfault introduced in dhcpcd-9.3.3
 * DHCP6: Abort in test mode when an error is returned by server
 * options: allow --ia_na=1 and --ia_pd=2 on the command line
 * options: Allow duid to take a value
2020-11-28 14:26:16 +00:00
jkoshy
604b08429e Sync libdwarf's manual pages with upstream. 2020-11-26 22:51:35 +00:00
jkoshy
ef39d52e3c Sync with elftoolchain upstream. 2020-11-26 21:52:00 +00:00
jkoshy
fd073023b0 Restore an overlooked 'Id' line. 2020-11-26 21:01:47 +00:00
jkoshy
b16194a2b0 Sync '_elftc.h' with the upstream elftoolchain project. 2020-11-21 21:04:25 +00:00
roy
86988fb56b Sync with dhcpcd-9.3.3 2020-11-20 13:24:58 +00:00