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)
Dec 26 2023, 12:57 PM
Unknown Object (File)
Dec 20 2023, 5:38 AM
Unknown Object (File)
Nov 12 2023, 8:42 PM
Unknown Object (File)
Nov 10 2023, 7:47 AM
Unknown Object (File)
Oct 26 2023, 2:09 AM
Unknown Object (File)
Oct 9 2023, 7:48 PM
Unknown Object (File)
Oct 9 2023, 6:41 AM
Unknown Object (File)
Sep 10 2023, 7:47 PM
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 Passed
Unit
No Test Coverage
Build Status
Buildable 10302
Build 10719: arc lint + arc unit

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 ↗(On Diff #30445)

This should be

of the
.Fx
base system.
head/gnu/usr.bin/gdb/gdb/gdb.1
49 ↗(On Diff #30445)

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 ↗(On Diff #30445)

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