mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-06 23:50:09 +08:00
From Petr Ledvina <ledvinap@kae.zcu.cz>:
* signals.c (target_signal_to_name): Verify that SIG is within the bounds of the signals array.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2002-01-13 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
|
From Petr Ledvina <ledvinap@kae.zcu.cz>:
|
||||||
|
* signals.c (target_signal_to_name): Verify that SIG is within the
|
||||||
|
bounds of the signals array.
|
||||||
|
|
||||||
2002-01-13 Andrew Cagney <ac131313@redhat.com>
|
2002-01-13 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* MAINTAINERS: Remove arm-coff and arm-pe from target list.
|
* MAINTAINERS: Remove arm-coff and arm-pe from target list.
|
||||||
|
@ -214,6 +214,9 @@ target_signal_to_name (enum target_signal sig)
|
|||||||
/* I think the code which prints this will always print it along with
|
/* I think the code which prints this will always print it along with
|
||||||
the string, so no need to be verbose. */
|
the string, so no need to be verbose. */
|
||||||
return "?";
|
return "?";
|
||||||
|
else if ((sig >= TARGET_SIGNAL_FIRST) && (sig <= TARGET_SIGNAL_LAST))
|
||||||
|
return signals[sig].name;
|
||||||
|
else
|
||||||
return signals[sig].name;
|
return signals[sig].name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user