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] |
Ulrich Drepper <drepper@cygnus.com> writes: |> Andreas Schwab <schwab@suse.de> writes: |> |> > The problem is that gregset_t is sometimes an array (i386), sometimes a |> > struct (mips). The array decays to a pointer, so you won't see the |> > different types, but the sizeof in td_thr_getregs will return the wrong |> > value (size of a pointer instead of the whole array). |> |> Then declare it as an array on MIPS as well. No! The interface must change, otherwise the memset will be wrong (and there is no way to fix that). Andreas. -- Andreas Schwab "And now for something SuSE Labs completely different." schwab@suse.de SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |