OSDN Git Service

* valops.c: Include "objfiles.h" and "symtab.h".
authoruweigand <uweigand>
Thu, 11 Sep 2008 14:27:34 +0000 (14:27 +0000)
committeruweigand <uweigand>
Thu, 11 Sep 2008 14:27:34 +0000 (14:27 +0000)
commit0527852ec3e25de6de0292fe024b1369a3233a93
tree84a4364b20961c0ca5c22ae5e3a10380b533edea
parenta1e92c4076ef3cd3ae330fdf69071ad19913bdc0
* valops.c: Include "objfiles.h" and "symtab.h".
(find_function_in_inferior): New argument OBJF_P.  Use it to return
objfile where function is defined.  Use per-objfile arch types
instead of builtin_type_ to define default return type.

* linux-fork.c (checkpoint_command): Update calls.  Use per-objfile
architecture to define inferior call argument types.
* gcore.c (derive_heap_segment): Likewise.
* objc-lang.c (value_nsstring): Likewise.
* scm-lang.c (scm_lookup_name): Likewise.
* scm-valprint.c (scm_inferior_print): Likewise.
* valops.c (value_allocate_space_in_inferior): Likewise.

* eval.c (evaluate_subexp_standard): Update calls.
* objc-lang.c (lookup_objc_class, print_object_command): Likewise.

* linux-fork.c: Include "objfiles.h".
* scm-lang.c: Include "objfiles.h".
* scm-valprint.c: Include "objfiles.h".
gdb/ChangeLog
gdb/eval.c
gdb/gcore.c
gdb/linux-fork.c
gdb/objc-lang.c
gdb/scm-lang.c
gdb/scm-valprint.c
gdb/valops.c
gdb/value.h