Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Mangesh Edake <m_edake@yahoo.com>
To: gdb <gdb@sourceware.org>
Cc: m_edake@yahoo.com
Subject: strange problems using gdb for arm target
Date: Wed, 24 May 2006 12:47:00 -0000	[thread overview]
Message-ID: <20060524091445.91839.qmail@web31411.mail.mud.yahoo.com> (raw)

[-- 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 

             reply	other threads:[~2006-05-24  9:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-24 12:47 Mangesh Edake [this message]
2006-05-24 13:07 ` Daniel Jacobowitz
2006-05-24 21:16   ` Mangesh Edake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060524091445.91839.qmail@web31411.mail.mud.yahoo.com \
    --to=m_edake@yahoo.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox