Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] addr2line invocation

> 
> Chris Songer wrote:
> > I'm quickly getting to the 
> > point where the same workspace needs to be able to build with two 
> > completely different toolchains that have different versions of these 
> > tools. What's the right way to get different addr2line's plugged in?
> 
> I have no idea unforturnately, but it would be cool if you could add any 
> information at "http://bugs.eclipse.org/bugs/show_bug.cgi?id=27936";. 
> Your problem is a generalization of what is described there, but since 
> I'm the one who filed the bug and nothing has happened since, I don't 
> think broadening its scope is any problem.
> 

Good points,

Integration of those tools(ar, addr2line, c++filt, nm, objdump etc..)
is tricky because they have to work in the eclipse workflow.
But providing a consistent interface for them via the BuildModel(IToolChain) is
a good step.

We are currently, working on a Java implementation for  some of them:
AR, ELF, PE, COFF, STABS, etc ..
Providing java implementation when possible avoid the spawning of external tools,
which is always a pain. In one of the PR that Johan submit, Addr2line did not flush
its output causing the thread to hang ... sigh.
 



Back to the top