aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-sim.c
diff options
context:
space:
mode:
authorMark Alexander <marka@cygnus>1997-02-18 21:05:55 +0000
committerMark Alexander <marka@cygnus>1997-02-18 21:05:55 +0000
commit1387cba1646f1b1431fd2e0bdd62c0a9f5a3ef77 (patch)
tree2b7a241ebc873d4e3db59fd3c8f3c61a88b80027 /gdb/remote-sim.c
parent52cdddd6fcba9d34480f062739f00f79958059e9 (diff)
downloadgdb-1387cba1646f1b1431fd2e0bdd62c0a9f5a3ef77.zip
gdb-1387cba1646f1b1431fd2e0bdd62c0a9f5a3ef77.tar.gz
gdb-1387cba1646f1b1431fd2e0bdd62c0a9f5a3ef77.tar.bz2
* remote-sim.c (init_callbacks): Undo previous change.
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index f40c70c..3b0ddb4 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -137,9 +137,7 @@ init_callbacks ()
gdb_callback.init (&gdb_callback);
gdb_callback.write_stdout = gdb_os_write_stdout;
gdb_callback.printf_filtered = gdb_os_printf_filtered;
- /* ??? where'd error come from? */
- /*gdb_callback.error = gdb_os_error;*/
- gdb_callback.last_errno= gdb_os_error;
+ gdb_callback.error = gdb_os_error;
sim_set_callbacks (&gdb_callback);
callbacks_initialized = 1;
}