diff options
Diffstat (limited to 'gdb/gdbarch-selftests.c')
-rw-r--r-- | gdb/gdbarch-selftests.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/gdbarch-selftests.c b/gdb/gdbarch-selftests.c index 031d40f..47f4d99 100644 --- a/gdb/gdbarch-selftests.c +++ b/gdb/gdbarch-selftests.c @@ -71,11 +71,6 @@ register_to_value_test (struct gdbarch *gdbarch) builtin->builtin_char32, }; - /* Error out if debugging something, because we're going to push the - test target, which would pop any existing target. */ - if (current_top_target ()->stratum () >= process_stratum) - error (_("target already pushed")); - /* Create a mock environment. An inferior with a thread, with a process_stratum target pushed. */ |