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