Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* strange problems using gdb for arm target
@ 2006-05-24 12:47 Mangesh Edake
  2006-05-24 13:07 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Mangesh Edake @ 2006-05-24 12:47 UTC (permalink / raw)
  To: gdb; +Cc: m_edake

[-- Attachment #1: Type: text/plain, Size: 1087 bytes --]


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 

[-- Attachment #2: Type: message/rfc822, Size: 2179 bytes --]

From: Mangesh Edake <m_edake@yahoo.com>
To: gdb <gdb@sourceware.org>
Subject: problems debugging ARM target
Date: Wed, 17 May 2006 03:47:48 -0700 (PDT)

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 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-05-24 13:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-24 12:47 strange problems using gdb for arm target Mangesh Edake
2006-05-24 13:07 ` Daniel Jacobowitz
2006-05-24 21:16   ` Mangesh Edake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox