aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/python/python.c')
-rw-r--r--gdb/python/python.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/python.c b/gdb/python/python.c
index 5474b8d644f..6e13ab5bb3f 100644
--- a/gdb/python/python.c
+++ b/gdb/python/python.c
@@ -552,7 +552,7 @@ gdbpy_parameter_value (const setting &var)
l++)
if (value == l->use)
{
- if (strcmp (l->literal, "unlimited") == 0)
+ if (streq (l->literal, "unlimited"))
{
/* Compatibility hack for API brokenness. */
if (var.type () == var_pinteger