Bug 214398 - [modules] In the modules view, right-clicking on the module shows CDT's "Load symbols for all" which does not apply to DSF.
Summary: [modules] In the modules view, right-clicking on the module shows CDT's "Load...
Status: ASSIGNED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf (show other bugs)
Version: 0 DD 1.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-04 16:17 EST by Pawel Piech CLA
Modified: 2020-09-04 15:22 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 Pawel Piech CLA 2008-01-04 16:17:06 EST
The action is always disabled and appears broken.  We should find a way to not show this action when DSF modules are being shown.

This is actually a bug for CDT.  But since it applies to DSF mainly, we need to create a patch for CDT to address it.
Comment 1 Elena Laskavaia CLA 2015-01-19 11:38:08 EST
I took a liberty of re-purposing this bug to actuly fix this action
rather then remove

The main scenarios our customer want to support are the following:

Case 1 startup:
- application has 200 shared libs (!)
- debugger startup takes forever with auto-solib
- we turn off auto-solib for this
- but now we want to load some stuff manually

Case 2 attach:

- we attach to application
- we stop at random place and our backtrace looks like bunch on binary addresses
- we load some librarys from modules
- backtrace is re-loaded with some meaningful data
Comment 2 Nobody - feel free to take it CLA 2015-01-19 12:19:54 EST
(In reply to Elena Laskavaia from comment #1)
> I took a liberty of re-purposing this bug to actuly fix this action
> rather then remove
> 
> The main scenarios our customer want to support are the following:
> 
> Case 1 startup:
> - application has 200 shared libs (!)
> - debugger startup takes forever with auto-solib
> - we turn off auto-solib for this
> - but now we want to load some stuff manually
> 
> Case 2 attach:
> 
> - we attach to application
> - we stop at random place and our backtrace looks like bunch on binary
> addresses
> - we load some librarys from modules
> - backtrace is re-loaded with some meaningful data

BTW, the CDI implementation allowed users to turn off the auto-solib option and specify the list of libraries who's symbols they wanted to load at startup. I believe it was done by the request from the same customer :)
Comment 3 Elena Laskavaia CLA 2015-01-19 12:39:30 EST
> 
> BTW, the CDI implementation allowed users to turn off the auto-solib option
> and specify the list of libraries who's symbols they wanted to load at
> startup. I believe it was done by the request from the same customer :)

I checked this a while ago to figure out what this feature was doing and I don't think it is doing anything even in CDI anymore
Comment 4 Nobody - feel free to take it CLA 2015-01-19 12:48:11 EST
(In reply to Elena Laskavaia from comment #3)
> > 
> > BTW, the CDI implementation allowed users to turn off the auto-solib option
> > and specify the list of libraries who's symbols they wanted to load at
> > startup. I believe it was done by the request from the same customer :)
> 
> I checked this a while ago to figure out what this feature was doing and I
> don't think it is doing anything even in CDI anymore

As far as I remember the main functionality including the UI was implemented in in the commercial product, only the core support was included into CDT. I may be wrong though.
Comment 5 Marc Khouzam CLA 2015-01-19 14:04:05 EST
(In reply to Mikhail Khodjaiants from comment #2)
> BTW, the CDI implementation allowed users to turn off the auto-solib option

That we have in DSF-GDB like CDI (using the launch tab Debugger->Shared Libraries)

> and specify the list of libraries who's symbols they wanted to load at
> startup. I believe it was done by the request from the same customer :)

> As far as I remember the main functionality including the UI was implemented
> in in the commercial product, only the core support was included into CDT. I
> may be wrong though.

I don't believe we have this part, which would make sense if it was not part of stock CDI.
Comment 6 Marc Khouzam CLA 2015-01-22 15:58:11 EST
Elena, can you put a note and screenshot in the N&N about this?
Thanks!

https://wiki.eclipse.org/CDT/User/NewIn86
Comment 7 Marc Khouzam CLA 2015-02-23 10:44:20 EST
Elena, are we done with this bug?