mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 11:01:35 +08:00
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.
This commit is contained in:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user