Changes to make the simulator work again.
authorJim Wilson <wilson@tuliptree.org>
Fri, 6 Oct 1995 19:06:13 +0000 (19:06 +0000)
committerJim Wilson <wilson@tuliptree.org>
Fri, 6 Oct 1995 19:06:13 +0000 (19:06 +0000)
commitabf6a9dc4ebf206e0e9d619a1e2a700a60d068ff
treec4c8a9a0ded76026cb7086df7e8bfa301f37a210
parent6834d4935c454c3e0ba4280b4dd04182a8aadb89
Changes to make the simulator work again.
* callback.c (fdbad): Fix typo in comment.
(os_close, os_isatty, os_lseek, os_read, os_write): Use if statements
rather than || to get correct return value.
(os_write_stdout): Pass missing first argument to os_write.
* remote-sim.c: Include callback.h.
(_initialize_remote_sim): Call sim_set_callbacks and then initialize
the callbacks.
gdb/ChangeLog
gdb/callback.c
gdb/remote-sim.c