diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-07-11 14:52:17 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-07-11 14:52:17 +0000 |
commit | 8edd5d01538ad56dcaf67b8d35bef65748ab62b4 (patch) | |
tree | f5f95c0df5404e4f552a84c87b7ee89aeb590f1f /gdb/stack.c | |
parent | c6baf75ed1463f657d61784cf9e5db2c89228482 (diff) | |
download | gdb-8edd5d01538ad56dcaf67b8d35bef65748ab62b4.zip gdb-8edd5d01538ad56dcaf67b8d35bef65748ab62b4.tar.gz gdb-8edd5d01538ad56dcaf67b8d35bef65748ab62b4.tar.bz2 |
2003-07-11 Andrew Cagney <cagney@redhat.com>
* frame.h (get_frame_address_in_block): Declare.
(frame_unwind_address_in_block): Declare.
* frame.c (frame_unwind_address_in_block): New function.
(get_frame_address_in_block): New function.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index ff098a1..d3e8ac9 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -547,7 +547,7 @@ print_frame (struct frame_info *fi, stb = ui_out_stream_new (uiout); old_chain = make_cleanup_ui_out_stream_delete (stb); - func = find_pc_function (frame_address_in_block (fi)); + func = find_pc_function (get_frame_address_in_block (fi)); if (func) { /* In certain pathological cases, the symtabs give the wrong @@ -566,7 +566,7 @@ print_frame (struct frame_info *fi, ever changed many parts of GDB will need to be changed (and we'll create a find_pc_minimal_function or some such). */ - struct minimal_symbol *msymbol = lookup_minimal_symbol_by_pc (frame_address_in_block (fi)); + struct minimal_symbol *msymbol = lookup_minimal_symbol_by_pc (get_frame_address_in_block (fi)); if (msymbol != NULL && (SYMBOL_VALUE_ADDRESS (msymbol) > BLOCK_START (SYMBOL_BLOCK_VALUE (func)))) @@ -614,7 +614,7 @@ print_frame (struct frame_info *fi, } else { - struct minimal_symbol *msymbol = lookup_minimal_symbol_by_pc (frame_address_in_block (fi)); + struct minimal_symbol *msymbol = lookup_minimal_symbol_by_pc (get_frame_address_in_block (fi)); if (msymbol != NULL) { funname = DEPRECATED_SYMBOL_NAME (msymbol); @@ -1206,7 +1206,7 @@ backtrace_command_1 (char *count_exp, int show_locals, int from_tty) fi = get_prev_frame (fi)) { QUIT; - ps = find_pc_psymtab (frame_address_in_block (fi)); + ps = find_pc_psymtab (get_frame_address_in_block (fi)); if (ps) PSYMTAB_TO_SYMTAB (ps); /* Force syms to come in */ } |