* [Bug server/28392] gdb server no longer supports argument globbing and variable substitution
2021-09-28 10:29 [Bug server/28392] New: gdb server no longer supports argument globbing and variable substitution nikita6 at bk dot ru
@ 2021-09-28 11:09 ` nikita6 at bk dot ru
2021-09-28 14:33 ` simark at simark dot ca
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: nikita6 at bk dot ru @ 2021-09-28 11:09 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28392
Nikita Strygin <nikita6 at bk dot ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nikita6 at bk dot ru
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug server/28392] gdb server no longer supports argument globbing and variable substitution
2021-09-28 10:29 [Bug server/28392] New: gdb server no longer supports argument globbing and variable substitution nikita6 at bk dot ru
2021-09-28 11:09 ` [Bug server/28392] " nikita6 at bk dot ru
@ 2021-09-28 14:33 ` simark at simark dot ca
2021-10-01 7:56 ` m.weghorn at posteo dot de
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: simark at simark dot ca @ 2021-09-28 14:33 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28392
Simon Marchi <simark at simark dot ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |m.weghorn at posteo dot de,
| |simark at simark dot ca
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug server/28392] gdb server no longer supports argument globbing and variable substitution
2021-09-28 10:29 [Bug server/28392] New: gdb server no longer supports argument globbing and variable substitution nikita6 at bk dot ru
2021-09-28 11:09 ` [Bug server/28392] " nikita6 at bk dot ru
2021-09-28 14:33 ` simark at simark dot ca
@ 2021-10-01 7:56 ` m.weghorn at posteo dot de
2021-10-01 20:21 ` nikita6 at bk dot ru
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: m.weghorn at posteo dot de @ 2021-10-01 7:56 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28392
--- Comment #1 from Michael Weghorn <m.weghorn at posteo dot de> ---
Thanks for the detailed report. I have to admit I was not aware of the features
my commit broke, nor the '--no-startup-with-shell' arg for gdbserver.
Some thoughts/observations:
* Args with spaces still don't work when using the '--no-startup-with-shell'
arg for gdbserver. (Before bea571ebd78ee29cb94adf648fbcda1e109e1be6, such args
were silently split into multiple args as described in PR 25893, now gdbserver
exits saying "can't handle command-line argument containing whitespace".) That
should IMHO be fixed independently of the case where 'startup-with-shell' is
enabled.
* What gdb essentially does on UNIX-like systems when 'startup-with-shell' is
enabled is to run the program in a shell using "<SHELL> -c '<EXEC> <ARGS>'".
* "Plain" gdb by default has "startup-with-shell" enabled, but it still escapes
special characters in args passed when running 'gdb --args <ARGS>', as
gdbserver does now after bea571ebd78ee29cb94adf648fbcda1e109e1be6 ("plain" GDB
also uses 'construct_inferior_arguments', s. 'set_inferior_args_vector' in
gdb/infcmd.c).
Features (described in "startup-with-shell" section at [1]) like variable
substitution, expanding wildcard characters and I/O redirection in the shell
only apply for args set in the GDB prompt or via the '--eval-command' arg, e.g.
using 'run <PROGRAM> <ARGS>' or 'set args <ARGS>'.
* So far, I see no way to make both, the features described here as well as the
case with spaces in arguments (as described in PR 25893) work at the same time
for args passed on the command line when 'startup-with-shell' is enabled. From
how I understand it, just escaping specific characters wouldn't help. E.g. when
only escaping spaces, an
'>out.txt 2>err.txt' would then still not work as previously/expected, would
behave like an unescaped '>"out.txt 2" >"err.txt"'.
Given that, the most reasonable approach I can currently come up with to bring
back globbing, variable substitution and I/O redirection in the shell:
* for the case where 'startup-with-shell' is enabled, change back to the
behaviour before commit bea571ebd78ee29cb94adf648fbcda1e109e1be6
* accept that gdbserver and "plain" gdb treat args passed via command line
differently by default (i.e. when '--no-startup-with-shell' is not explicitly
set for gdbserver)
* given that args are passed to the shell in an unmodified way, the
scenario from PR 25893 is then possibly supposed to be regarded as a feature,
not a bug...
* As opposed to the expectation in PR 25893, args with spaces and special
characters then need to be escaped/quoted by the user when startup-with-shell
is enabled for gdbserver, e.g. by running
gdbserver localhost:50505 ./myprogram '"hello world"'
or
gdbserver localhost:50505 ./myprogram "hello\ world"
instead of just
gdbserver localhost:50505 ./myprogram "hello world"
* when using the '--no-startup-with-shell' arg for gdbserver, no extra escaping
needs to be done by the user, i.e. the following should work and result in a
single "hello world" arg being passed to the inferior:
gdbserver --no-startup-with-shell localhost:50505 ./myprogram "hello world"
What do you think? Any thoughts or better ideas how to deal with the situation
are highly appreciated.
[1] https://sourceware.org/gdb/onlinedocs/gdb/Starting.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug server/28392] gdb server no longer supports argument globbing and variable substitution
2021-09-28 10:29 [Bug server/28392] New: gdb server no longer supports argument globbing and variable substitution nikita6 at bk dot ru
` (2 preceding siblings ...)
2021-10-01 7:56 ` m.weghorn at posteo dot de
@ 2021-10-01 20:21 ` nikita6 at bk dot ru
2021-10-06 6:33 ` m.weghorn at posteo dot de
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: nikita6 at bk dot ru @ 2021-10-01 20:21 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28392
--- Comment #2 from Nikita Strygin <nikita6 at bk dot ru> ---
I think your solution sounds reasonable: it will fix the
'--no-startup-with-shell' with spaces and keep the compatibility for
'--startup-with-shell'
I think it might also be beneficial to update the docs to make clear what is
the difference. Currently it only says that 'startup-with-shell off' might be
useful when shell crashes for some reason.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug server/28392] gdb server no longer supports argument globbing and variable substitution
2021-09-28 10:29 [Bug server/28392] New: gdb server no longer supports argument globbing and variable substitution nikita6 at bk dot ru
` (3 preceding siblings ...)
2021-10-01 20:21 ` nikita6 at bk dot ru
@ 2021-10-06 6:33 ` m.weghorn at posteo dot de
2021-10-06 19:14 ` simon.marchi at polymtl dot ca
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: m.weghorn at posteo dot de @ 2021-10-06 6:33 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28392
--- Comment #3 from Michael Weghorn <m.weghorn at posteo dot de> ---
@Simon: Do you think the approach mentioned in comment 1 is reasonable?
If so, I'll work on implementing that (presumably sometime next week).
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug server/28392] gdb server no longer supports argument globbing and variable substitution
2021-09-28 10:29 [Bug server/28392] New: gdb server no longer supports argument globbing and variable substitution nikita6 at bk dot ru
` (4 preceding siblings ...)
2021-10-06 6:33 ` m.weghorn at posteo dot de
@ 2021-10-06 19:14 ` simon.marchi at polymtl dot ca
2021-10-13 6:43 ` m.weghorn at posteo dot de
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: simon.marchi at polymtl dot ca @ 2021-10-06 19:14 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28392
Simon Marchi <simon.marchi at polymtl dot ca> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |simon.marchi at polymtl dot ca
--- Comment #4 from Simon Marchi <simon.marchi at polymtl dot ca> ---
I don't really know what's best here. I just tried your different examples to
get a feel of the problem, but I don't have a definite answer. It seems
difficult to reconcile all use cases.
I think it's good if GDB and GDBserver have the same behavior. It's also good
if that behavior is predictable. I think we have to choose the behavior that
makes the most sense, make sure it works the same in GDB and GDBserver, and
stick to it / make sure it is properly tested. Whatever we choose, I think
some people will be unhappy (will see a change of behavior in their use case).
Disregarding things work today, I think makes sense that when using
startup-with-shell, the arguments are passed unchanged to the shell (although
concatenated with spaces if more than one is given). Otherwise, the option to
run through a shell is kind of pointless.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug server/28392] gdb server no longer supports argument globbing and variable substitution
2021-09-28 10:29 [Bug server/28392] New: gdb server no longer supports argument globbing and variable substitution nikita6 at bk dot ru
` (5 preceding siblings ...)
2021-10-06 19:14 ` simon.marchi at polymtl dot ca
@ 2021-10-13 6:43 ` m.weghorn at posteo dot de
2021-10-13 18:09 ` simon.marchi at polymtl dot ca
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: m.weghorn at posteo dot de @ 2021-10-13 6:43 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28392
--- Comment #5 from Michael Weghorn <m.weghorn at posteo dot de> ---
(In reply to Michael Weghorn from comment #1)
> * "Plain" gdb by default has "startup-with-shell" enabled, but it still
> escapes special characters in args passed when running 'gdb --args <ARGS>',
> as gdbserver does now after bea571ebd78ee29cb94adf648fbcda1e109e1be6
> ("plain" GDB also uses 'construct_inferior_arguments', s.
> 'set_inferior_args_vector' in gdb/infcmd.c).
> Features (described in "startup-with-shell" section at [1]) like variable
> substitution, expanding wildcard characters and I/O redirection in the shell
> only apply for args set in the GDB prompt or via the '--eval-command' arg,
> e.g. using 'run <PROGRAM> <ARGS>' or 'set args <ARGS>'.
Note that for gdbserver (as opposed to how it works for plain gdb), args set
via 'run <PROGRAM> <ARGS>' or 'set args <ARGS>' are now escaped as well (s.a.
PR 28446).
Here, it seems clear to me that no escaping should happen, so the remaining
question is how to treat args passed directly on gdb/gdbserver invocation.
(In reply to Simon Marchi from comment #4)
> I think it's good if GDB and GDBserver have the same behavior. It's also
> good if that behavior is predictable. I think we have to choose the
> behavior that makes the most sense, make sure it works the same in GDB and
> GDBserver, and stick to it / make sure it is properly tested. Whatever we
> choose, I think some people will be unhappy (will see a change of behavior
> in their use case).
>
> Disregarding things work today, I think makes sense that when using
> startup-with-shell, the arguments are passed unchanged to the shell
> (although concatenated with spaces if more than one is given). Otherwise,
> the option to run through a shell is kind of pointless.
If, other than my original suggestion on comment 1, we want to have gdbserver
and gdb treat args passed directly on invocation ('gdb --args <ARGS>' or
'gdbserver <ARGS>') the same, I essentially see two options:
1) Don't escape args in either 'gdb --args <ARGS>' nor 'gdbserver <ARGS>', i.e.
revert to the previous behaviour in gdbserver and change the way that gdb
behaves, requiring that arguments passed via 'gdb --args <ARGS>' are escaped by
the user as needed (as used to be the case for gdbserver before commit
bea571ebd78ee29cb94adf648fbcda1e109e1be6).
2) Escape args for both 'gdb --args <ARGS>' and 'gdbserver <ARGS>' by default,
but add a new option for gdbserver to disable that (e.g. '--no-escape-args'),
so that the gdbserver behaviour can explicitly be switched to the one before
commit bea571ebd78ee29cb94adf648fbcda1e109e1be6. 'gdb --args' behaviour remains
unchanged in that case.
If we want to unify this, I currently tend to prefer option 2). I personally
appreciate that just prepending a "gdb --args" to the usual program call
without having to think about any escaping is nice.
At least for "simple" use cases where gdb is just invoked from a shell, I
*think* it often doesn't even make a huge difference whether globbing and
variable substitution (as opposed to I/O redirection) is already done by the
shell from which gdb is invoked.
E.g. if I run this in a shell for option 1)
gdb --args ./myprogram $SHELL
it will finally run './myprogram /bin/bash' in gdb (in my case where
SHELL=/bin/bash), just as is the case for this command for option 2):
gdb --args ./myprogram '$SHELL'
just that variable expansion happens in the shell before the args are passed to
gdb (case 1) as opposed to it being done by the shell invoked by GDB (case 2).
However, there are certainly more complex scenarios (I/O redirection in any
case, but also others where env variables are manually set before execution or
work directory is changed,...) where it does make a difference in practice.
However, at least for gdb, it's already possible to set unescaped args using
'--eval-command='set args <ARGS>' if necessary.
I'd guess that changing the way that 'gdb --args' behaves (option 1) would be a
"more breaking change" than changing gdbserver (option 2).
But honestly, I don't know what's the way that most people use gdb and you can
probably judge that in a much better way and will be happy to work on the
implementation that is considered most reasonable.
What do you think?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug server/28392] gdb server no longer supports argument globbing and variable substitution
2021-09-28 10:29 [Bug server/28392] New: gdb server no longer supports argument globbing and variable substitution nikita6 at bk dot ru
` (6 preceding siblings ...)
2021-10-13 6:43 ` m.weghorn at posteo dot de
@ 2021-10-13 18:09 ` simon.marchi at polymtl dot ca
2021-10-14 15:06 ` m.weghorn at posteo dot de
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: simon.marchi at polymtl dot ca @ 2021-10-13 18:09 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28392
--- Comment #6 from Simon Marchi <simon.marchi at polymtl dot ca> ---
(In reply to Michael Weghorn from comment #5)
> (In reply to Michael Weghorn from comment #1)
> > * "Plain" gdb by default has "startup-with-shell" enabled, but it still
> > escapes special characters in args passed when running 'gdb --args <ARGS>',
> > as gdbserver does now after bea571ebd78ee29cb94adf648fbcda1e109e1be6
> > ("plain" GDB also uses 'construct_inferior_arguments', s.
> > 'set_inferior_args_vector' in gdb/infcmd.c).
> > Features (described in "startup-with-shell" section at [1]) like variable
> > substitution, expanding wildcard characters and I/O redirection in the shell
> > only apply for args set in the GDB prompt or via the '--eval-command' arg,
> > e.g. using 'run <PROGRAM> <ARGS>' or 'set args <ARGS>'.
>
> Note that for gdbserver (as opposed to how it works for plain gdb), args set
> via 'run <PROGRAM> <ARGS>' or 'set args <ARGS>' are now escaped as well
> (s.a. PR 28446).
> Here, it seems clear to me that no escaping should happen, so the remaining
> question is how to treat args passed directly on gdb/gdbserver invocation.
Ok.
> If, other than my original suggestion on comment 1, we want to have
> gdbserver and gdb treat args passed directly on invocation ('gdb --args
> <ARGS>' or 'gdbserver <ARGS>') the same, I essentially see two options:
>
> 1) Don't escape args in either 'gdb --args <ARGS>' nor 'gdbserver <ARGS>',
> i.e. revert to the previous behaviour in gdbserver and change the way that
> gdb behaves, requiring that arguments passed via 'gdb --args <ARGS>' are
> escaped by the user as needed (as used to be the case for gdbserver before
> commit bea571ebd78ee29cb94adf648fbcda1e109e1be6).
>
> 2) Escape args for both 'gdb --args <ARGS>' and 'gdbserver <ARGS>' by
> default, but add a new option for gdbserver to disable that (e.g.
> '--no-escape-args'), so that the gdbserver behaviour can explicitly be
> switched to the one before commit bea571ebd78ee29cb94adf648fbcda1e109e1be6.
> 'gdb --args' behaviour remains unchanged in that case.
>
> If we want to unify this, I currently tend to prefer option 2). I personally
> appreciate that just prepending a "gdb --args" to the usual program call
> without having to think about any escaping is nice.
By that argument, the current behavior of GDB, to escape arguments from the
command line, is right then. This program prints the arguments it receives:
$ ./a.out '$SHELL'
[0] ./a.out
[1] $SHELL
$ ./gdb -nx -q --data-directory=data-directory -batch -ex r --args ./a.out
'$SHELL'
[0] /home/smarchi/build/binutils-gdb/gdb/a.out
[1] $SHELL
$ ./a.out "> out"
[0] ./a.out
[1] > out
$ ./gdb -nx -q --data-directory=data-directory -batch -ex r --args ./a.out '>
out'
[0] /home/smarchi/build/binutils-gdb/gdb/a.out
[1] > out
Imagine if GDB didn't escape the arguments, in that last example the "> out"
would end up interpreted as SHELL redirection (unlike the non-GDB invokation),
it would be surprising I think.
> At least for "simple" use cases where gdb is just invoked from a shell, I
> *think* it often doesn't even make a huge difference whether globbing and
> variable substitution (as opposed to I/O redirection) is already done by the
> shell from which gdb is invoked.
>
> E.g. if I run this in a shell for option 1)
>
> gdb --args ./myprogram $SHELL
>
> it will finally run './myprogram /bin/bash' in gdb (in my case where
> SHELL=/bin/bash), just as is the case for this command for option 2):
>
> gdb --args ./myprogram '$SHELL'
>
> just that variable expansion happens in the shell before the args are passed
> to gdb (case 1) as opposed to it being done by the shell invoked by GDB
> (case 2). However, there are certainly more complex scenarios (I/O
> redirection in any case, but also others where env variables are manually
> set before execution or work directory is changed,...) where it does make a
> difference in practice.
> However, at least for gdb, it's already possible to set unescaped args using
> '--eval-command='set args <ARGS>' if necessary.
Indeed, with GDB you can fall back on "set args". But with gdbserver, you
can't, and that might be a problem. So having a --no-escape-args could be a
good option. And if we are adding it to gdbserver, we might as well add it to
gdb as well. i.e:
$ ./gdb ... --args ./a.out '$SHELL'
would show '$SHELL', and
$ ./gdb ... --no-escape-args --args ./a.out '$SHELL'
would show '/bin/bash' or whatever.
> I'd guess that changing the way that 'gdb --args' behaves (option 1) would
> be a "more breaking change" than changing gdbserver (option 2).
> But honestly, I don't know what's the way that most people use gdb and you
> can probably judge that in a much better way and will be happy to work on
> the implementation that is considered most reasonable.
>
> What do you think?
I would probably lean towards option 1:
- GDB has worked this way for a while, and it would probably break the
workflow of more users than changing gdbserver
- Given the examples above, I think the GDB behavior is somewhat sane
- The "new" gdbserver behavior is now released in the wild, in gdbserver 11.1
(IIUC). And it's what is in master today. We could always revert to the old
behavior as a "bug fix" in gdbserver 11.2, but that might end up even more
confusing. So where we are standing today, we can see the change in
gdbserver's behavior as being on purpose (to align gdbserver's behavior with
gdb's), but add --no-escape-args to provide an escape hatch.
There would be a third option, to revert gdbserver's behavior to be different
than gdb's, and add an --escape-args switch. But I don't really like that, as
that makes gdb and gdbserver behave differently, whereas we try to make the two
converge.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug server/28392] gdb server no longer supports argument globbing and variable substitution
2021-09-28 10:29 [Bug server/28392] New: gdb server no longer supports argument globbing and variable substitution nikita6 at bk dot ru
` (7 preceding siblings ...)
2021-10-13 18:09 ` simon.marchi at polymtl dot ca
@ 2021-10-14 15:06 ` m.weghorn at posteo dot de
2021-10-14 15:15 ` simark at simark dot ca
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: m.weghorn at posteo dot de @ 2021-10-14 15:06 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28392
--- Comment #7 from Michael Weghorn <m.weghorn at posteo dot de> ---
> I would probably lean towards option 1:
>
> - GDB has worked this way for a while, and it would probably break the
> workflow of more users than changing gdbserver
> - Given the examples above, I think the GDB behavior is somewhat sane
> - The "new" gdbserver behavior is now released in the wild, in gdbserver
> 11.1 (IIUC). And it's what is in master today. We could always revert to
> the old behavior as a "bug fix" in gdbserver 11.2, but that might end up
> even more confusing. So where we are standing today, we can see the change
> in gdbserver's behavior as being on purpose (to align gdbserver's behavior
> with gdb's), but add --no-escape-args to provide an escape hatch.
>
> There would be a third option, to revert gdbserver's behavior to be
> different than gdb's, and add an --escape-args switch. But I don't really
> like that, as that makes gdb and gdbserver behave differently, whereas we
> try to make the two converge.
Thanks a lot for you input.
Unless I completely misunderstand something, I'd read that as being in favour
of what I tried to describe as option **2** in comment 5, though, right? (not
option 1)
If so, I'll try to come up with patches to implement that.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug server/28392] gdb server no longer supports argument globbing and variable substitution
2021-09-28 10:29 [Bug server/28392] New: gdb server no longer supports argument globbing and variable substitution nikita6 at bk dot ru
` (8 preceding siblings ...)
2021-10-14 15:06 ` m.weghorn at posteo dot de
@ 2021-10-14 15:15 ` simark at simark dot ca
2021-10-22 7:21 ` m.weghorn at posteo dot de
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: simark at simark dot ca @ 2021-10-14 15:15 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28392
--- Comment #8 from Simon Marchi <simark at simark dot ca> ---
> Thanks a lot for you input.
> Unless I completely misunderstand something, I'd read that as being in
> favour of what I tried to describe as option **2** in comment 5, though,
> right? (not option 1)
>
> If so, I'll try to come up with patches to implement that.
That's right. Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug server/28392] gdb server no longer supports argument globbing and variable substitution
2021-09-28 10:29 [Bug server/28392] New: gdb server no longer supports argument globbing and variable substitution nikita6 at bk dot ru
` (9 preceding siblings ...)
2021-10-14 15:15 ` simark at simark dot ca
@ 2021-10-22 7:21 ` m.weghorn at posteo dot de
2024-01-17 15:35 ` vries at gcc dot gnu.org
2024-12-24 15:53 ` cvs-commit at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: m.weghorn at posteo dot de @ 2021-10-22 7:21 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28392
--- Comment #9 from Michael Weghorn <m.weghorn at posteo dot de> ---
(In reply to Michael Weghorn from comment #7)
> If so, I'll try to come up with patches to implement that.
First version of the patches just sent to the mailing list:
https://sourceware.org/pipermail/gdb-patches/2021-October/182723.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug server/28392] gdb server no longer supports argument globbing and variable substitution
2021-09-28 10:29 [Bug server/28392] New: gdb server no longer supports argument globbing and variable substitution nikita6 at bk dot ru
` (10 preceding siblings ...)
2021-10-22 7:21 ` m.weghorn at posteo dot de
@ 2024-01-17 15:35 ` vries at gcc dot gnu.org
2024-12-24 15:53 ` cvs-commit at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: vries at gcc dot gnu.org @ 2024-01-17 15:35 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28392
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vries at gcc dot gnu.org
--- Comment #10 from Tom de Vries <vries at gcc dot gnu.org> ---
Latest state:
https://inbox.sourceware.org/gdb-patches/cover.1704809585.git.aburgess@redhat.com
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug server/28392] gdb server no longer supports argument globbing and variable substitution
2021-09-28 10:29 [Bug server/28392] New: gdb server no longer supports argument globbing and variable substitution nikita6 at bk dot ru
` (11 preceding siblings ...)
2024-01-17 15:35 ` vries at gcc dot gnu.org
@ 2024-12-24 15:53 ` cvs-commit at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-12-24 15:53 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=28392
--- Comment #11 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andrew Burgess <aburgess@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f56707caa021dbe9a6e68aaa2dd0b13ba01f53df
commit f56707caa021dbe9a6e68aaa2dd0b13ba01f53df
Author: Andrew Burgess <aburgess@redhat.com>
Date: Fri Dec 15 13:03:26 2023 +0000
gdb/testsuite: add some xfail in gdb.base/startup-with-shell.exp
There are two tests that fail in gdb.base/startup-with-shell.exp when
using the native-extended-remote board. I plan to fix these issues,
and I've posted a series that does just that:
https://inbox.sourceware.org/gdb-patches/cover.1730731085.git.aburgess@redhat.com
But until that series is reviewed, I thought I'd merge this commit,
which marks the FAIL as XFAIL and links them to the relevant bug
number.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=28392
Tested-By: Guinevere Larsen <guinevere@redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 14+ messages in thread