Go to file
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
bin
common arm bswap32: fix fatal typo in thumb code (PR 55854) 2020-12-11 09:02:33 +00:00
compat
crypto merge conflicts, regen 2020-12-10 00:33:08 +00:00
dist/pf
distrib make(1): demonstrate wrong error handling in compat mode 2020-12-13 17:44:31 +00:00
doc Mention pkg_install-20201212 2020-12-12 11:02:06 +00:00
etc Add directory entry for new libossaudio test 2020-12-12 02:50:26 +00:00
external Add some precautions for platforms without PT_STEP support. 2020-12-14 02:05:07 +00:00
extsrc
games speed limit 80 2020-12-06 11:41:47 +00:00
include
lib
libexec
regress
rescue
sbin PR/55875 - Valentin -- "gpt recover -r" does nothing 2020-12-13 21:55:25 +00:00
share Remove an old description. 2020-12-09 05:48:56 +00:00
sys Obsolete PT_STEP and friends, that have never been implemented. 2020-12-14 01:58:48 +00:00
tests add some basic tests for libossaudio 2020-12-11 12:29:27 +00:00
tools Don't bother with gdbserver for archs that don't build it. 2020-12-05 21:27:31 +00:00
usr.bin make(1): replace %zu with %u in printf calls 2020-12-13 21:27:45 +00:00
usr.sbin Add support for decoding Platform Communications Channel Tables ("PCCT"). 2020-12-12 16:08:39 +00:00
build.sh
BUILDING
Makefile
Makefile.inc
README.md
UPDATING

NetBSD

NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.

Building

You can cross-build NetBSD from most UNIX-like operating systems. To build for amd64 (x86_64), in the src directory:

./build.sh -U -u -j4 -m amd64 -O ~/obj release

Additional build information available in the BUILDING file.

Binaries

Testing

On a running NetBSD system:

cd /usr/tests; atf-run | atf-report

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P src

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/src.git