From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C32963858D28; Tue, 17 Jan 2023 19:25:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C32963858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673983546; bh=AZYa4wBomMLgIQFKt9369rHXxOOepM8P4Q3FuTlGIQg=; h=From:To:Subject:Date:From; b=xApobPcqCXuvqip7jUos3lKZ2Zw8CWobOwDPLnALI856iw5oITJGTdloi7N2ySCdO AUjUnJWrkC0oszoXpz2kefPhev26cnjjCWQ5PB2RpwY/jEatH4J2ufG3ueafcpCudX DTPLtIBscRzet8bu3qCZh7gSiVC4iN/jOL5zYFYo= From: "chgenly at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/30017] New: Cygwin gdb fails when given a windows absolute path Date: Tue, 17 Jan 2023 19:25:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 11.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: chgenly at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30017 Bug ID: 30017 Summary: Cygwin gdb fails when given a windows absolute path Product: gdb Version: 11.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: chgenly at gmail dot com Target Milestone: --- This is a problem on cygwin. Launch the cygwin gdb, give it an windows absolute path to an executable. From the output you'll see the symbol tabl= e is loaded, so gdb understands the path. Yet, when attempting to run the progr= am, it fails to create the process. A previous version, 9.2-1, works. To reproduce the problem, run the following shell script from a cygwin terminal. echo Create main.c cat >main.c < int main(int argc, char**argv) { printf("Hello world!"); } END echo Compile main.c to main.exe gcc main.c -o main cmd=3D"gdb $(cygpath -wa main.exe)" echo $cmd $cmd <