Bug 441303 - Eclipse_4.4.0_x64_CDT/DSF Remote Debugging can't suspend cygwin(32bit)-based gdb_x86 on windows 7/8 64 bit.
Summary: Eclipse_4.4.0_x64_CDT/DSF Remote Debugging can't suspend cygwin(32bit)-based ...
Status: ASSIGNED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 8.4.0   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-06 22:55 EDT by Jerry Lin CLA
Modified: 2020-09-04 15:24 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerry Lin CLA 2014-08-06 22:55:40 EDT
I find out Eclipse_4.4.0_x64 with CDT/DSF Remote Debugging can't suspend cygwin(32bit)-based gdb_x86 on windows 7/8 64 bit, but mingw-based gdb_x86 can.

The cygwin(32bit)-based gdb_x86 version:

GNU gdb (GDB) 7.6.50.20130508-cvs (cygwin-special)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.

The gdbserver version:

whitiger.atcsqa09$ gdbserver --version
GNU gdbserver (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
gdbserver is free software, covered by the GNU General Public License.
This gdbserver was configured as "i686-linux-gnu"


.log file:

!SESSION 2014-08-06 11:19:59.850 -----------------------------------------------
eclipse.buildId=4.4.0.I20140606-1215
java.version=1.7.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_TW
Framework arguments:  -product org.eclipse.epp.package.cpp.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.cpp.product

!ENTRY org.eclipse.cdt.dsf 4 10005 2014-08-06 11:33:25.248
!MESSAGE Request for monitor: 'RequestMonitor (org.eclipse.cdt.dsf.concurrent.RequestMonitor@54f0832b): Status ERROR: org.eclipse.cdt.dsf.gdb code=10004 Interrupt failed. null' resulted in an error.
!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2014-08-06 11:33:25.248
!MESSAGE Interrupt failed.
Comment 1 Jerry Lin CLA 2014-08-06 23:03:29 EDT
cygwin version:
$ uname -a
CYGWIN_NT-6.1-WOW64 APC502 1.7.20(0.266/5/3) 2013-06-07 11:11 i686 Cygwin
Comment 2 Jeff Johnston CLA 2014-08-07 13:47:38 EDT
Moving to proper component so the right folks will see it.
Comment 3 Marc Khouzam CLA 2016-10-07 14:05:20 EDT
Can you try this with Eclipse 4.6 Neon.1/CDT 9.1 to see if it is still happening?
Comment 4 Ben Huang CLA 2019-04-29 05:21:55 EDT
Hi,

I test Eclipse 2018-12_x64 with CDT 9.6 also can't suspend cygwin(32bit)-
based gdb_x86 on window 7 64 bit.

cygwin version:
CYGWIN_NT-6.1-WOW APC206 3.0.6(0.338/5/3) 2019-04-06 16:13 i686 Cygwin

The cygwin(32bit)-based gdb_x86 version:
GNU gdb (GDB) (Cygwin 8.0.1-1) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.

The gdbserver version:
GNU gdbserver (GDB) (Cygwin 8.0.1-1) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
gdbserver is free software, covered by the GNU General Public License.
This gdbserver was configured as "i686-pc-cygwin"

.log file:

!SESSION 2019-04-29 16:00:57.352 -----------------------------------------------
eclipse.buildId=4.10.0.I20181206-0815
java.version=1.8.0_144
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_TW
Framework arguments:  -product org.eclipse.epp.package.cpp.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.cpp.product

!ENTRY org.eclipse.cdt.dsf 4 10005 2019-04-29 16:03:44.821
!MESSAGE Request for monitor: 'RequestMonitor (org.eclipse.cdt.dsf.debug.ui.actions.DsfSuspendCommand$4$1@623ef7a9): Status ERROR: org.eclipse.cdt.dsf.gdb code=10004 Interrupt failed. null' resulted in an error.
!SUBENTRY 1 org.eclipse.cdt.dsf.gdb 4 10004 2019-04-29 16:03:44.821
!MESSAGE Interrupt failed.