This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ecos-c
On Wed, 09 Apr 2003 18:13:24 +0100
Jonathan Larmour <jifl at eCosCentric dot com> wrote:
> Donnat Eric wrote:
> > On Wed, 09 Apr 2003 10:57:54 +0200
> > "Adolfo Lucha" <Adolfo dot Lucha at controlware dot de> wrote:
> >
> >
> >>Hello,
> >>
> >>i am not sure if this the right discussion forum for my question. Sorry if it is not.
> >>
> >>I am developing a system with eCos on a own ppc HW. I am using T32 debugger from http://www.Lauterbach.de company. It will show me my private project files in a rigth manner but the eCos files will not be showed. The problem is that the debugger will not found the files because the path is prefixed with "/ecos-c/...". T32 is a Win32 application and can not expand such text to a drive letter. Therefore I am not able to step through the eCos code.
> >>
> >>I fell that there is a compiler or linker flag to say: do not use the cygwin path ("/ecos-c/"), and use the windows drive letter instead. Is not it? I did not find it :-(
> >>
> >>Or need I any settings in the cygwin environment? Mount flags? ECos configuration settings?
> >>
> >>Any Idea?
> >>
> >
> >
> > IMHO, cygwin is not involved. It's more likely an issue of ecosconfig options. I mean, the Makefile
> > variant generated is only configurable via a static #define, while it may be controlled via command
> > line.
>
> I doubt even that. GCC will store the absolute path to a file in the
> file's debug sections. GCC is a cygwin application, so it will store a
> cygwin path. I don't think there's anything you could do other than doing
> some binary patching on the file!
>
Sorry about my first short answer.
My first idea was to make the cygwin path match the windows patch with
exception of the drive letter. A lot of windows apps are resistant to
both separators. I don't know if T32 is, but it might. GCC will store
the path given by ecosconfig anyway, and ecosconfig does not even let
us make a single try.
> Jifl
> --
> eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
> --[ "You can complain because roses have thorns, or you ]--
> --[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
>
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>
--
Eric DONNAT
Silicomp Research Institute
195, rue Lavoisier
ZIRST-BP1
38330 Montbonnot-St-Martin (France)
http://www.ri.silicomp.com
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss