Use gdbpy_enter in gdbpy_before_prompt_hook
[binutils-gdb.git] / gdb / core-regset.c
index 20a3379b5dcbe79734b04bfe08a0112363613559..278887be8f0a66144ed27c243fac78eb222dfc60 100644 (file)
@@ -1,6 +1,6 @@
 /* Machine independent GDB support for core files on systems using "regsets".
 
-   Copyright (C) 1993-2013 Free Software Foundation, Inc.
+   Copyright (C) 1993-2017 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -34,8 +34,6 @@
 #include "regcache.h"
 
 #include <fcntl.h>
-#include <errno.h>
-#include "gdb_string.h"
 #include <time.h>
 #ifdef HAVE_SYS_PROCFS_H
 #include <sys/procfs.h>