Blame SOURCES/gdb-bz634108-solib_address.patch

26bbde
Fix gdb.solib_address (fix by Phil Muldoon).
26bbde
26bbde
s/solib_address/solib_name/ during upstreaming.
26bbde
26bbde
--- /dev/null
26bbde
+++ b/gdb/testsuite/gdb.python/rh634108-solib_address.exp
26bbde
@@ -0,0 +1,24 @@
26bbde
+# Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
26bbde
+
26bbde
+# This program is free software; you can redistribute it and/or modify
26bbde
+# it under the terms of the GNU General Public License as published by
26bbde
+# the Free Software Foundation; either version 3 of the License, or
26bbde
+# (at your option) any later version.
26bbde
+#
26bbde
+# This program is distributed in the hope that it will be useful,
26bbde
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
26bbde
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26bbde
+# GNU General Public License for more details.
26bbde
+#
26bbde
+# You should have received a copy of the GNU General Public License
26bbde
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
26bbde
+
26bbde
+# https://bugzilla.redhat.com/show_bug.cgi?id=634108
26bbde
+
26bbde
+gdb_exit
26bbde
+gdb_start
26bbde
+
26bbde
+# Skip all tests if Python scripting is not enabled.
26bbde
+if { [skip_python_tests] } { continue }
26bbde
+
26bbde
+gdb_test "python print gdb.solib_name(-1)" "None" "gdb.solib_name exists"