This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch to add QNX NTO i386 support


I am submitting, on behalf of my employer QNX Software Systems Ltd., a patch
against the current HEAD branch of gdb (as of Feb.3/2003 - see attachment).
We already have copywrite assignment paperwork on file with the FSF.

Now that I've said what the lawyer told me to say ;-), the readline patch
deserves some explanation.  I didn't get any response from the readline or
bash mailing lists about the fact that if the test for wcwidth fails, no
action is taken.  Oddly, this test fails on other targets (ie Cygwin) but
there is no problem since wcwidth seems to resolve anyway.  Self hosted
Neutrino is actually missing it however so we had to conditionally compile
it in.  Hence the changes to Makefile.in.  I would have changed Makefile.am
but it doesn't seem to be in your sources.

Please let me know if the patch and these ChangeLog entries are
satisfactory.

cheers,

Kris

Top Level ChangeLog entry:

2003-03-02    Kris Warkentin    kewarken@qnx.com

    * config/mh-qnxnto: New file
    * config.sub: Add nto i386 and multi-arch support
    * configure.in: add host_makefile_frag

bfd/ChangeLog entry:

2003-03-02    Kris Warkentin    kewarken@qnx.com

    * elf.c: Add qnx corefile support

gdb/ChangeLog entry:

2003-03-02    Kris Warkentin    kewarken@qnx.com

    * config/i386/i386nto.mt: New file
    * config/i386/nm-nto.h: New file
    * config/i386/nto.mh: New file
    * config/i386/tm-i386nto.h: New file
    * config/i386/xm-nto.h: New file
    * config/tm-qnxnto.h: New file
    * configure.host: add gdb_host=nto
    * configure.tgt: add gdb_target=i386nto
    * nto-procfs.c: New file
    * nto-share/debug.h: New file
    * nto-share/dsmsgs.h: New file
    * remote-nto-i386.c: New file
    * remote-nto.c: New file
    * ser-ntopty.c: New file

readline/ChangeLog entry:

2003-03-02    Kris Warkentin    kewarken@qnx.com

    * Makefile.in: Check HAVE_WCWIDTH variable for conditionally compiling
                          support/wcwidth.c
    * shlib/Makefile.in: Likewise
    * aclocal.m4: If we don't have wcwidth, define HAVE_WCWIDTH=no for
Makefile
                          generation

Attachment: qnxnto.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]