Closed lexknuther closed 1 week ago
@lexknuther Thanks for the heads up - don't have an easily accessible copy of RHEL 9.4. Any chance you could send us your "show version" result? (The logic still works on the copies of RHEL I have at hand.)
I included the output in the bug report.
Ah, my mistake - overlooked it!!!
Describe the bug Traceback (most recent call last): File "", line 1, in
File ".../ghidra/Ghidra/Debug/Debugger-agent-gdb/build/pypkg/src/ghidragdb/init.py", line 16, in
from . import util, commands, parameters
File ".../ghidra/Ghidra/Debug/Debugger-agent-gdb/build/pypkg/src/ghidragdb/util.py", line 34, in
GDB_VERSION = _compute_gdb_ver()
File ".../ghidra/Ghidra/Debug/Debugger-agent-gdb/build/pypkg/src/ghidragdb/util.py", line 31, in _compute_gdb_ver
return GdbVersion(full, int(major), int(minor))
ValueError: invalid literal for int() with base 10: '1-5'
Error while executing Python code.
Output of show version: GNU gdb (GDB) Red Hat Enterprise Linux 12.1-5.el9
To Reproduce Steps to reproduce the behavior:
Expected behavior Version parsed correctly. Ideally, a regular expression could be used to extract the version parts and ignore the '-'.
Environment (please complete the following information):
Additional context Add any other context about the problem here.