diff options
author | Alexandra Hájková <ahajkova@redhat.com> | 2024-02-02 11:13:47 +0100 |
---|---|---|
committer | Alexandra Hájková <ahajkova@redhat.com> | 2024-07-29 16:33:22 +0200 |
commit | 7e42bbed5b11c30330b722d78eec3b2004f1a918 (patch) | |
tree | 6b54b81c7917e478a8d957f9c6c20e20524997d8 /libctf/ctf-util.c | |
parent | 5dd825c15dcdf0278a37c7d8581019a4ace56c8f (diff) | |
download | binutils-7e42bbed5b11c30330b722d78eec3b2004f1a918.zip binutils-7e42bbed5b11c30330b722d78eec3b2004f1a918.tar.gz binutils-7e42bbed5b11c30330b722d78eec3b2004f1a918.tar.bz2 |
Add a test for the gcore script
It also tests the gcore script being run without its accessible
terminal.
This test was written by Jan Kratochvil a long time ago. I modernized
the test making it use various procs from lib/gdb.exp, reorganizing it
and added some comments.
Modify the gcore script to make it possible to pass the --data-directory to
it. This prevents a lot of these warnings:
Python Exception <class 'AttributeError'>: module 'gdb' has no attribute
'_handle_missing_debuginfo'
Tested by using make check-all-boards.
Co-Authored-By: Jan Kratochvil <jan.kratochvil@redhat.com>
Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Diffstat (limited to 'libctf/ctf-util.c')
0 files changed, 0 insertions, 0 deletions