[binutils-gdb] Convert default_child_has_foo functions to process_stratum_target methods

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

[binutils-gdb] Convert default_child_has_foo functions to process_stratum_target methods

sergiodj+buildbot-2
*** TEST RESULTS FOR COMMIT f3d11a9a96465432c01678445fc2fe84f2ef94f7 ***

Author: Pedro Alves <[hidden email]>
Branch: master
Commit: f3d11a9a96465432c01678445fc2fe84f2ef94f7

Convert default_child_has_foo functions to process_stratum_target methods

This patch converts the default_child_has_foo functions to
process_stratum_target methods.  This simplifies "regular"
non-inf_child process_stratum targets, since they no longer have to
override the target_ops::has_foo methods to call the default_child_foo
functions.  A couple targets need to override the new defaults
(corelow and tracefiles), but it still seems like a good tradeoff,
since those are expected to be little different (target doesn't run).

gdb/ChangeLog:
2018-11-30  Pedro Alves  <[hidden email]>

        * corelow.c (core_target) <has_all_memory, has_execution>: New
        overrides.
        * inf-child.c (inf_child_target::has_all_memory)
        (inf_child_target::has_memory, inf_child_target::has_stack)
        (inf_child_target::has_registers)
        (inf_child_target::has_execution): Delete.
        * inf-child.h (inf_child_target) <has_all_memory, has_memory,
        has_stack, has_registers, has_execution>: Delete.
        * process-stratum-target.c
        (process_stratum_target::has_all_memory)
        (process_stratum_target::has_memory)
        (process_stratum_target::has_stack)
        (process_stratum_target::has_registers)
        (process_stratum_target::has_execution): New.
        * process-stratum-target.h (process_stratum_target)
        <has_all_memory, has_memory, has_stack, has_registers,
        has_execution>: New method overrides.
        * ravenscar-thread.c (ravenscar_thread_target) <has_all_memory,
        has_memory, has_stack, has_registers, has_execution>: Delete.
        * remote-sim.c (gdbsim_target) <has_stack, has_registers,
        has_execution>: Delete.
        * remote.c (remote_target) <has_all_memory, has_memory, has_stack,
        has_registers, has_execution>: Delete.
        * target.c (default_child_has_all_memory)
        (default_child_has_memory, default_child_has_stack)
        (default_child_has_registers, default_child_has_execution):
        Delete.
        * target.h (default_child_has_all_memory)
        (default_child_has_memory, default_child_has_stack)
        (default_child_has_registers, default_child_has_execution):
        Delete.
        * tracefile.h (tracefile_target) <has_execution>: New override.
Reply | Threaded
Open this post in threaded view
|

*** COMPILATION FAILED *** Failures on Fedora-s390x-m64, branch master *** BREAKAGE ***

sergiodj+buildbot-2
Buildslave:
        marist-fedora-s390x

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

Commit(s) tested:
        f3d11a9a96465432c01678445fc2fe84f2ef94f7

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

Subject:
        Convert default_child_has_foo functions to process_stratum_target methods

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-s390x-m64/f3/f3d11a9a96465432c01678445fc2fe84f2ef94f7/>

*** Internal error on buildslave (no space left on device). ***
*** Please report this to the buildslave owner (see <http://gdb-build.sergiodj.net//buildslaves/marist-fedora-s390x>) ***

*** Failed to compiled GDB.  ***
============================
Setting warning flags = -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror
Setting warning flags = -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror
../../binutils-gdb/readline/complete.c:701:12: warning: implicit declaration of function wcwidth; did you mean fnwidth? [-Wimplicit-function-declaration]
../../binutils-gdb/readline/display.c:768:15: warning: implicit declaration of function wcwidth [-Wimplicit-function-declaration]
../../binutils-gdb/readline/mbutil.c:122:12: warning: implicit declaration of function wcwidth [-Wimplicit-function-declaration]
============================



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-3

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

Commit(s) tested:
        f3d11a9a96465432c01678445fc2fe84f2ef94f7

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

Subject:
        Convert default_child_has_foo functions to process_stratum_target methods

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

*** Diff to previous build ***
============================
PASS -> KFAIL: gdb.threads/non-ldr-exit.exp: program exits normally
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-i686/xfails/master/xfail?id=49a42cf8>

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=49a42cf8>



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/7170>

Commit(s) tested:
        f3d11a9a96465432c01678445fc2fe84f2ef94f7

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

Subject:
        Convert default_child_has_foo functions to process_stratum_target methods

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

*** Diff to previous build ***
============================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=off: 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-extended-gdbserver-m64/xfails/master/xfail?id=c47347e3>

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=c47347e3>



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/7027>

Commit(s) tested:
        f3d11a9a96465432c01678445fc2fe84f2ef94f7

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

Subject:
        Convert default_child_has_foo functions to process_stratum_target methods

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

*** Diff to previous build ***
============================
PASS -> UNRESOLVED: gdb.trace/tspeed.exp: print iters = init_iters
============================


*** 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=05b35623>

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=05b35623>



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-4

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

Commit(s) tested:
        f3d11a9a96465432c01678445fc2fe84f2ef94f7

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

Subject:
        Convert default_child_has_foo functions to process_stratum_target methods

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

*** Diff to previous build ***
============================
UNRESOLVED -> FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=main: force-fail=1: run failure detected
UNRESOLVED -> FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=separate: force-fail=1: run failure detected
UNRESOLVED -> FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=main: force-fail=1: run failure detected
UNRESOLVED -> FAIL: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=separate: force-fail=1: run failure detected
PASS -> FAIL: gdb.multi/bkpt-multi-exec.exp: run
PASS -> UNRESOLVED: gdb.threads/attach-into-signal.exp: threaded: attach
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-m32/xfails/master/xfail?id=d39bf374>

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-m32/xfails/master/xfail.table?id=d39bf374>



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/6983>

Commit(s) tested:
        f3d11a9a96465432c01678445fc2fe84f2ef94f7

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

Subject:
        Convert default_child_has_foo functions to process_stratum_target methods

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

*** 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-m64/xfails/master/xfail?id=8f3ad992>

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=8f3ad992>



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/11521>

Commit(s) tested:
        f3d11a9a96465432c01678445fc2fe84f2ef94f7

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

Subject:
        Convert default_child_has_foo functions to process_stratum_target methods

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

*** Diff to previous build ***
============================
FAIL -> UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=main: force-fail=1: run failure detected
FAIL -> UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=main: mi=separate: force-fail=1: run failure detected
FAIL -> UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=main: force-fail=1: run failure detected
FAIL -> UNRESOLVED: gdb.mi/mi-exec-run.exp: inferior-tty=separate: mi=separate: force-fail=1: run failure detected
PASS -> UNRESOLVED: gdb.threads/attach-into-signal.exp: threaded: attach
============================


*** 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=f7da0e1f>

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=f7da0e1f>



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/11626>

Commit(s) tested:
        f3d11a9a96465432c01678445fc2fe84f2ef94f7

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

Subject:
        Convert default_child_has_foo functions to process_stratum_target methods

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

*** Diff to previous build ***
============================
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-m64/xfails/master/xfail?id=e493bd97>

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=e493bd97>



Reply | Threaded
Open this post in threaded view
|

Failures on Fedora-x86_64-m32, 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-m32/builds/11324>

Commit(s) tested:
        f3d11a9a96465432c01678445fc2fe84f2ef94f7

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

Subject:
        Convert default_child_has_foo functions to process_stratum_target methods

Testsuite log (gdb.sum and gdb.log) URL(s):
        <http://gdb-build.sergiodj.net/results/Fedora-x86_64-m32/f3/f3d11a9a96465432c01678445fc2fe84f2ef94f7/>

*** Diff to previous build ***
============================
PASS -> KFAIL: gdb.threads/non-ldr-exit.exp: program exits normally
============================


*** 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-m32/xfails/master/xfail?id=2222a973>

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-m32/xfails/master/xfail.table?id=2222a973>



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/11257>

Commit(s) tested:
        f3d11a9a96465432c01678445fc2fe84f2ef94f7

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

Subject:
        Convert default_child_has_foo functions to process_stratum_target methods

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

*** Diff to previous build ***
============================
new UNRESOLVED: gdb.mi/mi-break.exp: mi-mode=separate:
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/Fedora-x86_64-native-gdbserver-m32/xfails/master/xfail?id=4b541323>

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=4b541323>



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/220>

Commit(s) tested:
        f3d11a9a96465432c01678445fc2fe84f2ef94f7

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

Subject:
        Convert default_child_has_foo functions to process_stratum_target methods

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




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/4589>

Commit(s) tested:
        f3d11a9a96465432c01678445fc2fe84f2ef94f7

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

Subject:
        Convert default_child_has_foo functions to process_stratum_target methods

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