projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Straightforward fatal to internal_error conversions
[deliverable/binutils-gdb.git]
/
gdb
/
gdbserver
/
inferiors.c
diff --git
a/gdb/gdbserver/inferiors.c
b/gdb/gdbserver/inferiors.c
index 608a99736db3b890f79981753300b5fa39e1f734..29a07e06d100f76c714002c615a2d57f10d85118 100644
(file)
--- 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);
}
This page took
0.022899 seconds
and
4
git commands to generate.