Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] gdb.rocm: Don't include unistd.h when not necessary
@ 2026-07-02 12:23 Pedro Alves
  2026-07-03 10:49 ` Lancelot SIX
  0 siblings, 1 reply; 2+ messages in thread
From: Pedro Alves @ 2026-07-02 12:23 UTC (permalink / raw)
  To: gdb-patches; +Cc: Lancelot SIX

gdb.rocm/code-object-load-while-breakpoint-hit.cpp is including
unistd.h unnecessarily AFAICS.  Don't include it, so this test can
compile on Windows (x86_64-pc-windows-msvc) as well.

Change-Id: I9f469fd4b061ab9895c8bbbd408939e4df2a4e92
---
 gdb/testsuite/gdb.rocm/code-object-load-while-breakpoint-hit.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gdb/testsuite/gdb.rocm/code-object-load-while-breakpoint-hit.cpp b/gdb/testsuite/gdb.rocm/code-object-load-while-breakpoint-hit.cpp
index d2f2ddcbf6c..d7101b419c0 100644
--- a/gdb/testsuite/gdb.rocm/code-object-load-while-breakpoint-hit.cpp
+++ b/gdb/testsuite/gdb.rocm/code-object-load-while-breakpoint-hit.cpp
@@ -36,7 +36,6 @@ kernel ()
 #else
 
 #include <hip/hip_runtime.h>
-#include <unistd.h>
 
 #include "rocm-test-utils.h"
 

base-commit: 18ca02157d9cc245f035452e397a07a3787034d0
-- 
2.54.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-03 10:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 12:23 [PATCH] gdb.rocm: Don't include unistd.h when not necessary Pedro Alves
2026-07-03 10:49 ` Lancelot SIX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox