Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (6h)  netbsd-10 (17d)  netbsd-9 (17d)  netbsd-8 (22d) 

2024-06-03 02:35:59 UTC Now

2020-09-22 14:14:17 UTC MAIN commitmail json YAML

ifconfig: Report link state even if media is not supported

For AF_LINK addrs from getifaddrs(2), ifa_data is struct if_data.
This in turn holds ifi_link_state which we can use to report
link status if the interface does not support media where it's normally
reported.

Based on OpenBSD.

(roy)

2020-09-22 12:21:11 UTC MAIN commitmail json YAML

In the concrete partitions editor, after deleting the last partition move
the menu selection to the "add a partition" entry (instead of the sentinel
line which is not an active menu entry).

(martin)

2020-09-22 11:53:10 UTC MAIN commitmail json YAML

PR kern/55674:
move name space availability check from ld_nvme.c:ld_nvme_attach()
to nvme.c:nvme_rescan().
this avoids allocation of ld(4) instances for every possible
name space, even if it is not usable. it also reduces the device
node flood generated from that strategy.

(kardel)

2020-09-22 11:44:44 UTC MAIN commitmail json YAML

When adding a new partition in the concrete partition editor, make sure
to set a pointer to the partition table interface in the new entry.
Otherwise we may end up not writing back the partitions at all, leading
to further fallout later.
Receipe to reproduce the issue from Frederic Fauberteau, thanks!

(martin)

2020-09-22 06:23:33 UTC MAIN commitmail json YAML

make(1): remove remaining references to VAR_JUNK and VAR_KEEP

(rillig)

2020-09-22 06:13:39 UTC MAIN commitmail json YAML

make(1): move VAR_JUNK and VAR_KEEP away from VarFlags

These two flags have nothing to do with a variable.  They are only used
while evaluating a variable expression.

While here, rename the flags and make their documentation more precise.

(rillig)

2020-09-22 06:06:18 UTC MAIN commitmail json YAML

make(1): rename VarParseErrors to VarParseResult

The name VPE_OK was confusing since it was not an error at all.

(rillig)

2020-09-22 05:55:49 UTC MAIN commitmail json YAML

make(1): extract common code from the ApplyModifier functions

(rillig)

2020-09-22 05:12:08 UTC MAIN commitmail json YAML

make(1): fix type of global variable 'create'

(rillig)

2020-09-22 04:05:41 UTC MAIN commitmail json YAML

2020-09-22 02:53:52 UTC MAIN commitmail json YAML

2020-09-22 02:26:22 UTC MAIN commitmail json YAML

make(1): rename type Path to CachedDir

The word "path" is commonly used either as an abbreviation for pathname
(a string consisting of several directory or file names) or as an
abbreviation for search path (a list of directory names used for
searching files), but not for a single directory.

(rillig)

2020-09-22 01:52:16 UTC MAIN commitmail json YAML

Remove duplicate word in a comment

(kamil)

2020-09-22 01:11:48 UTC MAIN commitmail json YAML

Fix weird spelling, refresh date.

(jakllsch)

2020-09-22 01:09:33 UTC MAIN commitmail json YAML

Add new RTLD test file for r_debug

New tests:
- self
- dlopen

Both check whether the r_debug structure seems to be well-formed, without
and with a dlopen(3) call.

(kamil)

2020-09-22 00:55:09 UTC MAIN commitmail json YAML

swp is only useful on armv7 uni-processor systems.

we will need the emulation if we want to run old binaries..

(mrg)

2020-09-22 00:41:28 UTC MAIN commitmail json YAML

Correct r_ldbase valuse

It shall be the relocbase value, not linkmap.

(kamil)

2020-09-21 21:26:43 UTC MAIN commitmail json YAML

turn on CPU_CONTROL_SWP_ENABLE.

this allows armv[67] systems to use 'swp' and 'swpb' instructions,
which means they can run armv[45] software.

arm recommends ldrex/strex for armv6 and newer, and it is not
present in armv8 at all or some armv7.  we emulate it on armv8 and
need to add emulation for the some armv7.  using the hardware is
going to be faster, so, enable this path too.

ok jmcneill.

(mrg)

2020-09-21 20:00:45 UTC MAIN commitmail json YAML

fix missing deps for cow-fs_dir* and cow-fs_ops*.

should fix build issues reported on current-users.

(mrg)

2020-09-21 18:41:59 UTC MAIN commitmail json YAML

the previous fix for PR 55366 in uvm_amap.c 1.124 was incomplete:
- amap_adjref_anons() must also ignore AMAP_REFALL when updating
  the ppref, not just when deciding whether or not to initialize ppref.
- UVM_EXTRACT_QREF relies on AMAP_REFALL to work properly,
  and since we can't use AMAP_REFALL then we can't use QREF either.

(chs)

2020-09-21 17:52:31 UTC MAIN commitmail json YAML

do not use WEP

(nia)

2020-09-21 17:44:25 UTC MAIN commitmail json YAML

make(1): add specific typedefs for lists

These typedefs are only intended to help human readers, they do not
provide any type-safety.  They also make the pointers explicit, which
had been hidden before by the typedef for Lst and LstNode.  Typing a few
'*' is less work than finding out which of the many types are pointers
and which aren't.

In meta.c, the variable "ln" served two completely different purposes,
which have been split again.  Register allocation is the job of the
compiler, not of the human source code reader.

(rillig)

2020-09-21 16:12:16 UTC MAIN commitmail json YAML

ld.so(1): Upgrade r_debug to the protocol version 1.

(kamil)

2020-09-21 16:08:57 UTC MAIN commitmail json YAML

Upgrade the SVR4 RTLD r_debug protocol to version 1

Changes:
- Add a new field r_ldbase in the r_debug struct.
- Set r_version to 1.

This harmonizes the support with OpenBSD and Linux.
FreeBSD uses version 0 (or no version).
Solaris uses version 2 that is not implemented elsewhere and relies on
SVR4 specific design and interfaces.

