This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Use get_frame_base_address in vax-tdep.c
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 15 May 2004 19:12:16 +0200 (CEST)
- Subject: [PATCH] Use get_frame_base_address in vax-tdep.c
I shouldn't have used get_frame_base_address here.
Committed,
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* vax-tdep.c (vax_frame_num_args): Use get_frame_base_address
instead of get_frame_base.
Index: vax-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/vax-tdep.c,v
retrieving revision 1.77
diff -u -p -r1.77 vax-tdep.c
--- vax-tdep.c 8 May 2004 22:52:43 -0000 1.77
+++ vax-tdep.c 15 May 2004 17:11:07 -0000
@@ -429,7 +429,7 @@ vax_frame_num_args (struct frame_info *f
/* Assume that the argument pointer for the outermost frame is
hosed, as is the case on NetBSD/vax ELF. */
- if (get_frame_base (frame) == 0)
+ if (get_frame_base_address (frame) == 0)
return 0;
args = get_frame_register_unsigned (frame, VAX_AP_REGNUM);