[rfc] Remove macro DEPRECATED_FUNCTION_START_OFFSET
Markus Deuling
deuling@de.ibm.com
Wed Jun 13 19:05:00 GMT 2007
Hello,
this patch completely removes macro DEPRECATED_FUNCTION_START_OFFSET. This macro is deprecated
and was replaced by gdbarch_convert_from_func_ptr_addr. Build and test on x86. Testsuite showed no regression.
ChangeLog:
* gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Remove.
* cli/cli-cmds.ci (disassemble_command): Replace
DEPRECATED_FUNCTION_START_OFFSET by gdbarch_convert_from_func_ptr_addr.
* symtab.c (skip_prologue_using_sal,find_function_start_sal): Likewise.
* linespec.c (minsym_found): Likewise.
(target.h): New include.
* infrun.c (handle_inferior_event): Likewise.
* infcall.c (find_function_addr): Likewise.
* Makefile.in (linespec.o): Update dependency to target.h.
* gdbarch.c, gdbarch.h: Regenerate.
Is this ok to commit?
--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff-remove-FUNCTION_START_OFFSET
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20070613/aba8afbf/attachment.ksh>
More information about the Gdb-patches
mailing list