()
| 177 | |
| 178 | @pytest.fixture(scope='session') |
| 179 | def gdb(): |
| 180 | skip_if_gdb_unavailable() |
| 181 | gdb = GdbSession("-q", python_executable()) |
| 182 | try: |
| 183 | gdb.wait_until_ready() |
| 184 | gdb.run_command("set confirm off") |
| 185 | gdb.run_command("set print array-indexes on") |
| 186 | # Make sure gdb formatting is not terminal-dependent |
| 187 | gdb.run_command("set width unlimited") |
| 188 | gdb.run_command("set charset UTF-8") |
| 189 | yield gdb |
| 190 | finally: |
| 191 | gdb.join() |
| 192 | |
| 193 | |
| 194 | @pytest.fixture(scope='session') |
nothing calls this directly
no test coverage detected