Update the code comments as r_debug and link_map is used by other software
than GDB, namely: sanitizers, rump, LLDB.

(kamil)

2020-09-21 15:31:54 UTC MAIN commitmail json YAML

Correct range for ISO week conversion

The %V conversion range for strptime(3) should match the strftime(3)
conversion range. A valid ISO week is 1-53.

(ginsbach)

2020-09-21 14:03:16 UTC MAIN commitmail json YAML

Add MLINKS for empb.4

(kim)

2020-09-21 13:51:55 UTC MAIN commitmail json YAML

also allow uxterm to be used in the default xinitrc

(nia)

2020-09-21 10:35:12 UTC MAIN commitmail json YAML

Allow an undefined instruction to use lr (r14) as Rt. New gcc emits this
with TPIDRURO read.

Not sure why the exception handler cares if sp or pc are used as Rt

(skrll)

2020-09-21 08:46:07 UTC MAIN commitmail json YAML

2020-09-21 08:20:05 UTC MAIN commitmail json YAML

Define CTWM when building xinit

This will allow ctwm to eventually be used in the default xinitrc.

(nia)

2020-09-21 06:57:00 UTC MAIN commitmail json YAML

- Print chip revision. From OpenBSD.
- Rename RTK_HWREV_8168_SPIN[123] to RTK_HWREV_8168'B'_SPIN[123].
  Same as other *BSDs.
- Rename RTK_HWREV_8168G_SPIN4 to RTK_HWREV_8411B. Same as other *BSDs.
- Add definition of RTK_HWREV_8169_8110SCE.

(msaitoh)

2020-09-21 06:48:48 UTC MAIN commitmail json YAML

make depend files also depend on the generated headers.

fixes build issues.

(mrg)

2020-09-21 05:28:27 UTC MAIN commitmail json YAML

make(1): clean up VarParseErrors, for proper error handling

Having a pure bitset was wrong.

Instead, there are several alternatives (parse error, eval error, undef
error), and each of them can either have an error message printed (good)
or not (bad).  In addition, there are VPE_OK for successful expression
evaluation and VPE_UNKNOWN (only used during migration to the correct
error handling scheme).

(rillig)

2020-09-21 04:20:35 UTC MAIN commitmail json YAML

make(1): run tests with absolute filenames as well

The tests varname-dot-parsedir and varname-dot-parsefile had been broken
before if they were run with the "-f $PWD/$test.mk" option.  This way of
running the tests is used by FreeBSD.

(rillig)

2020-09-21 03:45:29 UTC MAIN commitmail json YAML

make(1): fix tests for .PARSEDIR/.PARSEFILE

The output of these tests previously depended upon whether the test
makefile was specified as relative or as absolute path.  In NetBSD, it
is specified as relative path, in FreeBSD as absolute path.

Adjust the expected output to hide this difference; in the .rawout files
it is still visible.

(rillig)

2020-09-21 03:12:26 UTC MAIN commitmail json YAML

make(1): clean up Arch_ParseArchive

This code is so seldom used that it's not necessary to squeeze out every
little bit of performance.  It's more important for the code to be clear
and simple.

(rillig)

2020-09-21 02:20:27 UTC MAIN commitmail json YAML

Refine the documentation of r_debug

Obtained from OpenBSD link.h r.1.15.

(kamil)

2020-09-20 23:48:09 UTC MAIN commitmail json YAML

- rectify nonsense and bugs around statistics counter managment.
- scoop up counter values in one second interval comsolidating with phy_tick.
- reformat register definitions for ease to see.

(nisimura)

2020-09-20 23:03:01 UTC MAIN commitmail json YAML

Effectively disable the AMAP_REFALL flag because it is unsafe.
This flag tells the amap code that it does not need to allocate ppref
as part of adding or removing a reference, but that is only correct
if the range of the reference being added or removed is the same
as the range of all other references to the amap, and the point of
this flag is exactly to try to optimize the case where the range is
different and thus this flag would not be correct to use.
Fixes PR 55366.

(chs)

2020-09-20 21:18:45 UTC MAIN commitmail json YAML

zero out the sockaddr, so that the length it guaranteed to be 0.

(christos)

2020-09-20 20:34:49 UTC MAIN commitmail json YAML

src/external/gpl3/gdb/lib/libbfd/arch/arm/bfd-in3.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/arm/bfd.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/arm/bfd_stdint.h@1.12 / diff / nxr@1.12
src/external/gpl3/gdb/lib/libbfd/arch/arm/bfdver.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/arm/config.h@1.10 / diff / nxr@1.10
src/external/gpl3/gdb/lib/libbfd/arch/arm/defs.mk@1.7 / diff / nxr@1.7
src/external/gpl3/gdb/lib/libbfd/arch/arm/targmatch.h@1.12 / diff / nxr@1.12
src/external/gpl3/gdb/lib/libbfd/arch/armeb/bfd-in3.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/armeb/bfd.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/armeb/bfd_stdint.h@1.11 / diff / nxr@1.11
src/external/gpl3/gdb/lib/libbfd/arch/armeb/bfdver.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/armeb/config.h@1.10 / diff / nxr@1.10
src/external/gpl3/gdb/lib/libbfd/arch/armeb/defs.mk@1.7 / diff / nxr@1.7
src/external/gpl3/gdb/lib/libbfd/arch/armeb/targmatch.h@1.11 / diff / nxr@1.11
src/external/gpl3/gdb/lib/libbfd/arch/i386/bfd-in3.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/i386/bfd.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/i386/bfd_stdint.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/i386/bfdver.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/i386/config.h@1.10 / diff / nxr@1.10
src/external/gpl3/gdb/lib/libbfd/arch/i386/defs.mk@1.7 / diff / nxr@1.7
      :
(more 201 files)
regen

(christos)

2020-09-20 20:15:11 UTC MAIN commitmail json YAML

guard statistics gathering callout with #ifdef

(nisimura)

2020-09-20 20:14:50 UTC MAIN commitmail json YAML

Add symbol entries for the missing signal functions for the benefit of
autoconf. Autoconf compiles simple programs like:
    char symbol();
    int main() { return symbol(); }
