This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 4/5] move server.h to inferior.h
- From: Tom Tromey <tromey at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Fri, 13 Apr 2012 11:34:45 -0600
- Subject: Re: [PATCH 4/5] move server.h to inferior.h
- References: <1331909994-9473-1-git-send-email-yao@codesourcery.com> <1331909994-9473-5-git-send-email-yao@codesourcery.com>
>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
Yao> This patch moves some inferior-related code out server.h. This change
Yao> is not related to ITSET very much, but since we've put too mcuh stuff
Yao> into server.h, it is reasonable to put them in separate header files.
I'm not a gdbserver expert, but this seems reasonable to me.
However...
Yao> diff --git a/gdb/gdbserver/inferior.h b/gdb/gdbserver/inferior.h
Yao> new file mode 100644
Yao> index 0000000..5275efe
Yao> --- /dev/null
Yao> +++ b/gdb/gdbserver/inferior.h
Yao> @@ -0,0 +1,54 @@
Yao> +
Yao> +#ifndef INFERIOR_H
This file needs a copyright header.
Tom