This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Is elf_gregset_t the correct type for all Linuxen?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]