From: Wenbo Yang <wenbo.yang@simplnano.com>
To: dave.tw@gmail.com
Cc: gdb@sourceware.org
Subject: Re: RSP handling
Date: Wed, 11 Jul 2007 07:50:00 -0000 [thread overview]
Message-ID: <4694726D.7030306@simplnano.com> (raw)
In-Reply-To: <4691C53B.8070903@simplnano.com>
> s88 wrote:
>
> but something is strange after the connection created. I set a
> breakpoint in the main function (br main), but after the connection
> created the gdb stop at the first instruction of crt0.S.
Is there anything wrong? Your stub gave GDB where the PC pointed to, and GDB
printed it out with source code accordingly. You didn't start debugging, you
were just attaching to the target. The PC you got should be the saved PC value
while enter exception handler(stub). It has little meaning, you can go ahead by
"continue".
Wenbo
--
Wenbo Yang
The State Key Lab. of Information Security
Graduate School of CAS, 19A Yuquan Road, Beijing, China
Homepage: http://solrex.cn
SimpLight Nanoelectronics Ltd. 6 Zhichun Road, 10th Floor, Beijing, China
Phone: +86-10-5126-6989 --- Email: wenbo.yang@simplnano.com
next prev parent reply other threads:[~2007-07-11 7:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1183949787.19182.ezmlm@sourceware.org>
2007-07-09 5:19 ` early buf termination Wenbo Yang
2007-07-11 7:50 ` Wenbo Yang [this message]
2007-07-11 19:11 ` RSP handling Jim Blandy
2007-07-11 4:57 s88
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=4694726D.7030306@simplnano.com \
--to=wenbo.yang@simplnano.com \
--cc=dave.tw@gmail.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