From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25634 invoked by alias); 4 Apr 2002 15:29:21 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 25605 invoked from network); 4 Apr 2002 15:29:20 -0000 Received: from unknown (HELO mbox.caretec.at) (212.186.83.32) by sources.redhat.com with SMTP; 4 Apr 2002 15:29:20 -0000 Received: from ibox.caretec.at (ibox.caretec.at [192.168.2.15]) by mbox.caretec.at (8.11.6/8.11.6) with ESMTP id g34FUHX08773 for ; Thu, 4 Apr 2002 17:30:17 +0200 Message-Id: <5.1.0.14.2.20020404172023.00aeede0@mbox> X-Sender: ilko@mbox Date: Thu, 04 Apr 2002 07:29:00 -0000 To: gdb@sources.redhat.com From: Ilko Iliev Subject: gdbinit and PLL init Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-SW-Source: 2002-04/txt/msg00050.txt.bz2 Hello! I have custom board with ARM7 CPU with PLL and I use JEENI. I want to init the PLL in .gdbinit, but this is complex. How can I write the follow sequence in .gdbinit? int *pp = 0xFFFF4020; int *qq = 0xFFFF4040; *pp = 0x1234; while( *qq & 0x400 ); // or 200ms pause *pp = 0x5678; best regards Ilko