From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1140 invoked by alias); 6 Sep 2003 07:26:58 -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 1129 invoked from network); 6 Sep 2003 07:26:57 -0000 Received: from unknown (HELO web15301.mail.bjs.yahoo.com) (202.3.77.176) by sources.redhat.com with SMTP; 6 Sep 2003 07:26:57 -0000 Message-ID: <20030906072652.45058.qmail@web15301.mail.bjs.yahoo.com> Received: from [61.152.210.131] by web15301.mail.bjs.yahoo.com via HTTP; Sat, 06 Sep 2003 15:26:52 CST Date: Sat, 06 Sep 2003 07:26:00 -0000 From: =?gb2312?q?Liu=20Lijuan?= Subject: gdb remote debugging To: gdb@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit X-SW-Source: 2003-09/txt/msg00084.txt.bz2 I want to make gdbserver run on the arm simulator,gdb is gdb-5.2.1.First I built a cross gdb for arm(target=arm-elf,host=i686-pc-linux-gnu),then I change the Makefile and some source codes in gdbserver directory,and build it with gcc ,then run "make".At last I run a test program in remote debugging .If the test program does not contain i/o operation(for exampel printf or scanf),it can run successfully.But if so,when gdbserver execute instructions,it gives an error---segment. Who can tell me why?Should I build gdbsever with arm-elf-gcc? or it has any other reason? _________________________________________________________ Do You Yahoo!? ÆôÓõçÓÊÕʺţ¬Áì»áÑÅ»¢Í¨[ÉíÁÙÆä¾³ÁĵçÓ°]µÄ¶¯¸Ð÷ÈÁ¦£¬»¹ÓÐÍøÂçÉãÏñÍ·+ÑÅ»¢Í¨ÊÕÒô»úµÈÄãÀ´Äà http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com