mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
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:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user