Integrated: 8367862: debug.cpp: Do not print help message for methods ifdef'd out
Kerem Kat
krk at openjdk.org
Mon Sep 22 15:35:04 UTC 2025
On Wed, 17 Sep 2025 11:27:27 GMT, Kerem Kat <krk at openjdk.org> wrote:
> The `help` command in `debug.cpp` was out of date, listing only a fraction of the available functions. This and other commands callable from gdb via `call help()`.
>
> I added all commands to the help message, except `pns2` as it is documented as not being useful when called from gdb.
>
> Also fixed is the message for the conditional `pns` command appearing in PRODUCT builds.
This pull request has now been integrated.
Changeset: 2f74e143
Author: Kerem Kat <krk at openjdk.org>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/2f74e1433489bccf1fe493417715c0861f88a995
Stats: 43 lines in 1 file changed: 25 ins; 0 del; 18 mod
8367862: debug.cpp: Do not print help message for methods ifdef'd out
Reviewed-by: mhaessig, kevinw, shade, phh
-------------
PR: https://git.openjdk.org/jdk/pull/27341
More information about the hotspot-dev
mailing list