gdb/infcmd: remove redundant clear_proceed_status call
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Wed, 7 Oct 2020 14:55:52 +0000 (16:55 +0200)
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Wed, 7 Oct 2020 14:55:52 +0000 (16:55 +0200)
commitb68bef998c81f01d73c02e7a8fb41ad8db685db1
treef1c8d7d08eb8078141034feeed2da73156c98697
parent4641551a7a176f31ebe75bf068b4a6e3fa5a612f
gdb/infcmd: remove redundant clear_proceed_status call

In `attach_command`, there is a call to `init_wait_for_inferior`
followed by a call to `clear_proceed_status`.  However,
`init_wait_for_inferior` already calls `clear_proceed_status`.  Remove
the redundant call.

Regression-tested on X86_64 Linux.

gdb/ChangeLog:
2020-10-07  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

* infcmd.c (attach_command): Remove the redundant call to
`clear_proceed_status`.
gdb/ChangeLog
gdb/infcmd.c
This page took 0.024811 seconds and 4 git commands to generate.