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.
This commit is contained in:
parent
8d6a12ee15
commit
9e77999c3a
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-04-09 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* varobj.c (update_dynamic_varobj_children) [!HAVE_PYTHON]:
|
||||
Use gdb_assert_not_reached instead of invalid boolean expression.
|
||||
|
||||
2013-04-09 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* remote.c (unpush_and_perror): New function.
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue