public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-jankratochvil-bpstat_what: fix regression More internal errors.
@ 2010-04-09 21:20 jkratoch
  0 siblings, 0 replies; only message in thread
From: jkratoch @ 2010-04-09 21:20 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-bpstat_what has been updated
       via  dd898250d641fa21b5f525c7f185bca81a2f2f05 (commit)
      from  b3ffba82c0e7108ff9d26997d795f22e7892f001 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit dd898250d641fa21b5f525c7f185bca81a2f2f05
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Apr 9 23:20:40 2010 +0200

    fix regression
    More internal errors.

-----------------------------------------------------------------------

Summary of changes:
 gdb/infrun.c |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

First 500 lines of diff:
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 99ed860..98dd29c 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -4116,6 +4116,8 @@ process_event_stop_test:
 		    ecs->event_thread->stepping_over_breakpoint = 1;
 		    perform = pe_going;
 		  }
+		else
+		  perform = pe_check_more;
 	      }
 	    else
 	      {
@@ -4186,10 +4188,18 @@ process_event_stop_test:
 	    internal_error (__FILE__, __LINE__,
 			    _("handle_inferior_event: tracepoint encountered"));
 	    break;
+	  default:
+	    internal_error (__FILE__, __LINE__,
+			    _("handle_inferior_event: Unhandled bptype %s"),
+			    breakpoint_type_name (bptype));
+	    break;
 	  }
 
 	/* PERFORM must be always decided.  */
-	gdb_assert (perform != pe_undef);
+	if (perform == pe_undef)
+	  internal_error (__FILE__, __LINE__,
+			  _("handle_inferior_event: Unset perform, bptype %s"),
+			  breakpoint_type_name (bptype));
 
 	if (debug_infrun)
 	  {


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-09 21:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-09 21:20 [SCM] archer-jankratochvil-bpstat_what: fix regression More internal errors jkratoch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).