aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2016-01-25 16:11:43 +0000
committerYao Qi <yao.qi@linaro.org>2016-01-25 16:11:43 +0000
commita0f8e08a3c357ae24d3244940e1c6b405a0c17cc (patch)
treebc82bd8a90371cc8e608e4c8fb158ae8b133684e /gdb
parent840855c5edfb840a97fb063fd8f44a7e9e537b87 (diff)
downloadgdb-a0f8e08a3c357ae24d3244940e1c6b405a0c17cc.zip
gdb-a0f8e08a3c357ae24d3244940e1c6b405a0c17cc.tar.gz
gdb-a0f8e08a3c357ae24d3244940e1c6b405a0c17cc.tar.bz2
Remove new_thread_notify and dead_thread_notify
They were added by PATCH: Multithreaded debugging for gdbserver https://sourceware.org/ml/gdb-patches/2002-06/msg00157.html but as a no-op, and the last usage of them was removed by [gdbserver/RFC/RFA] Implement multiprocess extensions, add linux multiproces support. https://sourceware.org/ml/gdb-patches/2009-03/msg00667.html This patch is to remove them. gdb/gdbserver: 2016-01-25 Yao Qi <yao.qi@linaro.org> * remote-utils.c (new_thread_notify): Remove. (dead_thread_notify): Likewise. * remote-utils.h (new_thread_notify): Remove declaration. (dead_thread_notify): Likewise.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/gdbserver/ChangeLog7
-rw-r--r--gdb/gdbserver/remote-utils.c33
-rw-r--r--gdb/gdbserver/remote-utils.h2
3 files changed, 7 insertions, 35 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index a25dc9b..2e94aa8 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,10 @@
+2016-01-25 Yao Qi <yao.qi@linaro.org>
+
+ * remote-utils.c (new_thread_notify): Remove.
+ (dead_thread_notify): Likewise.
+ * remote-utils.h (new_thread_notify): Remove declaration.
+ (dead_thread_notify): Likewise.
+
2016-01-23 Marcin Koƛcielnicki <koriakin@0x04.net>
* gdb.trace/pending.exp: Fix expected message on continue.
diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c
index 15cdbe1..292197a 100644
--- a/gdb/gdbserver/remote-utils.c
+++ b/gdb/gdbserver/remote-utils.c
@@ -1084,39 +1084,6 @@ outreg (struct regcache *regcache, int regno, char *buf)
}
void
-new_thread_notify (int id)
-{
- char own_buf[256];
-
- /* The `n' response is not yet part of the remote protocol. Do nothing. */
- if (1)
- return;
-
- if (server_waiting == 0)
- return;
-
- sprintf (own_buf, "n%x", id);
- disable_async_io ();
- putpkt (own_buf);
- enable_async_io ();
-}
-
-void
-dead_thread_notify (int id)
-{
- char own_buf[256];
-
- /* The `x' response is not yet part of the remote protocol. Do nothing. */
- if (1)
- return;
-
- sprintf (own_buf, "x%x", id);
- disable_async_io ();
- putpkt (own_buf);
- enable_async_io ();
-}
-
-void
prepare_resume_reply (char *buf, ptid_t ptid,
struct target_waitstatus *status)
{
diff --git a/gdb/gdbserver/remote-utils.h b/gdb/gdbserver/remote-utils.h
index 32933f5..2ddf590 100644
--- a/gdb/gdbserver/remote-utils.h
+++ b/gdb/gdbserver/remote-utils.h
@@ -44,8 +44,6 @@ void initialize_async_io (void);
void enable_async_io (void);
void disable_async_io (void);
void check_remote_input_interrupt_request (void);
-void new_thread_notify (int id);
-void dead_thread_notify (int id);
void prepare_resume_reply (char *buf, ptid_t ptid,
struct target_waitstatus *status);