From: Fabrice Gautier <gautier@email.enst.fr>
To: Daniel Jacobowitz <dmj+@andrew.cmu.edu>
Cc: gdb@sources.redhat.com
Subject: Re: gdbserver: integrated vs. separated
Date: Fri, 20 Jul 2001 18:47:00 -0000 [thread overview]
Message-ID: <20010721030902.01E7.GAUTIER@email.enst.fr> (raw)
In-Reply-To: <20010720143133.A32237@nevyn.them.org>
On Fri, 20 Jul 2001 14:31:33 -0700
Daniel Jacobowitz <dmj+@andrew.cmu.edu> wrote:
> Before I invest any more time in patching gdbserver, I think I need to
> know which way to take it: towards GDB or away from.
Did you lok at the multi-thread problem ?
I take some times to look at it, tried various ways, but neither the
"toward" or "away" look easy to go. It's mostly my first try to hack at
gdb and it's not an easy thing i guess, but here are some thoughts:
Currently the code handling threads for linux is in lin-lwp.c (there is
also lin-thread.c or linux-thread.c but they seem deprecated). If you
are going to take the "away" way i think you will have to duplicate most
of the code in there. But it's linked with other part of gdb:
- It's using comodity functions (such as fprintf_unfiltered), shouldn't
be a big problem.
- It's using directly thread.c functions (such as add_thread) to change
the gdb view of threads. This should go away in gdbserver.
- a bunch of other target functions (such as child_resume,
child_xfer_memoryfecth_inferior_register...).
- Some functions about ptid, pid, tid
- it's using a bunch of signal related function.
So many things i'm not enough familiar with to know what way is best to
go...
--
Fabrice Gautier <gautier@email.enstfr>
prev parent reply other threads:[~2001-07-20 18:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-20 14:31 Daniel Jacobowitz
2001-07-20 15:00 ` Kevin Buettner
2001-07-20 16:54 ` Quality Quorum
2001-07-20 18:47 ` Fabrice Gautier [this message]
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=20010721030902.01E7.GAUTIER@email.enst.fr \
--to=gautier@email.enst.fr \
--cc=dmj+@andrew.cmu.edu \
--cc=gdb@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