This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/5] Move cleanups.[ch] to common


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]