summaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-10-05 23:13:56 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-10-05 23:13:56 +0000
commitce8537f129e0aa7823f1e9ff610baea9edd4f9ce (patch)
tree44c31e9e3ca76fb002295a2ddafc1f6aa9a91a9e /gdb/target.c
parente61b94e5346142170a372e22f687753fcae79595 (diff)
downloadgdb-ce8537f129e0aa7823f1e9ff610baea9edd4f9ce.tar.gz
import gdb-1999-10-04 snapshot
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/target.c b/gdb/target.c
index 01e01c2b82e..6d0b796047c 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -452,7 +452,7 @@ cleanup_target (t)
de_fault (to_core_file_to_sym_file, (char *(*)PARAMS ((char *))) return_zero);
de_fault (to_can_async_p, (int (*) (void)) return_zero);
de_fault (to_is_async_p, (int (*) (void)) return_zero);
- de_fault (to_async, (void (*) (void (*) (int, void*, int), void*)) tcomplain);
+ de_fault (to_async, (void (*) (void (*) (enum inferior_event_type, void*), void*)) tcomplain);
#undef de_fault
}
@@ -1009,7 +1009,7 @@ target_link (modname, t_reloc)
error ("Unable to link to %s and get relocation in rombug", modname);
}
else
- *t_reloc = (CORE_ADDR) - 1;
+ *t_reloc = (CORE_ADDR) -1;
}
/* Look through the list of possible targets for a target that can