aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2013-04-09 23:30:50 +0000
committerJoel Brobecker <brobecker@gnat.com>2013-04-09 23:30:50 +0000
commit9e77999c3a028252da01ff1d6d042fb718a84fe3 (patch)
tree03dd7b6ed0bd9d42c5b0dbea8eadbe30d775892e /gdb/varobj.c
parent8d6a12ee15ed1ddd7c50f09015b9fdc13cb151e2 (diff)
downloadgdb-9e77999c3a028252da01ff1d6d042fb718a84fe3.zip
gdb-9e77999c3a028252da01ff1d6d042fb718a84fe3.tar.gz
gdb-9e77999c3a028252da01ff1d6d042fb718a84fe3.tar.bz2
Fix build failure in varobj.c:update_dynamic_varobj_children...
... when !HAVE_PYTHON. gdb/ChangeLog: * varobj.c (update_dynamic_varobj_children) [!HAVE_PYTHON]: Use gdb_assert_not_reached instead of invalid boolean expression.
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r--gdb/varobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c
index 8458836..467e59a 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -1252,7 +1252,7 @@ update_dynamic_varobj_children (struct varobj *var,
return 1;
#else
- gdb_assert (0 && "should never be called if Python is not enabled");
+ gdb_assert_not_reached ("should never be called if Python is not enabled");
#endif
}