This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
On Tue, Jan 18, 2000 at 06:11:47PM -0800, H . J . Lu wrote: > On Tue, Jan 18, 2000 at 05:23:18PM -0800, Ulrich Drepper wrote: > > "H . J . Lu" <hjl@valinux.com> writes: > > > > > > No!!! Use the definitions from ucontext. Why the hell do you think I > > changed that? The files procfs.h and ucontext.h must be includable at > > the same time. > > > > The original definitions came from <asm/user.h>. They are used by > ptrace. They are have different meanings than those from ucontext.h. > > It is too bad that the same names, gregset_t and fpregset_t, are used > for different purposes. It is wrong to include ucontext.h in procfs.h > to get "gregset_t" and "fpregset_t". I guess we can modify gdb to use > struct user_fpregs_struct and struct user_regs_struct directly. On the > other hand, it will be tricky to make gdb compile under glibc 2.0, 2.1, > 2.2 and libc 5. I saw this as well. I think the right thing is to use i386 configure fragment for this, which will tell you which one of fpregset_t and elf_fpregset_t you want to use. Cheers, Jakub ___________________________________________________________________ Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj Linux version 2.3.39 on a sparc64 machine (1343.49 BogoMips) ___________________________________________________________________
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |