This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] add remote.c gdbarch thread-handling hooks
- To: Nick Duffek <nsd at redhat dot com>
- Subject: Re: [RFA] add remote.c gdbarch thread-handling hooks
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 16 Jul 2001 14:14:49 -0400
- Cc: jtc at redback dot com, cagney at cygnus dot com,gdb-patches at sources dot redhat dot com
- References: <200107161726.f6GHQ8P08542@rtl.cygnus.com>
> I've been working on an architecture with a primitive threading mechanism
> that GDB queries and manipulates by directly setting registers in the
> target.
>
> This patch facilitates that with hooks for target-specific code to
> override remote.c thread-handling functions.
Nick, while creative, this looks wrong. You're using remote.c to half
implement some new custom protocol.
> It also fixes a few typos in init_remote_cisco_ops() and
> init_remote_async_ops() and moves assignment of a few target_ops fields to
> be consistent with ordering in target.h.
I'd assume this bit is pretty obvious and can go in as a separate
independant patch.
Andrew