From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9561 invoked by alias); 17 Dec 2012 17:25:15 -0000 Received: (qmail 9534 invoked by uid 22791); 17 Dec 2012 17:25:13 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RDNS_NONE X-Spam-Check-By: sourceware.org Received: from Unknown (HELO mout.gmx.net) (212.227.17.21) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 17 Dec 2012 17:25:04 +0000 Received: from mailout-de.gmx.net ([10.1.76.4]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MY1FO-1TgCQy3zlo-00UpGE for ; Mon, 17 Dec 2012 18:24:57 +0100 Received: (qmail 15345 invoked by uid 0); 17 Dec 2012 17:24:56 -0000 Received: from 217.31.17.2 by www021.gmx.net with HTTP; Mon, 17 Dec 2012 18:24:56 +0100 (CET) Content-Type: text/plain; charset="utf-8" Date: Mon, 17 Dec 2012 17:25:00 -0000 From: "Bernd Schuster" Message-ID: <20121217172456.214150@gmx.net> MIME-Version: 1.0 To: ecos-discuss@ecos.sourceware.org Content-Transfer-Encoding: 8bit X-IsSubscribed: yes 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] GDB stub support X-SW-Source: 2012-12/txt/msg00029.txt.bz2 Hi, unfortunately I couldn`t get GDB working as expected. At the moment, I`m able to run Redboot at my target system - mips32 24kc processor as ROMRAM version. When redboot starts, I`m able to see all messages from the redboot bootloader by my serial port ttyS0 (configurated with 115200 baud). After that redboot starts my application which is located at the addr 0x800400BC by a short boot script. Now, I`m trying to add GDB support by using the same serial interface ttyS0. I`m not totally sure if that could be already the problem, because my application also puts some messages to this serial interface. When I enable GDB with the following commands I can see that cutecom - terminal programm - will go from the open to the close state. That`s seems a correct behaviour to me. Furthermore I got a very small message on the serial terminal - something like that: RedBoot> RedBoot>+$#00 Here are the steps from the console: xxxxx@xxxxx:~/../build/obj> mipsisa32-elf-gdb myProgramm.elf GNU gdb 6.8 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=i686-pc-linux-gnu --target=mipsisa32-elf"... (gdb) set remotebaud 115200 (gdb) target remote /dev/ttyS0 Remote debugging using /dev/ttyS0 Ignoring packet error, continuing... warning: unrecognized item "timeout" in "qSupported" response Ignoring packet error, continuing... Ignoring packet error, continuing... Ignoring packet error, continuing... Ignoring packet error, continuing... Ignoring packet error, continuing... Ignoring packet error, continuing... Ignoring packet error, continuing... I hope anyone of you have some hints / information solving the problem. best regards Bernd -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss