| Summary: | Detect unsupported gmon files and display error message | ||
|---|---|---|---|
| Product: | [Tools] Linux Tools | Reporter: | Martin Gerhardy <martin.gerhardy> |
| Component: | GProf | Assignee: | Xavier Raynaud <xraynaud> |
| Status: | CLOSED WONTFIX | QA Contact: | Xavier Raynaud <xavier.raynaud> |
| Severity: | normal | ||
| Priority: | P3 | CC: | ckluss |
| Version: | 0.5.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | stalebug | ||
|
Description
Martin Gerhardy
no further information in the error log ah, btw. i used helios if that matters. Hi, Thanks for the bug report. I guess ufo.exe is the same as in https://bugs.eclipse.org/bugs/show_bug.cgi?id=304163 ? Is this file part of a CProject in your workspace ? Xavier yes, it a binary of the same game (just recompiled since attached ;)) the binary is shown under "Binaries" in the cproject - so yes, it's part of the workspace. ah sorry - of course it's not the same binary - as the ufo.exe is a windows binary and the attached binary in the linked ticket was a 64bit linux binary. Hi Martin, Can you give me your cygwin binary, and also your gmon.out file, please ? Many thanks, Xavier I investigate a bit on this topic. There is 3 different format for gmon files: o MAGIC o BSD o BSD44 It seems that cygwin/mingW generates BSD gmon files. Unfortunately, for now, eclipse plug-in only support MAGIC format, which is, AFAIK, the default one on Linux. Changing summary to more accurately reflect what needs to be done here. I've opened bug bug 333980 to document the supported formats and bug 333984 to support the other formats. Unsetting target milestone for old bugs. Updating Xavier's email address for existing bugs. Hi is there a workaround für this "problem"? perhaps an option to say MinGW to create gmon.out in MAGIC format an not BSD? test.exe gprof test.dll gmon.out works fine on console. But in Eclipse there is no reaction or error, when I doubleclick gmon.out and choose test.dll. thx Christof 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. 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. 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. 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. 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. |