Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* linux core support
@ 2001-06-23 22:51 more
  2001-06-24  3:15 ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: more @ 2001-06-23 22:51 UTC (permalink / raw)
  To: gdb

I am using the GNU tools for the arm linux platform, the tools are so 
wonderful, thanks for all the men who pay their effort on it.

When I use the cross gdb for the linux arm platform, I am a little puzzled 
that it does not support core file, even the native arm linux gdb seems not 
too. It seems that only the i386 native gdb support the core dump file for 
linux. I think the integration work for all the linux platform( either native 
or target) the core file support is at hand, cause gdb has a file gregset.h 
to assist it, does anyone take effort on it?


Regards,
more.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux core support
  2001-06-23 22:51 linux core support more
@ 2001-06-24  3:15 ` Daniel Jacobowitz
  2001-06-24  4:52   ` more
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Jacobowitz @ 2001-06-24  3:15 UTC (permalink / raw)
  To: more; +Cc: gdb

On Sun, Jun 24, 2001 at 01:51:57PM +0800, more wrote:
> I am using the GNU tools for the arm linux platform, the tools are so 
> wonderful, thanks for all the men who pay their effort on it.
> 
> When I use the cross gdb for the linux arm platform, I am a little puzzled 
> that it does not support core file, even the native arm linux gdb seems not 
> too. It seems that only the i386 native gdb support the core dump file for 
> linux. I think the integration work for all the linux platform( either native 
> or target) the core file support is at hand, cause gdb has a file gregset.h 
> to assist it, does anyone take effort on it?

That's not quite right.  I believe that ARM core files work natively on
arm-*-linux; I've used them.  Cross gdb does not currently support
cores, for Linux targets at least; I have patches in progress to change
that.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux core support
  2001-06-24  3:15 ` Daniel Jacobowitz
@ 2001-06-24  4:52   ` more
  0 siblings, 0 replies; 5+ messages in thread
From: more @ 2001-06-24  4:52 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb

> That's not quite right.  I believe that ARM core files work natively on
> arm-*-linux; I've used them.  Cross gdb does not currently support
> cores, for Linux targets at least; I have patches in progress to change
> that.
You are sure it supports elf format elf dump file? Until now I have no chance 
to try the native arm linux gdb. Cause when I study the insight source, it 
seems not, Maybe I am not examining the source in patient, thanks for your 
feeding.

Regards,
more.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux core support
  2001-06-26 10:23 Hiro Sugawara
@ 2001-06-26 19:12 ` more
  0 siblings, 0 replies; 5+ messages in thread
From: more @ 2001-06-26 19:12 UTC (permalink / raw)
  To: Hiro Sugawara; +Cc: gdb

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: linux core support
@ 2001-06-26 10:23 Hiro Sugawara
  2001-06-26 19:12 ` more
  0 siblings, 1 reply; 5+ messages in thread
From: Hiro Sugawara @ 2001-06-26 10:23 UTC (permalink / raw)
  To: 'more'; +Cc: gdb

> -----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 <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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-06-26 19:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-23 22:51 linux core support more
2001-06-24  3:15 ` Daniel Jacobowitz
2001-06-24  4:52   ` more
2001-06-26 10:23 Hiro Sugawara
2001-06-26 19:12 ` more

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox