Bug#977138: quake3 --debugger gdb doesn't work

Simon McVittie smcv at debian.org
Fri Dec 11 15:35:44 GMT 2020


On Fri, 11 Dec 2020 at 14:30:08 +0000, Witold Baryluk wrote:
> But if I try quake3 --debugger gdb, and then do `run` in debugger, it fails:
> 
> user at debian:~$ quake3 --debugger gdb
> WARNING:game-data-packager.launcher.base:Data file is missing: baseq3/pak0.pk3
> Excess command line arguments ignored. (com_homepath ...)

gdb can't be used in this way. You have to use

    quake3 --debugger="gdb --args"

if you want gdb to interpret arguments after the executable name as
arguments for the program.

Special-casing --debugger=gdb to mean --debugger="gdb --args" would make
this a bit easier to do, but also harder to explain: if you're using a
different debugger with similar syntax requirements, you'd still need to
provide extra arguments.

    smcv



More information about the Pkg-games-devel mailing list