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/bb3466fc5883
branches: trunk
changeset: 792463:bb3466fc5883
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 87ba01d07b49 -r bb3466fc5883 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