summaryrefslogtreecommitdiff
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
commit3d28557b9f6e7cab7e866dc110760138732ffbdf (patch)
treea7963e046f1a16bff3054d3517e83edf8a452259 /gdb/main.c
parentce8f6839406886f538ebd6ee51d3f3284cb897bb (diff)
downloadgdb-3d28557b9f6e7cab7e866dc110760138732ffbdf.tar.gz
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 5bbfe833539..8823c8247e7 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