From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11148 invoked by alias); 12 Dec 2007 21:23:58 -0000 Received: (qmail 11084 invoked from network); 12 Dec 2007 21:23:38 -0000 Received: from unknown (80.67.29.28) by sourceware.org with QMTP; 12 Dec 2007 21:23:38 -0000 Received: (qmail 26095 invoked from network); 12 Dec 2007 21:23:37 -0000 Received: from unknown (HELO noname) (058973@[88.217.68.60]) (envelope-sender ) by smtprelay11.ispgateway.de (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 12 Dec 2007 21:23:37 -0000 From: Michael Lang Reply-To: email@michaellang.net To: ecos-discuss@ecos.sourceware.org Date: Wed, 12 Dec 2007 21:23:00 -0000 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712122223.38345.email@michaellang.net> Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] debugging eCos X-SW-Source: 2007-12/txt/msg00042.txt.bz2 Hi, i am new to eCos. I have build a tool chain for i386-elf, according to the description provided on the ecos homepage. For debugging, i use bochs and gdb(ddd). I configure eCos for floppy startup, build my application with it (no kernel is present) and make a bootable floppy disk from the resulting elf file. In Bochs, the gdb stub is enabled and waiting for the gdb to connect. When gdb connects to bochs and i continue, bochs starts booting from the floppy disk. My problem: When ever i set a breakpoint in ddd (using gdb) bochs seems to hold at the right position, but the position gdb shows bochs was interrupted is: Program received signal SIGTRAP, Trace/breakpoint trap. 0x000088fd in cyg_interrupt_stack_base () How can i solve this problem, -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss