From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11757 invoked by alias); 22 Feb 2007 14:51:45 -0000 Received: (qmail 11742 invoked by uid 22791); 22 Feb 2007 14:51:43 -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:51:33 +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 l1MEpUiN080386 for ; Thu, 22 Feb 2007 14:51:30 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 l1MEpUJt1880128 for ; Thu, 22 Feb 2007 15:51:30 +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 l1MEpT8Z025678 for ; Thu, 22 Feb 2007 15:51:30 +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 l1MEpTYw025673; Thu, 22 Feb 2007 15:51:29 +0100 Message-ID: <45DDADD4.6070306@de.ibm.com> Date: Thu, 22 Feb 2007 14:51: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: multipart/mixed; boundary="------------010505020408040608050507" 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/msg00259.txt.bz2 This is a multi-part message in MIME format. --------------010505020408040608050507 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 483 Hi, sorry for the mangled patch. From now on I attach the patches. I give up to configure Thunderbird :-( > 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 --------------010505020408040608050507 Content-Type: text/plain; name="diff-cleanup-infrun" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diff-cleanup-infrun" Content-length: 1162 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 (); --------------010505020408040608050507--