Page MenuHomeFreeBSD

Add deprecation notices for gdb and kgdb.
ClosedPublic

Authored by jhb on Jul 4 2017, 4:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 29, 12:12 PM
Unknown Object (File)
Oct 4 2024, 1:46 AM
Unknown Object (File)
Oct 3 2024, 6:17 PM
Unknown Object (File)
Oct 3 2024, 5:04 PM
Unknown Object (File)
Oct 3 2024, 12:47 PM
Unknown Object (File)
Oct 1 2024, 10:59 PM
Unknown Object (File)
Oct 1 2024, 2:59 PM
Unknown Object (File)
Sep 24 2024, 6:27 AM
Subscribers

Details

Summary

Even though gdb and kgdb may not be removed for 12.0 on some architectures,
the notice is unconditional as these tools will likely be removed at some
point in the future.

Will merge this into 10.4 and 11.1.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

  • bump .Dd?
  • the deprecation notice is perhaps not true across all architectures?
This revision is now accepted and ready to land.Jul 4 2017, 4:27 PM

I always defer the Dd bump until I actually commit.

While gdb might not be removed for some platforms on 12.0 (notably arm and sparc64), it will be eventually, so the notice will still be accurate in that sense. It is also difficulty to make the text per-arch.

Mainly I'm concerned about users on those architectures (particularly arm) seeing the notice and trying and failing to install a usable gdb from ports.

This revision was automatically updated to reflect the committed changes.

I might sit down and redo arm from scratch and fix it for reals anyway.

(ports gdb for arm that is)

wblock added inline comments.
head/gnu/usr.bin/gdb/gdb/gdb.1
49

This should be

of the
.Fx
base system.
head/gnu/usr.bin/gdb/gdb/gdb.1
49

GDB's manpage is not in mdoc so I expanded this on purpose assuming I couldn't use mdoc macros.

head/gnu/usr.bin/gdb/gdb/gdb.1
49

Ah. My eyes glossed over the line noise markup. Never mind.