[pushed] Update gdb.base/default.exp for GDB 10

Simon Marchi simon.marchi@efficios.com
Wed Dec 18 21:47:00 GMT 2019


Now that the version number in master has been bumped to 10, I get this
failure:

    FAIL: gdb.base/default.exp: show convenience ($_gdb_major = 9 not found)

Update the test accordingly.

gdb/testsuite/ChangeLog:

	* gdb.base/default.exp: Update value of $_gdb_major.
---
 gdb/testsuite/ChangeLog            | 4 ++++
 gdb/testsuite/gdb.base/default.exp | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 01f6fdf37b2e..1079e71c84c0 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2019-12-18  Simon Marchi  <simon.marchi@efficios.com>
+
+	* gdb.base/default.exp: Update value of $_gdb_major.
+
 2019-12-17  Bernd Edlinger  <bernd.edlinger@hotmail.de>
 
 	* gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp
index c323060d9ab9..25e5e661bb58 100644
--- a/gdb/testsuite/gdb.base/default.exp
+++ b/gdb/testsuite/gdb.base/default.exp
@@ -608,7 +608,7 @@ set show_conv_list \
 	{$_gdb_maint_setting = <internal function _gdb_maint_setting>} \
 	{$_gdb_setting_str = <internal function _gdb_setting_str>} \
 	{$_gdb_setting = <internal function _gdb_setting>} \
-	{$_gdb_major = 9} \
+	{$_gdb_major = 10} \
 	{$_gdb_minor = 1} \
 	{$_shell_exitsignal = void} \
 	{$_shell_exitcode = 0} \
-- 
2.24.1



More information about the Gdb-patches mailing list