diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c7e724eb8b..41a002498d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2019-09-19 Christian Biesinger + + * eval.c: Move declaration of overload_resolution to... + * value.h: ...here. + 2019-09-19 Christian Biesinger * arm-linux-nat.c: Remove extern declaration for arm_apcs_32. diff --git a/gdb/eval.c b/gdb/eval.c index f8915b9957..70ba1f1e3f 100644 --- a/gdb/eval.c +++ b/gdb/eval.c @@ -42,9 +42,6 @@ #include "typeprint.h" #include -/* This is defined in valops.c */ -extern bool overload_resolution; - /* Prototypes for local functions. */ static struct value *evaluate_subexp_for_sizeof (struct expression *, int *, diff --git a/gdb/value.h b/gdb/value.h index 47bf672eb5..0d75eaa5b2 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -81,6 +81,8 @@ struct value_print_options; value_contents_eq for more info. */ +extern bool overload_resolution; + /* The structure which defines the type of a value. It should never be possible for a program lval value to survive over a call to the inferior (i.e. to be put into the history list or an internal