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]

[commit] mn10300-tdep, make "until" work


2005-03-21  Michael Snyder  <msnyder@redhat.com>

	* mn10300-tdep.c (mn10300_frame_unwind_cache): Use func addr
	instead of pc addr for frame_id.  Otherwise "until" won't work.

Index: mn10300-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/mn10300-tdep.c,v
retrieving revision 1.118
diff -p -w -b -r1.118 mn10300-tdep.c
*** mn10300-tdep.c	11 Mar 2005 23:16:47 -0000	1.118
--- mn10300-tdep.c	21 Mar 2005 19:31:06 -0000
*************** mn10300_frame_unwind_cache (struct frame
*** 317,323 ****
    mn10300_analyze_prologue (next_frame, (void **) &cache, pc);
  
    trad_frame_set_id (cache, 
! 		     frame_id_build (trad_frame_get_this_base (cache), pc));
  
    (*this_prologue_cache) = cache;
    return cache;
--- 317,324 ----
    mn10300_analyze_prologue (next_frame, (void **) &cache, pc);
  
    trad_frame_set_id (cache, 
! 		     frame_id_build (trad_frame_get_this_base (cache), 
! 				     frame_func_unwind (next_frame)));
  
    (*this_prologue_cache) = cache;
    return cache;

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