diff options
Diffstat (limited to 'gdb/gdbserver/inferiors.c')
-rw-r--r-- | gdb/gdbserver/inferiors.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/gdbserver/inferiors.c b/gdb/gdbserver/inferiors.c index 608a997..29a07e0 100644 --- a/gdb/gdbserver/inferiors.c +++ b/gdb/gdbserver/inferiors.c @@ -355,8 +355,6 @@ get_thread_process (struct thread_info *thread) struct process_info * current_process (void) { - if (current_inferior == NULL) - fatal ("Current inferior requested, but current_inferior is NULL\n"); - + gdb_assert (current_inferior != NULL); return get_thread_process (current_inferior); } |