[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] 1.0.1 Binaries and Editor Problem
|
>
>
> Hi,
>
> The following is from 1.0.1. Do you all care?
Yes always.
> Is knowing about it enough or do you want the patch?
> (Patches are non-trivial for me to product
> unfortunately, but I'm willing to take the time if needed. Private email is
> fine.
File a PR, we'll take a look. But if you already have a patch it is welcome(attach to
the PR).
FYI: Elf does not come up with line numbers, line infos are in the the debug
format and Runtime.getRuntime().exec("addr2line ..."); is use by the Elf parser
to retrieve it. We are working on a basic STABS debug format parser to remove
the addr2line on the next revision and maybe DWARF-2.
>
> >Change 62507 by songer@songer_clea on 2003/03/09 19:25:59
> >
> > First level fix for binary object selection.
> >
> > To go the CView and select main() under the source file and then
> > under a built binary. In one case (the source file) you go to the file
> > and line. In the other case, it just brings up the file and selects the
> > first line. This is the first fix for this behavior. It's not precise,
> > there's something screwy about the lines that their elf parser is coming
> > up with, but it's at least close.
> >
> > There were actually two bugs here. First, information was being
> > thrown away in the translation of ISymbol->IFunction. That's the
> > BinaryInfo change. Next the CEditor did not deal properly with
> > ISourceRanges that had only line information. That's been corrected as well.
> >
> >Affected files ...
> >
> >...
> >//depot/other/xide/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/BinaryInfo.java#4
> >edit
> >...
> >//depot/other/xide/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java#4
> >edit
>
> Thanks!
> -Chris
> songer@xxxxxxxxxxxxx
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-dev
>