[binutils-gdb] sim/opcodes: Allow use of out of tree cgen source directory

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

[binutils-gdb] sim/opcodes: Allow use of out of tree cgen source directory

sergiodj+buildbot-2
*** TEST RESULTS FOR COMMIT 7fb45a689543be75809a0513900d82f5bd859338 ***

Author: Andrew Burgess <[hidden email]>
Branch: master
Commit: 7fb45a689543be75809a0513900d82f5bd859338

sim/opcodes: Allow use of out of tree cgen source directory

When configuring with '--enbale-cgen-maint' the default for both the
opcodes/ and sim/ directories is to assume that the cgen source is
within the binutils-gdb source tree as binutils-gdb/cgen/.

In the old cvs days, this worked well, as cgen was just another
sub-module of the single cvs repository and could easily be checked
out within the binutils-gdb directory, and managed by cvs in the
normal way.

Now that binutils-gdb is in git, while cgen is still in cvs, placing
the cgen respository within the binutils-gdb tree is more troublesome,
and it would be nice if the two tools could be kept separate.

Luckily there is already some initial code in the configure.ac files
for both opcodes/ and sim/ to support having cgen be located outside
of the binutils-gdb tree, however, this was speculative code written
imagining a future where cgen would be built and installed to some
location.

Right now there is no install support for cgen, and so the configure
code in opcodes/ and sim/ doesn't really do anything useful.  In this
commit I repurpose this code to allow binutils-gdb to be configured so
that it can make use of a cgen source directory that is outside of the
binutils-gdb tree.

With this commit applied it is now possible to configure and build
binutils-gdb like this:

    /path/to/binutils-gdb/src/configure --enable-cgen-maint=/path/to/cgen/src/cgen/
    make all-opcodes
    make -C opcodes run-cgen-all

Just in case anyone is still using cgen inside the binutils-gdb tree,
I have left the default behaviour of '--enable-cgen-maint' (with no
parameter) unchanged, that is it looks for the cgen directory as
'binutils-gdb/cgen/'.

opcodes/ChangeLog:

        * configure.ac (enable-cgen-maint): Support passing path to cgen
        source tree.
        * configure: Regenerate.

sim/ChangeLog:

        * common/acinclude.m4 (enable-cgen-maint): Support passing path to
        cgen source tree.
        * cris/configure: Regenerate.
        * frv/configure: Regenerate.
        * iq2000/configure: Regenerate.
        * lm32/configure: Regenerate.
        * m32r/configure: Regenerate.
        * or1k/configure: Regenerate.
        * sh64/configure: Regenerate.
Reply | Threaded
Open this post in threaded view
|

Failures on RHEL-s390x-m64, branch master

sergiodj+buildbot-2
Buildslave:
        rhel-7_1-s390x-1

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/RHEL-s390x-m64/builds/8887>

Commit(s) tested:
        7fb45a689543be75809a0513900d82f5bd859338

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        sim/opcodes: Allow use of out of tree cgen source directory

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/RHEL-s390x-m64/7f/7fb45a689543be75809a0513900d82f5bd859338/>

*** Diff to previous build ***
============================
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=18: wait for stops
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=1: inferior 1 exited
PASS -> FAIL: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: other threads ran - unlocked
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/RHEL-s390x-m64/xfails/master/xfail?id=e8b4bade>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/RHEL-s390x-m64/xfails/master/xfail.table?id=e8b4bade>



Reply | Threaded
Open this post in threaded view
|

Failures on Debian-s390x-native-extended-gdbserver-m64, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        debian-jessie-s390x-1

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Debian-s390x-native-extended-gdbserver-m64/builds/7193>

Commit(s) tested:
        7fb45a689543be75809a0513900d82f5bd859338

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        sim/opcodes: Allow use of out of tree cgen source directory

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Debian-s390x-native-extended-gdbserver-m64/7f/7fb45a689543be75809a0513900d82f5bd859338/>

*** Diff to previous build ***
============================
PASS -> UNRESOLVED: gdb.threads/attach-into-signal.exp: threaded: attach
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=0: inferior 1 exited
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Debian-s390x-native-extended-gdbserver-m64/xfails/master/xfail?id=7e6e0858>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Debian-s390x-native-extended-gdbserver-m64/xfails/master/xfail.table?id=7e6e0858>



Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-i686, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        fedora-x86-64-4

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Fedora-i686/builds/11601>

Commit(s) tested:
        7fb45a689543be75809a0513900d82f5bd859338

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        sim/opcodes: Allow use of out of tree cgen source directory

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-i686/7f/7fb45a689543be75809a0513900d82f5bd859338/>

