notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
mdb Solaris Modular Debugger
20230323 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 20230323Version of this port present on the latest quarterly branch.
Ignore IGNORE: requires full source tree with CDDL sources
Maintainer: jhb@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-07-27 19:52:12
Last Update: 2023-12-31 00:37:05
Commit Hash: bbab7f5
License: CDDL
WWW:
https://docs.oracle.com/cd/E19683-01/806-6545/index.html
Description:
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (11 items)
Collapse this list.
  1. /usr/local/share/licenses/mdb-20230323/catalog.mk
  2. /usr/local/share/licenses/mdb-20230323/LICENSE
  3. /usr/local/share/licenses/mdb-20230323/CDDL
  4. bin/mdb
  5. lib/mdb/kvm/amd64/kernel.so
  6. lib/mdb/kvm/amd64/kld.so
  7. lib/mdb/kvm/amd64/mdb_ks.so
  8. lib/mdb/kvm/amd64/opensolaris.so
  9. @owner
  10. @group
  11. @mode
Collapse this list.
Dependency lines:
  • mdb>0:devel/mdb
To install the port:
cd /usr/ports/devel/mdb/ && make install clean
We doubt a package is available for this port because we see it marked as as:
  • Ignore
Packages are normally not provided for ports that are marked as above.
To add the package, run one of these commands:
  • pkg install devel/mdb
  • pkg install mdb
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: mdb
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: amd64
distinfo:
TIMESTAMP = 1679605239 SHA256 (bsdjhb-illumos-gate-20230323-80a98276db_GH0.tar.gz) = 0d07311c3503fdd0c12995aa684635c4b091453db8c4cde813addb3299156f88 SIZE (bsdjhb-illumos-gate-20230323-80a98276db_GH0.tar.gz) = 115102877

Packages (timestamps in pop-ups are UTC):
mdb
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-20230323------
FreeBSD:13:quarterly-20230323------
FreeBSD:14:latest-20230323------
FreeBSD:14:quarterly-20230323------
FreeBSD:15:latest-20230323n/a-n/a---
This port has no dependencies.
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_mdb
USES:
compiler uidfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/bsdjhb/illumos-gate/tar.gz/80a98276db?dummy=/
Collapse this list.

Number of commits found: 21

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
20230323
31 Dec 2023 00:37:05
commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38commit hash: bbab7f59e9630416397189df70ec133bdd690e38 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: 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
20230323
23 Mar 2023 21:03:48
commit hash: 1eceef346fc9ca82892ff08d5c77c8ef6f6dc297commit hash: 1eceef346fc9ca82892ff08d5c77c8ef6f6dc297commit hash: 1eceef346fc9ca82892ff08d5c77c8ef6f6dc297commit hash: 1eceef346fc9ca82892ff08d5c77c8ef6f6dc297 files touched by this commit
John Baldwin (jhb) search for other commits by this committer
devel/mdb: Update to fix build on recent 14.
20210810
14 Jan 2023 23:14:56
commit hash: 21778d8958f518e2179b1053d75cfb6c71405558commit hash: 21778d8958f518e2179b1053d75cfb6c71405558commit hash: 21778d8958f518e2179b1053d75cfb6c71405558commit hash: 21778d8958f518e2179b1053d75cfb6c71405558 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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)
20210810
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
20210810
10 Aug 2021 21:51:15
commit hash: d112ec75375763b857b11070dd5abfd265536dc8commit hash: d112ec75375763b857b11070dd5abfd265536dc8commit hash: d112ec75375763b857b11070dd5abfd265536dc8commit hash: d112ec75375763b857b11070dd5abfd265536dc8 files touched by this commit
John Baldwin (jhb) search for other commits by this committer
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
20210125_1
06 Jun 2021 18:20:02
commit hash: 6f7976573c611f946f9ce34a3f21c848ab48d1decommit hash: 6f7976573c611f946f9ce34a3f21c848ab48d1decommit hash: 6f7976573c611f946f9ce34a3f21c848ab48d1decommit hash: 6f7976573c611f946f9ce34a3f21c848ab48d1de files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
devel/mdb: fix tautological-pointer-compare warning option

During an exp-run for llvm 12 (see bug 255570), it turned out that
devel/mdb does not build with clang 12.0.0:

cc  -O2 -pipe  -DMDB_PREFIX=\"/usr/local\" -g -fstack-protector-strong
-fno-strict-aliasing 
-I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/usr.bin/mdb/mdb/../../../../sys/cddl/compat/opensolaris
 -I/usr/src/sys/cddl/compat/opensolaris 
-I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/usr.bin/mdb/mdb/../../../../cddl/compat/opensolaris/include
 -I/usr/src/cddl/compat/opensolaris/include 
