mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-17 04:43:17 +08:00
* exec.c (exec_file_attach): Add .exe extension when __CYGWIN__.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
Sun Jun 11 12:06:21 2000 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
|
* exec.c (exec_file_attach): Add .exe extension when __CYGWIN__.
|
||||||
|
|
||||||
Sat Jun 10 22:31:46 2000 Christopher Faylor <cgf@cygnus.com>
|
Sat Jun 10 22:31:46 2000 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
* win32-nat.c (safe_symbol_file_add_args): Store old gdb_stderr and
|
* win32-nat.c (safe_symbol_file_add_args): Store old gdb_stderr and
|
||||||
|
@ -206,7 +206,7 @@ exec_file_attach (args, from_tty)
|
|||||||
scratch_chan = openp (getenv ("PATH"), 1, filename,
|
scratch_chan = openp (getenv ("PATH"), 1, filename,
|
||||||
write_files ? O_RDWR | O_BINARY : O_RDONLY | O_BINARY, 0,
|
write_files ? O_RDWR | O_BINARY : O_RDONLY | O_BINARY, 0,
|
||||||
&scratch_pathname);
|
&scratch_pathname);
|
||||||
#if defined(__GO32__) || defined(_WIN32)
|
#if defined(__GO32__) || defined(_WIN32) || defined(__CYGWIN__)
|
||||||
if (scratch_chan < 0)
|
if (scratch_chan < 0)
|
||||||
{
|
{
|
||||||
char *exename = alloca (strlen (filename) + 5);
|
char *exename = alloca (strlen (filename) + 5);
|
||||||
|
Reference in New Issue
Block a user