diff options
author | Kevin Buettner <kevinb@redhat.com> | 2014-02-17 18:15:56 -0700 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2014-02-17 18:15:56 -0700 |
commit | fa0dd93ecaf11da5593b8132c95fb013c67b5b72 (patch) | |
tree | 3279fef954449c429648c0037a53ec38e47f76bc /bfd/elf32-avr.c | |
parent | ef3e8cf7d1d7849c2fb466bdc62b56336739cb90 (diff) | |
download | gdb-fa0dd93ecaf11da5593b8132c95fb013c67b5b72.zip gdb-fa0dd93ecaf11da5593b8132c95fb013c67b5b72.tar.gz gdb-fa0dd93ecaf11da5593b8132c95fb013c67b5b72.tar.bz2 |
Revise signal mapping function in GDB interface for RX sim.
sim/rx/gdb-if.c had a function named `rx_signal_to_host'. This
function mapped signal numbers used by the BSP to host signal
numbers which, at one time a while back, were used by GDB
as target signal numbers. This change updates the signal
numbers returned to be those names prefixed with "GDB_SIGNAL_"
as defined in include/gdb/signals.h.
It also changes the name of the function somewhat to better
match what the function currently does. I noticed that this
function is not static - and there's no reason for it not
to be - so I made it static too.
* gdb-if.c (rx_signal_to_host): Rename to
`rx_signal_to_gdb_signal'. Make static. Update all callers
to use new name. Use signal names from include/gdb/signals.h.
Diffstat (limited to 'bfd/elf32-avr.c')
0 files changed, 0 insertions, 0 deletions