Browse Source

* infcmd.c (continue_1): Add an ERROR_NO_INFERIOR call.

binutils-arc-20080908-branch
Pedro Alves 18 years ago
parent
commit
3d488bfcde
  1. 4
      gdb/ChangeLog
  2. 2
      gdb/infcmd.c

4
gdb/ChangeLog

@ -1,3 +1,7 @@
2008-08-14 Pedro Alves <pedro@codesourcery.com>
* infcmd.c (continue_1): Add an ERROR_NO_INFERIOR call.
2008-08-13 Pedro Alves <pedro@codesourcery.com>
* breakpoint.c (always_inserted_auto, always_inserted_on)

2
gdb/infcmd.c

@ -614,6 +614,8 @@ proceed_thread_callback (struct thread_info *thread, void *arg)
void
continue_1 (int all_threads)
{
ERROR_NO_INFERIOR;
if (non_stop && all_threads)
{
/* Don't error out if the current thread is running, because

Loading…
Cancel
Save