projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Automatic date update in version.in
[deliverable/binutils-gdb.git]
/
sim
/
common
/
sim-signal.c
diff --git
a/sim/common/sim-signal.c
b/sim/common/sim-signal.c
index 79d2c6bf9d1a62c8b186cd3fe41b080fb18257fc..7ddf694c4976b78f0738543815040c9073289f60 100644
(file)
--- a/
sim/common/sim-signal.c
+++ b/
sim/common/sim-signal.c
@@
-1,5
+1,5
@@
/* Simulator signal support
/* Simulator signal support
- Copyright (C) 1997
, 2007, 2008, 2009
Free Software Foundation, Inc.
+ Copyright (C) 1997
-2020
Free Software Foundation, Inc.
Contributed by Cygnus Support
This file is part of the GNU Simulators.
Contributed by Cygnus Support
This file is part of the GNU Simulators.
@@
-94,41
+94,41
@@
sim_signal_to_host (SIM_DESC sd, SIM_SIGNAL sig)
#endif
}
#endif
}
-enum
target_signal
-sim_signal_to_
target
(SIM_DESC sd, SIM_SIGNAL sig)
+enum
gdb_signal
+sim_signal_to_
gdb_signal
(SIM_DESC sd, SIM_SIGNAL sig)
{
switch (sig)
{
case SIM_SIGINT :
{
switch (sig)
{
case SIM_SIGINT :
- return
TARGET
_SIGNAL_INT;
+ return
GDB
_SIGNAL_INT;
case SIM_SIGABRT :
case SIM_SIGABRT :
- return
TARGET
_SIGNAL_ABRT;
+ return
GDB
_SIGNAL_ABRT;
case SIM_SIGILL :
case SIM_SIGILL :
- return
TARGET
_SIGNAL_ILL;
+ return
GDB
_SIGNAL_ILL;
case SIM_SIGTRAP :
case SIM_SIGTRAP :
- return
TARGET
_SIGNAL_TRAP;
+ return
GDB
_SIGNAL_TRAP;
case SIM_SIGBUS :
case SIM_SIGBUS :
- return
TARGET
_SIGNAL_BUS;
+ return
GDB
_SIGNAL_BUS;
case SIM_SIGSEGV :
case SIM_SIGSEGV :
- return
TARGET
_SIGNAL_SEGV;
+ return
GDB
_SIGNAL_SEGV;
case SIM_SIGXCPU :
case SIM_SIGXCPU :
- return
TARGET
_SIGNAL_XCPU;
+ return
GDB
_SIGNAL_XCPU;
case SIM_SIGFPE:
case SIM_SIGFPE:
- return
TARGET
_SIGNAL_FPE;
+ return
GDB
_SIGNAL_FPE;
break;
case SIM_SIGNONE:
break;
case SIM_SIGNONE:
- return
TARGET
_SIGNAL_0;
+ return
GDB
_SIGNAL_0;
break;
}
sim_io_eprintf (sd, "sim_signal_to_host: unknown signal: %d\n", sig);
break;
}
sim_io_eprintf (sd, "sim_signal_to_host: unknown signal: %d\n", sig);
- return
TARGET
_SIGNAL_HUP;
+ return
GDB
_SIGNAL_HUP;
}
}
This page took
0.023925 seconds
and
4
git commands to generate.