This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/585: dummy frames go straight to regcache, need read_register(regcache)
- From: ac131313 at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 26 Jun 2002 17:30:50 -0000
- Subject: gdb/585: dummy frames go straight to regcache, need read_register(regcache)
- Reply-to: ac131313 at redhat dot com
>Number: 585
>Category: gdb
>Synopsis: dummy frames go straight to regcache, need read_register(regcache)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Jun 26 10:38:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: ac131313@redhat.com
>Release: 2002-06-26
>Organization:
>Environment:
>Description:
The dummy frame (and much other code) accesses the raw register cache to obtain saved register values. It should be accessing the register cache via gdbarch_register_read() which in turn can construct pseudo-registers from the raw register cache.
See read_register_gen() for a rough idea.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: