26 lines
1.0 KiB
Diff
26 lines
1.0 KiB
Diff
From 8c0ae8c3c6fa34f046131f76871db13bc392a440 Mon Sep 17 00:00:00 2001
|
|
From: Tom de Vries <tdevries@suse.de>
|
|
Date: Tue, 13 Jun 2023 14:56:55 +0200
|
|
Subject: [PATCH 4/6] fixup gdb-6.3-gstack-20050411.patch
|
|
|
|
---
|
|
gdb/testsuite/gdb.base/gstack.exp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/gdb/testsuite/gdb.base/gstack.exp b/gdb/testsuite/gdb.base/gstack.exp
|
|
index 089407ec04a..a5dacd582ff 100644
|
|
--- a/gdb/testsuite/gdb.base/gstack.exp
|
|
+++ b/gdb/testsuite/gdb.base/gstack.exp
|
|
@@ -52,7 +52,7 @@ gdb_expect {
|
|
# exiting the function. Still we could retry the gstack command if we fail.
|
|
|
|
set test "spawn gstack"
|
|
-set command "sh -c GDB=$GDB\\ GDBARGS=-data-directory\\\\\\ $BUILD_DATA_DIRECTORY\\ sh\\ ${srcdir}/../gstack.sh\\ $pid\\;echo\\ GSTACK-END"
|
|
+set command "sh -c GDB=$GDB\\ GDBARGS=-data-directory\\\\\\ $GDB_DATA_DIRECTORY\\ sh\\ ${srcdir}/../gstack.sh\\ $pid\\;echo\\ GSTACK-END"
|
|
set res [remote_spawn host $command];
|
|
if { $res < 0 || $res == "" } {
|
|
perror "Spawning $command failed."
|
|
--
|
|
2.35.3
|
|
|