From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Kettenis To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Subject: Re: [RFHelp] Linux, threads, and regsets in thread_db Date: Tue, 25 Sep 2001 03:09:00 -0000 Message-id: References: <20010924212808.A20851@nevyn.them.org> X-SW-Source: 2001-09/msg00205.html Daniel Jacobowitz writes: > I spent a while this summer making thread debugging work on some more > non-x86 targets, with great frustration. Eventually I reached the > decision that my problem was in fact a glibc bug; the attached messages > explain it. Ulrich has categorically (and without explanation, when > asked. sigh.) refused the patch. Seems that Ulrich is still confused about the regset issues. I asked the port maintainers to clean this up when I fixed it for i386. Jakub Jellinek cleaned up sparc, but nothing else happened. > Could someone on this list at least sanity check my patch? I have a > (disgusting) workaround for GDB if the header is not changed, but I'd > much rather someone convince Ulrich that I'm not crazy. Especially > since I can not get the workaround to compile without warnings. C > behaves badly in the presence of casts to/from array types. In principle, your patch is the right thing. There may be interactions with and though. Look at the i386 port to see how things should be done. Mark