e86a0cc13a5d91ba95242690237bb77511500897. - Don't apply patches gdb-rhel5-gcc44.patch, gdb-6.6-buildid-locate-rpm-scl.patch, gdb-readline62-ask-more-rh.patch, gdb-6.8-attach-signalled-detach-stopped.patch, gdb-6.8-quit-never-aborts.patch, gdb-rhel5-compat.patch; retained to have same structure as fedoras package. - Add gdb-testsuite-nohostid.patch (from fedora). - Remove gdb-fix-attach-signalled-detach-stopped.patch again (as base not applied), gdb-ppc-ptrace.diff (not applied since some time). OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=93
51 lines
1.4 KiB
Diff
51 lines
1.4 KiB
Diff
http://sourceware.org/ml/gdb-patches/2014-02/msg00158.html
|
|
Subject: [patch] testsuite: Fix "ERROR: no fileid for"
|
|
|
|
|
|
--azLHFNyN32YCQGCU
|
|
Content-Type: text/plain; charset=us-ascii
|
|
Content-Disposition: inline
|
|
|
|
Hi,
|
|
|
|
a35cfb4007cee8cb84106412cd17f4e12f13345b is the first bad commit
|
|
commit a35cfb4007cee8cb84106412cd17f4e12f13345b
|
|
Author: Maciej W. Rozycki <macro@codesourcery.com>
|
|
Date: Thu Oct 24 23:32:30 2013 +0100
|
|
|
|
$ runtest gdb.base/solib-disc.exp
|
|
Running ./gdb.base/solib-disc.exp ...
|
|
ERROR: no fileid for host1
|
|
[...]
|
|
|
|
|
|
Jan
|
|
|
|
--azLHFNyN32YCQGCU
|
|
Content-Type: text/plain; charset=us-ascii
|
|
Content-Disposition: inline; filename="gdbfinish.patch"
|
|
|
|
gdb/testsuite/
|
|
2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
|
|
Fix "ERROR: no fileid for" in the testsuite.
|
|
* lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
|
|
|
|
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
|
|
index 533b81b..5c53cdf 100644
|
|
--- a/gdb/testsuite/lib/gdb.exp
|
|
+++ b/gdb/testsuite/lib/gdb.exp
|
|
@@ -3708,7 +3708,8 @@ proc gdb_finish { } {
|
|
global cleanfiles
|
|
|
|
# Give persistent gdbserver a chance to terminate before GDB is killed.
|
|
- if {[info exists gdbserver_reconnect_p] && $gdbserver_reconnect_p} {
|
|
+ if {[info exists gdbserver_reconnect_p] && $gdbserver_reconnect_p
|
|
+ && [info exists gdb_spawn_id]} {
|
|
send_gdb "kill\n";
|
|
gdb_expect 10 {
|
|
-re "y or n" {
|
|
|
|
--azLHFNyN32YCQGCU--
|
|
|