From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hiro Sugawara To: "'more'" Cc: gdb@sources.redhat.com Subject: RE: linux core support Date: Tue, 26 Jun 2001 10:23:00 -0000 Message-id: X-SW-Source: 2001-06/msg00199.html > -----Original Message----- > From: more [ mailto:morezeng@certaingroup.com ] > Sent: Monday, June 25, 2001 20:35 > To: Hiro Sugawara > Subject: Re: linux core support > > > 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