From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24813 invoked by alias); 24 May 2006 09:16:11 -0000 Received: (qmail 24773 invoked by uid 22791); 24 May 2006 09:16:05 -0000 X-Spam-Check-By: sourceware.org Received: from web31411.mail.mud.yahoo.com (HELO web31411.mail.mud.yahoo.com) (68.142.198.123) by sourceware.org (qpsmtpd/0.31) with SMTP; Wed, 24 May 2006 09:15:27 +0000 Received: (qmail 91841 invoked by uid 60001); 24 May 2006 09:14:45 -0000 Message-ID: <20060524091445.91839.qmail@web31411.mail.mud.yahoo.com> Received: from [203.187.215.126] by web31411.mail.mud.yahoo.com via HTTP; Wed, 24 May 2006 02:14:45 PDT Date: Wed, 24 May 2006 12:47:00 -0000 From: Mangesh Edake Subject: strange problems using gdb for arm target To: gdb Cc: m_edake@yahoo.com MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1633205717-1148462085=:88010" Content-Transfer-Encoding: 8bit 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: 2006-05/txt/msg00349.txt.bz2 --0-1633205717-1148462085=:88010 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Id: Content-Disposition: inline Content-length: 1087 Hello all, I'm posting once again as I havn't got any reply, but this time will give some more details about same two problems I have - 1) for each new gdb session, start - connect - dissconnect - close Hyperteminal, then only gdb connects to target, why this is so? 2)My host machine (running gdb) suddenly restarts...? I am using prolific USB to Serial Bridge cable for communication. USB end of that cable connects to host and Serial end to target. Will this cable cause host to restart...? I am srongly facing these two problems at every gdb session which are slowing down my main activity of writing a stub. So this time I'm greatly hoping for at least a single reply from the list. Anyone, though don't have solution for this, could at least suggest me what may be the cause of any of the problems.... Is there Nobody...? I realy hope for somebody. Thanks and Regards, medake Note: forwarded message attached. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --0-1633205717-1148462085=:88010 Content-Type: message/rfc822 Content-Transfer-Encoding: 8bit Content-length: 2178 Received: from [203.187.215.126] by web31404.mail.mud.yahoo.com via HTTP; Wed, 17 May 2006 03:47:48 PDT Date: Wed, 17 May 2006 03:47:48 -0700 (PDT) From: Mangesh Edake Subject: problems debugging ARM target To: gdb MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-length: 1806 Hi all, I am writing a gdb stub for a program running on target ARM board. The stub is running on remote target along with a program and a gdb-6.1(arm-elf-gdb) running in Cygwin Shell environment on windows host machine. I have couple of questions right now. 1) I have a full fledge working stub. Once gdb connects to target(stub)everything works very fine. But everytime I try to connect, I get a following error (gdb) tar re com1 get_tty_state failed: Not a typewriter set_tty_state failed: Not a typewriter Remote debugging using com1 Sending packet: $Hc-1#09...get_tty_state failed: Not a typewriter set_tty_state failed: Not a typewriter But I'm able to connect to my target by doing some strange practice.i.e. I open a hyperterminal, just connect to com1 and disconnect. When I finish this, Now gdb can easily connect to target and run smoothly. And no problem till I quit gdb. But for new gdb session, same silly practice... Now has anyone came across such problem? I'm not getting whether this problem is due to gdb or a stub or a Cygwin Shell...? If anybody can tell the exact cause of problem and a solution, it will be very helpful to me. 2) When gdb session is smoothly working, sometimes as I issue a gdb command like break or step or finish, my Host windows machine (running gdb) restarts. I don't know, but if anything wrong is happening then it must be at target side and it has nothing to do with the host. Still host machine restarts. Here also I'm not able to resolve who (gdb or stub or Cygwin shell) causing the problem and why? Any help in both regards will be appericiated. Thanks and regards medake __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --0-1633205717-1148462085=:88010--