ARM and virtual/raw registers

Andrew Cagney ac131313@cygnus.com
Fri May 10 07:48:00 GMT 2002


> 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




More information about the Gdb mailing list