* linespec.c: Include "target.h".
authorUlrich Weigand <uweigand@de.ibm.com>
Sat, 3 May 2008 00:37:35 +0000 (00:37 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Sat, 3 May 2008 00:37:35 +0000 (00:37 +0000)
commitbccdca4a5f7b9879d67a35d78063a9ac3b5f5104
tree6f5c583a8507dcac9b3a08aa00929c6c123af41a
parent0315afbc1dfcbdd1af230eb7b6d5193634bc254a
* linespec.c: Include "target.h".
(minsym_found): Handle minimal symbols pointing to function
descriptors.  Use find_function_start_pc.
* minsyms.c (msymbol_objfile): New function.
* parse.c (write_exp_msymbol): Handle minimal symbols pointing
to function descriptors.
* symtab.c (fixup_section): Only use minimal symbol at the same
address to determine section of a symbol.
(find_function_start_pc): New function.
(find_function_start_sal): Use it.
* symtab.h (msymbol_objfile): Add prototype.
(find_function_start_pc): Likewise.
* value.c: Include "objfiles.h".
(value_fn_field): Handle minimal symbols pointing to function
descriptors.
* Makefile.in (linespec.o): Update dependencies.
(value.o): Likewise.
gdb/ChangeLog
gdb/Makefile.in
gdb/linespec.c
gdb/minsyms.c
gdb/parse.c
gdb/symtab.c
gdb/symtab.h
gdb/value.c