Simon Schubert wrote:
  Log:
  Adjust for the DragonFly ELF ABI

Okay, this is nasty:
    case ELFOSABI_FREEBSD:
-      osabi = GDB_OSABI_FREEBSD_ELF;
+      /* XXX HACK we hijacked the FreeBSD osabi :/ */
+      osabi = GDB_OSABI_DRAGONFLY_ELF;
       break;

Our core dumps still write file with osabi set to ELFOSABI_FREEBSD. This confuses the new gdb. I think we should write an .note.ABI-tag, or simply write ELFOSABI_NONE. What do people think?

cheers
  simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Reply via email to