From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23208 invoked by alias); 13 Dec 2011 21:24:42 -0000 Received: (qmail 23199 invoked by uid 22791); 13 Dec 2011 21:24:41 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Dec 2011 21:24:27 +0000 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 463031C01CBF; Tue, 13 Dec 2011 22:24:25 +0100 (CET) X-Auth-Info: 0i47VrMo1sB+IQBMXb40p8Dp5MutV0b5kKS9XqLEepU= Received: from igel.home (ppp-93-104-129-131.dynamic.mnet-online.de [93.104.129.131]) by mail.mnet-online.de (Postfix) with ESMTPA id 4A10D1C0015B; Tue, 13 Dec 2011 22:24:25 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id 8EB65CA29C; Tue, 13 Dec 2011 22:24:24 +0100 (CET) From: Andreas Schwab To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [RFC/WIP PATCH 02/14] Mask software breakpoints from memory writes too References: <20111128153742.17761.21459.stgit@localhost6.localdomain6> <20111128153904.17761.45665.stgit@localhost6.localdomain6> <201112062007.46352.pedro@codesourcery.com> X-Yow: Yow! Now we can become alcoholics! Date: Tue, 13 Dec 2011 21:26:00 -0000 In-Reply-To: <201112062007.46352.pedro@codesourcery.com> (Pedro Alves's message of "Tue, 6 Dec 2011 20:07:46 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 2011-12/txt/msg00426.txt.bz2 Pedro Alves writes: > 2011-12-06 Pedro Alves > > gdb/ > * breakpoint.c (breakpoint_restore_shadows): Rename to ... > (breakpoint_xfer_memory): ... this. Change prototype. Handle > memory writes too. > * breakpoint.h (breakpoint_restore_shadows): Delete. > (breakpoint_xfer_memory): Declare. > * mem-break.c (default_memory_insert_breakpoint) > (default_memory_remove_breakpoint): Use target_write_raw_memory. > (memory_xfer_partial): Rename to ... > (memory_xfer_partial_1): ... this. Don't mask out breakpoints > here. > (memory_xfer_partial): New. > (target_write_raw_memory): New. > * target.h (target_write_raw_memory): New. That completely breaks gdb on powerpc. Breakpoints cause gdb to infloop. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."