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

Hi all,

Just in case it helps, Ken Ryall kindly added an API to convert from address to symbol. The relevant Bugzilla is:
So, hopefully, it's just a matter of knocking up a view to use that API.



Adrian Taylor, Macrobug Ltd.  +44 7779 723608
A company registered in England and Wales no 5892155, 352 Mill Road, Cambridge CB1 3NN
VAT reg. GB 892 4122 21.

On 2 Feb 2009, at 08:46, James Blackburn wrote:

Hi Elena,

Our customer asked us to create a tool that would do something like this in
- 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

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

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.



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
Or have any idea about UI design?
cdt-dev mailing list

cdt-dev mailing list

Back to the top