aboutsummaryrefslogtreecommitdiff
path: root/gdb/debugify.c
diff options
context:
space:
mode:
authorDawn Perchik <dawn@cygnus>1997-02-18 19:33:29 +0000
committerDawn Perchik <dawn@cygnus>1997-02-18 19:33:29 +0000
commit7ae78a73cf9529cbbcbe6ab8c83557047de957be (patch)
tree7a2252cd80570f621333f30335058190407bc093 /gdb/debugify.c
parent8d1ba96ecc35ac9eb4454fa7d5523bbc196451ad (diff)
downloadgdb-7ae78a73cf9529cbbcbe6ab8c83557047de957be.zip
gdb-7ae78a73cf9529cbbcbe6ab8c83557047de957be.tar.gz
gdb-7ae78a73cf9529cbbcbe6ab8c83557047de957be.tar.bz2
* maint.c: Fix dereference of pointer.
* remote-sim.c: Fix reference of structure member "last_error". * debugify.c: Include config.h to get ANSI definitions.
Diffstat (limited to 'gdb/debugify.c')
-rw-r--r--gdb/debugify.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/debugify.c b/gdb/debugify.c
index 8411e35..841b589 100644
--- a/gdb/debugify.c
+++ b/gdb/debugify.c
@@ -19,6 +19,10 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#define DEBUGIFY
+#include "debugify.h"
+#include "config.h"
+
#include <stdio.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
@@ -29,9 +33,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include <strings.h>
#endif
-#define DEBUGIFY
-#include "debugify.h"
-
#define REDIRECT
static FILE *fout = NULL;