mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 22:40:24 +00:00
1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
* monitor.c (init_monitor_ops): Initialize the monitor_ops structure if it hasn't already been done. PR 18735
This commit is contained in:
parent
4b6afe7012
commit
9d4010dcac
@ -1,3 +1,8 @@
|
||||
1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
|
||||
|
||||
* monitor.c (init_monitor_ops): Initialize the monitor_ops
|
||||
structure if it hasn't already been done.
|
||||
|
||||
Tue Jan 12 14:50:10 1999 Stan Shebs <shebs@andros.cygnus.com>
|
||||
|
||||
* inftarg.c (child_ops): Don't initialize statically.
|
||||
|
@ -2268,6 +2268,9 @@ void
|
||||
init_monitor_ops (ops)
|
||||
struct target_ops *ops;
|
||||
{
|
||||
if (monitor_ops.to_magic != OPS_MAGIC)
|
||||
init_base_monitor_ops ();
|
||||
|
||||
memcpy (ops, &monitor_ops, sizeof monitor_ops);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user