aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
authorLancelot SIX <lancelot.six@amd.com>2023-02-06 19:16:14 +0000
committerLancelot SIX <lancelot.six@amd.com>2023-02-13 09:42:13 +0000
commit08d8af48e49d59efd5780bb9e360730d4fd149b1 (patch)
treeb1e5de0415e1c9ba1f285af59bf1c963d540959b /gdb/configure
parent3eef3b2c2d85bb0b83a4e902d4444400ddfde0ab (diff)
downloadgdb-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/configure')
-rwxr-xr-xgdb/configure3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/configure b/gdb/configure
index 113b7cf..8b20399 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -18252,6 +18252,9 @@ $as_echo "yes" >&6; }
fi
if test "$has_amd_dbgapi" = "yes"; then
+
+$as_echo "#define HAVE_AMD_DBGAPI 1" >>confdefs.h
+
TARGET_OBS="$TARGET_OBS amd-dbgapi-target.o"
# If --enable-targets=all was provided, use the list of all files depending