This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH RFA] uw-thread.c to_xfer_memory() patches
- To: Kevin Buettner <kevinb at cygnus dot com>,GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: Re: [PATCH RFA] uw-thread.c to_xfer_memory() patches
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 15 Mar 2001 12:09:59 -0500
- References: <1010315075344.ZM20285@ocotillo.lan>
Kevin Buettner wrote:
>
> The patches below are needed to make GDB build again on a Unixware 7
> box.
>
> Unfortunately, GDB still doesn't work even with these patches in
> place, but that is another problem... it's in solib-svr4.c; I posted
> a patch for the solib problem a while back, but it met with some
> resistance. I'll take another look at the problem and try to come up
> with a better solution.
>
> Anyway, I think I need one of the Unixware maintainers (either Nick or
> Robert) to approve this patch. (Though I suppose I could check it in
> under the "obvious fix" rule.)
>
> Okay to commit?
>
> * uw-thread.c (read_thr_debug, read_map, read_lwp, thread_iter)
> (libthread_stub, libthread_init): Pass NULL for the mem_attrib
> argument in the to_xfer_memory calls.
It has been declared an obvious fix :-)
However, watch out for my just committed change to add add ``attrib'' to
what are hopefully the last remaining xfer_memory() functions (and
watch, also, that I got it right :-).
Andrew