diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-18 18:23:08 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-18 18:23:08 +0000 |
commit | 24de84b69f8360c40a05a48ae55ac5b500c93356 (patch) | |
tree | 4b3c52f6bacbcda2128cbc4512458dc7d0152888 /gdb/cli | |
parent | e05a2ee33cad2e522e41fb6ecfeac4bf79051969 (diff) | |
download | gdb-24de84b69f8360c40a05a48ae55ac5b500c93356.tar.gz |
2007-06-18 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Replace by
gdbarch_deprecated_function_start_offset.
* symtab.c (find_function_start_sal)skip_prologue_using_sal): Likewise.
* linespec.c (minsym_found): Likewise.
* infrun.c (handle_inferior_event): Likewise.
* infcall.c (find_function_addr): Likewise.
* cli/cli-cmds.c (disassemble_command): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/cli')
-rw-r--r-- | gdb/cli/cli-cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 611f1262fd4..df83e8cdf4e 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -925,7 +925,7 @@ disassemble_command (char *arg, int from_tty) /* FIXME: cagney/2004-02-07: This should be an observer. */ low = tui_get_low_disassembly_address (low, pc); #endif - low += DEPRECATED_FUNCTION_START_OFFSET; + low += gdbarch_deprecated_function_start_offset (current_gdbarch); } else if (!(space_index = (char *) strchr (arg, ' '))) { @@ -940,7 +940,7 @@ disassemble_command (char *arg, int from_tty) /* FIXME: cagney/2004-02-07: This should be an observer. */ low = tui_get_low_disassembly_address (low, pc); #endif - low += DEPRECATED_FUNCTION_START_OFFSET; + low += gdbarch_deprecated_function_start_offset (current_gdbarch); } else { |