From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7474 invoked by alias); 21 Sep 2011 12:42:08 -0000 Received: (qmail 7462 invoked by uid 22791); 21 Sep 2011 12:42:07 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mtagate2.uk.ibm.com (HELO mtagate2.uk.ibm.com) (194.196.100.162) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Sep 2011 12:41:47 +0000 Received: from d06nrmr1707.portsmouth.uk.ibm.com (d06nrmr1707.portsmouth.uk.ibm.com [9.149.39.225]) by mtagate2.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p8LCfkbM000346 for ; Wed, 21 Sep 2011 12:41:46 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p8LCfjPA2355210 for ; Wed, 21 Sep 2011 13:41:45 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p8LJfeiT025361 for ; Wed, 21 Sep 2011 13:41:40 -0600 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with SMTP id p8LJfdTQ025300; Wed, 21 Sep 2011 13:41:39 -0600 Message-Id: <201109211941.p8LJfdTQ025300@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Wed, 21 Sep 2011 14:41:44 +0200 Subject: Re: [rfc, gdbserver] Support hardware watchpoints on ARM To: gdb-patches@sourceware.org Date: Wed, 21 Sep 2011 13:29:00 -0000 From: "Ulrich Weigand" Cc: patches@linaro.org In-Reply-To: <201109121723.p8CHN03n017032@d06av02.portsmouth.uk.ibm.com> from "Ulrich Weigand" at Sep 12, 2011 07:23:00 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2011-09/txt/msg00380.txt.bz2 > * linux-arm-low.c: Include . > (PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define if necessary. > (struct arm_linux_hwbp_cap): New data type. > (arm_hwbp_type, arm_hwbp_control_t): New typedefs. > (struct arm_linux_hw_breakpoint): New data type. > (MAX_BPTS, MAX_WPTS): Define. > (struct arch_process_info, struct arch_lwp_info): New data types. > (arm_linux_get_hwbp_cap): New function. > (arm_linux_get_hw_breakpoint_count): Likewise. > (arm_linux_get_hw_watchpoint_count): Likewise. > (arm_linux_get_hw_watchpoint_max_length): Likewise. > (arm_hwbp_control_initialize): Likewise. > (arm_hwbp_control_is_enabled): Likewise. > (arm_hwbp_control_is_initialized): Likewise. > (arm_hwbp_control_disable): Likewise. > (arm_linux_hw_breakpoint_equal): Likewise. > (arm_linux_hw_point_initialize): Likewise. > (struct update_registers_data): New data structure. > (update_registers_callback: New function. > (arm_insert_point): Likewise. > (arm_remove_point): Likewise. > (arm_stopped_by_watchpoint): Likewise. > (arm_stopped_data_address): Likewise. > (arm_new_process): Likewise. > (arm_new_thread): Likewise. > (arm_prepare_to_resume): Likewise. > (the_low_target): Register arm_insert_point, arm_remove_point, > arm_stopped_by_watchpoint, arm_stopped_data_address, arm_new_process, > arm_new_thread, and arm_prepare_to_resume. I've checked this in now. Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com