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