[PATCH] gdb: quote inferior arguments, if needed, when opening a core file

Tom Tromey tom@tromey.com
Fri Jan 17 16:12:54 GMT 2025


>>>>> "Andrew" == Andrew Burgess <aburgess@redhat.com> writes:

Andrew> This commit changes things around, first we place the arguments into
Andrew> the inferior, then, to print the 'Core was generated by ...' line, we
Andrew> ask the inferior for the argument string.  In this way the quoting is
Andrew> handled just as it is for 'show args'.  The initial output is now:

Looks good to me.  Thank you.
Approved-By: Tom Tromey <tom@tromey.com>

Tom


More information about the Gdb-patches mailing list