From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: brobecker@adacore.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFC] New function find_target_at_stratum() ?
Date: Thu, 12 Jan 2006 20:48:00 -0000 [thread overview]
Message-ID: <200601122048.k0CKm0pQ023554@elgar.sibelius.xs4all.nl> (raw)
In-Reply-To: <20060112060939.GK676@adacore.com> (message from Joel Brobecker on Thu, 12 Jan 2006 10:09:39 +0400)
> Date: Thu, 12 Jan 2006 10:09:39 +0400
> From: Joel Brobecker <brobecker@adacore.com>
>
> Hello,
>
> While learning a bit more about the target vector and the target
> stack, and how it is used, I noticed that two files, sol-thread.c
> and uw-thread.c make an explicit reference to the procfs_ops target
> vector.
>
> Looking at the code, the idea is to implement one target method at
> the thread level by first using the same method at the process level
> and then by performing the necessary operations to handle threads.
>
> [snip]
>
> To be complete, I think the current public interface already allows us
> to find the target vector at any stratum. Just by using current_target
> and find_target_beneath(). I just thought that the new proposed function
> might be of general interest?
>
> Thoughts?
Well, what sol-thread does is really completely bogus. It should
simply be rewritten such that it can sit on top of both the process
and core target and use find_target_beneath().
Mark
next prev parent reply other threads:[~2006-01-12 20:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-12 6:09 Joel Brobecker
2006-01-12 20:48 ` Mark Kettenis [this message]
2006-01-13 4:05 ` Daniel Jacobowitz
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=200601122048.k0CKm0pQ023554@elgar.sibelius.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sources.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