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