From e5a09646a482865af08738396011e7efb1318da1 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Thu, 8 Apr 2010 20:01:04 +0000 Subject: [PATCH] - testsuite: Fix gdb.base/gstack.exp also for ppc64 inferiors (for BZ 579793). --- gdb-6.3-gstack-20050411.patch | 2 +- gdb.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gdb-6.3-gstack-20050411.patch b/gdb-6.3-gstack-20050411.patch index e38ddd3..100b877 100644 --- a/gdb-6.3-gstack-20050411.patch +++ b/gdb-6.3-gstack-20050411.patch @@ -175,7 +175,7 @@ diff -up -ruNp gdb-7.0.1-empty/gdb/gstack.sh gdb-7.0.1/gdb/gstack.sh +} +set pid [exp_pid -i $res] +gdb_expect { -+ -re {^#0 +0x[0-9a-f]+ in func \(\)\r\n#1 +0x[0-9a-f]+ in main \(\)\r\nGSTACK-END\r\n$} { ++ -re {^#0 +0x[0-9a-f]+ in \.?func \(\)\r\n#1 +0x[0-9a-f]+ in \.?main \(\)\r\nGSTACK-END\r\n$} { + pass $test + } + eof { diff --git a/gdb.spec b/gdb.spec index 6141b64..be21619 100644 --- a/gdb.spec +++ b/gdb.spec @@ -36,7 +36,7 @@ Version: 7.1 # The release always contains a leading reserved number, start it at 1. # `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing. -Release: 10%{?_with_upstream:.upstream}%{dist} +Release: 11%{?_with_upstream:.upstream}%{dist} License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and GFDL and BSD and Public Domain Group: Development/Debuggers @@ -1050,6 +1050,9 @@ fi %endif %changelog +* Thu Apr 8 2010 Jan Kratochvil - 7.1-11.fc13 +- testsuite: Fix gdb.base/gstack.exp also for ppc64 inferiors (for BZ 579793). + * Thu Apr 8 2010 Jan Kratochvil - 7.1-10.fc13 - Fix s390 --with testsuite Buildrequiers to be (s390-32) (BZ 580347, Cai Qian).