Remove dead serial_interface_lookup calls
authorSimon Marchi <simon.marchi@ericsson.com>
Thu, 12 Jan 2017 15:39:35 +0000 (10:39 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Thu, 12 Jan 2017 15:41:50 +0000 (10:41 -0500)
commitca1ca08b0893eb6ec530db0cc7e12537417244fa
tree6307452efcdda96c8cbce16fb9ff128d32e992e4
parent1181551ef0a9a7f611a3d1130d2b284280882870
Remove dead serial_interface_lookup calls

By inspecting the serial_add_interface calls, I found that the serial
interface names that we have today are:

 - hardwire
 - terminal
 - pipe
 - tcp
 - event

 The calls to serial_interface_lookup with any other names are most
 likely leftovers which can be removed since these serial interfaces
 don't exist anymore.  The commits that removed the "pc" and "parallel"
 interfaces are respectively:

  cb2a4ac5dae478fcd9d6e772530c3aba0576fc7a

and

  e386d4d2fb55042f77d0557a0849ed2464aee7b3

gdb/ChangeLog:

* serial.c (serial_open): Forget about "pc" and "lpt" serial interface.
gdb/ChangeLog
gdb/serial.c