To check if the symbol is present. This makes it happy.
Another way our symbol renaming breaks things.
This fixes gdb native build, which does not find sigprocmask otherwise
and fails to build because it finds pthread_sigmask() and not sigprocmask()!

(christos)

2020-09-20 17:59:42 UTC MAIN commitmail json YAML

be more cautious about error exit path. nuke unused variables

(nisimura)

2020-09-20 16:54:34 UTC MAIN commitmail json YAML

src/external/gpl3/gdb/lib/libbfd/arch/alpha/bfd-in3.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/alpha/bfd.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/alpha/bfdver.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/alpha/config.h@1.10 / diff / nxr@1.10
src/external/gpl3/gdb/lib/libbfd/arch/alpha/defs.mk@1.5 / diff / nxr@1.5
src/external/gpl3/gdb/lib/libbfd/arch/alpha/targmatch.h@1.11 / diff / nxr@1.11
src/external/gpl3/gdb/lib/libbfd/arch/hppa/bfd-in3.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/hppa/bfd.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/hppa/bfd_stdint.h@1.10 / diff / nxr@1.10
src/external/gpl3/gdb/lib/libbfd/arch/hppa/bfdver.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/hppa/config.h@1.10 / diff / nxr@1.10
src/external/gpl3/gdb/lib/libbfd/arch/hppa/defs.mk@1.5 / diff / nxr@1.5
src/external/gpl3/gdb/lib/libbfd/arch/hppa/targmatch.h@1.11 / diff / nxr@1.11
src/external/gpl3/gdb/lib/libbfd/arch/m68000/bfd-in3.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/m68000/bfd.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/m68000/bfdver.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/m68000/config.h@1.10 / diff / nxr@1.10
src/external/gpl3/gdb/lib/libbfd/arch/m68000/defs.mk@1.5 / diff / nxr@1.5
src/external/gpl3/gdb/lib/libbfd/arch/m68000/targmatch.h@1.11 / diff / nxr@1.11
src/external/gpl3/gdb/lib/libbfd/arch/m68k/bfd-in3.h@1.9 / diff / nxr@1.9
      :
(more 511 files)
regen

(christos)

2020-09-20 16:41:26 UTC MAIN commitmail json YAML

2020-09-20 16:00:56 UTC MAIN commitmail json YAML

2020-09-20 15:30:11 UTC MAIN commitmail json YAML

Use pmap_growkernel(VM_KERNEL_VM_BASE) rather than pmap_virtual_space to
work out what to map initially.

XXX could do better mapping the kernel and modules more accurately

(skrll)

2020-09-20 14:42:29 UTC MAIN commitmail json YAML

switch amd64 to gdb-11

(christos)

2020-09-20 14:39:26 UTC MAIN commitmail json YAML

Don't read data from sections without contents on NetBSD. We end up reading
0's and svr4_exec_displacement read phdrs_target successfully, and we
end up in the rabbit-hole of 0 displacement for pie binaries and then we
can't load our shared libaries from the core file.

(christos)

2020-09-20 12:51:57 UTC MAIN commitmail json YAML

