]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: fix remote-sim.c build
authorSimon Marchi <simon.marchi@polymtl.ca>
Fri, 22 Oct 2021 04:13:43 +0000 (00:13 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 22 Oct 2021 04:13:43 +0000 (00:13 -0400)
commit66cc044255f805fd052b9cb9352915cbdf3040b5
tree400c9f40bbd77f2c0b3a476e9edd666b2c971003
parent46276d3ca2ed4b415d4a0da54e5aeffc53eb6489
gdb: fix remote-sim.c build

Commit 183be222907a ("gdb, gdbserver: make target_waitstatus safe")
broke the remote-sim.c build.  In fact, it does some wrong changes,
result of a bad sed invocation.

Fix it by adjusting the code to the new target_waitstatus API.

Change-Id: I3236ff7ef7681fc29215f68be210ff4263760e91
gdb/remote-sim.c