[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sparc-rtems gdb bug Re: erc32 elf issues




On Fri, 30 Jul 1999 joel at oarcorp.com wrote:

> 2.  I am not sure if the gdb patch correctly recognized elf files. :(

Well now I am sure it was wrong. :)

The gdb-4.18 patch has the wrong stuff in config.bfd for the sparc-rtems
target. It left the sparc as a.out.  The sparc section in
gdb-4.18/bfd/config.bfd should read:

  sparc*-*-rtems* | sparc*-*-rtemself*)
    targ_defvec=bfd_elf32_sparc_vec
    ;;
  sparc*-*-* | sparc*-*-rtemsaout*)
    targ_defvec=sunos_big_vec
    targ_underscore=yes
    ;;

One down.  Some advice/hints on the other stuff would be appreciated.