Commit | Line | Data |
---|---|---|
137033e9 JB |
1 | 2008-01-08 Joel Brobecker <brobecker@adacore.com> |
2 | ||
3 | * dwarf2read.c (read_enumeration_type): Add comment. | |
4 | ||
dda297ec TJB |
5 | 2008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
6 | ||
7 | * config.in: Regenerate. | |
8 | ||
a93c0eb6 JB |
9 | 2008-01-08 Joel Brobecker <brobecker@adacore.com> |
10 | ||
11 | * ada-lang.c (ada_convert_actual): Renames convert_actual. | |
12 | Make non-static. | |
13 | (ada_convert_actuals): Delete. | |
14 | * ada-lang.h (ada_convert_actual): Add declaration. | |
15 | (ada_convert_actuals): Remove declaration. | |
16 | * infcall.c: #include "ada-lang.h". | |
17 | (value_arg_coerce): Add new parameter sp. Update function | |
18 | documetnation. Add handling of Ada function call parameters. | |
19 | * Makefile.in (infcall.o): Update dependencies. | |
20 | ||
a84a8a0d JB |
21 | 2008-01-08 Paul Hilfinger <hilfinger@adacore.com> |
22 | ||
23 | * ada-lang.c (ensure_lval): Fix value lval kind. | |
24 | (convert_actual): Add handling for arguments passed by reference. | |
25 | ||
d7f98cce DE |
26 | 2008-01-08 Doug Evans <dje@google.com> |
27 | ||
28 | * dbxread.c (read_dbx_symtab): Fix indentation. | |
29 | ||
4ef30785 TJB |
30 | 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com> |
31 | ||
32 | * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h. | |
33 | (valarith.o): Depend on dfp.h. | |
34 | (valops.o): Likewise. | |
35 | * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h. | |
36 | (set_decnumber_context): New function. | |
37 | (decimal_check_errors): Likewise. | |
38 | (decimal_from_number): Likewise. | |
39 | (decimal_to_number): Likewise. | |
40 | (decimal_from_string): Use set_decnumber_context and | |
41 | decimal_check_errors. | |
42 | (decimal_from_integral): New function. | |
43 | (decimal_from_floating): Likewise. | |
44 | (decimal_to_double): Likewise. | |
45 | (promote_decimal): Likewise. | |
46 | (decimal_binop): Likewise. | |
47 | (decimal_is_zero): Likewise. | |
48 | (decimal_compare): Likewise. | |
49 | (decimal_convert): Likewise. | |
50 | * dfp.h (decimal_from_integral): New prototype. | |
51 | (decimal_from_floating): Likewise. | |
52 | (decimal_to_double): Likewise. | |
53 | (decimal_binop): Likewise. | |
54 | (decimal_is_zero): Likewise. | |
55 | (decimal_compare): Likewise. | |
56 | (decimal_convert): Likewise. | |
57 | * eval.c (evaluate_subexp_standard): Remove expect_type argument from | |
58 | call to value_from_decfloat. | |
59 | * valarith.c: Include dfp.h. | |
60 | (value_args_as_decimal): New function. | |
61 | (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values. | |
62 | (value_logical_not): Likewise. | |
63 | (value_equal): Likewise. | |
64 | (value_less): Likewise. | |
65 | (value_pos): Likewise. | |
66 | (value_neg): Formatting fix. | |
67 | * valops.c: Include dfp.h. | |
68 | (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values. | |
69 | * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT. | |
70 | (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT. | |
71 | (value_from_decfloat): Remove expect_type argument. | |
72 | * value.h (value_from_decfloat): Update prototype. | |
73 | ||
a7c02bc8 VP |
74 | 2008-01-07 Vladimir Prus <vladimir@codesourcery.com> |
75 | ||
76 | Ignore change in name of dynamic linker during | |
77 | execution on Solaris. This also unbreaks pending breakpoints. | |
78 | ||
79 | * solist.h (struct target_so_ops): New field same. | |
80 | * solib-svr4.c (svr4_same): New. | |
81 | (_initialize_svr4_solib): Register svr4_same. | |
82 | * solib.c (update_solib_list): Use ops->same, if available. | |
83 | ||
610dd7f9 CF |
84 | 2008-01-06 Christopher Faylor <me+cygwin@cgf.cx> |
85 | ||
86 | * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings | |
87 | when using MS-DOS paths. | |
88 | ||
7a404eba PA |
89 | 2008-01-05 Pedro Alves <pedro@codesourcery.com> |
90 | ||
91 | * NEWS: Mention --pid and --core command line behaviour changes. | |
92 | ||
a4d9b460 PA |
93 | 2008-01-05 Pedro Alves <pedro@codesourcery.com> |
94 | ||
95 | * main.c (captured_main): Remove 'count' varible and the | |
96 | ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and | |
97 | --pid options were issued simultaneously. If an explicit pid | |
98 | option was passed, don't fallback to core file. Detect extra | |
99 | arguments better in the presence of explicit pid or core | |
100 | arguments. | |
101 | ||
0c281816 JB |
102 | 2008-01-05 Joel Brobecker <brobecker@adacore.com> |
103 | ||
104 | * ada-lang.c (ada_which_variant_applies): Correctly compute | |
105 | the value of the discriminant when the variant record is packed. | |
106 | ||
babe1480 JB |
107 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
108 | ||
109 | * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes | |
110 | that are used to differentiate homonyms. | |
111 | ||
727e3d2e JB |
112 | 2008-01-04 Jerome Guitton <guitton@adacore.com> |
113 | ||
114 | * ada-lang.c (decode_packed_array_type): Avoid a seg fault | |
115 | when the type is an anonymous pointer type. | |
116 | (ada_check_typedef): Avoid a seg fault when the type is null. | |
117 | * ada-typeprint.c (print_array_type): Add support for pointer | |
118 | to packed arrays. | |
119 | ||
bb28a9dc JB |
120 | 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com> |
121 | ||
122 | * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment. | |
123 | ||
6799def4 JB |
124 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
125 | ||
126 | * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in | |
127 | EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS. | |
128 | ||
d3353bbd JB |
129 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
130 | ||
131 | * ada-exp.y (chop_separator): New function. | |
132 | (write_selectors): Rewrite to re-use chop_separator. | |
133 | (ada_nget_field_index, get_symbol_field_type): New functions. | |
134 | (write_var_or_type): Add support for "ptype TYPENAME.FIELD" | |
135 | expressions. | |
136 | ||
82cf6c60 TJB |
137 | 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com> |
138 | ||
139 | * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead | |
140 | of SYMBOL_VALUE when working with function symbols. | |
141 | ||
b3dbf008 JB |
142 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
143 | ||
144 | * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER | |
145 | expressions. These expressions do not need to be rewriten. | |
146 | ||
02eb380e JB |
147 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
148 | ||
149 | * dwarf2read.c (read_enumeration_type): Flag type as stub if | |
150 | the given die is a declaration. | |
151 | ||
abb68b3e JB |
152 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
153 | ||
154 | * ada-lang.c (ada_array_bound_from_type): Make non-static. | |
155 | Handle properly the case when the index type is an enumerated type. | |
156 | Do not return the subtype of the bounds type, just return the | |
157 | bounds type directly - this is not needed and is more consistent | |
158 | with what we do for arrays when no XA parallel type exists. | |
159 | ||
f192137b JB |
160 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
161 | ||
162 | * ada-lang.c (static_unwrap_type): Add forward declaration. | |
163 | (template_to_static_fixed_type): Fields of dynamic types sometimes | |
164 | also need to be unwrapped. Take this into account. | |
165 | (ada_to_fixed_type_1): Renamed from ada_to_fixed_type. | |
166 | (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1. | |
167 | * ada-typeprint.c (ada_print_type): Get the typename from | |
168 | the original type, not the base type. | |
169 | ||
1ed6ede0 JB |
170 | 2008-01-03 Jerome Guitton <guitton@adacore.com> |
171 | ||
172 | * ada-lang.c (ada_value_struct_elt, to_fixed_array_type) | |
173 | (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value): | |
174 | Update calls to ada_to_fixed_type. | |
175 | (ada_template_to_fixed_record_type_1): Ditto, but without looking | |
176 | for the tag. | |
177 | (ada_to_fixed_type): Add check_tag parameter; do not look for | |
178 | tag if null. When looking for a tag, use a fixed record type. | |
179 | * ada-lang.h (ada_to_fixed_type): Add check_tag parameter. | |
180 | * ada-valprint.c (printable_val_type, ada_value_print): Update | |
181 | calls to ada_to_fixed_type. | |
182 | ||
542a88d0 LM |
183 | 2008-01-03 Luis Machado <luisgpm@br.ibm.com> |
184 | ||
185 | * doublest.c (convert_floatformat_to_doublest): Call | |
186 | floatformat_to_doublest instead of floatformat_to_double and use | |
187 | DOUBLEST variables. | |
188 | (convert_doublest_to_floatformat): Call floatformat_from_doublest | |
189 | instead of floatformat_from_double and use DOUBLEST variables. | |
190 | ||
dc2bbab2 NH |
191 | 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com> |
192 | ||
193 | * MAINTAINERS (Write After Approval): Add self. | |
194 | ||
8b60591b JB |
195 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
196 | ||
197 | * symfile.c (set_initial_language): Make non-static. | |
198 | * symfile.h (set_initial_language): Add declaration. | |
199 | * language.c: #include "symfile.h". | |
200 | (set_language): Call set_initial_language if the frame language | |
201 | could not be determined. | |
202 | ||
ceef53c1 JB |
203 | 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com> |
204 | ||
205 | * eval.c (evaluate_subexp_for_address): Provide frame address to | |
206 | locate_var_value only if it will be needed. | |
207 | ||
ef29ce1a JK |
208 | 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
209 | ||
210 | * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB. | |
211 | ||
0a07e705 JB |
212 | 2008-01-02 Joel Brobecker <brobecker@adacore.com> |
213 | ||
214 | * ada-lang.c (ada_evaluate_subexp): Modify the value returned | |
215 | when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory. | |
216 | This is needed to make sure that any other treatment applied | |
217 | to the resulting value does not fail for spurious reason, | |
218 | such as trying to take the address of this value. | |
219 | ||
f58b38bf JB |
220 | 2008-01-02 Joel Brobecker <brobecker@adacore.com> |
221 | ||
222 | * ada-lang.c (ada_value_equal): Dereference reference types when | |
223 | comparing arrays. | |
224 | ||
9b254dd1 DJ |
225 | 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com> |
226 | ||
227 | Updated copyright notices for most files. | |
228 | ||
33605d39 CF |
229 | 2008-01-01 Christopher Faylor <me+gdb@cgf.cx> |
230 | ||
231 | * win32-nat.c (psapi_module_handle): Remove static. | |
232 | (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to | |
233 | return first module found if base_address is zero. Don't initialize | |
234 | psapi function pointers here. Convert to cygwin paths when | |
235 | appropriate. | |
236 | (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine | |
237 | executable name. Use get_module_name when that fails or when | |
238 | !__CYGWIN__. | |
239 | (_initialize_psapi): New function. Initialize psapi stuff before it is | |
240 | needed or issue a warning if it is not found. Move psapi_module_handle | |
241 | here. | |
242 | ||
29480c32 JB |
243 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
244 | ||
245 | * ada-lang.c (ada_remove_trailing_digits): New function. | |
246 | (ada_remove_po_subprogram_suffix): New function. | |
247 | (ada_decode): Improve. Move the description of the algorithm | |
248 | directly inside the code, instead of in the function global | |
249 | description. | |
250 | ||
969a1360 JB |
251 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
252 | ||
253 | * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref | |
254 | and always print the dereferenced value. | |
255 | ||
b7789565 JB |
256 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
257 | ||
258 | * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling | |
259 | of the case where the first argument is a reference. | |
260 | (ada_evaluate_subexp, case BINOP_ADD): Likewise. | |
261 | ||
73fb9985 JB |
262 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
263 | ||
264 | Implement support for Ada interface types. | |
265 | ||
266 | * ada-lang.c (ada_is_dispatch_table_ptr_type): New function. | |
267 | (ada_is_ignored_field): Ignore fields that are a dispatch table | |
268 | of a tagged type. | |
269 | ||
636265b6 JB |
270 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
271 | ||
272 | * top.c (print_gdb_version): Update copyright year. | |
273 | ||
9d200a2e | 274 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
b7589f7d | 275 | |
9d200a2e JB |
276 | * ChangeLog-2007: New ChangeLog rotation. |
277 | * ChangeLog: Reset for 2008. | |
278 | * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and | |
279 | ChangeLog-2007. | |
b7589f7d | 280 | |
9d200a2e | 281 | For older changes see ChangeLog-2007. |
c906108c SS |
282 | \f |
283 | Local Variables: | |
284 | mode: change-log | |
285 | left-margin: 8 | |
286 | fill-column: 74 | |
287 | version-control: never | |
57da7796 | 288 | coding: utf-8 |
c906108c | 289 | End: |