Red Hat Bugzilla – Bug 110471
CDT debug view shows incorrect debugger name in C/C++ post-mortem debugger
Last modified: 2014-08-11 01:46:18 EDT
Description of problem:
When debugging a core file using the C/C++ post-mortem debugger, the
debugger name shows up incorrectly as "Cygwin GDB Debugger". I'm not
sure where this is coming from... when debugging using the standard
C/C++ Local configuration, the name shows up correctly as just "GDB
Debugger". Maybe this is hard-coded somewhere?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Enable core dumps
2. Write a program that will seg. fault and run it
3. Debug the core file using the CDT post-mortem debugger (select it
as a debug configuration in the debug launcher)
Actual Results: Debugger name shows up in debug view as "Cygwin GDB
Expected Results: It should be just "GDB Debugger", as with the C/C++
The Debugger drop-down menu in a post-mortem debug configuration shows
"GDB Debugger" and "Cygwin GDB Debugger". They both point to the
command "gdb", so the end-result is the same. The Cygwin one always
gets selected by default.
Anyway, the Cygwin debugger item should probably be removed in Linux
versions of the CDT. Note that the Cygwin option only shows up in the
postmortem debug configuration.
This may be related to a patch we posted for the ordinary
debugger configuration page. This patch changed the combo
box to be explicitly sorted. I didn't notice the post-mortem
debug page duplicated most of the code :-(
I'm testing a change now.
I've checked in a fix for this.
I've also filed a bug report upstream.
Moving from RHEL/3/Eclipse to Red Hat Developer Suite product.