From: ankit thukral <ankit_plug@yahoo.com>
To: Jim Blandy <jimb@redhat.com>
Cc: gdb@sources.redhat.com
Subject: Re: regarding transparent data ranges (in tracepoint support)
Date: Wed, 19 Nov 2003 16:25:00 -0000 [thread overview]
Message-ID: <20031119162537.27442.qmail@web60108.mail.yahoo.com> (raw)
In-Reply-To: <vt2ad6sg65u.fsf@zenia.home>
--- Jim Blandy <jimb@redhat.com> wrote:
>
> ankit thukral <ankit_plug@yahoo.com> writes:
>
> > hi all,
> > i read about the transparent data ranges and
> > learned that data in these ranges are not supposed
> to
> > be collected by the remote stub since they belong
> to
> > read-only segment of the debuggee.my problem is :
> a
> > TSTART would start the debuggee and it may so
> happen
> > that the debuggee finishes executing.at this
> point,if
> > the GDB requests for some data in the transparent
> data
> > range,then how can the remote stub provide it with
> one
> > since the debuggee has exited ?
>
> If the target is a gdbserver, then it would need to
> read the bytes
> from the executable file. This is easy to do with
> BFD, but if I
> remember right, gdbserver doesn't use BFD at the
> moment; not sure how
> to get around that.
>
> If the target is an embedded system, then presumably
> the transparent
> data ranges correspond to ROM regions, so the data
> is still there.
how about setting a (internal) breakpoint in the
debuggee which would prevent it from exiting even
though it has finished executing main(),and then
entertain GDB requests for the transparent (or
read-only) memory regions by reading from the memory
of the debuggee???
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
next prev parent reply other threads:[~2003-11-19 16:25 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-14 19:30 async operation Newman, Mark (N-Superior Technical Resource Inc)
2003-11-16 6:32 ` regarding transparent data ranges (in tracepoint support) ankit thukral
2003-11-19 7:40 ` Jim Blandy
2003-11-19 16:25 ` ankit thukral [this message]
2003-11-19 18:55 ` Daniel Jacobowitz
2003-11-17 17:26 Newman, Mark (N-Superior Technical Resource Inc)
2003-11-17 18:04 ` Ramana Radhakrishnan
2003-11-19 19:35 Newman, Mark (N-Superior Technical Resource Inc)
2003-11-19 19:38 ` Daniel Jacobowitz
2003-11-19 19:51 Newman, Mark (N-Superior Technical Resource Inc)
2003-11-19 20:22 ` Daniel Jacobowitz
2003-11-20 5:00 ` ankit thukral
2003-11-21 18:41 Newman, Mark (N-Superior Technical Resource Inc)
2003-11-25 16:09 Newman, Mark (N-Superior Technical Resource Inc)
2003-11-28 17:24 Newman, Mark (N-Superior Technical Resource Inc)
2003-11-28 17:27 ` Daniel Jacobowitz
2003-11-28 17:35 Newman, Mark (N-Superior Technical Resource Inc)
2003-11-28 19:23 ` Daniel Jacobowitz
2003-11-29 1:29 ` Mark Newman
2003-11-29 1:34 ` Daniel Jacobowitz
2003-11-29 2:08 ` Mark Newman
2003-11-29 5:41 ` Daniel Jacobowitz
2003-11-29 6:56 Ramana Radhakrishnan
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=20031119162537.27442.qmail@web60108.mail.yahoo.com \
--to=ankit_plug@yahoo.com \
--cc=gdb@sources.redhat.com \
--cc=jimb@redhat.com \
/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