This is the mail archive of the gdb@sources.redhat.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]
Other format: [Raw text]

Re: ARM and virtual/raw registers


> 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



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