code: def test_gdb_session(gdb):
      out = gdb.run_command("show version")
      assert out.startswith("GNU gdb ("), out
  
imports: from functools import lru_cache
  import os
  import re
  import shutil
  import subprocess
  import sys
  import pytest
  import pyarrow
label_desc: Use image node_id 8 for calling a global function with example usage: test_gdb_session(gdb) without return types