This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Take III, part 2: am33 linux corefile support
On Tue, Jun 28, 2005 at 07:14:33PM -0700, Michael Snyder wrote:
> Daniel Jacobowitz wrote:
> >On Mon, Jun 27, 2005 at 05:40:20PM -0700, Michael Snyder wrote:
> >
> >Could you explain why you needed a sniffer?
> >[...]
> >i.e. what's this covering that the generic sniffer won't. I can work
> >out the answer to the question in terms of ELF header flags, but I
> >assume you've got .note.ABI-tag like other Linux ports do.
>
> I dunno... I've never used this interface before.
> I just followed the first example I could find.
> Is there a generic sniffer?
The generic sniffers are wired up by default, they're in osabi.c.
For instance see mips-linux-tdep.c - you wouldn't want to iterate over
all machine numbers, just the two you want, but...
--
Daniel Jacobowitz
CodeSourcery, LLC