mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-25 01:13:37 +08:00
* infcmd.c (signal_command): Accept "signal 0"; the change to not
accept it was accidental. "handle 0" and "info signal 0" remain illegal, though.
This commit is contained in:
parent
4f7ce2a5ef
commit
b5088d10b5
@ -1,3 +1,9 @@
|
||||
Fri Jan 13 17:52:57 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
|
||||
|
||||
* infcmd.c (signal_command): Accept "signal 0"; the change to not
|
||||
accept it was accidental. "handle 0" and "info signal 0" remain
|
||||
illegal, though.
|
||||
|
||||
Thu Jan 12 21:23:25 1995 Per Bothner <bothner@kalessin.cygnus.com>
|
||||
|
||||
* stabsread.c (read_enum_type): When pending enum symbols are
|
||||
|
@ -474,8 +474,12 @@ signal_command (signum_exp, from_tty)
|
||||
if (oursig == TARGET_SIGNAL_UNKNOWN)
|
||||
{
|
||||
/* No, try numeric. */
|
||||
oursig =
|
||||
target_signal_from_command (parse_and_eval_address (signum_exp));
|
||||
int num = parse_and_eval_address (signum_exp);
|
||||
|
||||
if (num == 0)
|
||||
oursig = TARGET_SIGNAL_0;
|
||||
else
|
||||
oursig = target_signal_from_command (num);
|
||||
}
|
||||
|
||||
if (from_tty)
|
||||
|
Loading…
Reference in New Issue
Block a user