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