Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8367862

debug.cpp: Do not print help message for methods not compiled in

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • 25, 26
    • hotspot

      help() currently prints details for all commands, regardless if they are ifdef'd out e.g. pns. via ifndef PRODUCT.

      When `call pns(...)` is executed in gdb according to the help message on a release build, gdb will complain about symbol not found.

            krk Kerem Kat
            krk Kerem Kat
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: