This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/5] Move cleanups.[ch] to common
- From: Pedro Alves <palves at redhat dot com>
- To: Gary Benson <gbenson at redhat dot com>, gdb-patches at sourceware dot org
- Date: Thu, 28 Aug 2014 16:36:42 +0100
- Subject: Re: [PATCH 2/5] Move cleanups.[ch] to common
- Authentication-results: sourceware.org; auth=none
- References: <1408351618-21013-1-git-send-email-gbenson at redhat dot com> <1408351618-21013-3-git-send-email-gbenson at redhat dot com>
Hi Gary,
On 08/18/2014 09:46 AM, Gary Benson wrote:
> gdb/
> 2014-08-18 Gary Benson <gbenson@redhat.com>
>
> * cleanups.h: Moved to...
> * common/cleanups.h: New file.
> * cleanups.c: Moved to...
> * common/cleanups.c: New file.
> --- a/gdb/cleanups.c
> +++ b/gdb/common/cleanups.c
> @@ -17,7 +17,8 @@
> You should have received a copy of the GNU General Public License
> along with this program. If not, see <http://www.gnu.org/licenses/>. */
>
> -#include "defs.h"
> +#include "common-defs.h"
> +#include "cleanups.h"
The new cleanups.h inclusion should be mentioned in the ChangeLog as well.
> * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
> (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
> (cleanups.o): New rule.
Thanks,
Pedro Alves