cvs commit: src/gnu/usr.bin/gdb/libgdb/patches i386fbsd-tdep.c.patch

Matthew Dillon dillon at apollo.backplane.com
Fri Jan 12 11:04:34 PST 2007


:I don't like this.  For gdb, we're still operating in freebsd-4 mode.  I think we should start our own ABI.  I am a little bit concerned about the binary compatibility though.  I guess all programs using sigcontext will have a problem, right?  We should at least bump an ELF ABI version for this, so gdb can actually operate on older and newer binaries.
:
:cheers
:  simon
:
:-- 
:Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
:Work - Mac      +++  space for low ��� NOW!1  +++      Campaign     \ /

    GDB is a special case... it needs to know which registers are where, 
    exactly.  It needs a map of offsets and needs to do name translation.

    Any other program which uses sigcontext is likely only to access certain
    particular registers, like tf_eip.  Very few programs have to do this...
    only programs that want to handle their own seg-faults, really.  A simple
    recompile should be sufficient for such programs.

    My personal worry is that programs might be trying to roll their own
    threads library, but that doesn't seem to happen much any more.
    Firefox doesn't seem to need a recompile.  I don't know about KDE.

						-Matt






More information about the Commits mailing list