Blame SOURCES/gdb-bz634108-solib_address.patch

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