*** Diff to previous build ***
============================
new FAIL: gdb.base/catch-syscall.exp: multiple targets: insert catch syscall on syscall 1 -- write on i386:x86-64
new FAIL: gdb.python/py-finish-breakpoint2.exp: check FinishBreakpoint in catch
new FAIL: gdb.python/py-finish-breakpoint2.exp: check finish BP removal
new FAIL: gdb.python/py-finish-breakpoint2.exp: continue to second exception
new FAIL: gdb.python/py-finish-breakpoint2.exp: set FinishBP after the exception
PASS -> KFAIL: gdb.threads/non-ldr-exit.exp: program exits normally
new KFAIL: gdb.xml/tdesc-arch.exp: set tdesc filename tdesc-arch.xml
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-i686/xfails/master/xfail?id=a124d0ed>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-i686/xfails/master/xfail.table?id=a124d0ed>



Reply | Threaded
Open this post in threaded view
|

Failures on Ubuntu-Aarch64-native-extended-gdbserver-m64, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        ubuntu16-aarch64

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Ubuntu-Aarch64-native-extended-gdbserver-m64/builds/242>

Commit(s) tested:
        7fb45a689543be75809a0513900d82f5bd859338

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        sim/opcodes: Allow use of out of tree cgen source directory

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Ubuntu-Aarch64-native-extended-gdbserver-m64/7f/7fb45a689543be75809a0513900d82f5bd859338/>




Reply | Threaded
Open this post in threaded view
|

Failures on Debian-s390x-native-gdbserver-m64, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        debian-jessie-s390x-1

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Debian-s390x-native-gdbserver-m64/builds/7050>

Commit(s) tested:
        7fb45a689543be75809a0513900d82f5bd859338

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        sim/opcodes: Allow use of out of tree cgen source directory

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Debian-s390x-native-gdbserver-m64/7f/7fb45a689543be75809a0513900d82f5bd859338/>

*** Diff to previous build ***
============================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=0: inferior 1 exited
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=1: inferior 1 exited
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Debian-s390x-native-gdbserver-m64/xfails/master/xfail?id=19e746c0>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Debian-s390x-native-gdbserver-m64/xfails/master/xfail.table?id=19e746c0>



Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-native-gdbserver-m64, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        fedora-x86-64-4

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Fedora-x86_64-native-gdbserver-m64/builds/11516>

Commit(s) tested:
        7fb45a689543be75809a0513900d82f5bd859338

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        sim/opcodes: Allow use of out of tree cgen source directory

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-x86_64-native-gdbserver-m64/7f/7fb45a689543be75809a0513900d82f5bd859338/>

*** Diff to previous build ***
============================
PASS -> FAIL: gdb.mi/gdb792.exp: create var for class A
PASS -> FAIL: gdb.mi/gdb792.exp: create var for class C which has baseclass A
PASS -> FAIL: gdb.mi/gdb792.exp: list children of A.private
PASS -> FAIL: gdb.mi/gdb792.exp: list children of A.protected
PASS -> FAIL: gdb.mi/gdb792.exp: list children of A.protected.b
PASS -> FAIL: gdb.mi/gdb792.exp: list children of A.protected.b.private
PASS -> FAIL: gdb.mi/gdb792.exp: list children of A.protected.b.public
PASS -> FAIL: gdb.mi/gdb792.exp: list children of A.public
PASS -> FAIL: gdb.mi/gdb792.exp: list children of class A
PASS -> FAIL: gdb.mi/gdb792.exp: list children of class C
new UNRESOLVED: gdb.mi/mi-break.exp: mi-mode=separate:
PASS -> FAIL: gdb.mi/mi-nonstop-exit.exp: mi runto main
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-native-gdbserver-m64/xfails/master/xfail?id=db8de2a6>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-native-gdbserver-m64/xfails/master/xfail.table?id=db8de2a6>



Reply | Threaded
Open this post in threaded view
|

Failures on Debian-s390x-m64, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        debian-jessie-s390x-1

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Debian-s390x-m64/builds/7006>

Commit(s) tested:
        7fb45a689543be75809a0513900d82f5bd859338

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        sim/opcodes: Allow use of out of tree cgen source directory

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Debian-s390x-m64/7f/7fb45a689543be75809a0513900d82f5bd859338/>

