Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333984

Summary: Support Cygwin/mingW-generated gmon files
Product: [Tools] Linux Tools Reporter: Andrew Overholt <overholt>
Component: GProfAssignee: Xavier Raynaud <xraynaud>
Status: CLOSED WONTFIX QA Contact: Xavier Raynaud <xavier.raynaud>
Severity: normal    
Priority: P3 CC: jenke, samuel_burg, tobiasd123
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: stalebug

Description Andrew Overholt CLA 2011-01-11 09:52:45 EST
Bug 315027 shows that people are expecting the gmon parser to work with formats other than the Linux one so we should try to support them.
Comment 1 Xavier Raynaud CLA 2011-03-08 10:17:50 EST
Partially fixed in http://git.eclipse.org/c/linuxtools/org.eclipse.linuxtools.git/commit/?id=f413fa2ae1c1025228db544c60ed75fcd5b49bd4

Note that call graph is still unsupported on windows, due to a missing feature in eclipse PO parser (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=337821)
Comment 2 Xavier Raynaud CLA 2011-03-14 04:18:37 EDT
*** Bug 339575 has been marked as a duplicate of this bug. ***
Comment 3 Andrew Overholt CLA 2011-06-06 13:55:02 EDT
Unsetting target milestone for old bugs.
Comment 4 Andrew Overholt CLA 2011-09-30 15:17:52 EDT
Updating Xavier's email address for existing bugs.
Comment 5 Eclipse Genie CLA 2014-06-05 01:47:23 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 6 Eclipse Genie CLA 2016-05-26 07:06:46 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 7 Samuel BURG CLA 2016-06-08 08:16:01 EDT
Hello,

gmon.out files in BSD format are supported by Eclipse-CDT under Windows + MinGW,
but only when generated from 32bits gcc with 32bits libs.

gmon.out files in 64 bits BSD format are currently not supported by Eclipse CDT + Windows + MinGW, even if the gmon.out file can still be read and analized from command line with gprof.

I have extensively tested 32-64 bits alternatives with different versions of Eclipse (Kepler, Luna, Mars) and GCC (old 32b MinGW, new 64b MinGW, 32b TDM_GCC, 64b TDM_GCC).

For now, the workaround is to build your 'Debug' with a 32b GCC and build your 'Release' with a 64b GCC. This can be achieved using the 'MINGW_HOME' environement variable : this variable can be adjust at a project-configuration level :
Properties -> C/C++Build -> Environement -> MINGW_HOME.
So, you can have a default 64b GCC/MinGW install for Release build, and a side 32b GCC used only for debuging and for gprof.

best regards,

Samuel
Comment 8 Eclipse Genie CLA 2018-05-30 17:15:15 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 9 Eclipse Genie CLA 2020-05-20 17:37:36 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 10 Eclipse Genie CLA 2022-05-11 09:52:25 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.