From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20328 invoked by alias); 14 Jun 2004 23:49:26 -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 20320 invoked from network); 14 Jun 2004 23:49:24 -0000 Received: from unknown (HELO intranet.tidalnetworks.net) (67.114.153.34) by sourceware.org with SMTP; 14 Jun 2004 23:49:24 -0000 Received: from xinanpc (dynamic-10 [172.16.128.10]) (authenticated bits=0) by intranet.tidalnetworks.net (8.12.8/8.12.8) with ESMTP id i5ENnfaQ015271 for ; Mon, 14 Jun 2004 16:49:42 -0700 From: "Xinan Tang" To: Subject: "Info reg doesn't work" Date: Mon, 14 Jun 2004 23:49:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-SW-Source: 2004-06/txt/msg00148.txt.bz2 Hi I am porting gdb (6.1) to a new target. After adding a new target that is similar to an existing RISC 32bit architecture, I found out two problems: 1. `info register' does not work. For example, if I type in `info reg', the content of all registers are showing ZERO except PC no matter how many instructions are executed. 2. Gdb can start execution from _start but can not enter main. Could someone please point to me which files I should take a look to fix this problem? Or is there any FAQ to explain how to add a new target based on an existing architecture. Thanks --Xinan