This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Discrepency between gdbarch_frame_locals_address and get_frame_locals_address?
- From: "Paul N. Hilfinger" <hilfingr at otisco dot mckusick dot com>
- To: ac131313 at redhat dot com
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 23 Jun 2003 12:02:30 -0700
- Subject: Discrepency between gdbarch_frame_locals_address and get_frame_locals_address?
- References: <3EF62D05.8070205@redhat.com>
- Reply-to: Hilfinger at otisco dot mckusick dot com
Andrew,
Whilst poking around on related things, I observed that, at least on
Linux, the values of gdbarch_frame_locals_address and
get_frame_locals_address disagree. The latter appears to be correct,
since it is used in read_var_value in what I assume is the intended
way (add SYMBOL_VALUE to get_frame_locals_address (frame) to get
variable address). Would you like a patch, or is there a subtle
point here that I am missing?
Thanks.
Paul