Open
Description
This in particular happens when using servo's mach run utility.
I'm on rustc 1.41.0-nightly (1bd30ce2a 2019-11-15)
Output when using plain gdb:
$ ./mach -v run --debug --debugger gdb -d "http://nolp.dhl.de/nextt-online-public/set_identcodes.do?lang=de"
Reading symbols from /home/marc/Dokumente/02_GIT/servo/target/debug/servo...fertig.
(gdb) r
Starting program: /home/marc/Dokumente/02_GIT/servo/target/debug/servo http://nolp.dhl.de/nextt-online-public/set_identcodes.do\?lang=de
Output when using rust-gdb:
$ ./mach -v run --debug --debugger rust-gdb -d "http://nolp.dhl.de/nextt-online-public/set_identcodes.do?lang=de"
GNU gdb (Ubuntu 8.1-0ubuntu3.2) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/marc/Dokumente/02_GIT/servo/target/debug/servo...fertig.
/home/marc/Dokumente/02_GIT/servo/http://nolp.dhl.de/nextt-online-public/set_identcodes.do?lang=de: Datei oder Verzeichnis nicht gefunden.
(gdb) q
For some reason gdb tries to see this as an additional executable or shared library
Edit: https://github.com/rust-lang/rust/blob/master/src/etc/rust-gdb#L16 would adding --args be enough there?