From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10934 invoked by alias); 6 Jul 2010 14:25:40 -0000 Received: (qmail 10915 invoked by uid 22791); 6 Jul 2010 14:25:40 -0000 X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-iw0-f169.google.com (HELO mail-iw0-f169.google.com) (209.85.214.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Jul 2010 14:25:35 +0000 Received: by iwn2 with SMTP id 2so6451894iwn.0 for ; Tue, 06 Jul 2010 07:25:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.66.79 with SMTP id m15mr4499842ibi.197.1278426333368; Tue, 06 Jul 2010 07:25:33 -0700 (PDT) Received: by 10.231.153.19 with HTTP; Tue, 6 Jul 2010 07:25:33 -0700 (PDT) Date: Tue, 06 Jul 2010 14:25:00 -0000 Message-ID: Subject: [Help] About the two debug modes of ARM From: xingxing pan To: gdb , matthew.gretton-dann@arm.com, ks@nvidia.com, will.deacon@arm.com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-07/txt/msg00016.txt.bz2 >From the ARM11 reference manual, I know ARM11 has two debug modes, the Halting mode and the Monitor Mode. When we use debuggers to debug a program, often there are also two modes. The remote debugging, the debugger runs on the host, the debuggee runs on the target, and the debugger communicates with the core through something like JTAG. The native debugging, the debugger and debuggee run on the same computer. Here are my questions. (1)Dose the Halting mode and the Monitor mode correspond to Remote debugging and Native debugging respectively? (2)Some cores like ARM920 don't have the Monitor mode. Dose it means that when we are in native debugging on that cores, we can not use the hardware breakpoints and watchpoints? Thank you! Forandom