2002-12-17 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Tue, 17 Dec 2002 17:27:45 +0000 (17:27 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 17 Dec 2002 17:27:45 +0000 (17:27 +0000)
* stack.c (frame_info): Use get_frame_saved_regs.
* breakpoint.c (until_break_command): Use get_frame_pc.

gdb/ChangeLog
gdb/breakpoint.c
gdb/stack.c

index 555027b40bec4d5ad5c87582ce8aa2426f9da1fa..95ec1d1ccc0bde637a722841d14fbfeea4e7a77e 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-17  Andrew Cagney  <ac131313@redhat.com>
+
+       * stack.c (frame_info): Use get_frame_saved_regs.
+       * breakpoint.c (until_break_command): Use get_frame_pc.
+
 2002-12-16  Kevin Buettner  <kevinb@redhat.com>
 
        * buildsym.c (block_end_complaint, anon_block_end_complaint)
index d575b53ec64ffe013c47da5579bb365070b410d2..88eb63430ed4a630d402eba6f2efbaf3bf61384b 100644 (file)
@@ -5649,8 +5649,8 @@ until_break_command (char *arg, int from_tty)
 
   if (prev_frame)
     {
-      sal = find_pc_line (prev_frame->pc, 0);
-      sal.pc = prev_frame->pc;
+      sal = find_pc_line (get_frame_pc (prev_frame), 0);
+      sal.pc = get_frame_pc (prev_frame);
       breakpoint = set_momentary_breakpoint (sal, get_frame_id (prev_frame),
                                             bp_until);
       if (!event_loop_p || !target_can_async_p ())
index 5f843f27004858e38129094f304737305c393b7a..6ce7366e5bbc2861b2ec278434da8e0578851f09 100644 (file)
@@ -900,7 +900,7 @@ frame_info (char *addr_exp, int from_tty)
       }
   }
 
-  if (fi->saved_regs == NULL)
+  if (get_frame_saved_regs (fi) == NULL)
     FRAME_INIT_SAVED_REGS (fi);
   /* Print as much information as possible on the location of all the
      registers.  */
This page took 0.03678 seconds and 4 git commands to generate.