[PATCH v6 2/4] Share parts of gdb/gdbthread.h with gdbserver
Pedro Alves
palves@redhat.com
Fri May 5 19:04:00 GMT 2017
On 05/04/2017 06:29 AM, Sergio Durigan Junior wrote:
> diff --git a/gdb/common/common-gdbthread.h b/gdb/common/common-gdbthread.h
> new file mode 100644
> index 0000000..3e2b991
> --- /dev/null
> +++ b/gdb/common/common-gdbthread.h
> @@ -0,0 +1,27 @@
> +#ifndef COMMON_GDBTHREAD_H
> +#define COMMON_GDBTHREAD_H
> +
> +struct target_waitstatus;
Why add this here? Nothing uses it in this file.
> +
> +/* Switch from one thread to another. */
> +extern void switch_to_thread (ptid_t ptid);
> +
> +#endif /* ! COMMON_GDBTHREAD_H */
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list