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