diff options
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r-- | gdb/remote-sim.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index 2c22832..0e7d84e 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -217,7 +217,7 @@ get_sim_inferior_data (struct inferior *inf, int sim_instance_needed) /* Initialize the other instance variables. */ sim_data->program_loaded = 0; sim_data->gdbsim_desc = sim_desc; - sim_data->resume_siggnal = TARGET_SIGNAL_0; + sim_data->resume_siggnal = GDB_SIGNAL_0; sim_data->resume_step = 0; } else if (sim_desc) @@ -1028,11 +1028,11 @@ gdbsim_wait (struct target_ops *ops, case sim_stopped: switch (sigrc) { - case TARGET_SIGNAL_ABRT: + case GDB_SIGNAL_ABRT: quit (); break; - case TARGET_SIGNAL_INT: - case TARGET_SIGNAL_TRAP: + case GDB_SIGNAL_INT: + case GDB_SIGNAL_TRAP: default: status->kind = TARGET_WAITKIND_STOPPED; status->value.sig = sigrc; |