This is the mail archive of the gdb-testers@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Remove unnecessary inferior lookup in inferior_command


*** 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]