KNF (sort #includes and remove duplicate sys/cpu.h)

(skrll)

2020-09-20 11:25:36 UTC MAIN commitmail json YAML

Adjust fdt_rescan to speed up booting by significantly reducing the number
of times that we call config_match. Now we only call it 11 times per node.
Previously, each scan pass of an unconfigured device triggered 11 calls to
config_match, and adding a new simplebus causes the scan to restart, so
we are avoiding potentially hundreds of calls to config_match per node now.

(jmcneill)

2020-09-20 10:30:05 UTC MAIN commitmail json YAML

2020-09-20 10:29:05 UTC MAIN commitmail json YAML

add "distsets" alias for "distribution sets".

(mrg)

2020-09-20 10:23:05 UTC netbsd-8 commitmail json YAML

2020-09-20 10:17:44 UTC netbsd-9 commitmail json YAML

2020-09-20 10:16:50 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jakllsch in ticket #1090):

sys/dev/pci/virtio_pci.c: revision 1.13

Ensure MSI-X is disabled if allocation of MSI-X interrupts fail.

The virtio device config space moves out from under us when MSI-X
remains enabled, and/or INTx interrupts are masked if we don't ensure
this.

This un-breaks virtio devices that run out of MSI-X interrupts.
Particularly a problem on uniproc x86, where there are only 8 or 9
vectors available, allowing for only about 4 virtio devices to use
MSI-X.

(martin)

2020-09-20 10:14:20 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by jakllsch in ticket #1608):

sys/dev/pci/virtio_pci.c: revision 1.12

Ensure interrupt handles buffer is zeroed on allocation
Prevents crashes trying to deallocate interrupts at shutdown.

Found by kim and mlelstv, confirmed by me

(martin)

2020-09-20 10:03:11 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jakllsch in ticket #1089):

sys/dev/pci/virtio_pci.c: revision 1.12

Ensure interrupt handles buffer is zeroed on allocation
Prevents crashes trying to deallocate interrupts at shutdown.

Found by kim and mlelstv, confirmed by me

(martin)

2020-09-20 09:08:01 UTC MAIN commitmail json YAML

Talk Like a Pirate Day was yesterday.

(gson)

2020-09-19 21:47:03 UTC MAIN commitmail json YAML

remove mis-merged code and make the auxv core offset 0. Now loading auxv
from core files works.

(christos)

2020-09-19 21:45:45 UTC MAIN commitmail json YAML

The lid of the main thread == pid now. Should we fix the kernel to return
this? Now debugging live programs work.

(christos)

2020-09-19 18:19:09 UTC MAIN commitmail json YAML

fix to work on big endian

(ryo)

2020-09-19 16:54:34 UTC MAIN commitmail json YAML

Possible fix for hangup on Jensen mentioned in PR/36628.

According to comments in Linux drivers/tty/serial/8250/8250.h,
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/tty/serial/8250/8250.h?h=v5.8#n242
the driver has to set OUT1 and OUT2 lines for "some ALPHA"
otherwise "the machine locks up with endless interrupts."
Note OUT2 (MCR_IENABLE) is set in MI com_attach_subr()
so we have to set OUT1 (MCR_DSR) in the MD attachment.

The information was notified from Miod Vallat.

(tsutsui)

2020-09-19 16:31:40 UTC MAIN commitmail json YAML

Define VM_KERNEL_VM_{BASE,SIZE} for aarch64 and remove an #ifdef in
fdt/platform.h

NFCI

(skrll)

2020-09-19 13:33:08 UTC MAIN commitmail json YAML

2020-09-19 12:36:09 UTC netbsd-8 commitmail json YAML

2020-09-19 12:32:59 UTC netbsd-9 commitmail json YAML

2020-09-19 12:23:34 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by nia in ticket #1087):

external/mit/xorg/lib/libX11/Makefile.libx11: revision 1.20
external/mit/xorg/lib/libX11/Makefile.libx11: revision 1.21

libx11: Dynamically load unversioned libxcursor shared object
the version number is wrong for NetBSD, should be libXcursor.so.2

someone pointed out it makes sense to load the exact libXcursor version

(martin)

2020-09-19 12:20:36 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #1606):

sys/dev/hid/hidkbdmap.c: revision 1.11 (patch)
(applied to sys/dev/usb/ukbdmap.c)

for jp keymap map also scan code 49 to right bracket to handle ARCHISS model
PR kern/55608 by Shinichi Doyashiki

(martin)

2020-09-19 12:16:14 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #1086):

sys/dev/hid/hidkbdmap.c: revision 1.11

for jp keymap map also scan code 49 to right bracket to handle ARCHISS model
PR kern/55608 by Shinichi Doyashiki

(martin)

2020-09-19 07:30:32 UTC MAIN commitmail json YAML

Update the Proxmox comment with link to their bugzilla

(kim)

2020-09-19 03:33:15 UTC MAIN commitmail json YAML

Note several recent Alpha improvements.

(thorpej)

2020-09-19 03:29:58 UTC MAIN commitmail json YAML

GENERIC.MP is no more.  GENERIC defaults to MULTIPROCESSOR now.

(thorpej)

2020-09-19 03:27:42 UTC MAIN commitmail json YAML

Enable MULTIPROCESSOR by default, but disable it in the RAMDISK
and INSTALL kernels to save some space.

(thorpej)

2020-09-19 03:02:07 UTC MAIN commitmail json YAML

Enable __HAVE_FAST_SOFTINTS and garbage-collect the #ifdefs.

(thorpej)

2020-09-19 01:43:20 UTC MAIN commitmail json YAML

2020-09-19 01:32:16 UTC MAIN commitmail json YAML

- The Alpha fast-soft-intrs implementation supports 2 soft interrupt levels,
  so in exception_return() ensure we clear ineligible-at-new-IPL softint
  bits from the SSIR, otherwise we could loop forever in the following
  scenario:

processing softnet -> clock interrupt -> schedule softclock

- If the softint thread blocks, it's possible to bounce back through
  the softint return trampoline at something other than IPL_HIGH.  This
  is not a problem other than it's contrary to what alpha_softint_dispatch()
  expect, so make alpha_softint_return() go to IPL_HIGH before it does
  anything else.

These two fixes make fast-soft-interrupts work on Alpha.

(thorpej)

2020-09-19 01:24:31 UTC MAIN commitmail json YAML

Move softintr bits into <machine/intr.h> and define ALPHA_ALL_SOFTINTS
for locore.s

(thorpej)

2020-09-18 20:44:20 UTC MAIN commitmail json YAML

minor adaptatioons to new radeonfbreg.h

(macallan)

2020-09-18 20:43:37 UTC MAIN commitmail json YAML

update register definitions from xsrc/external/mit/xf86-video-ati/
merge in enough of the local changes to make radeonfb compile
tested on various macppc boxes

(macallan)

2020-09-18 17:46:47 UTC MAIN commitmail json YAML

2020-09-18 16:33:49 UTC MAIN commitmail json YAML

arp tests: Delete ARP entry after failed ping test

As it might hang around in WAITDELETE for a few seconds.

(roy)

2020-09-18 15:04:25 UTC MAIN commitmail json YAML

Revert scsiconf.c 1.288, it only worked for LUN 1.

vioscsi(4) now sets PQUIRK_FORCELUNS, which fixes the original issue for
all LUNs.

To-do: should issue REPORT LUNS and use the information it returns to
probe LUNs in an optimized way.

(jakllsch)

2020-09-18 14:55:28 UTC MAIN commitmail json YAML

Probe all LUNs on vioscsi(4) until scsi(4) can do REPORT LUNS.

(jakllsch)

2020-09-18 14:19:34 UTC MAIN commitmail json YAML

2020-09-18 14:19:08 UTC MAIN commitmail json YAML

2020-09-18 14:09:48 UTC MAIN commitmail json YAML

mention strtod hack

(christos)

2020-09-18 14:06:45 UTC MAIN commitmail json YAML

PR/55668: Martin Husemann: Disable optimization to avoid infinite loop.
Also bring in a few changes from the most recent gdtoa code (not relevant
to the bug).

(christos)

2020-09-18 09:53:50 UTC MAIN commitmail json YAML

Do pppoe_timeout() in thread context

OKed by knakahara@n.o
fix port-amd64/55661

(yamaguchi)

2020-09-18 09:48:56 UTC MAIN commitmail json YAML

Use callout_setfunc and callout_schedule

(yamaguchi)

2020-09-18 07:21:26 UTC MAIN commitmail json YAML

Remove superfluous Ed.

(wiz)

2020-09-18 06:48:28 UTC MAIN commitmail json YAML

Correct an incorrectly quoted (unquoted, but should be) example used in
the "local" built-in command description (pointed out by mrg@ via uwe@ in
private e-mail).

Add a description to the export command of why this quoting is required,
and then refer to it from local and readonly (explained in export as that
one comes first).

Note that some shells parse export/local/readonly (and often more) as
"declarative" commands, and this quoting isn't needed (provided the
command name is literal and not the result of an expansion) making
X=$Y type args not require quoting, as they often don't in a regular
variable assignment (preceding, or not part of, another command).
POSIX is going to allow, but not require, that behaviour.  We do not
implement it.

(kre)

2020-09-18 00:11:31 UTC MAIN commitmail json YAML

- Give lwp0 the same kernel thread backstop as all of the others get
  in cpu_lwp_fork().
- Add a bunch of comments to lwp_trampoline() to explain what's going on.
- In alpha_softint_switchto() tweak how we save the RA in the stack frame.

(thorpej)

2020-09-18 00:09:29 UTC MAIN commitmail json YAML

- Add exception_return() to the list of trap vector symbols, which will
  enable us to trace back through an exception if the fault happens
  during the exception return.
- Identify and report the kernel thread backstop when back tracing
  kernel threads.

(thorpej)

2020-09-18 00:07:22 UTC MAIN commitmail json YAML

Rather than having exception_return() at the root of the call graph for
kernel threads, provide a backstop that will prevent them from ever
accidentally trying to return to user space.

(thorpej)

2020-09-18 00:06:36 UTC MAIN commitmail json YAML

Rather than having exception_return() at the root of the call graph for
kernel threads, provide a backstop that will prevent them from ever
accidentally trying to return to user space.

(thorpej)

2020-09-18 00:04:58 UTC MAIN commitmail json YAML

Fix entering the kernel debugger when MULTIPROCESSOR is enabled; the
arguments to alpha_debug() were getting clobbered by the call to
cpu_pause_resume_all(), but they need to be passed along to ddb_trap().

(thorpej)

2020-09-18 00:02:43 UTC MAIN commitmail json YAML

Use alpha_pal_swpipl() directly instead of splhigh()/splx(), do avoid
soft int processing while dealing with entering / leaving the debugger.
Soft ints will be correctly handled during exception_return().

(thorpej)

2020-09-17 20:29:04 UTC MAIN commitmail json YAML

Fix waiting for PIDs on stop.

Fix expansion of positional parameters. Also move the local
variable declaration to more apropriate place.

(otis)

2020-09-17 20:26:22 UTC MAIN commitmail json YAML

2020-09-17 20:13:20 UTC MAIN commitmail json YAML

2020-09-17 17:33:51 UTC MAIN commitmail json YAML

Ensure MSI-X is disabled if allocation of MSI-X interrupts fail.

The virtio device config space moves out from under us when MSI-X
remains enabled, and/or INTx interrupts are masked if we don't ensure
this.

This un-breaks virtio devices that run out of MSI-X interrupts.
Particularly a problem on uniproc x86, where there are only 8 or 9
vectors available, allowing for only about 4 virtio devices to use
MSI-X.

(jakllsch)

2020-09-17 17:09:59 UTC MAIN commitmail json YAML

Fix word-o of function name in comment

(jakllsch)

2020-09-17 17:04:31 UTC MAIN commitmail json YAML

Ensure interrupt handles buffer is zeroed on allocation

Prevents crashes trying to deallocate interrupts at shutdown.

Found by kim and mlelstv, confirmed by me

(jakllsch)

2020-09-17 16:54:31 UTC MAIN commitmail json YAML

put gnulib stuff under gnulib/ because things import "gnulib/config.h"

(christos)

2020-09-17 16:45:35 UTC MAIN commitmail json YAML

2020-09-17 16:38:10 UTC MAIN commitmail json YAML

2020-09-17 16:36:40 UTC MAIN commitmail json YAML

src/external/gpl3/gdb/lib/Makefile@1.4 / diff / nxr@1.4
src/external/gpl3/gdb/lib/libctf/Makefile@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libctf/arch/x86_64/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libctf/arch/x86_64/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdb/Makefile@1.27 / diff / nxr@1.27
src/external/gpl3/gdb/lib/libgdbsupport/Makefile@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdbsupport/arch/x86_64/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgdbsupport/arch/x86_64/gdbsupport/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgnulib/Makefile@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/alloca.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/ctype.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/dirent.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/fcntl.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/fnmatch.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/glob.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/inttypes.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/limits.h@1.1 / diff / nxr@1.1
src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/locale.h@1.1 / diff / nxr@1.1
      :
(more 10 files)
Add new libraries, adjust old ones

(christos)

2020-09-17 16:09:18 UTC MAIN commitmail json YAML

2020-09-17 16:07:41 UTC MAIN commitmail json YAML

src/external/gpl3/gdb/lib/libgdb/arch/aarch64/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/alpha/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/arm/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/armeb/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/coldfire/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/hppa/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/i386/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/m68000/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/m68k/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/mips64eb/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/mips64el/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/mipseb/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/mipsel/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/powerpc/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/powerpc64/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/sh3eb/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/sh3el/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/sparc/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/sparc64/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/vax/build-gnulib/config.h deleted
src/external/gpl3/gdb/lib/libgdb/arch/x86_64/build-gnulib/config.h deleted

remove obsolete

(christos)

2020-09-17 16:06:27 UTC MAIN commitmail json YAML

2020-09-17 16:05:34 UTC MAIN commitmail json YAML

2020-09-17 16:05:14 UTC MAIN commitmail json YAML

2020-09-17 15:43:24 UTC MAIN commitmail json YAML

Use internal_ptrace() instead of ptrace()

Cherry-pick:

commit 0008fb343704bafc3469703be930b8a65d7c47fa
Author: Kamil Rytarowski <n54@gmx.com>
Date:  Mon Sep 14 10:10:49 2020 +0200

    [compiler-rt] [netbsd] Use internal_ptrace() instead of ptrace()

(kamil)

2020-09-17 15:42:17 UTC MAIN commitmail json YAML

Undo setting _KERNTYPES

The sparc ptrace(2) headers were fixed to work without defined _KERNTYPES.

(kamil)

2020-09-17 12:48:13 UTC MAIN commitmail json YAML

