* ada-lang.c (ada_array_bound_from_type): Make non-static.
[binutils-gdb.git] / gdb / ChangeLog
1 2008-01-03 Joel Brobecker <brobecker@adacore.com>
2
3 * ada-lang.c (ada_array_bound_from_type): Make non-static.
4 Handle properly the case when the index type is an enumerated type.
5 Do not return the subtype of the bounds type, just return the
6 bounds type directly - this is not needed and is more consistent
7 with what we do for arrays when no XA parallel type exists.
8
9 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10
11 * ada-lang.c (static_unwrap_type): Add forward declaration.
12 (template_to_static_fixed_type): Fields of dynamic types sometimes
13 also need to be unwrapped. Take this into account.
14 (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
15 (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
16 * ada-typeprint.c (ada_print_type): Get the typename from
17 the original type, not the base type.
18
19 2008-01-03 Jerome Guitton <guitton@adacore.com>
20
21 * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
22 (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
23 Update calls to ada_to_fixed_type.
24 (ada_template_to_fixed_record_type_1): Ditto, but without looking
25 for the tag.
26 (ada_to_fixed_type): Add check_tag parameter; do not look for
27 tag if null. When looking for a tag, use a fixed record type.
28 * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
29 * ada-valprint.c (printable_val_type, ada_value_print): Update
30 calls to ada_to_fixed_type.
31
32 2008-01-03 Luis Machado <luisgpm@br.ibm.com>
33
34 * doublest.c (convert_floatformat_to_doublest): Call
35 floatformat_to_doublest instead of floatformat_to_double and use
36 DOUBLEST variables.
37 (convert_doublest_to_floatformat): Call floatformat_from_doublest
38 instead of floatformat_from_double and use DOUBLEST variables.
39
40 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com>
41
42 * MAINTAINERS (Write After Approval): Add self.
43
44 2008-01-03 Joel Brobecker <brobecker@adacore.com>
45
46 * symfile.c (set_initial_language): Make non-static.
47 * symfile.h (set_initial_language): Add declaration.
48 * language.c: #include "symfile.h".
49 (set_language): Call set_initial_language if the frame language
50 could not be determined.
51
52 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com>
53
54 * eval.c (evaluate_subexp_for_address): Provide frame address to
55 locate_var_value only if it will be needed.
56
57 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
58
59 * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
60
61 2008-01-02 Joel Brobecker <brobecker@adacore.com>
62
63 * ada-lang.c (ada_evaluate_subexp): Modify the value returned
64 when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
65 This is needed to make sure that any other treatment applied
66 to the resulting value does not fail for spurious reason,
67 such as trying to take the address of this value.
68
69 2008-01-02 Joel Brobecker <brobecker@adacore.com>
70
71 * ada-lang.c (ada_value_equal): Dereference reference types when
72 comparing arrays.
73
74 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com>
75
76 Updated copyright notices for most files.
77
78 2008-01-01 Christopher Faylor <me+gdb@cgf.cx>
79
80 * win32-nat.c (psapi_module_handle): Remove static.
81 (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to
82 return first module found if base_address is zero. Don't initialize
83 psapi function pointers here. Convert to cygwin paths when
84 appropriate.
85 (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
86 executable name. Use get_module_name when that fails or when
87 !__CYGWIN__.
88 (_initialize_psapi): New function. Initialize psapi stuff before it is
89 needed or issue a warning if it is not found. Move psapi_module_handle
90 here.
91
92 2008-01-01 Joel Brobecker <brobecker@adacore.com>
93
94 * ada-lang.c (ada_remove_trailing_digits): New function.
95 (ada_remove_po_subprogram_suffix): New function.
96 (ada_decode): Improve. Move the description of the algorithm
97 directly inside the code, instead of in the function global
98 description.
99
100 2008-01-01 Joel Brobecker <brobecker@adacore.com>
101
102 * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
103 and always print the dereferenced value.
104
105 2008-01-01 Joel Brobecker <brobecker@adacore.com>
106
107 * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
108 of the case where the first argument is a reference.
109 (ada_evaluate_subexp, case BINOP_ADD): Likewise.
110
111 2008-01-01 Joel Brobecker <brobecker@adacore.com>
112
113 Implement support for Ada interface types.
114
115 * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
116 (ada_is_ignored_field): Ignore fields that are a dispatch table
117 of a tagged type.
118
119 2008-01-01 Joel Brobecker <brobecker@adacore.com>
120
121 * top.c (print_gdb_version): Update copyright year.
122
123 2008-01-01 Joel Brobecker <brobecker@adacore.com>
124
125 * ChangeLog-2007: New ChangeLog rotation.
126 * ChangeLog: Reset for 2008.
127 * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
128 ChangeLog-2007.
129
130 For older changes see ChangeLog-2007.
131 \f
132 Local Variables:
133 mode: change-log
134 left-margin: 8
135 fill-column: 74
136 version-control: never
137 coding: utf-8
138 End: