This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Remove unnecessary inferior lookup in inferior_command
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Tue, 06 Dec 2016 16:36:12 -0500
- Subject: [binutils-gdb] Remove unnecessary inferior lookup in inferior_command
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 5590c2bae0fb41e90bc9698e55d8ec1fe22a9173 ***
Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: 5590c2bae0fb41e90bc9698e55d8ec1fe22a9173
Remove unnecessary inferior lookup in inferior_command
In the case where we switch to a non-running inferior, we do a
"find_inferior_id (num)", although we did the same call right before.
gdb/ChangeLog:
* inferior.c (inferior_command): Remove duplicate
find_inferior_id call.