From mboxrd@z Thu Jan 1 00:00:00 1970 From: more To: Hiro Sugawara Cc: gdb@sources.redhat.com Subject: Re: linux core support Date: Tue, 26 Jun 2001 19:12:00 -0000 Message-id: <01062710131100.00932@localhost.localdomain> References: X-SW-Source: 2001-06/msg00200.html 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 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