Revert previous, don't write to the parent too early because it can exit
before the child is ready to serve. The child will write in daemon2_detach()
when it is ready.
While here:
- return EXIT_{SUCCESS,FAILURE)
- check syscall error against -1

(christos)

2020-09-17 11:56:35 UTC MAIN commitmail json YAML

ndp_rtm: Only ping once

Pointless doing 3 pings.
On a slow system, it's possible that many RTM_MISS messages could
overflow into the next test.

(roy)

2020-09-17 11:51:01 UTC MAIN commitmail json YAML

arp_rtm: Only ping once

Pointless doing 10 pings.
On a slow system, it's possible that many RTM_MISS messages could
overflow into the next test.

(roy)

2020-09-17 11:37:35 UTC MAIN commitmail json YAML

PR kern/55665: temporarily comment out an assertion that is known to
trigger in some conditions (where ignoring the wrap around does no harm
for now)

(martin)

2020-09-17 06:34:43 UTC MAIN commitmail json YAML

Fix a panic caused while detaching iavf(4)

The sequence of the panic is follow:
  1. failed to disable queues in iavf_stop()
  2. release ec->ec_lock in ether_ifdetach()
  3. do reset scheduled at iavf_stop()
  4. acquire ec->ec_lock in iavf_reset_finish()
    - panic

reviewed by knakahara@n.o, thanks.

(yamaguchi)

2020-09-17 02:17:52 UTC MAIN commitmail json YAML

src/external/gpl3/gdb/bin/gdb/Makefile@1.16 / diff / nxr@1.16
src/external/gpl3/gdb/lib/libbfd/Makefile@1.10 / diff / nxr@1.10
src/external/gpl3/gdb/lib/libbfd/arch/x86_64/bfd-in3.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/x86_64/bfd.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/x86_64/bfd_stdint.h@1.11 / diff / nxr@1.11
src/external/gpl3/gdb/lib/libbfd/arch/x86_64/bfdver.h@1.9 / diff / nxr@1.9
src/external/gpl3/gdb/lib/libbfd/arch/x86_64/config.h@1.10 / diff / nxr@1.10
src/external/gpl3/gdb/lib/libbfd/arch/x86_64/defs.mk@1.8 / diff / nxr@1.8
src/external/gpl3/gdb/lib/libbfd/arch/x86_64/targmatch.h@1.12 / diff / nxr@1.12
src/external/gpl3/gdb/lib/libdecnumber/arch/x86_64/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gdb/lib/libdecnumber/arch/x86_64/gstdint.h@1.11 / diff / nxr@1.11
src/external/gpl3/gdb/lib/libgdb/Makefile@1.25 / diff / nxr@1.25
src/external/gpl3/gdb/lib/libgdb/arch/x86_64/config.h@1.14 / diff / nxr@1.14
src/external/gpl3/gdb/lib/libgdb/arch/x86_64/defs.mk@1.18 / diff / nxr@1.18
src/external/gpl3/gdb/lib/libgdb/arch/x86_64/init.c@1.18 / diff / nxr@1.18
src/external/gpl3/gdb/lib/libgdb/arch/x86_64/jit-reader.h@1.7 / diff / nxr@1.7
src/external/gpl3/gdb/lib/libgdb/arch/x86_64/version.c@1.10 / diff / nxr@1.10
src/external/gpl3/gdb/lib/libgdb/arch/x86_64/xml-builtin.c@1.10 / diff / nxr@1.10
src/external/gpl3/gdb/lib/libiberty/arch/x86_64/defs.mk@1.6 / diff / nxr@1.6
src/external/gpl3/gdb/lib/libopcodes/arch/x86_64/config.h@1.8 / diff / nxr@1.8
      :
(more 3 files)
regen for x86_64 and start fixing the Makefiles (does not link yet)

(christos)

2020-09-17 02:14:49 UTC MAIN commitmail json YAML

Save the mknative-gdb for 8.3 and prepare the mknative-gdb for 10.x

(christos)

2020-09-17 02:12:31 UTC MAIN commitmail json YAML

Add back accidentally missed file

(christos)

2020-09-17 01:19:41 UTC MAIN commitmail json YAML

2020-09-17 00:48:57 UTC MAIN commitmail json YAML

2020-09-16 21:24:30 UTC MAIN commitmail json YAML

fix dependencies for bits/largefile-config.h.  the .cc files don't
depend on it, the outputs of those do.  should fix build issue
reported by otis@.

(mrg)

2020-09-16 18:26:15 UTC MAIN commitmail json YAML

2020-09-16 18:24:58 UTC MAIN commitmail json YAML

2020-09-16 18:19:24 UTC MAIN commitmail json YAML

disable use of ELF TLS in Mesa/libGL

this is an optimization that primarily benefits linux/glibc -
most other systems have this disabled. in netbsd we've tried to
patch around it to make things work, but there still appears to be
some edge cases where libGL mysteriously crashes.

discussed on tech-x11 some time ago. already in place in pkgsrc.

(nia)

2020-09-16 15:04:58 UTC MAIN commitmail json YAML

Use 12K for packet buffer for jumbo frame on PCH2 and newer.

XXX Note that Linux Use 14K.

(msaitoh)

2020-09-16 15:04:02 UTC MAIN commitmail json YAML

Add a workaround for jumbo frame on PCH2 and newer. Tested by chs@.

- Add wm_lv_jumbo_workaround_ich8lan() and use it. From FreeBSD.

  XXX For KUMCTRLSTA_OFFSET_HD_CTRL register modification, it's doubtful.
  FreeBSD and Linux do the same thing that they set the same value on both
  jumbo frame's enable case and the disable case. It seems the default value
  is 0x0b0c and it's not changed on the enable case, so it might be a bug
  on the enable case or the modification is not required.

- Rename I219_UNKNOWN1 to I82579_UNKNOWN1.

(msaitoh)

2020-09-16 13:47:00 UTC MAIN commitmail json YAML

Note ND changes for ARP and RFC 7048.

(roy)

2020-09-16 13:42:05 UTC MAIN commitmail json YAML

9.99.73 welcomes SIOCGNBRINFO

(roy)

2020-09-16 13:32:11 UTC netbsd-8 commitmail json YAML

2020-09-16 13:31:20 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by mlelstv in ticket #1605):

sys/dev/ic/mpt_netbsd.c: revision 1.37

max_devices is a 8bit value and zero is interpreted as 256. This value
can be reported by an mpt device emulated by VMware ESXi.

(martin)

2020-09-16 13:30:42 UTC netbsd-9 commitmail json YAML

2020-09-16 13:29:53 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by mlelstv in ticket #1085):

sys/dev/ic/mpt_netbsd.c: revision 1.37

max_devices is a 8bit value and zero is interpreted as 256. This value
can be reported by an mpt device emulated by VMware ESXi.

(martin)

2020-09-16 10:02:22 UTC MAIN commitmail json YAML

someone pointed out it makes sense to load the exact libXcursor version

(nia)

2020-09-16 09:58:37 UTC MAIN commitmail json YAML

2020-09-16 04:07:32 UTC MAIN commitmail json YAML

Implement fast soft interrupts for Alpha.  It's not yet enabled, because
there is a bug lurking that causes problems when user space starts up,
so we'll stick with the slow path for now.

(thorpej)

2020-09-15 23:40:03 UTC MAIN commitmail json YAML

nd: give missed a default of ND_LLINFO_NOSTATE

It's impossible to miss from this state, where-as 0 is ND_LLINFO_INCOMPLETE
which we can miss from.

(roy)

2020-09-15 23:34:16 UTC MAIN commitmail json YAML

libx11: Dynamically load unversioned libxcursor shared object

the version number is wrong for NetBSD, should be libXcursor.so.2

(nia)

2020-09-15 17:21:39 UTC MAIN commitmail json YAML

max_devices is a 8bit value and zero is interpreted as 256. This value
can be reported by an mpt device emulated by VMware ESXi.

(mlelstv)

2020-09-15 16:22:04 UTC MAIN commitmail json YAML

make(1): move flags for lint test into the test itself

(rillig)

2020-09-15 14:29:04 UTC MAIN commitmail json YAML

Dynamically load an unversioned libXcursor.

The version number is wrong for NetBSD (we have libXcursor.so.2 instead of
libXcursor.so.1) and this makes things fail.

(nia)

2020-09-15 11:19:10 UTC MAIN commitmail json YAML

Don't check lifetime when testing published

(roy)

2020-09-15 11:14:16 UTC MAIN commitmail json YAML

arp: Permanence is from the llentry, not the route

(roy)

2020-09-15 10:58:02 UTC MAIN commitmail json YAML

Fix side effect of previous commit: skip xencons attachement only for
PVHVM guests. Should fix issue with console on PV dom0 reported by
kardel@ in private mail

(bouyer)

2020-09-15 10:33:58 UTC MAIN commitmail json YAML

If acpi_probe() falis, just panic now instead of failing mysteriously later.

(jmcneill)

2020-09-15 10:11:36 UTC MAIN commitmail json YAML

2020-09-15 10:11:15 UTC MAIN commitmail json YAML

2020-09-15 10:05:37 UTC MAIN commitmail json YAML

Implement RFC 7048, making Neighbor Unreachability Detection less impatient

RFC 7048 Section 3 says in the UNREACHABLE state packets continue to be
sent to the link-layer address and then backoff exponentially.
We adjust this slightly and move to the INCOMPLETE state after
`nd_mmaxtries` probes and then start backing off.

This results in simpler code whilst providing a more robust model which
doubles the time to failure over what we did before.
We don't want to be back to the old ARP model where no unreachability
errors are returned because very few applications would look at
unreachability hints provided such as ND_LLINFO_UNREACHABLE or RTM_MISS.

(roy)

2020-09-15 09:33:13 UTC MAIN commitmail json YAML

2020-09-15 09:32:31 UTC MAIN commitmail json YAML

reverse HAVE_GCC test, and list remaining GCC 8 platforms:
- powerpc
- sh3
- m68k
- vax

(mrg)

2020-09-15 09:28:21 UTC MAIN commitmail json YAML

2020-09-15 09:27:26 UTC MAIN commitmail json YAML

2020-09-15 09:23:15 UTC MAIN commitmail json YAML

fix aarch64eb MULTIPROCESSOR boot

- set endian of EL2,EL1 and EL0 at the beginning of start() and cpu_mpstart()
- drop_to_el1() keeps the endian setting

(ryo)

2020-09-15 09:22:32 UTC MAIN commitmail json YAML

build the 32 bit aesfx-sparcv9.S for sparc64 32 bit comapt libs.
now libcrypto works -m32.

(mrg)

2020-09-15 08:44:02 UTC MAIN commitmail json YAML

all mips and powerpc and sh3 build now.
sparc64 seems ok.

(mrg)

2020-09-15 08:39:04 UTC MAIN commitmail json YAML

Add new flag named WM_F_CRC_STRIP and use it. No functional change.

This change also sets the RCTL_SECRC bit on I211 but it doesn't change
the behavior because I211 always strips CRC like I35[04] and I210.

(msaitoh)

2020-09-15 08:33:40 UTC MAIN commitmail json YAML

mii_detach() must come before ifmedia_fini(), otherwise mii_detach()
will have a NULL mutex and fault.

this appears to have been introduced in february, and may be a problem
in other drivers converted to use ifmedia_fini().  i've only fixed the
two that were faulting for me on sunblade 2000 during reboot.

(mrg)

2020-09-15 08:14:31 UTC MAIN commitmail json YAML

2020-09-15 08:13:51 UTC MAIN commitmail json YAML

2020-09-15 07:15:22 UTC MAIN commitmail json YAML

2020-09-15 07:00:04 UTC MAIN commitmail json YAML

2020-09-15 06:22:34 UTC MAIN commitmail json YAML

2020-09-15 05:21:46 UTC MAIN commitmail json YAML

