public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/30070] New: Cannot start target program when gdb invoked from cygwin console
@ 2023-02-02 17:40 patrick at monnerat dot net
  2023-02-02 17:48 ` [Bug gdb/30070] " patrick at monnerat dot net
  2024-01-06 15:40 ` ssbssa at sourceware dot org
  0 siblings, 2 replies; 3+ messages in thread
From: patrick at monnerat dot net @ 2023-02-02 17:40 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30070

            Bug ID: 30070
           Summary: Cannot start target program when gdb invoked from
                    cygwin console
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: patrick at monnerat dot net
  Target Milestone: ---

When gdb is invoked from the cygwin console, attempting to start the target
program fails with error message:

Error creating process /home/user/foo.exe, (error 6: The handle is invalid.)

A second attempt to start freezes gdb (CTRL-C not operational: must be killed
from task manager).

This works like a charm when gdb is invoked from some other evironment (i.e.:
Win$ console).

Tested on gdb HEAD with up to date Win7pro and cygwin.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/30070] Cannot start target program when gdb invoked from cygwin console
  2023-02-02 17:40 [Bug gdb/30070] New: Cannot start target program when gdb invoked from cygwin console patrick at monnerat dot net
@ 2023-02-02 17:48 ` patrick at monnerat dot net
  2024-01-06 15:40 ` ssbssa at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: patrick at monnerat dot net @ 2023-02-02 17:48 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30070

--- Comment #1 from Patrick Monnerat <patrick at monnerat dot net> ---
Additional info:  gdb and target program compiled for cygwin (not mingw).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/30070] Cannot start target program when gdb invoked from cygwin console
  2023-02-02 17:40 [Bug gdb/30070] New: Cannot start target program when gdb invoked from cygwin console patrick at monnerat dot net
  2023-02-02 17:48 ` [Bug gdb/30070] " patrick at monnerat dot net
@ 2024-01-06 15:40 ` ssbssa at sourceware dot org
  1 sibling, 0 replies; 3+ messages in thread
From: ssbssa at sourceware dot org @ 2024-01-06 15:40 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30070

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ssbssa at sourceware dot org

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-06 15:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-02 17:40 [Bug gdb/30070] New: Cannot start target program when gdb invoked from cygwin console patrick at monnerat dot net
2023-02-02 17:48 ` [Bug gdb/30070] " patrick at monnerat dot net
2024-01-06 15:40 ` ssbssa at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).