aboutsummaryrefslogtreecommitdiff
path: root/gdb/fork-child.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-09-06 13:59:03 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-09-06 13:59:03 +0000
commit423ec54cd3a05bdd5835076e3afe962fe4dd025b (patch)
tree4f6ad0475beaea090e1a8be0ba28aaa0f5a19fb0 /gdb/fork-child.c
parenta6eb9bc860e2b9232df85d90311e041a2bef08e5 (diff)
downloadgdb-423ec54cd3a05bdd5835076e3afe962fe4dd025b.zip
gdb-423ec54cd3a05bdd5835076e3afe962fe4dd025b.tar.gz
gdb-423ec54cd3a05bdd5835076e3afe962fe4dd025b.tar.bz2
gdb/
* corelow.c (core_open): Use target_signal_from_host if CORE_GDBARCH is NULL. * fork-child.c (startup_inferior) <resume_signal>: Use enum target_signal type. * linux-nat.c (linux_nat_resume): Use target_signal_to_host before calling strsignal. Use enum target_signal type for saved_signo. (linux_handle_extended_wait) <signo>: Use enum target_signal type. (linux_nat_wait_1): Use enum target_signal type for signo. Use target_signal_to_host before calling strsignal. * remote-m32r-sdi.c (m32r_wait, m32r_detach): Replace 0 by TARGET_SIGNAL_0. gdb/gdbserver/ * target.c (mywait) <TARGET_WAITKIND_EXITED>: Fix to use INTEGER.
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r--gdb/fork-child.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c
index 2b085ff..7b81e8f 100644
--- a/gdb/fork-child.c
+++ b/gdb/fork-child.c
@@ -448,7 +448,7 @@ startup_inferior (int ntraps)
while (1)
{
- int resume_signal = TARGET_SIGNAL_0;
+ enum target_signal resume_signal = TARGET_SIGNAL_0;
ptid_t event_ptid;
struct target_waitstatus ws;