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