From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1371 invoked by alias); 29 Nov 2005 03:24:03 -0000 Received: (qmail 1362 invoked by uid 22791); 29 Nov 2005 03:24:02 -0000 X-Spam-Check-By: sourceware.org Received: from bay109-f13.bay109.hotmail.com (HELO hotmail.com) (64.4.19.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 29 Nov 2005 03:24:00 +0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 28 Nov 2005 19:23:57 -0800 Message-ID: Received: from 64.4.19.200 by by109fd.bay109.hotmail.msn.com with HTTP; Tue, 29 Nov 2005 03:23:57 GMT X-Sender: alula418@hotmail.com From: "yang xiaoli" To: gdb@sourceware.org Bcc: Subject: local gdb could not stop at breakpoint? Date: Tue, 29 Nov 2005 04:27:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00607.txt.bz2 I compile gdb6.0 for arm , now it works, but when I debug a program and set breakpoint at a line, it does't stop at breakpoint, it runs over, for example like this: (gdb)l 1 #include 2 int main() 3 { 4 int a, b; 5 6 a = 10; 7 b = 20; 8 printf("hello world\n"); 9 printf("a+b= %d", a+b); (gdb)b 6 (gdb)r Startomg program... hello world a+b= 30 Program exited normally (gdb) when I see breakpoints using command "info b" ,it display the breakpoints information normally, why it does not stop at breakpoints? _________________________________________________________________ Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn