This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug remote/17818] New: remote.c:5519: possible () mixup ?


https://sourceware.org/bugzilla/show_bug.cgi?id=17818

            Bug ID: 17818
           Summary: remote.c:5519: possible () mixup ?
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: remote
          Assignee: unassigned at sourceware dot org
          Reporter: dcb314 at hotmail dot com

[binutils-gdb/gdb/remote.c:5519]: (error) Invalid strncmp() argument nr 3. A
non-boolean value is required.

      if (strncmp (p, "awatch", strlen("awatch")) != 0
          && strncmp (p, "core", strlen ("core") != 0))

maybe

      if (strncmp (p, "awatch", strlen("awatch")) != 0
          && strncmp (p, "core", strlen ("core")) != 0)

was intended.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]