diff options
author | Lancelot SIX <lancelot.six@amd.com> | 2023-02-06 19:16:14 +0000 |
---|---|---|
committer | Lancelot SIX <lancelot.six@amd.com> | 2023-02-13 09:42:13 +0000 |
commit | 08d8af48e49d59efd5780bb9e360730d4fd149b1 (patch) | |
tree | b1e5de0415e1c9ba1f285af59bf1c963d540959b /gdb/top.c | |
parent | 3eef3b2c2d85bb0b83a4e902d4444400ddfde0ab (diff) | |
download | gdb-08d8af48e49d59efd5780bb9e360730d4fd149b1.zip gdb-08d8af48e49d59efd5780bb9e360730d4fd149b1.tar.gz gdb-08d8af48e49d59efd5780bb9e360730d4fd149b1.tar.bz2 |
gdb: 'show config' shows --with[out]-amd-dbgapi
Ensure that the "show configuration" command and the "--configuration"
command line switch shows if GDB was built with the AMDGPU support or
not.
This will be used in a later patch in this series.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1629,6 +1629,16 @@ This GDB was configured as follows:\n\ ")); #endif +#if HAVE_AMD_DBGAPI + gdb_printf (stream, _("\ + --with-amd-dbgapi\n\ +")); +#else + gdb_printf (stream, _("\ + --without-amd-dbgapi\n\ +")); +#endif + #if HAVE_SOURCE_HIGHLIGHT gdb_printf (stream, _("\ --enable-source-highlight\n\ |