powerpc64, sh3 and vax builds now work.
sh3 and vax now works (workarounds commited.)

(mrg)

2020-09-15 05:19:35 UTC MAIN commitmail json YAML

2020-09-15 05:14:19 UTC MAIN commitmail json YAML

2020-09-15 05:08:07 UTC MAIN commitmail json YAML

2020-09-15 05:06:56 UTC MAIN commitmail json YAML

merge generic changes in eg rs6000/freebsd64.h into netbsd64.h

(mrg)

2020-09-15 04:55:23 UTC MAIN commitmail json YAML

Do not build libtsan on sparc64

(martin)

2020-09-15 04:54:41 UTC MAIN commitmail json YAML

make everyone use gdb.old

(christos)

2020-09-15 02:05:31 UTC MAIN commitmail json YAML

2020-09-14 23:09:34 UTC MAIN commitmail json YAML

make(1): fix coverity annotation for CondParser_String

It had been broken since 2020-09-08, when CondLexer (now CondParser) was
added.

(rillig)

2020-09-14 21:55:53 UTC MAIN commitmail json YAML

2020-09-14 21:52:49 UTC MAIN commitmail json YAML

make(1): add test for wrong error in lint mode for undefined variable

(rillig)

2020-09-14 21:23:58 UTC MAIN commitmail json YAML

make(1): in lint mode, allow undefined variables in dependency lines

This is needed to get past the first few seconds in a src/build.sh run.

The nest obstacle is src/tools/Makefile.gnuhost:30, where the variable
MODULE is undefined even though that file says in line 3 that MODULE is
expected to be set.  It has been saying this since 2001, but since make
didn't have the corresponding check enabled, this didn't break the
build.

(rillig)

2020-09-14 20:43:44 UTC MAIN commitmail json YAML

make(1): inline character constants in var.c

This removes a level of indirection, and the macro names were quite
similar in appearance as well.  The macros may have been used by people
whose editors don't recognize C string and character literals when
navigating to the corresponding brace or parenthesis.  These editors had
already been confused before this commit since there are also string
literals with unbalanced parentheses, and there are far fewer
compensating comments such as /*{*/ or /*)*/ in the code.  In fact, the
only such comment that is left over was in for.c.

This way, there is now a single consistent way of writing these
character literals, which is without macros or comments, since that is
the simplest form.

(rillig)

2020-09-14 19:59:47 UTC MAIN commitmail json YAML

make(1): describe how Parse_Error might print stack traces

In deeply nested include chains and .for loops this may be a useful
feature.  It's a little tricky to generate an intuitive stack trace,
though not impossible.  This explanation also serves as a detailed
documentation about how the .include and .for directives are
implemented.

(rillig)

2020-09-14 19:51:54 UTC MAIN commitmail json YAML

2020-09-14 19:14:19 UTC MAIN commitmail json YAML

make(1): in debug mode, reset unused stack space to NULL

(rillig)

2020-09-14 19:00:28 UTC MAIN commitmail json YAML

Switch hppa to gcc 9.

Summary for 883 test programs:
    7487 passed test cases.
    644 failed test cases.
    51 expected failed test cases.
    582 skipped test cases.

(skrll)

2020-09-14 18:49:24 UTC MAIN commitmail json YAML

make(1): add test for nested .for loops with the same variable name

(rillig)

2020-09-14 18:27:16 UTC MAIN commitmail json YAML

make(1): in the deptgt test, describe what happens to the targets

(rillig)

2020-09-14 18:21:26 UTC MAIN commitmail json YAML

2020-09-14 17:47:05 UTC MAIN commitmail json YAML

make(1): fix documentation of ParseLinkSrcArgs.specType

That code is never called for .SUFFIXES, but for .END.

(rillig)

2020-09-14 17:44:58 UTC MAIN commitmail json YAML

make(1): clean up documentation and code of ParseLinkSrc

The previous documentation was focused on the implementation details,
which are already clear from the code.  Add some high-level
documentation to help readers understand how this function fits into the
overall picture.

(rillig)

2020-09-14 17:43:36 UTC MAIN commitmail json YAML

make(1): add test for combining several special targets

(rillig)

2020-09-14 17:14:12 UTC MAIN commitmail json YAML

2020-09-14 16:59:41 UTC MAIN commitmail json YAML

make(1): eliminate the global variable specType

This variable didn't have an intended lifetype of "whole application",
therefore it is better implemented as a local variable that is passed
around the few functions that really need it.  It's the same pattern as
in the ModifyWord functions in var.c, only this time without a typedef.

(rillig)

2020-09-14 16:40:06 UTC MAIN commitmail json YAML

make(1): extract ParseDependencyTargetWord from ParseDoDependency

(rillig)

2020-09-14 16:33:07 UTC MAIN commitmail json YAML

make(1): split "general GNode *" in ParseDoDepends

(rillig)

2020-09-14 16:27:07 UTC MAIN commitmail json YAML

make(1): fix type of parseKeywords.op

(rillig)

2020-09-14 16:23:33 UTC MAIN commitmail json YAML

make(1): extract some code out of ParseDoDependency

With its almost 600 lines, that function is way too long.

(rillig)

2020-09-14 16:16:52 UTC MAIN commitmail json YAML

make(1): inline LPAREN in parse.c

It's shorter and more readable, and the other characters don't have
named constants as well.

(rillig)

2020-09-14 16:13:19 UTC MAIN commitmail json YAML

(Re)Enable -Werror=array-bounds.

(skrll)

2020-09-14 16:12:41 UTC MAIN commitmail json YAML

make(1): flip conditions in ParseDoDependency

In the usual case where the character is a letter or another ordinary
character, each of the terminal conditions has to be evaluated,
therefore from the compiler's view the order doesn't matter.  For
humans, "a unless b" is easier to grasp and more common than "not b but
a", therefore switch to the common pattern.

(rillig)

2020-09-14 16:11:32 UTC MAIN commitmail json YAML

-Wno-error=array-bounds (missed from previous commit)

(skrll)