gdbserver: enum gdb_signal casts
authorPedro Alves <palves@redhat.com>
Thu, 29 Oct 2015 12:55:02 +0000 (12:55 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 29 Oct 2015 12:56:27 +0000 (12:56 +0000)
commite053fbc44f32c12a67f4bcd9f01142b4e043496c
treef360302c3a20dcbe1d81ab8e87e8521d26e91190
parentadd67df84c59a6c28111d65e8d0a7e6b4994cdb1
gdbserver: enum gdb_signal casts

This is code parsing RSP signal numbers, checking whether the numbers
are indeed valid/known GDB signals, and then converting to host signal
numbers.  I considered adding temporary enum gdb_signal variables
instead, but didn't really like the result.

gdb/gdbserver/ChangeLog:
2015-10-29  Pedro Alves  <palves@redhat.com>

* server.c (handle_v_cont, process_serial_event): Add enum
gdb_signal casts to signal parsing code.
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.c