From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Edwards To: eCos Disuss Subject: Re: [ECOS] gdb and binary core files Date: Wed, 22 Aug 2001 08:45:00 -0000 Message-id: <20010822104705.B31674@visi.com> References: <20010822103030.B5690@biferten.ma.tech.ascom.ch> <20010822104538.A31674@visi.com> X-SW-Source: 2001-08/msg00742.html On Wed, Aug 22, 2001 at 10:45:38AM -0500, Grant Edwards wrote: > On Wed, Aug 22, 2001 at 10:30:30AM +0200, Andrew Lunn wrote: > > > Im trying to do something along the lines of a core dump for eCos. I > > just want something realy simple. In my setup its easy for me to get a > > complete copy of the DRAM contents onto my host system. I then have to > > get gdb to use this data. By default arm-elf-gdb does not seem to > > support core files. Not a good start. Also, it does not seem possible > > to specify the format of the core file. You can use "set gnutarget" to > > set the BFD format, but that seems to apply to everything. I want gdb > > to use elf for my executable, and binary for my core file. > > Sometime within the past couple years, somebody posted a patch > to the gdb mailing list that allowed you to dump a region of > memory to file (I don't remember the format, but I think it was > something understood by objcopy). I think I misunderstood -- you want to go the _other_ direction! -- Grant Edwards grante@visi.com