Skip to content

gdb/testsuite: Test the "info dispatches" command #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

alexrosen45
Copy link

Adds tests for info dispatches with multiple dispatches, which brings ROCgdb test line coverage from 68% to 78% for

"bfd/elf64-amdgcn.c"
"gdb/amd-dbgapi-target.c"
"gdb/amd-dbgapi-target.h"
"gdb/amdgpu-tdep.c"
"gdb/amdgpu-tdep.h"
"gdb/solib-rocm.c"

The test uses two new kernels (single_wave_kernel1 and single_wave_kernel2) in gdb/testsuite/gdb.rocm/show-info.cpp to test info dispatches with multiple dispatches. There is also a test for info dispatches with no dispatches.

Adds tests for "info dispatches" with multiple dispatches
@alexrosen45 alexrosen45 requested a review from lancesix July 11, 2025 14:16
@alexrosen45
Copy link
Author

use _amdeng account instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant