CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
83 lines
2.7 KiB
Plaintext
83 lines
2.7 KiB
Plaintext
# Copyright 2000-2024 Free Software Foundation, Inc.
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
# Test framework for GDB (remote protocol) using a "gdbserver",
|
|
# ie. a debug agent running as a native process on the same or
|
|
# a different host.
|
|
|
|
#
|
|
# This module to be used for testing gdb with a "gdbserver"
|
|
# built either from libremote or from gdb/gdbserver.
|
|
#
|
|
|
|
#
|
|
# To be addressed or set in your baseboard config file:
|
|
#
|
|
# set_board_info gdb_protocol "remote"
|
|
# Unles you have a gdbserver that uses a different protocol...
|
|
#
|
|
# set_board_info use_gdb_stub 1
|
|
# This tells the rest of the test suite not to do things
|
|
# like "run" which don't work well on remote targets.
|
|
#
|
|
# set_board_info gdb,do_reload_on_run 1
|
|
# Unles you have a gdbserver that can handle multiple sessions.
|
|
#
|
|
# set_board_info noargs 1
|
|
# Set this if the board does not support passing arguments to the
|
|
# inferior process.
|
|
#
|
|
# set_board_info gdb,noinferiorio 1
|
|
# Neither the traditional gdbserver nor the one in libremote
|
|
# can presently capture stdout and relay it to GDB via the
|
|
# 'O' packet. This means that tests involving printf will
|
|
# fail unles you set this varibale in your baseboard
|
|
# configuration file.
|
|
#
|
|
# set_board_info gdb,no_hardware_watchpoints 1
|
|
# Unles you have a gdbserver that supports hardware watchpoints.
|
|
# FIXME: gdb should detect if the target doesn't support them,
|
|
# and fall back to using software watchpoints.
|
|
#
|
|
# set_board_info gdb_server_prog
|
|
# This will be the path to the gdbserver program you want to test.
|
|
# Defaults to "gdbserver".
|
|
#
|
|
# set_board_info sockethost
|
|
# The name of the host computer whose socket is being used.
|
|
# Defaults to "localhost". Note: old gdbserver requires
|
|
# that you define this, but libremote/gdbserver does not.
|
|
#
|
|
# set_board_info gdb,socketport
|
|
# Port id to use for socket connection. If not set explicitly,
|
|
# it will start at "2345" and increment for each use.
|
|
#
|
|
|
|
# The guts live in gdbserver-support.exp now.
|
|
|
|
load_lib gdbserver-support.exp
|
|
|
|
proc gdbserver_gdb_load { } {
|
|
return [gdbserver_spawn ""]
|
|
}
|
|
|
|
proc gdb_reload { {inferior_args {}} } {
|
|
return [gdbserver_run $inferior_args]
|
|
}
|
|
|
|
proc gdb_reconnect { } {
|
|
return [gdbserver_reconnect]
|
|
}
|