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

[commit] Fix mep-elf build problem


I've just committed the patch below which fixes a build problem for mep-elf.

Kevin

	* mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id):
	Specify frame type in calls to frame_func_unwind().

Index: mep-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mep-tdep.c,v
retrieving revision 1.1
diff -u -p -r1.1 mep-tdep.c
--- mep-tdep.c	23 Feb 2007 22:50:41 -0000	1.1
+++ mep-tdep.c	19 Mar 2007 18:56:51 -0000
@@ -1914,7 +1914,7 @@ mep_analyze_frame_prologue (struct frame
       *this_prologue_cache 
         = FRAME_OBSTACK_ZALLOC (struct mep_prologue);
 
-      func_start = frame_func_unwind (next_frame);
+      func_start = frame_func_unwind (next_frame, NORMAL_FRAME);
       stop_addr = frame_pc_unwind (next_frame);
 
       /* If we couldn't find any function containing the PC, then
@@ -1965,7 +1965,7 @@ mep_frame_this_id (struct frame_info *ne
                    struct frame_id *this_id)
 {
   *this_id = frame_id_build (mep_frame_base (next_frame, this_prologue_cache),
-                             frame_func_unwind (next_frame));
+                             frame_func_unwind (next_frame, NORMAL_FRAME));
 }
 
 


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