aboutsummaryrefslogtreecommitdiff
path: root/gdb/auxv.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/auxv.c')
-rw-r--r--gdb/auxv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/auxv.c b/gdb/auxv.c
index 51723f9..0ac7482 100644
--- a/gdb/auxv.c
+++ b/gdb/auxv.c
@@ -234,7 +234,7 @@ memory_xfer_auxv (struct target_ops *ops,
this function only when attaching to a process.
*/
- if (current_inferior ()->attach_flag != 0)
+ if (current_inferior ()->attach_flag)
{
enum target_xfer_status ret;