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