Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] address to symbol UI

On Tue, Feb 3, 2009 at 3:46 PM, Elena Laskavaia <elaskavaia@xxxxxxx> wrote:
> We have Goto Address in disassembly too. I was going to contribute it, but
> Mikhail was working on "new disassembly" view so we were holding off,
> because it does not make sense to contribute if it will be removed... But it
> seems like it is going however, so I guess we should contribute it anyway...

In the interim you could checkout the DSF disassembly view which has
goto address / symbol already and scrolls infinitely.


> James Blackburn wrote:
>> Hi Elena,
>>> Our customer asked us to create a tool that would do something like this
>>> in
>>> IDE:
>>> - they enter binary address like 0x8034bc0 and it show them file, line
>>> and
>>> symbol where this
>>> address belongs, then they can select this and IDE opens this source
>>> file/line.
>> I wired in the contributed WR disassembly view into our release. As
>> well as being used for debug, I created a fake debug element/target
>> the sole purpose of which was to show disassembly based off of some
>> context.
>> I then added an action on Binarys right click > Show Disassembly in
>> the C/C++ perspective, and the view has the actions "Goto Address",
>> "Goto Symbol". Double clicking in the margin opens the relevant source
>> file.  It can also then receive other context events from other views
>> we have which contain address level metadata.
>> What's great about the above is that it's fairly cheap / easy to
>> implement and only requires knitting together existing functionality.
>> Cheers,
>> James
>>> I struggle to design this thing. Where does it belong? Is it debug
>>> specific
>>> tool or general stuff (UI to addr2line)?
>>> Where do I attach such thing? Anybody heard of anything like this? Or
>>> implemented?
>>> Or have any idea about UI design?
>>> _______________________________________________
>>> cdt-dev mailing list
>>> cdt-dev@xxxxxxxxxxx
>> _______________________________________________
>> cdt-dev mailing list
>> cdt-dev@xxxxxxxxxxx
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx

Back to the top