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