Module Name: src Committed By: joerg Date: Sat Jan 4 03:19:00 UTC 2014
Modified Files: src/external/gpl3/gdb/dist/gdb: remote.c Log Message: Fix string compare. To generate a diff of this commit: cvs rdiff -u -r1.1.1.2 -r1.2 src/external/gpl3/gdb/dist/gdb/remote.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gdb/dist/gdb/remote.c diff -u src/external/gpl3/gdb/dist/gdb/remote.c:1.1.1.2 src/external/gpl3/gdb/dist/gdb/remote.c:1.2 --- src/external/gpl3/gdb/dist/gdb/remote.c:1.1.1.2 Thu Oct 3 15:50:36 2013 +++ src/external/gpl3/gdb/dist/gdb/remote.c Sat Jan 4 03:19:00 2014 @@ -5480,7 +5480,7 @@ remote_parse_stop_reply (char *buf, stru as a register number. */ if (strncmp (p, "awatch", strlen("awatch")) != 0 - && strncmp (p, "core", strlen ("core") != 0)) + && strncmp (p, "core", strlen ("core")) != 0) { /* Read the ``P'' register number. */ pnum = strtol (p, &p_temp, 16);