diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-04-06 06:52:06 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-04-06 06:52:06 +0000 |
commit | d9ac066415a91fee34d4b4f9646189e740a5e42b (patch) | |
tree | 153525a237ce5ae0cf140fb34d6e958fe2ea0db4 /gdb/windows-nat.h | |
parent | 198f1157c95708c10f213c3b5146a25d542b9775 (diff) | |
download | gdb-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/windows-nat.h')
-rw-r--r-- | gdb/windows-nat.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/windows-nat.h b/gdb/windows-nat.h index 0691e9e..55624ee 100644 --- a/gdb/windows-nat.h +++ b/gdb/windows-nat.h @@ -28,9 +28,5 @@ typedef int (segment_register_p_ftype) (int regnum); whether a given register is a segment register or not. */ extern void windows_set_segment_register_p (segment_register_p_ftype *fun); -/* Return argv[0] in absolute form, if possible, or ARGV0 if not. The - return value is in malloc'ed storage. */ -extern char *windows_get_absolute_argv0 (const char *argv0); - #endif |