From ddc98fbf2fd9e244a215a4d09e559180dc573a14 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Wed, 15 Jul 2015 17:37:27 +0200 Subject: Create empty nat/linux-maps.[ch] and common/target-utils.[ch] Prepare new files for later move. gdb/ChangeLog 2015-07-15 Aleksandar Ristovski Create empty nat/linux-maps.[ch] and common/target-utils.[ch]. * Makefile.in (HFILES_NO_SRCDIR); Add nat/linux-maps.h, common/target-utils.h. (COMMON_OBS): Add target-utils.o. (linux-maps.o, target-utils.o): New. * target/target-utils.c: New file. * target/target-utils.h: New file. * config/i386/linux.mh (NATDEPFILES): Add linux-maps.o. * config/i386/linux64.mh (NATDEPFILES): Ditto. * nat/linux-maps.c: New file. * nat/linux-maps.h: New file. gdb/gdbserver/ChangeLog 2015-07-15 Aleksandar Ristovski Create empty nat/linux-maps.[ch] and common/target-utils.[ch]. * Makefile.in (OBS): Add target-utils.o. (linux-maps.o, target-utils.o): New. * configure.srv (srv_linux_obj): Add linux-maps.o. --- gdb/target/target-utils.c | 21 +++++++++++++++++++++ gdb/target/target-utils.h | 23 +++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 gdb/target/target-utils.c create mode 100644 gdb/target/target-utils.h (limited to 'gdb/target') diff --git a/gdb/target/target-utils.c b/gdb/target/target-utils.c new file mode 100644 index 0000000..4e8fae7 --- /dev/null +++ b/gdb/target/target-utils.c @@ -0,0 +1,21 @@ +/* Utility target functions for GDB, and GDBserver. + + Copyright (C) 2015 Free Software Foundation, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#include "common-defs.h" +#include "target/target-utils.h" diff --git a/gdb/target/target-utils.h b/gdb/target/target-utils.h new file mode 100644 index 0000000..443ffc3 --- /dev/null +++ b/gdb/target/target-utils.h @@ -0,0 +1,23 @@ +/* Utility target functions for GDB, and GDBserver. + + Copyright (C) 2015 Free Software Foundation, Inc. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + +#ifndef TARGET_TARGET_UTILS_H +#define TARGET_TARGET_UTILS_H + +#endif /* TARGET_TARGET_UTILS_H */ -- cgit v1.1