aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-04-06 06:52:06 +0000
committerEli Zaretskii <eliz@gnu.org>2013-04-06 06:52:06 +0000
commitd9ac066415a91fee34d4b4f9646189e740a5e42b (patch)
tree153525a237ce5ae0cf140fb34d6e958fe2ea0db4 /gdb/main.c
parent198f1157c95708c10f213c3b5146a25d542b9775 (diff)
downloadgdb-d9ac066415a91fee34d4b4f9646189e740a5e42b.zip
gdb-d9ac066415a91fee34d4b4f9646189e740a5e42b.tar.gz
gdb-d9ac066415a91fee34d4b4f9646189e740a5e42b.tar.bz2
Unbreak Windows-hosted cross debugger builds.
* windows-nat.c (windows_get_absolute_argv0): Move from here... * mingw-hdep.c (windows_get_absolute_argv0): ...to here. Include main.h. * windows-nat.h (windows_get_absolute_argv0): Move prototype from here... * main.h (windows_get_absolute_argv0): ...to here.
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 5bbfe83..8823c82 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -45,9 +45,6 @@
#include "maint.h"
#include "filenames.h"
-#ifdef __MINGW32__
-# include "windows-nat.h"
-#endif
/* The selected interpreter. This will be used as a set command
variable, so it should always be malloc'ed - since