This is a port of the Solaris Modular Debugger to FreeBSD. Currently it
only supports debugging of FreeBSD/amd64 kernels via kernel crashes
(vmcores) or live systems via /dev/mem. It does not include a port of the
in-kernel kmdb debugger.
devel/mdb: Update to latest version
This update includes a patch that enables the use of the system implementation
starting with FreeBSD 1500047.
PR: 287860
Approved by: jhb (maintainer, IRC)
Sponsored by: Netflix
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
Also move conditional flags for non sparc64/arm ARCH to fixed flags.
Reviewed by: brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
Cleanup: Remove devel/llvm[789]0
* remove old devel/llvm70
* remove old devel/llvm80
* remove old devel/llvm90
* remove ports explicitely depending on either of the three
Differential Revision: https://reviews.freebsd.org/D37936
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel/mdb: Update to 20210810 snapshot.
This update pulls in dim@'s earlier fix for building with clang 12
as well as an additional fix for breakage caused by a recent OpenZFS
change to remove avl_size.
Sponsored by: Netflix
devel/mdb: Update to a newer snapshot which builds on recent HEAD.
This snapshot includes fixes to build again on HEAD after the OpenZFS
import. It also fixes ::kgrep on HEAD after the changes in r346302.
Finally, it includes debug symbols in shipped binaries to ease future
debugging.
Tested by: gallatin
Approved by: kevans (ports)
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D27427
Pull in a fix to ignore a warning in llvm 10.
This fixes the build of the port on head.
Submitted by: glebius
Approved by: mandree
Differential Revision: https://reviews.freebsd.org/D24132
Use clang 7 as compiler on 11.x and 12.x to fix build.
clang 8 and later error for duplicate definitions of enum values. mdb
depends on having identical but duplicate definitions. This was fixed
differently in 13 with a change to the kernel, but that change is
disruptive and cannot be easily backported.
Reported by: pkg-fallout, Attila Nagy
Approved by: bdrewery
MFH: 2019Q3
Differential Revision: https://reviews.freebsd.org/D22486
Fix build with clang 8.
Workaround clang 8 compile issues on head. Note that this requires
changes to the kernel source tree in r345196.
While here, switch to using a date for the version number since there
are no real version numbers in the git repository. This doesn't use
the 'g' prefix since the older versions that already exist would sort
after it.
PR: 236207
Reviewed by: swills, jrm
Differential Revision: https://reviews.freebsd.org/D19602
Fix build of devel/mdb.
- Include bsd.port.pre.mk before using SRC_BASE.
- Add a missing file to the packing list.
- Bump PORTREVISION.
Approved by: zeising
Differential Revision: https://reviews.freebsd.org/D18675
Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by: rene
Reviewed by: bapt, jbeich
Differential Revision: https://reviews.freebsd.org/D17724
Update mdb for kernels with PTI.
Recognize fast_syscall_common as a trapframe generator.
The 'syscall' entry points now use this symbol in kernels with PTI.
Reviewed by: bdrewery
Differential Revision: https://reviews.freebsd.org/D15828
Update mdb port with various fixes.
- Skip sections in kernel modules without SHF_ALLOC to catch up to
r328101.
- Fix autoloading of mdb modules based on FreeBSD kernel modules.
- Add an opensolaris module for opensolaris.ko that includes
walkers and commands for avl and nvlist.
- Recognize mchk_calltrap as a trapframe generator.
- Bump PORTVERSION to 0.2.
Submitted by: Jan Kryl <jan.kryl@cloudbyte.com> [2,3]
Reviewed by: bdrewery
Differential Revision: https://reviews.freebsd.org/D13976
Disable -Werror to fix build on versions older than 11.0.
The Makefiles in this port use CWARNFLAGS.clang to disable certain
warnings on clang. However, the bsd.*.mk files only support this
feature in 11.0 and later. Disable -Werror on older OS versions as
a workaround.
Approved by: feld
Add a port for the Solaris Modular Debugger (mdb).
Currently it only supports debugging of FreeBSD/amd64 kernels via kernel
crashes (vmcores) or live systems via /dev/mem. It does not include a
port of the in-kernel kmdb debugger.
PR: 220891
Reviewed by: mat
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D11682