This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: ARM and virtual/raw registers
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Richard dot Earnshaw at arm dot com
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 10 May 2002 10:48:59 -0400
- Subject: Re: ARM and virtual/raw registers
- References: <200205101044.LAA25709@cam-mail2.cambridge.arm.com>
> Now obviously, in order to do all this correctly the stack-frame groveller
> will have to record the information as it unwinds the stack in some
> private data; but creating this information is part of the stack-unwinding
> process.
Yes. The arm would need to implement a custom get_saved_register()
architecture method.
Rather than normalize the registers on the way in. Consider normalizing
them them on the way out via a pseudo. Doing this would mean that the
raw register wouldn't be directly visible and the layer below regcache
wouldn't need to normalize anything.
Andrew