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