-I/usr/src/cddl/contrib/opensolaris/head 
-I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/usr.bin/mdb/mdb/../../../../../usr/src/lib/libdisasm/common
 -I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/usr.bin/mdb/mdb/../../../../../usr/src/common/dis/i386
 -I/usr/src/cddl/contrib/opensolaris/lib/libctf/common 
-I/usr/src/sys/cddl/contrib/opensolaris/uts/common
-I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/usr.bin/mdb/mdb/../../../../../usr/src/cmd/mdb/intel/mdb
-I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/usr.bin/mdb/mdb/../../../../../usr/src/cmd/mdb/intel/amd64/mdb
-I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/usr.bin/mdb/mdb/../../../../../usr/src/cmd/mdb/intel
-I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/usr.bin/mdb/mdb/../../../../../usr/src/lib/libsaveargs/common
-D_MDB
-I/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/usr.bin/mdb/mdb/../../../../../usr/src/cmd/mdb/common
-I/usr/src -DDIS_TEXT -D_SYS_INT_TYPES_H -Dmemalign=aligned_alloc
-DTCGETS=TIOCGETA -DTCSETSW=TIOCSETAW -DIUCLC=0 -DENODATA=ENOENT   -D__amd64
-DIN_BASE -DNEED_SOLARIS_BOOLEAN -fPIE -MD  -MF.depend.kvm_amd64dep_freebsd.o
-MTkvm_amd64dep_freebsd.o -std=gnu99 -Wno-format-zero-length -nobuiltininc
-idirafter /usr/lib/clang/12.0.0/include -fstack-protector-strong
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align
-Wchar-subscripts -Wnested-externs -Wredundant-decls -Wold-style-definition
-Wno-pointer-sign -Wno-unknown-pragmas -Wmissing-variable-declarations
-Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
-Wno-bitwise-op-parentheses  -Wno-cast-align  -Wno-cast-qual 
-Wno-char-subscripts  -Wno-incompatible-pointer-types 
-Wno-incompatible-pointer-types-discards-qualifiers  -Wno-logical-op-parentheses
 -Wno-missing-braces  -Wno-missing-field-initializers 
-Wno-missing-variable-declarations  -Wno-shadow  -Wno-sign-compare 
-Wno-strict-prototypes  -Wno-error-tautological-pointer-compare 
-Wno-unused-parameter  -Qunused-arguments    -c
/wrkdirs/usr/ports/devel/mdb/work/illumos-gate-60ff9f11c2/freebsd/cddl/usr.bin/mdb/mdb/../../../../../usr/src/cmd/mdb/intel/mdb/kvm_amd64dep_freebsd.c
-o kvm_amd64dep_freebsd.o
error: unknown -Werror warning specifier:
'-Wno-error-tautological-pointer-compare' [-Werror,-Wunknown-warning-option]
*** [kvm_amd64dep_freebsd.o] Error code 1

This is because for a while -Wno-error- options should be spelled as
-Wno-error=, instead.

Approved by:	maintainer timeout (2 weeks)
PR:		255955
MFH:		2021Q2
20210125
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
20210125
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
20210125
25 Jan 2021 20:42:39
Revision:562609Original commit files touched by this commit
jhb search for other commits by this committer
Fix build on 13 and 14 after dtrace.h changes in src on Jan 6, 2021.
20201204
08 Dec 2020 20:25:39
Revision:557301Original commit files touched by this commit
jhb search for other commits by this committer
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
20200319
20 Mar 2020 01:33:43
Revision:528754Original commit files touched by this commit
jhb search for other commits by this committer
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
20190315
21 Nov 2019 22:22:05
Revision:518116Original commit files touched by this commit
jhb search for other commits by this committer
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
20190315
05 Apr 2019 19:08:15
Revision:497977Original commit files touched by this commit
jhb search for other commits by this committer
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
0.3_1
28 Dec 2018 19:23:54
Revision:488620Original commit files touched by this commit
jhb search for other commits by this committer
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
0.3
02 Nov 2018 13:32:35
Revision:483807Original commit files touched by this commit
rene search for other commits by this committer
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
0.3
20 Jun 2018 17:23:36
Revision:472886Original commit files touched by this commit
jhb search for other commits by this committer
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
0.2
19 Jan 2018 01:38:49
Revision:459387Original commit files touched by this commit
jhb search for other commits by this committer
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
0.1
21 Sep 2017 21:02:03
Revision:450307Original commit files touched by this commit
jhb search for other commits by this committer
Honor SRC_BASE when building.

Reported by:	glebius
Differential Revision:	https://reviews.freebsd.org/D12441
0.1
02 Aug 2017 23:58:03
Revision:447184Original commit files touched by this commit
jhb search for other commits by this committer
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
0.1
27 Jul 2017 19:52:03
Revision:446775Original commit files touched by this commit
jhb search for other commits by this committer
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

Number of commits found: 21