This is the mail archive of the
mailing list for the GDB project.
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: Kris Warkentin <kewarken at qnx dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 11 Apr 2003 11:41:06 -0400
- Subject: Re: gdb/regformats
- References: <03ca01c3003b$f334a550$0202040a@catdog>
I was looking at this directory and wondering what it's used for. I see
that gdbserver uses the reg definitions but I didn't see if/how gdb does.
`A long term plan' is for remote.c to read them and, hence, allow
run-time changes to the remote packet layout.
The reason is that our OS stores its i386 general purpose registers in a
different order than gdb does so in our tdep file we have to map them. I
was wondering if the regformats file might provide a more elegant way of
That mapping should be performed in the *-nat or *-remote file.