Commit | Line | Data |
---|---|---|
32c9a795 MD |
1 | 2008-01-18 Markus Deuling <deuling@de.ibm.com> |
2 | ||
3 | * gdbarch.sh (function_list): Add new property bits_big_endian to | |
4 | gdbarch structure. | |
5 | * gdbarch.{c,h}: Regenerate. | |
6 | ||
7 | * value.c (struct value): Replace BITS_BIG_ENDIAN by | |
8 | gdbarch_bits_big_endian (comment). | |
9 | (unpack_field_as_long, modify_field): Likewise. | |
10 | * value.h: Likewise (comment). | |
11 | * valops.c (value_slice): Likewise. | |
12 | * valarith.c (value_subscript, value_bit_index): Likewise. | |
13 | * gdbtypes.h (field): Likewise (comment). | |
14 | * eval.c (evaluate_subexp_standard): Likewise. | |
15 | * dwarf2read.c (dwarf2_add_field): Likewise. | |
16 | * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val) | |
17 | (move_bits, ada_value_assign, value_assign_to_component): Likewise. | |
18 | ||
19 | * defs.h (BITS_BIG_ENDIAN): Remove. | |
20 | ||
1e5e79d0 MD |
21 | 2008-01-18 Markus Deuling <deuling@de.ibm.com> |
22 | ||
23 | * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate | |
24 | function calls. | |
25 | * m2-exp.y (yylex): Likewise. | |
26 | * objc-exp.y (yylex): Likewise. | |
27 | ||
28 | * defs.h (DEPRECATED_STREQN): Remove. | |
29 | ||
fabda5a7 L |
30 | 2008-01-17 H.J. Lu <hjl.tools@gmail.com> |
31 | ||
32 | * MAINTAINERS: Update my email address. | |
33 | ||
92726479 JB |
34 | 2008-01-17 Jim Blandy <jimb@codesourcery.com> |
35 | ||
36 | * README: Mention gdbserver/README. | |
37 | ||
ef80d18e PM |
38 | 2008-01-17 Pierre Muller <muller@ics.u-strasbg.fr> |
39 | ||
40 | * valarith.c (value_binop): Handle BINOP_INTDIV | |
41 | for unsigned and signed integers. | |
42 | ||
1de90795 UW |
43 | 2008-01-17 Ulrich Weigand <uweigand@de.ibm.com> |
44 | ||
45 | * s390-tdep.c (s390_gdbarch_init): Set default long double | |
46 | type to 128-bit IEEE quad. | |
47 | ||
c70bd6f3 JB |
48 | 2008-01-17 Joel Brobecker <brobecker@adacore.com> |
49 | ||
50 | * hpux-thread.c (hpux_thread_resume): Delete commented-out code. | |
51 | ||
ba759613 MK |
52 | 2008-01-16 Mark Kettenis <kettenis@gnu.org> |
53 | ||
77d49ac6 MK |
54 | * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS. |
55 | ||
ba759613 MK |
56 | * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest. |
57 | * value.c: All callers changed. | |
58 | ||
7ecb6532 MD |
59 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
60 | ||
61 | * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace | |
62 | DEPRECATED_STREQ by its expression. | |
63 | * coffread.c (coff_locate_sections, coff_symtab_read): Likewise. | |
64 | * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos) | |
65 | (scan_xcoff_symtab): Likewise. | |
66 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise. | |
67 | * f-lang.c (find_common_for_function): Likewise. | |
68 | * objc-exp.y (parse_number): Likewise. | |
69 | ||
70 | * defs.h (DEPRECATED_STREQ): Remove. | |
71 | ||
d15cf01c MD |
72 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
73 | ||
74 | * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter. | |
75 | * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use | |
76 | get_frame_arch to get at the current_architecture. Update AM33_MODE | |
77 | call. | |
78 | (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller. | |
79 | (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current | |
80 | architecture. | |
81 | (set_reg_offsets, mn10300_analyze_prologue): Fix indentation. | |
82 | ||
f8028488 MD |
83 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
84 | ||
85 | * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as | |
86 | parameter. | |
87 | * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise. | |
88 | ||
89 | (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace | |
90 | current_gdbarch by gdbarch. Update caller. | |
91 | ||
92 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers) | |
93 | (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at | |
94 | the current architecture. Update calls of | |
95 | amd64_native_gregset_supplies_p. | |
96 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers) | |
97 | (amd64bsd_store_inferior_registers): Likewise. | |
98 | ||
e101270f MD |
99 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
100 | ||
101 | * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter. | |
102 | Replace current_gdbarch by gdbarch. Update caller. | |
103 | ||
063e58ba MD |
104 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
105 | ||
106 | * dbxread.c (repeated_header_complaint, dbx_symfile_init) | |
107 | (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint) | |
108 | (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1) | |
109 | (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol) | |
110 | (stabsect_build_psymtabs): Fix indentation. | |
111 | ||
662fb31b MS |
112 | 2008-01-15 Michael Snyder <msnyder@specifix.com> |
113 | ||
114 | * corelow.c (core_xfer_partial): Comment, cut/paste error. | |
115 | ||
c1766e7d PM |
116 | 2008-01-14 Pierre Muller <muller@ics.u-strasbg.fr> |
117 | ||
118 | * win32-nat.c (win32_create_inferior): Restore code calling | |
119 | CloseHandle on ProcessInformation structure. | |
120 | ||
5ed10e6e NH |
121 | 2008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com> |
122 | ||
123 | * configure.ac: Check for void * as 3 argument of ptrace. | |
124 | * configure: regenerate. | |
125 | ||
be8626e0 MD |
126 | 2008-01-11 Markus Deuling <deuling@de.ibm.com> |
127 | ||
128 | * alpha-tdep.c (alpha_heuristic_proc_start) | |
129 | (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace | |
130 | current_gdbarch by gdbarch. | |
131 | ||
132 | (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the | |
133 | current architecture by frame_info. Update alpha_heuristic_proc_start | |
134 | call. | |
135 | ||
136 | (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use | |
137 | get_frame_arch to get at the current architecture by frame_info. Update | |
138 | alpha_sigtramp_register_address call. | |
139 | ||
140 | * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace | |
141 | current_gdbarch by gdbarch. Update caller. | |
142 | (convert_to_extended, convert_from_extended): Add endianess parameter | |
143 | for comparison. Update caller. | |
144 | (arm_extract_return_value, arm_store_return_value): Use | |
145 | get_regcache_arch to get at the current architecture. | |
146 | ||
147 | * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace | |
148 | current_gdbarch by gdbarch. Update caller. | |
149 | (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add | |
150 | gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch. | |
151 | ||
152 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add | |
153 | gdbarch as parameter. Update caller. | |
154 | (h8300_init_frame_cache): Add gdbarch as parameter. Replace | |
155 | current_gdbarch by gdbarch. Update caller. | |
156 | ||
157 | * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and | |
158 | update caller. Replace current_gdbarch by gdbarch. | |
159 | ||
160 | * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at | |
161 | the current architecture. Replace current_gdbarch by gdbarch. | |
162 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise. | |
163 | (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its | |
164 | expression. Add gdbarch as parameter and replace current_gdbarch with | |
165 | it. Update caller. | |
166 | (M6811_TDEP): Remove. | |
167 | (m68hc11_frame_prev_register): Use get_frame_arch to get at the current | |
168 | architecture. | |
169 | (m68hc11_scan_prologue): Add gdbarch as parameter. Replace | |
170 | current_gdbarch by gdbarch. Update caller. | |
171 | ||
172 | * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and | |
173 | update caller. | |
174 | (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch | |
175 | by gdbarch. | |
176 | ||
177 | * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update | |
178 | caller. Relace current_gdbarch by gdbarch. | |
179 | (altivec_register_p, spe_register_p): Likewise. | |
180 | * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as | |
181 | parameter. | |
182 | * ppc-linux-nat.c (fetch_register, store_register): Update caller of | |
183 | altivec_register_p and spe_register_p. | |
184 | ||
185 | * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update | |
186 | caller. Replace current_gdbarch by gdbarch. | |
187 | (score_analyze_prologue): use get_frame_arch to get at the current | |
188 | architecture. | |
189 | ||
190 | * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter. | |
191 | * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace | |
192 | current_gdbarch by gdbarch. Update caller. | |
193 | (sparc_frame_cache): Use get_frame_arch to get at the current | |
194 | architecture. | |
195 | * sparce64-tdep.c (sparc64_skip_prologue): Update call of | |
196 | sparc_analyze_prologue. | |
197 | ||
198 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as | |
199 | parameter. | |
200 | ||
ed49a04f MD |
201 | 2008-01-11 Markus Deuling <deuling@de.ibm.com> |
202 | ||
203 | * exec.c: #include "arch-utils.h" | |
204 | (print_section_info): Use gdbarch_from_bfd to get at the | |
205 | current architecture. Replace current_gdbarch. Fix indention. Replace | |
206 | deprecated_print_address_numeric by paddress. | |
207 | * Makefile.in (exec.o) Add dependency to arch-utils.h. | |
208 | ||
209 | * valprint.c (val_print_string): Replace | |
210 | deprecated_print_address_numeric. | |
211 | * tracepoint.c (trace_mention, scope_info): Likewise. | |
212 | * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol) | |
213 | (print_symbol, print_partial_symbols, maintenance_info_psymtabs) | |
214 | (maintenance_check_symtabs): Likewise. | |
215 | * symfile.c (list_overlays_command): Likewise. | |
216 | * stack.c (frame_info, print_block_frame_labels): Likewise. | |
217 | * printcmd.c (print_address, print_address_demangle) | |
218 | (address_info): Likewise. | |
219 | * corefile.c (memory_error): Likewise. | |
220 | * infcmd.c (jump_command): Likewise. | |
221 | * breakpoint.c (insert_bp_location, describe_other_breakpoints) | |
222 | (mention, delete_breakpoint): Likewise. | |
223 | * c-valprint.c (print_function_pointer_address, c_val_print): Likewise. | |
224 | * dwarf2read.c (dump_die): Likewise. | |
225 | * ada-valprint.c (ada_val_print_1): Likewise. | |
226 | * f-valprint.c (f_val_print): Likewise. | |
227 | * linux-fork.c (info_forks_command): Likewise. | |
228 | * m32r-com.c (m32r_load_section, m32r_load) | |
229 | (m32r_upload_command): Likewise. | |
230 | ||
231 | * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment. | |
232 | ||
6093d2eb MD |
233 | 2008-01-11 Markus Deuling <deuling@de.ibm.com> |
234 | ||
235 | * gdbarch.sh (skip_prologue): Add gdbarch | |
236 | as parameter. | |
237 | * gdbarch.{c,h}: Regenerate. | |
238 | ||
239 | * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter. | |
240 | * amd64-tdep.c (amd64_skip_prologue): Likewise. | |
241 | * avr-tdep.c (avr_skip_prologue): Likewise. | |
242 | * cris-tdep.c (cris_skip_prologue): Likewise. | |
243 | * frv-tdep.c (frv_skip_prologue): Likewise. | |
244 | * h8300-tdep.c (h8300_skip_prologue): Likewise. | |
245 | * hppa-tdep.c (hppa_skip_prologue): Likewise. | |
246 | * i386-tdep.c (i386_skip_prologue): Likewise. | |
247 | * ia64-tdep.c (ia64_skip_prologue): Likewise. | |
248 | * iq2000-tdep.c (iq2000_skip_prologue): Likewise. | |
249 | * m32r-tdep.c (m32r_skip_prologue): Likewise. | |
250 | * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise. | |
251 | * m68k-tdep.c (m68k_skip_prologue): Likewise. | |
252 | * m88k-tdep.c (m88k_skip_prologue): Likewise. | |
253 | * mep-tdep.c (mep_skip_prologue): Likewise. | |
254 | * mips-tdep.c (mips_skip_prologue): Likewise. | |
255 | * mn10300-tdep.c (mn10300_skip_prologue): Likewise. | |
256 | * mt-tdep.c (mt_skip_prologue): Likewise. | |
257 | * rs6000-tdep.c (rs6000_skip_prologue): Likewise. | |
258 | * score-tdep.c (score_skip_prologue): Likewise. | |
259 | * sh64-tdep.c (sh64_skip_prologue): Likewise. | |
260 | * sh-tdep.c (sh_skip_prologue): Likewise. | |
261 | * sparc64-tdep.c (sparc64_skip_prologue): Likewise. | |
262 | * sparc-tdep.c (sparc32_skip_prologue): Likewise. | |
263 | * spu-tdep.c (spu_skip_prologue): Likewise. | |
264 | * v850-tdep.c (v850_skip_prologue): Likewise. | |
265 | * vax-tdep.c (vax_skip_prologue): Likewise. | |
266 | * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise. | |
267 | * xtensa-tdep.c (xtensa_skip_prologue): Likewise. | |
268 | ||
269 | * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace | |
270 | current_gdbarch by gdbarch. | |
271 | * m32c-tdep.c (m32c_skip_prologue): Likewise. | |
272 | * s390-tdep.c (s390_skip_prologue): Likewise. | |
273 | ||
72f5cf0e DE |
274 | 2008-01-10 Doug Evans <dje@google.com> |
275 | ||
276 | * defs.h (struct continuation_arg): Fix typo in comment. | |
277 | * target.c (target_translate_tls_address): Fix comment spelling error. | |
278 | ||
689e4e2d TJB |
279 | 2008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com> |
280 | ||
281 | * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string. | |
282 | (DOUBLEST_SCAN_FORMAT): Likewise. | |
283 | * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT. | |
284 | * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT. | |
285 | * c-exp.y (parse_number): Likewise. | |
286 | * jv-exp.y (parse_number): Likewise. | |
287 | * objc-exp.y (parse_number): Likewise. | |
288 | * p-exp.y (parse_number): Likewise. | |
289 | ||
ab0d6e0d JB |
290 | 2008-01-09 Joel Brobecker <brobecker@adacore.com> |
291 | ||
292 | * gdbtypes.c (create_array_type): Add handling of null Ada arrays. | |
293 | (check_typedef): Likewise. | |
294 | ||
0aea4bf3 LM |
295 | 2008-01-09 Luis Machado <luisgpm@br.ibm.com> |
296 | ||
297 | * printcmd.c (printf_command): Add seen_big_h, seen_big_d and | |
298 | seen_double_big_d, treat the new H, D, and DD modifiers as length | |
299 | modifiers. | |
300 | ||
137033e9 JB |
301 | 2008-01-08 Joel Brobecker <brobecker@adacore.com> |
302 | ||
303 | * dwarf2read.c (read_enumeration_type): Add comment. | |
304 | ||
dda297ec TJB |
305 | 2008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
306 | ||
307 | * config.in: Regenerate. | |
308 | ||
a93c0eb6 JB |
309 | 2008-01-08 Joel Brobecker <brobecker@adacore.com> |
310 | ||
311 | * ada-lang.c (ada_convert_actual): Renames convert_actual. | |
312 | Make non-static. | |
313 | (ada_convert_actuals): Delete. | |
314 | * ada-lang.h (ada_convert_actual): Add declaration. | |
315 | (ada_convert_actuals): Remove declaration. | |
316 | * infcall.c: #include "ada-lang.h". | |
317 | (value_arg_coerce): Add new parameter sp. Update function | |
318 | documetnation. Add handling of Ada function call parameters. | |
319 | * Makefile.in (infcall.o): Update dependencies. | |
320 | ||
a84a8a0d JB |
321 | 2008-01-08 Paul Hilfinger <hilfinger@adacore.com> |
322 | ||
323 | * ada-lang.c (ensure_lval): Fix value lval kind. | |
324 | (convert_actual): Add handling for arguments passed by reference. | |
325 | ||
d7f98cce DE |
326 | 2008-01-08 Doug Evans <dje@google.com> |
327 | ||
328 | * dbxread.c (read_dbx_symtab): Fix indentation. | |
329 | ||
4ef30785 TJB |
330 | 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com> |
331 | ||
332 | * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h. | |
333 | (valarith.o): Depend on dfp.h. | |
334 | (valops.o): Likewise. | |
335 | * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h. | |
336 | (set_decnumber_context): New function. | |
337 | (decimal_check_errors): Likewise. | |
338 | (decimal_from_number): Likewise. | |
339 | (decimal_to_number): Likewise. | |
340 | (decimal_from_string): Use set_decnumber_context and | |
341 | decimal_check_errors. | |
342 | (decimal_from_integral): New function. | |
343 | (decimal_from_floating): Likewise. | |
344 | (decimal_to_double): Likewise. | |
345 | (promote_decimal): Likewise. | |
346 | (decimal_binop): Likewise. | |
347 | (decimal_is_zero): Likewise. | |
348 | (decimal_compare): Likewise. | |
349 | (decimal_convert): Likewise. | |
350 | * dfp.h (decimal_from_integral): New prototype. | |
351 | (decimal_from_floating): Likewise. | |
352 | (decimal_to_double): Likewise. | |
353 | (decimal_binop): Likewise. | |
354 | (decimal_is_zero): Likewise. | |
355 | (decimal_compare): Likewise. | |
356 | (decimal_convert): Likewise. | |
357 | * eval.c (evaluate_subexp_standard): Remove expect_type argument from | |
358 | call to value_from_decfloat. | |
359 | * valarith.c: Include dfp.h. | |
360 | (value_args_as_decimal): New function. | |
361 | (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values. | |
362 | (value_logical_not): Likewise. | |
363 | (value_equal): Likewise. | |
364 | (value_less): Likewise. | |
365 | (value_pos): Likewise. | |
366 | (value_neg): Formatting fix. | |
367 | * valops.c: Include dfp.h. | |
368 | (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values. | |
369 | * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT. | |
370 | (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT. | |
371 | (value_from_decfloat): Remove expect_type argument. | |
372 | * value.h (value_from_decfloat): Update prototype. | |
373 | ||
a7c02bc8 VP |
374 | 2008-01-07 Vladimir Prus <vladimir@codesourcery.com> |
375 | ||
376 | Ignore change in name of dynamic linker during | |
377 | execution on Solaris. This also unbreaks pending breakpoints. | |
378 | ||
379 | * solist.h (struct target_so_ops): New field same. | |
380 | * solib-svr4.c (svr4_same): New. | |
381 | (_initialize_svr4_solib): Register svr4_same. | |
382 | * solib.c (update_solib_list): Use ops->same, if available. | |
383 | ||
610dd7f9 CF |
384 | 2008-01-06 Christopher Faylor <me+cygwin@cgf.cx> |
385 | ||
386 | * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings | |
387 | when using MS-DOS paths. | |
388 | ||
7a404eba PA |
389 | 2008-01-05 Pedro Alves <pedro@codesourcery.com> |
390 | ||
391 | * NEWS: Mention --pid and --core command line behaviour changes. | |
392 | ||
a4d9b460 PA |
393 | 2008-01-05 Pedro Alves <pedro@codesourcery.com> |
394 | ||
395 | * main.c (captured_main): Remove 'count' varible and the | |
396 | ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and | |
397 | --pid options were issued simultaneously. If an explicit pid | |
398 | option was passed, don't fallback to core file. Detect extra | |
399 | arguments better in the presence of explicit pid or core | |
400 | arguments. | |
401 | ||
0c281816 JB |
402 | 2008-01-05 Joel Brobecker <brobecker@adacore.com> |
403 | ||
404 | * ada-lang.c (ada_which_variant_applies): Correctly compute | |
405 | the value of the discriminant when the variant record is packed. | |
406 | ||
babe1480 JB |
407 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
408 | ||
409 | * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes | |
410 | that are used to differentiate homonyms. | |
411 | ||
727e3d2e JB |
412 | 2008-01-04 Jerome Guitton <guitton@adacore.com> |
413 | ||
414 | * ada-lang.c (decode_packed_array_type): Avoid a seg fault | |
415 | when the type is an anonymous pointer type. | |
416 | (ada_check_typedef): Avoid a seg fault when the type is null. | |
417 | * ada-typeprint.c (print_array_type): Add support for pointer | |
418 | to packed arrays. | |
419 | ||
bb28a9dc JB |
420 | 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com> |
421 | ||
422 | * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment. | |
423 | ||
6799def4 JB |
424 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
425 | ||
426 | * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in | |
427 | EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS. | |
428 | ||
d3353bbd JB |
429 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
430 | ||
431 | * ada-exp.y (chop_separator): New function. | |
432 | (write_selectors): Rewrite to re-use chop_separator. | |
433 | (ada_nget_field_index, get_symbol_field_type): New functions. | |
434 | (write_var_or_type): Add support for "ptype TYPENAME.FIELD" | |
435 | expressions. | |
436 | ||
82cf6c60 TJB |
437 | 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com> |
438 | ||
439 | * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead | |
440 | of SYMBOL_VALUE when working with function symbols. | |
441 | ||
b3dbf008 JB |
442 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
443 | ||
444 | * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER | |
445 | expressions. These expressions do not need to be rewriten. | |
446 | ||
02eb380e JB |
447 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
448 | ||
449 | * dwarf2read.c (read_enumeration_type): Flag type as stub if | |
450 | the given die is a declaration. | |
451 | ||
abb68b3e JB |
452 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
453 | ||
454 | * ada-lang.c (ada_array_bound_from_type): Make non-static. | |
455 | Handle properly the case when the index type is an enumerated type. | |
456 | Do not return the subtype of the bounds type, just return the | |
457 | bounds type directly - this is not needed and is more consistent | |
458 | with what we do for arrays when no XA parallel type exists. | |
459 | ||
f192137b JB |
460 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
461 | ||
462 | * ada-lang.c (static_unwrap_type): Add forward declaration. | |
463 | (template_to_static_fixed_type): Fields of dynamic types sometimes | |
464 | also need to be unwrapped. Take this into account. | |
465 | (ada_to_fixed_type_1): Renamed from ada_to_fixed_type. | |
466 | (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1. | |
467 | * ada-typeprint.c (ada_print_type): Get the typename from | |
468 | the original type, not the base type. | |
469 | ||
1ed6ede0 JB |
470 | 2008-01-03 Jerome Guitton <guitton@adacore.com> |
471 | ||
472 | * ada-lang.c (ada_value_struct_elt, to_fixed_array_type) | |
473 | (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value): | |
474 | Update calls to ada_to_fixed_type. | |
475 | (ada_template_to_fixed_record_type_1): Ditto, but without looking | |
476 | for the tag. | |
477 | (ada_to_fixed_type): Add check_tag parameter; do not look for | |
478 | tag if null. When looking for a tag, use a fixed record type. | |
479 | * ada-lang.h (ada_to_fixed_type): Add check_tag parameter. | |
480 | * ada-valprint.c (printable_val_type, ada_value_print): Update | |
481 | calls to ada_to_fixed_type. | |
482 | ||
542a88d0 LM |
483 | 2008-01-03 Luis Machado <luisgpm@br.ibm.com> |
484 | ||
485 | * doublest.c (convert_floatformat_to_doublest): Call | |
486 | floatformat_to_doublest instead of floatformat_to_double and use | |
487 | DOUBLEST variables. | |
488 | (convert_doublest_to_floatformat): Call floatformat_from_doublest | |
489 | instead of floatformat_from_double and use DOUBLEST variables. | |
490 | ||
dc2bbab2 NH |
491 | 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com> |
492 | ||
493 | * MAINTAINERS (Write After Approval): Add self. | |
494 | ||
8b60591b JB |
495 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
496 | ||
497 | * symfile.c (set_initial_language): Make non-static. | |
498 | * symfile.h (set_initial_language): Add declaration. | |
499 | * language.c: #include "symfile.h". | |
500 | (set_language): Call set_initial_language if the frame language | |
501 | could not be determined. | |
502 | ||
ceef53c1 JB |
503 | 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com> |
504 | ||
505 | * eval.c (evaluate_subexp_for_address): Provide frame address to | |
506 | locate_var_value only if it will be needed. | |
507 | ||
ef29ce1a JK |
508 | 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
509 | ||
510 | * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB. | |
511 | ||
0a07e705 JB |
512 | 2008-01-02 Joel Brobecker <brobecker@adacore.com> |
513 | ||
514 | * ada-lang.c (ada_evaluate_subexp): Modify the value returned | |
515 | when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory. | |
516 | This is needed to make sure that any other treatment applied | |
517 | to the resulting value does not fail for spurious reason, | |
518 | such as trying to take the address of this value. | |
519 | ||
f58b38bf JB |
520 | 2008-01-02 Joel Brobecker <brobecker@adacore.com> |
521 | ||
522 | * ada-lang.c (ada_value_equal): Dereference reference types when | |
523 | comparing arrays. | |
524 | ||
9b254dd1 DJ |
525 | 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com> |
526 | ||
527 | Updated copyright notices for most files. | |
528 | ||
33605d39 CF |
529 | 2008-01-01 Christopher Faylor <me+gdb@cgf.cx> |
530 | ||
531 | * win32-nat.c (psapi_module_handle): Remove static. | |
532 | (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to | |
533 | return first module found if base_address is zero. Don't initialize | |
534 | psapi function pointers here. Convert to cygwin paths when | |
535 | appropriate. | |
536 | (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine | |
537 | executable name. Use get_module_name when that fails or when | |
538 | !__CYGWIN__. | |
539 | (_initialize_psapi): New function. Initialize psapi stuff before it is | |
540 | needed or issue a warning if it is not found. Move psapi_module_handle | |
541 | here. | |
542 | ||
29480c32 JB |
543 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
544 | ||
545 | * ada-lang.c (ada_remove_trailing_digits): New function. | |
546 | (ada_remove_po_subprogram_suffix): New function. | |
547 | (ada_decode): Improve. Move the description of the algorithm | |
548 | directly inside the code, instead of in the function global | |
549 | description. | |
550 | ||
969a1360 JB |
551 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
552 | ||
553 | * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref | |
554 | and always print the dereferenced value. | |
555 | ||
b7789565 JB |
556 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
557 | ||
558 | * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling | |
559 | of the case where the first argument is a reference. | |
560 | (ada_evaluate_subexp, case BINOP_ADD): Likewise. | |
561 | ||
73fb9985 JB |
562 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
563 | ||
564 | Implement support for Ada interface types. | |
565 | ||
566 | * ada-lang.c (ada_is_dispatch_table_ptr_type): New function. | |
567 | (ada_is_ignored_field): Ignore fields that are a dispatch table | |
568 | of a tagged type. | |
569 | ||
636265b6 JB |
570 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
571 | ||
572 | * top.c (print_gdb_version): Update copyright year. | |
573 | ||
9d200a2e | 574 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
b7589f7d | 575 | |
9d200a2e JB |
576 | * ChangeLog-2007: New ChangeLog rotation. |
577 | * ChangeLog: Reset for 2008. | |
578 | * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and | |
579 | ChangeLog-2007. | |
b7589f7d | 580 | |
9d200a2e | 581 | For older changes see ChangeLog-2007. |
c906108c SS |
582 | \f |
583 | Local Variables: | |
584 | mode: change-log | |
585 | left-margin: 8 | |
586 | fill-column: 74 | |
587 | version-control: never | |
57da7796 | 588 | coding: utf-8 |
c906108c | 589 | End: |