[commit] fix compilation error in hppa-tdep.c (hppa_pop_frame)

Joel Brobecker brobecker@gnat.com
Fri Dec 13 08:14:00 GMT 2002


I just checked the following patch in to fix a small compilation error...

2002-12-13  Joel Brobecker  <brobecker@gnat.com>

        * hppa-tdep.c (hppa_pop_frame): Fix a compilation error introduced
        in the previous prototype change to set_momentary_breakpoint.

-- 
Joel
-------------- next part --------------
Index: hppa-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/hppa-tdep.c,v
retrieving revision 1.39
diff -c -3 -p -r1.39 hppa-tdep.c
*** hppa-tdep.c	11 Dec 2002 20:35:43 -0000	1.39
--- hppa-tdep.c	13 Dec 2002 14:34:09 -0000
*************** hppa_pop_frame (void)
*** 1604,1610 ****
           for "return_command" will print the frame we returned to.  */
        sal = find_pc_line (target_pc, 0);
        sal.pc = target_pc;
!       breakpoint = set_momentary_breakpoint (sal, NULL, bp_finish);
        breakpoint->silent = 1;
  
        /* So we can clean things up.  */
--- 1604,1610 ----
           for "return_command" will print the frame we returned to.  */
        sal = find_pc_line (target_pc, 0);
        sal.pc = target_pc;
!       breakpoint = set_momentary_breakpoint (sal, null_frame_id, bp_finish);
        breakpoint->silent = 1;
  
        /* So we can clean things up.  */


More information about the Gdb-patches mailing list