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.
This commit is contained in:
parent
840855c5ed
commit
a0f8e08a3c
3 changed files with 7 additions and 35 deletions
|
@ -1083,39 +1083,6 @@ outreg (struct regcache *regcache, int regno, char *buf)
|
|||
return 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue