This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: linux core support


Greatly thanks for your help, I will manage to do that.



> > Very thanks for your reply, it seems I should modify some
> > code to make the
> > cross core file supported. But I am not very clear of the
> > inner mechanism,
> > the blow is my curious problem.
> >
> > > When I ported GDB for SunOS-to-PowerPC, I found two tricks
> >
> > were needed to
> >
> > > make the cross GDB support core files:
> > > 1) Shuffle Makefile fragments (*.mh and *.mt) so that core
> >
> > file support is
> >
> > >    included;
> >
> > In these fragments, there are some objfiles registering, you
> > mean I should
> > provide my own cross core file supporting file and register
> > it in *.mh and
> > *.mt?
>
> If the native build already has all the necessary files, reshuffling
> is good enough; otherwise, you may have to provide your own.
>
> > > 2) Modify Makefile to use the target's <sys/procfs.h> and
> >
> > other related
> >
> > > files
> > >    to compile bfd/elf.c.
> >
> > You mean I should read some document concerning elf and core
> > file format,
> > have you any suggestion?
>
> For ELF and other file formats, check
> http://developer.intel.com/vtune/tis.htm.
>
> hiro


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]