summaryrefslogtreecommitdiffstats
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)
downloadppe42-binutils-1387cba1646f1b1431fd2e0bdd62c0a9f5a3ef77.tar.gz
ppe42-binutils-1387cba1646f1b1431fd2e0bdd62c0a9f5a3ef77.zip
* 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 f40c70cb6a..3b0ddb4597 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;
}
OpenPOWER on IntegriCloud