Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb/dist/gdb Fix string compare.
details: https://anonhg.NetBSD.org/src/rev/05d6988ae7d8
branches: trunk
changeset: 325723:05d6988ae7d8
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Jan 04 03:19:00 2014 +0000
description:
Fix string compare.
diffstat:
external/gpl3/gdb/dist/gdb/remote.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r f4992cb2aa0c -r 05d6988ae7d8 external/gpl3/gdb/dist/gdb/remote.c
--- a/external/gpl3/gdb/dist/gdb/remote.c Sat Jan 04 02:59:17 2014 +0000
+++ b/external/gpl3/gdb/dist/gdb/remote.c Sat Jan 04 03:19:00 2014 +0000
@@ -5480,7 +5480,7 @@
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);
Home |
Main Index |
Thread Index |
Old Index