This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Is elf_gregset_t the correct type for all Linuxen?
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: Is elf_gregset_t the correct type for all Linuxen?
- From: Michael Snyder <msnyder at cygnus dot com>
- Date: Wed, 24 May 2000 13:33:30 -0700
- CC: jimb at cygnus dot com, kettenis at gnu dot org, kettenis at wins dot uva dot nl, drepper at cygnus dot com
- Organization: Cygnus Solutions
We have a function supply_gregset which is defined in a
number of *-linux-nat.c files. There's some confusion
about the data type of it's argument. In many instances
it is defined as "gregset_t", but I understand that that
data type is used in several places in Linux and is not
always defined in the same way.
Now, i386-linux-nat.c uses a different data type for
this function, "elf_gregset_t". I'm wondering if all
the flavors of Linux gdb should be using this type
as well?
Michael