aboutsummaryrefslogtreecommitdiff
path: root/gdb/common
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-05-24 16:51:47 +0000
committerPedro Alves <palves@redhat.com>2012-05-24 16:51:47 +0000
commita493e3e2e429e4832b8620bd920ad07d0c2892d7 (patch)
tree4055e5c50cce1e1b622345a311c16a1441951778 /gdb/common
parent2ea286498fd2ddceaf074bfbc9a2986777ea0396 (diff)
downloadgdb-a493e3e2e429e4832b8620bd920ad07d0c2892d7.zip
gdb-a493e3e2e429e4832b8620bd920ad07d0c2892d7.tar.gz
gdb-a493e3e2e429e4832b8620bd920ad07d0c2892d7.tar.bz2
gdb/
2012-05-24 Pedro Alves <palves@redhat.com> PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. gdb/gdbserver/ 2012-05-24 Pedro Alves <palves@redhat.com> PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. include/gdb/ 2012-05-24 Pedro Alves <palves@redhat.com> PR gdb/7205 * gdb/signals.def: Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/arm/ 2012-05-24 Pedro Alves <palves@redhat.com> PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/avr/ 2012-05-24 Pedro Alves <palves@redhat.com> PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/common/ 2012-05-24 Pedro Alves <palves@redhat.com> PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/cr16/ 2012-05-24 Pedro Alves <palves@redhat.com> PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/d10v/ 2012-05-24 Pedro Alves <palves@redhat.com> PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/erc32/ 2012-05-24 Pedro Alves <palves@redhat.com> PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/m32c/ 2012-05-24 Pedro Alves <palves@redhat.com> PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/ppc/ 2012-05-24 Pedro Alves <palves@redhat.com> PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/rl78/ 2012-05-24 Pedro Alves <palves@redhat.com> PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. sim/rx/ 2012-05-24 Pedro Alves <palves@redhat.com> PR gdb/7205 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
Diffstat (limited to 'gdb/common')
-rw-r--r--gdb/common/agent.c6
-rw-r--r--gdb/common/signals.c236
2 files changed, 121 insertions, 121 deletions
diff --git a/gdb/common/agent.c b/gdb/common/agent.c
index 8fdc75a..43f1b65 100644
--- a/gdb/common/agent.c
+++ b/gdb/common/agent.c
@@ -236,11 +236,11 @@ agent_run_command (int pid, const char *cmd, int len)
resume_info.thread = ptid;
resume_info.kind = resume_continue;
- resume_info.sig = TARGET_SIGNAL_0;
+ resume_info.sig = GDB_SIGNAL_0;
(*the_target->resume) (&resume_info, 1);
}
#else
- target_resume (ptid, 0, TARGET_SIGNAL_0);
+ target_resume (ptid, 0, GDB_SIGNAL_0);
#endif
fd = gdb_connect_sync_socket (pid);
@@ -283,7 +283,7 @@ agent_run_command (int pid, const char *cmd, int len)
resume_info.thread = ptid;
resume_info.kind = resume_stop;
- resume_info.sig = TARGET_SIGNAL_0;
+ resume_info.sig = GDB_SIGNAL_0;
(*the_target->resume) (&resume_info, 1);
}
diff --git a/gdb/common/signals.c b/gdb/common/signals.c
index 46ae576..3ef9840 100644
--- a/gdb/common/signals.c
+++ b/gdb/common/signals.c
@@ -64,17 +64,17 @@ static const struct {
const char *
gdb_signal_to_string (enum gdb_signal sig)
{
- if ((int) sig >= TARGET_SIGNAL_FIRST && (int) sig <= TARGET_SIGNAL_LAST)
+ if ((int) sig >= GDB_SIGNAL_FIRST && (int) sig <= GDB_SIGNAL_LAST)
return signals[sig].string;
else
- return signals[TARGET_SIGNAL_UNKNOWN].string;
+ return signals[GDB_SIGNAL_UNKNOWN].string;
}
/* Return the name for a signal. */
const char *
gdb_signal_to_name (enum gdb_signal sig)
{
- if ((int) sig >= TARGET_SIGNAL_FIRST && (int) sig <= TARGET_SIGNAL_LAST
+ if ((int) sig >= GDB_SIGNAL_FIRST && (int) sig <= GDB_SIGNAL_LAST
&& signals[sig].name != NULL)
return signals[sig].name;
else
@@ -90,18 +90,18 @@ gdb_signal_from_name (const char *name)
enum gdb_signal sig;
/* It's possible we also should allow "SIGCLD" as well as "SIGCHLD"
- for TARGET_SIGNAL_SIGCHLD. SIGIOT, on the other hand, is more
+ for GDB_SIGNAL_SIGCHLD. SIGIOT, on the other hand, is more
questionable; seems like by now people should call it SIGABRT
instead. */
/* This ugly cast brought to you by the native VAX compiler. */
- for (sig = TARGET_SIGNAL_HUP;
- sig < TARGET_SIGNAL_LAST;
+ for (sig = GDB_SIGNAL_HUP;
+ sig < GDB_SIGNAL_LAST;
sig = (enum gdb_signal) ((int) sig + 1))
if (signals[sig].name != NULL
&& strcmp (name, signals[sig].name) == 0)
return sig;
- return TARGET_SIGNAL_UNKNOWN;
+ return GDB_SIGNAL_UNKNOWN;
}
/* The following functions are to help certain targets deal
@@ -116,191 +116,191 @@ gdb_signal_from_host (int hostsig)
to deal with the cases where more than one signal has the same number. */
if (hostsig == 0)
- return TARGET_SIGNAL_0;
+ return GDB_SIGNAL_0;
#if defined (SIGHUP)
if (hostsig == SIGHUP)
- return TARGET_SIGNAL_HUP;
+ return GDB_SIGNAL_HUP;
#endif
#if defined (SIGINT)
if (hostsig == SIGINT)
- return TARGET_SIGNAL_INT;
+ return GDB_SIGNAL_INT;
#endif
#if defined (SIGQUIT)
if (hostsig == SIGQUIT)
- return TARGET_SIGNAL_QUIT;
+ return GDB_SIGNAL_QUIT;
#endif
#if defined (SIGILL)
if (hostsig == SIGILL)
- return TARGET_SIGNAL_ILL;
+ return GDB_SIGNAL_ILL;
#endif
#if defined (SIGTRAP)
if (hostsig == SIGTRAP)
- return TARGET_SIGNAL_TRAP;
+ return GDB_SIGNAL_TRAP;
#endif
#if defined (SIGABRT)
if (hostsig == SIGABRT)
- return TARGET_SIGNAL_ABRT;
+ return GDB_SIGNAL_ABRT;
#endif
#if defined (SIGEMT)
if (hostsig == SIGEMT)
- return TARGET_SIGNAL_EMT;
+ return GDB_SIGNAL_EMT;
#endif
#if defined (SIGFPE)
if (hostsig == SIGFPE)
- return TARGET_SIGNAL_FPE;
+ return GDB_SIGNAL_FPE;
#endif
#if defined (SIGKILL)
if (hostsig == SIGKILL)
- return TARGET_SIGNAL_KILL;
+ return GDB_SIGNAL_KILL;
#endif
#if defined (SIGBUS)
if (hostsig == SIGBUS)
- return TARGET_SIGNAL_BUS;
+ return GDB_SIGNAL_BUS;
#endif
#if defined (SIGSEGV)
if (hostsig == SIGSEGV)
- return TARGET_SIGNAL_SEGV;
+ return GDB_SIGNAL_SEGV;
#endif
#if defined (SIGSYS)
if (hostsig == SIGSYS)
- return TARGET_SIGNAL_SYS;
+ return GDB_SIGNAL_SYS;
#endif
#if defined (SIGPIPE)
if (hostsig == SIGPIPE)
- return TARGET_SIGNAL_PIPE;
+ return GDB_SIGNAL_PIPE;
#endif
#if defined (SIGALRM)
if (hostsig == SIGALRM)
- return TARGET_SIGNAL_ALRM;
+ return GDB_SIGNAL_ALRM;
#endif
#if defined (SIGTERM)
if (hostsig == SIGTERM)
- return TARGET_SIGNAL_TERM;
+ return GDB_SIGNAL_TERM;
#endif
#if defined (SIGUSR1)
if (hostsig == SIGUSR1)
- return TARGET_SIGNAL_USR1;
+ return GDB_SIGNAL_USR1;
#endif
#if defined (SIGUSR2)
if (hostsig == SIGUSR2)
- return TARGET_SIGNAL_USR2;
+ return GDB_SIGNAL_USR2;
#endif
#if defined (SIGCLD)
if (hostsig == SIGCLD)
- return TARGET_SIGNAL_CHLD;
+ return GDB_SIGNAL_CHLD;
#endif
#if defined (SIGCHLD)
if (hostsig == SIGCHLD)
- return TARGET_SIGNAL_CHLD;
+ return GDB_SIGNAL_CHLD;
#endif
#if defined (SIGPWR)
if (hostsig == SIGPWR)
- return TARGET_SIGNAL_PWR;
+ return GDB_SIGNAL_PWR;
#endif
#if defined (SIGWINCH)
if (hostsig == SIGWINCH)
- return TARGET_SIGNAL_WINCH;
+ return GDB_SIGNAL_WINCH;
#endif
#if defined (SIGURG)
if (hostsig == SIGURG)
- return TARGET_SIGNAL_URG;
+ return GDB_SIGNAL_URG;
#endif
#if defined (SIGIO)
if (hostsig == SIGIO)
- return TARGET_SIGNAL_IO;
+ return GDB_SIGNAL_IO;
#endif
#if defined (SIGPOLL)
if (hostsig == SIGPOLL)
- return TARGET_SIGNAL_POLL;
+ return GDB_SIGNAL_POLL;
#endif
#if defined (SIGSTOP)
if (hostsig == SIGSTOP)
- return TARGET_SIGNAL_STOP;
+ return GDB_SIGNAL_STOP;
#endif
#if defined (SIGTSTP)
if (hostsig == SIGTSTP)
- return TARGET_SIGNAL_TSTP;
+ return GDB_SIGNAL_TSTP;
#endif
#if defined (SIGCONT)
if (hostsig == SIGCONT)
- return TARGET_SIGNAL_CONT;
+ return GDB_SIGNAL_CONT;
#endif
#if defined (SIGTTIN)
if (hostsig == SIGTTIN)
- return TARGET_SIGNAL_TTIN;
+ return GDB_SIGNAL_TTIN;
#endif
#if defined (SIGTTOU)
if (hostsig == SIGTTOU)
- return TARGET_SIGNAL_TTOU;
+ return GDB_SIGNAL_TTOU;
#endif
#if defined (SIGVTALRM)
if (hostsig == SIGVTALRM)
- return TARGET_SIGNAL_VTALRM;
+ return GDB_SIGNAL_VTALRM;
#endif
#if defined (SIGPROF)
if (hostsig == SIGPROF)
- return TARGET_SIGNAL_PROF;
+ return GDB_SIGNAL_PROF;
#endif
#if defined (SIGXCPU)
if (hostsig == SIGXCPU)
- return TARGET_SIGNAL_XCPU;
+ return GDB_SIGNAL_XCPU;
#endif
#if defined (SIGXFSZ)
if (hostsig == SIGXFSZ)
- return TARGET_SIGNAL_XFSZ;
+ return GDB_SIGNAL_XFSZ;
#endif
#if defined (SIGWIND)
if (hostsig == SIGWIND)
- return TARGET_SIGNAL_WIND;
+ return GDB_SIGNAL_WIND;
#endif
#if defined (SIGPHONE)
if (hostsig == SIGPHONE)
- return TARGET_SIGNAL_PHONE;
+ return GDB_SIGNAL_PHONE;
#endif
#if defined (SIGLOST)
if (hostsig == SIGLOST)
- return TARGET_SIGNAL_LOST;
+ return GDB_SIGNAL_LOST;
#endif
#if defined (SIGWAITING)
if (hostsig == SIGWAITING)
- return TARGET_SIGNAL_WAITING;
+ return GDB_SIGNAL_WAITING;
#endif
#if defined (SIGCANCEL)
if (hostsig == SIGCANCEL)
- return TARGET_SIGNAL_CANCEL;
+ return GDB_SIGNAL_CANCEL;
#endif
#if defined (SIGLWP)
if (hostsig == SIGLWP)
- return TARGET_SIGNAL_LWP;
+ return GDB_SIGNAL_LWP;
#endif
#if defined (SIGDANGER)
if (hostsig == SIGDANGER)
- return TARGET_SIGNAL_DANGER;
+ return GDB_SIGNAL_DANGER;
#endif
#if defined (SIGGRANT)
if (hostsig == SIGGRANT)
- return TARGET_SIGNAL_GRANT;
+ return GDB_SIGNAL_GRANT;
#endif
#if defined (SIGRETRACT)
if (hostsig == SIGRETRACT)
- return TARGET_SIGNAL_RETRACT;
+ return GDB_SIGNAL_RETRACT;
#endif
#if defined (SIGMSG)
if (hostsig == SIGMSG)
- return TARGET_SIGNAL_MSG;
+ return GDB_SIGNAL_MSG;
#endif
#if defined (SIGSOUND)
if (hostsig == SIGSOUND)
- return TARGET_SIGNAL_SOUND;
+ return GDB_SIGNAL_SOUND;
#endif
#if defined (SIGSAK)
if (hostsig == SIGSAK)
- return TARGET_SIGNAL_SAK;
+ return GDB_SIGNAL_SAK;
#endif
#if defined (SIGPRIO)
if (hostsig == SIGPRIO)
- return TARGET_SIGNAL_PRIO;
+ return GDB_SIGNAL_PRIO;
#endif
/* Mach exceptions. Assumes that the values for EXC_ are positive! */
@@ -331,28 +331,28 @@ gdb_signal_from_host (int hostsig)
#if defined (SIGINFO)
if (hostsig == SIGINFO)
- return TARGET_SIGNAL_INFO;
+ return GDB_SIGNAL_INFO;
#endif
#if defined (REALTIME_LO)
if (hostsig >= REALTIME_LO && hostsig < REALTIME_HI)
{
- /* This block of TARGET_SIGNAL_REALTIME value is in order. */
+ /* This block of GDB_SIGNAL_REALTIME value is in order. */
if (33 <= hostsig && hostsig <= 63)
return (enum gdb_signal)
- (hostsig - 33 + (int) TARGET_SIGNAL_REALTIME_33);
+ (hostsig - 33 + (int) GDB_SIGNAL_REALTIME_33);
else if (hostsig == 32)
- return TARGET_SIGNAL_REALTIME_32;
+ return GDB_SIGNAL_REALTIME_32;
else if (64 <= hostsig && hostsig <= 127)
return (enum gdb_signal)
- (hostsig - 64 + (int) TARGET_SIGNAL_REALTIME_64);
+ (hostsig - 64 + (int) GDB_SIGNAL_REALTIME_64);
else
error (_("GDB bug: target.c (gdb_signal_from_host): "
"unrecognized real-time signal"));
}
#endif
- return TARGET_SIGNAL_UNKNOWN;
+ return GDB_SIGNAL_UNKNOWN;
}
/* Convert a OURSIG (an enum gdb_signal) to the form used by the
@@ -372,79 +372,79 @@ do_gdb_signal_to_host (enum gdb_signal oursig,
*oursig_ok = 1;
switch (oursig)
{
- case TARGET_SIGNAL_0:
+ case GDB_SIGNAL_0:
return 0;
#if defined (SIGHUP)
- case TARGET_SIGNAL_HUP:
+ case GDB_SIGNAL_HUP:
return SIGHUP;
#endif
#if defined (SIGINT)
- case TARGET_SIGNAL_INT:
+ case GDB_SIGNAL_INT:
return SIGINT;
#endif
#if defined (SIGQUIT)
- case TARGET_SIGNAL_QUIT:
+ case GDB_SIGNAL_QUIT:
return SIGQUIT;
#endif
#if defined (SIGILL)
- case TARGET_SIGNAL_ILL:
+ case GDB_SIGNAL_ILL:
return SIGILL;
#endif
#if defined (SIGTRAP)
- case TARGET_SIGNAL_TRAP:
+ case GDB_SIGNAL_TRAP:
return SIGTRAP;
#endif
#if defined (SIGABRT)
- case TARGET_SIGNAL_ABRT:
+ case GDB_SIGNAL_ABRT:
return SIGABRT;
#endif
#if defined (SIGEMT)
- case TARGET_SIGNAL_EMT:
+ case GDB_SIGNAL_EMT:
return SIGEMT;
#endif
#if defined (SIGFPE)
- case TARGET_SIGNAL_FPE:
+ case GDB_SIGNAL_FPE:
return SIGFPE;
#endif
#if defined (SIGKILL)
- case TARGET_SIGNAL_KILL:
+ case GDB_SIGNAL_KILL:
return SIGKILL;
#endif
#if defined (SIGBUS)
- case TARGET_SIGNAL_BUS:
+ case GDB_SIGNAL_BUS:
return SIGBUS;
#endif
#if defined (SIGSEGV)
- case TARGET_SIGNAL_SEGV:
+ case GDB_SIGNAL_SEGV:
return SIGSEGV;
#endif
#if defined (SIGSYS)
- case TARGET_SIGNAL_SYS:
+ case GDB_SIGNAL_SYS:
return SIGSYS;
#endif
#if defined (SIGPIPE)
- case TARGET_SIGNAL_PIPE:
+ case GDB_SIGNAL_PIPE:
return SIGPIPE;
#endif
#if defined (SIGALRM)
- case TARGET_SIGNAL_ALRM:
+ case GDB_SIGNAL_ALRM:
return SIGALRM;
#endif
#if defined (SIGTERM)
- case TARGET_SIGNAL_TERM:
+ case GDB_SIGNAL_TERM:
return SIGTERM;
#endif
#if defined (SIGUSR1)
- case TARGET_SIGNAL_USR1:
+ case GDB_SIGNAL_USR1:
return SIGUSR1;
#endif
#if defined (SIGUSR2)
- case TARGET_SIGNAL_USR2:
+ case GDB_SIGNAL_USR2:
return SIGUSR2;
#endif
#if defined (SIGCHLD) || defined (SIGCLD)
- case TARGET_SIGNAL_CHLD:
+ case GDB_SIGNAL_CHLD:
#if defined (SIGCHLD)
return SIGCHLD;
#else
@@ -452,111 +452,111 @@ do_gdb_signal_to_host (enum gdb_signal oursig,
#endif
#endif /* SIGCLD or SIGCHLD */
#if defined (SIGPWR)
- case TARGET_SIGNAL_PWR:
+ case GDB_SIGNAL_PWR:
return SIGPWR;
#endif
#if defined (SIGWINCH)
- case TARGET_SIGNAL_WINCH:
+ case GDB_SIGNAL_WINCH:
return SIGWINCH;
#endif
#if defined (SIGURG)
- case TARGET_SIGNAL_URG:
+ case GDB_SIGNAL_URG:
return SIGURG;
#endif
#if defined (SIGIO)
- case TARGET_SIGNAL_IO:
+ case GDB_SIGNAL_IO:
return SIGIO;
#endif
#if defined (SIGPOLL)
- case TARGET_SIGNAL_POLL:
+ case GDB_SIGNAL_POLL:
return SIGPOLL;
#endif
#if defined (SIGSTOP)
- case TARGET_SIGNAL_STOP:
+ case GDB_SIGNAL_STOP:
return SIGSTOP;
#endif
#if defined (SIGTSTP)
- case TARGET_SIGNAL_TSTP:
+ case GDB_SIGNAL_TSTP:
return SIGTSTP;
#endif
#if defined (SIGCONT)
- case TARGET_SIGNAL_CONT:
+ case GDB_SIGNAL_CONT:
return SIGCONT;
#endif
#if defined (SIGTTIN)
- case TARGET_SIGNAL_TTIN:
+ case GDB_SIGNAL_TTIN:
return SIGTTIN;
#endif
#if defined (SIGTTOU)
- case TARGET_SIGNAL_TTOU:
+ case GDB_SIGNAL_TTOU:
return SIGTTOU;
#endif
#if defined (SIGVTALRM)
- case TARGET_SIGNAL_VTALRM:
+ case GDB_SIGNAL_VTALRM:
return SIGVTALRM;
#endif
#if defined (SIGPROF)
- case TARGET_SIGNAL_PROF:
+ case GDB_SIGNAL_PROF:
return SIGPROF;
#endif
#if defined (SIGXCPU)
- case TARGET_SIGNAL_XCPU:
+ case GDB_SIGNAL_XCPU:
return SIGXCPU;
#endif
#if defined (SIGXFSZ)
- case TARGET_SIGNAL_XFSZ:
+ case GDB_SIGNAL_XFSZ:
return SIGXFSZ;
#endif
#if defined (SIGWIND)
- case TARGET_SIGNAL_WIND:
+ case GDB_SIGNAL_WIND:
return SIGWIND;
#endif
#if defined (SIGPHONE)
- case TARGET_SIGNAL_PHONE:
+ case GDB_SIGNAL_PHONE:
return SIGPHONE;
#endif
#if defined (SIGLOST)
- case TARGET_SIGNAL_LOST:
+ case GDB_SIGNAL_LOST:
return SIGLOST;
#endif
#if defined (SIGWAITING)
- case TARGET_SIGNAL_WAITING:
+ case GDB_SIGNAL_WAITING:
return SIGWAITING;
#endif
#if defined (SIGCANCEL)
- case TARGET_SIGNAL_CANCEL:
+ case GDB_SIGNAL_CANCEL:
return SIGCANCEL;
#endif
#if defined (SIGLWP)
- case TARGET_SIGNAL_LWP:
+ case GDB_SIGNAL_LWP:
return SIGLWP;
#endif
#if defined (SIGDANGER)
- case TARGET_SIGNAL_DANGER:
+ case GDB_SIGNAL_DANGER:
return SIGDANGER;
#endif
#if defined (SIGGRANT)
- case TARGET_SIGNAL_GRANT:
+ case GDB_SIGNAL_GRANT:
return SIGGRANT;
#endif
#if defined (SIGRETRACT)
- case TARGET_SIGNAL_RETRACT:
+ case GDB_SIGNAL_RETRACT:
return SIGRETRACT;
#endif
#if defined (SIGMSG)
- case TARGET_SIGNAL_MSG:
+ case GDB_SIGNAL_MSG:
return SIGMSG;
#endif
#if defined (SIGSOUND)
- case TARGET_SIGNAL_SOUND:
+ case GDB_SIGNAL_SOUND:
return SIGSOUND;
#endif
#if defined (SIGSAK)
- case TARGET_SIGNAL_SAK:
+ case GDB_SIGNAL_SAK:
return SIGSAK;
#endif
#if defined (SIGPRIO)
- case TARGET_SIGNAL_PRIO:
+ case GDB_SIGNAL_PRIO:
return SIGPRIO;
#endif
@@ -587,7 +587,7 @@ do_gdb_signal_to_host (enum gdb_signal oursig,
#endif
#if defined (SIGINFO)
- case TARGET_SIGNAL_INFO:
+ case GDB_SIGNAL_INFO:
return SIGINFO;
#endif
@@ -595,25 +595,25 @@ do_gdb_signal_to_host (enum gdb_signal oursig,
#if defined (REALTIME_LO)
retsig = 0;
- if (oursig >= TARGET_SIGNAL_REALTIME_33
- && oursig <= TARGET_SIGNAL_REALTIME_63)
+ if (oursig >= GDB_SIGNAL_REALTIME_33
+ && oursig <= GDB_SIGNAL_REALTIME_63)
{
/* This block of signals is continuous, and
- TARGET_SIGNAL_REALTIME_33 is 33 by definition. */
- retsig = (int) oursig - (int) TARGET_SIGNAL_REALTIME_33 + 33;
+ GDB_SIGNAL_REALTIME_33 is 33 by definition. */
+ retsig = (int) oursig - (int) GDB_SIGNAL_REALTIME_33 + 33;
}
- else if (oursig == TARGET_SIGNAL_REALTIME_32)
+ else if (oursig == GDB_SIGNAL_REALTIME_32)
{
- /* TARGET_SIGNAL_REALTIME_32 isn't contiguous with
- TARGET_SIGNAL_REALTIME_33. It is 32 by definition. */
+ /* GDB_SIGNAL_REALTIME_32 isn't contiguous with
+ GDB_SIGNAL_REALTIME_33. It is 32 by definition. */
retsig = 32;
}
- else if (oursig >= TARGET_SIGNAL_REALTIME_64
- && oursig <= TARGET_SIGNAL_REALTIME_127)
+ else if (oursig >= GDB_SIGNAL_REALTIME_64
+ && oursig <= GDB_SIGNAL_REALTIME_127)
{
/* This block of signals is continuous, and
- TARGET_SIGNAL_REALTIME_64 is 64 by definition. */
- retsig = (int) oursig - (int) TARGET_SIGNAL_REALTIME_64 + 64;
+ GDB_SIGNAL_REALTIME_64 is 64 by definition. */
+ retsig = (int) oursig - (int) GDB_SIGNAL_REALTIME_64 + 64;
}
if (retsig >= REALTIME_LO && retsig < REALTIME_HI)