diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-12-17 17:27:45 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-12-17 17:27:45 +0000 |
commit | 30f7db39bd8169c551fd7efcf91b682292013db5 (patch) | |
tree | 2b2d224d591b6096df844949102ebbdbf6790a13 /gdb | |
parent | 4cd898632ac64fbba00bab4654e8b124ee7736ca (diff) | |
download | fsf-binutils-gdb-30f7db39bd8169c551fd7efcf91b682292013db5.zip fsf-binutils-gdb-30f7db39bd8169c551fd7efcf91b682292013db5.tar.gz fsf-binutils-gdb-30f7db39bd8169c551fd7efcf91b682292013db5.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/breakpoint.c | 4 | ||||
-rw-r--r-- | gdb/stack.c | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 555027b..95ec1d1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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) diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index d575b53..88eb634 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -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 ()) diff --git a/gdb/stack.c b/gdb/stack.c index 5f843f2..6ce7366 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -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. */ |