+2001-01-03 Jeff Johnston <jjohnstn@redhat.com>
+
+ * gdb.cxx (restart_program): Added code to drive
+ new "restart" output pin.
+ * gdb.h (restart_pin): New output pin.
+
2000-11-21 Frank Ch. Eigler <fche@redhat.com>
* Makefile.in: Regenerated.
// gdb.cxx - GDB stub implementation. -*- C++ -*-
-// Copyright (C) 1999, 2000 Red Hat.
+// Copyright (C) 1999, 2000, 2001 Red Hat.
// This file is part of SID and is licensed under the GPL.
// See the file COPYING.SID for conditions for redistribution.
if (trace_gdbsid)
cerr << "restart_program " << endl;
- // XXX: what to do here?
+ // Drive restart pin so reset can be performed
+ this->restart_pin.drive (1);
}
add_attribute ("deinit", & deinit_pin, "pin");
add_pin ("trap-code", & cpu_trap_code_pin);
add_pin ("process-signal", & process_signal_pin);
+ add_pin ("restart", & restart_pin);
add_pin ("gloss-process-signal", & gloss_process_signal_pin);
add_pin ("remote-rx", & remote_rx_pin);
add_attribute ("remote-rx", & remote_rx_pin, "pin");
// gdb.h - description. -*- C++ -*-
-// Copyright (C) 1999, 2000 Red Hat.
+// Copyright (C) 1999, 2000, 2001 Red Hat.
// This file is part of SID and is licensed under the GPL.
// See the file COPYING.SID for conditions for redistribution.
vector<component*> host_schedulers;
// turn target subsystem on/off
output_pin process_signal_pin; // signal to cfgroot
+ output_pin restart_pin; // signal to hw-reset
void target_power (bool on);
// hw breakpoint tracking