X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fwindows-tdep.c;h=41b9948f6dc563ec95573665f0b04f2b23dfe18d;hb=d7e15655a40e9133a1cbf53ea071f82cd6745ac8;hp=430d44b2ed65be217059f1183c7ac51e94b8fa22;hpb=26a57c9256d7ec2b4da2f1d85a9fba830948dbd9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/windows-tdep.c b/gdb/windows-tdep.c index 430d44b2ed..41b9948f6d 100644 --- a/gdb/windows-tdep.c +++ b/gdb/windows-tdep.c @@ -279,7 +279,7 @@ static const struct lval_funcs tlb_value_funcs = static struct value * tlb_make_value (struct gdbarch *gdbarch, struct internalvar *var, void *ignore) { - if (target_has_stack && !ptid_equal (inferior_ptid, null_ptid)) + if (target_has_stack && inferior_ptid != null_ptid) { struct type *type = windows_get_tlb_type (gdbarch); return allocate_computed_value (type, &tlb_value_funcs, NULL); @@ -367,7 +367,7 @@ display_one_tib (ptid_t ptid) static void display_tib (const char * args, int from_tty) { - if (!ptid_equal (inferior_ptid, null_ptid)) + if (inferior_ptid != null_ptid) display_one_tib (inferior_ptid); }