From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 504 invoked by alias); 22 Feb 2007 14:33:53 -0000 Received: (qmail 32731 invoked by uid 22791); 22 Feb 2007 14:33:52 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate1.de.ibm.com (HELO mtagate1.de.ibm.com) (195.212.29.150) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 22 Feb 2007 14:33:40 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate1.de.ibm.com (8.13.8/8.13.8) with ESMTP id l1MEXbBD098048 for ; Thu, 22 Feb 2007 14:33:37 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.2) with ESMTP id l1MEXbdR1957926 for ; Thu, 22 Feb 2007 15:33:37 +0100 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l1MEXbMr029204 for ; Thu, 22 Feb 2007 15:33:37 +0100 Received: from [9.152.248.45] (dyn-9-152-248-45.boeblingen.de.ibm.com [9.152.248.45]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l1MEXbnG029198; Thu, 22 Feb 2007 15:33:37 +0100 Message-ID: <45DDA9A4.2010005@de.ibm.com> Date: Thu, 22 Feb 2007 14:33:00 -0000 From: Markus Deuling User-Agent: Thunderbird 1.5.0.9 (X11/20061215) MIME-Version: 1.0 To: GDB Patches CC: Ulrich Weigand Subject: Patch: Remove STOP_UNKNOWN/BREAKPOINT_HIT from infrun.c Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-02/txt/msg00256.txt.bz2 Hi, > Sorry, I missed this message. I think we can remove both of them. as discussed this patch removes STOP_UNKNOWN and BREAKPOINT_HIT from infrun.c Ok to commit? ChangeLog: * infrun.c (inferior_stop_reason, print_stop_reason): Remove BREAKPOINT_HIT and STOP_UNKNOWN. Regards, Markus -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com ========================================= diff -urN src/gdb/infrun.c dev/gdb/infrun.c --- src/gdb/infrun.c 2007-01-10 21:10:23.000000000 +0100 +++ dev/gdb/infrun.c 2007-02-22 15:23:34.000000000 +0100 @@ -904,12 +904,8 @@ to the interface from within handle_inferior_event(). */ enum inferior_stop_reason { - /* We don't know why. */ - STOP_UNKNOWN, /* Step, next, nexti, stepi finished. */ END_STEPPING_RANGE, - /* Found breakpoint. */ - BREAKPOINT_HIT, /* Inferior terminated by signal. */ SIGNAL_EXITED, /* Inferior exited. */ @@ -2986,10 +2982,6 @@ { switch (stop_reason) { - case STOP_UNKNOWN: - /* We don't deal with these cases from handle_inferior_event() - yet. */ - break; case END_STEPPING_RANGE: /* We are done with a step/next/si/ni command. */ /* For now print nothing. */ @@ -3001,10 +2993,6 @@ (uiout, "reason", async_reason_lookup (EXEC_ASYNC_END_STEPPING_RANGE)); break; - case BREAKPOINT_HIT: - /* We found a breakpoint. */ - /* For now print nothing. */ - break; case SIGNAL_EXITED: /* The inferior was terminated by a signal. */ annotate_signalled ();