*** Diff to previous build ***
============================
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=2: wait for stops
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=0: inferior 1 exited
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=1: inferior 1 exited
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=1: inferior 1 exited
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Debian-s390x-m64/xfails/master/xfail?id=e26baaf6>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Debian-s390x-m64/xfails/master/xfail.table?id=e26baaf6>



Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-m64, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        fedora-x86-64-3

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Fedora-x86_64-m64/builds/11655>

Commit(s) tested:
        7fb45a689543be75809a0513900d82f5bd859338

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        sim/opcodes: Allow use of out of tree cgen source directory

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-x86_64-m64/7f/7fb45a689543be75809a0513900d82f5bd859338/>

*** Diff to previous build ***
============================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=0: inferior 1 exited
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-m64/xfails/master/xfail?id=cdf6907c>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-m64/xfails/master/xfail.table?id=cdf6907c>



Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-native-extended-gdbserver-m64, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        fedora-x86-64-2

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Fedora-x86_64-native-extended-gdbserver-m64/builds/11551>

Commit(s) tested:
        7fb45a689543be75809a0513900d82f5bd859338

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        sim/opcodes: Allow use of out of tree cgen source directory

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-x86_64-native-extended-gdbserver-m64/7f/7fb45a689543be75809a0513900d82f5bd859338/>

*** Diff to previous build ***
============================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=1: inferior 1 exited
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-native-extended-gdbserver-m64/xfails/master/xfail?id=d67b7e56>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-native-extended-gdbserver-m64/xfails/master/xfail.table?id=d67b7e56>



Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        fedora-x86-64-1

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Fedora-x86_64-native-extended-gdbserver-m32/builds/11280>

Commit(s) tested:
        7fb45a689543be75809a0513900d82f5bd859338

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        sim/opcodes: Allow use of out of tree cgen source directory

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-x86_64-native-extended-gdbserver-m32/7f/7fb45a689543be75809a0513900d82f5bd859338/>




Reply | Threaded
Open this post in threaded view
|

Failures on Ubuntu-Aarch64-native-gdbserver-m64, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        ubuntu16-aarch64

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Ubuntu-Aarch64-native-gdbserver-m64/builds/4611>

Commit(s) tested:
        7fb45a689543be75809a0513900d82f5bd859338

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        sim/opcodes: Allow use of out of tree cgen source directory

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Ubuntu-Aarch64-native-gdbserver-m64/7f/7fb45a689543be75809a0513900d82f5bd859338/>




Reply | Threaded
Open this post in threaded view
|

Failures on Ubuntu-Aarch64-m64, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        ubuntu16-aarch64

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Ubuntu-Aarch64-m64/builds/4679>

Commit(s) tested:
        7fb45a689543be75809a0513900d82f5bd859338

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        sim/opcodes: Allow use of out of tree cgen source directory

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Ubuntu-Aarch64-m64/7f/7fb45a689543be75809a0513900d82f5bd859338/>

*** Diff to previous build ***
============================
PASS -> FAIL: gdb.server/ext-run.exp: get process list
PASS -> FAIL: gdb.server/ext-run.exp: load new file without any gdbserver inferior
PASS -> FAIL: gdb.server/ext-run.exp: monitor exit
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Ubuntu-Aarch64-m64/xfails/master/xfail?id=60187cc3>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Ubuntu-Aarch64-m64/xfails/master/xfail.table?id=60187cc3>



Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-native-gdbserver-m32, branch master

sergiodj+buildbot-2
In reply to this post by sergiodj+buildbot-2
Buildslave:
        fedora-x86-64-4

Full Build URL:
        <http://gdb-build.sergiodj.net/builders/Fedora-x86_64-native-gdbserver-m32/builds/11286>

Commit(s) tested:
        7fb45a689543be75809a0513900d82f5bd859338

Author(s) (in the same order as the commits):
        Andrew Burgess <[hidden email]>

Subject:
        sim/opcodes: Allow use of out of tree cgen source directory

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-x86_64-native-gdbserver-m32/7f/7fb45a689543be75809a0513900d82f5bd859338/>

*** Diff to previous build ***
============================
new FAIL: gdb.ada/bp_inlined_func.exp: cannot run to main, testcase aborted
PASS -> FAIL: gdb.ada/pckd_arr_ren.exp: print var
new UNRESOLVED: gdb.base/interrupt.exp: echo more data
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=0: inferior 1 exited
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: cond_bp_target=1: inferior 1 exited
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=0: inferior 1 exited
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-native-gdbserver-m32/xfails/master/xfail?id=44db6fcc>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

        <https://git.sergiodj.net/gdb-xfails.git/tree/xfails/Fedora-x86_64-native-gdbserver-m32/xfails/master/xfail.table?id=44db6fcc>