This is the mail archive of the gdb-patches@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]

[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);


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