projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
c_value_print: Revert 'val' to a reference for TYPE_CODE_STRUCT
[deliverable/binutils-gdb.git]
/
gdb
/
gdbserver
/
notif.c
diff --git
a/gdb/gdbserver/notif.c
b/gdb/gdbserver/notif.c
index 8bc66dca9e3c556bc3b0b3f767e4289599ef5aae..945516798d599ceac610e0d48a412cb5cead248c 100644
(file)
--- a/
gdb/gdbserver/notif.c
+++ b/
gdb/gdbserver/notif.c
@@
-1,5
+1,5
@@
/* Notification to GDB.
/* Notification to GDB.
- Copyright (C) 1989-201
4
Free Software Foundation, Inc.
+ Copyright (C) 1989-201
6
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-47,6
+47,7
@@
# 3 is done by function 'handle_notif_ack'. */
# 3 is done by function 'handle_notif_ack'. */
+#include "server.h"
#include "notif.h"
static struct notif_server *notifs[] =
#include "notif.h"
static struct notif_server *notifs[] =
@@
-85,7
+86,7
@@
handle_notif_ack (char *own_buf, int packet_len)
{
const char *ack_name = notifs[i]->ack_name;
{
const char *ack_name = notifs[i]->ack_name;
- if (st
rncmp (own_buf, ack_name, strlen (ack_name)) == 0
+ if (st
artswith (own_buf, ack_name)
&& packet_len == strlen (ack_name))
break;
}
&& packet_len == strlen (ack_name))
break;
}
This page took
0.02361 seconds
and
4
git commands to generate.