1 2011-01-17 Tom Tromey <tromey@redhat.com>
3 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
5 * utils.c: Include gdb_regex.h.
6 (do_regfree_cleanup): New function.
7 (make_regfree_cleanup): Likewise.
8 (get_regcomp_error): Likewise.
9 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
11 2011-01-17 Tom Tromey <tromey@redhat.com>
13 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
16 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
18 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
19 for internal variables.
20 (last_was_structop): New static variable.
21 (COMPLETE): New token.
22 (field_exp): New rule to group all '.' suffix handling.
23 Add mark_struct_expression calls when approriate to be able
24 to correctly find fields for completion.
25 (yylex): Adapt to handle field completion and set INTVAR when
28 2011-01-14 Yao Qi <yao@codesourcery.com>
30 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
31 save_reggroup, restore_reggroup and all_reggroup.
33 2011-01-14 Joel Brobecker <brobecker@adacore.com>
35 * ada-valprint. (ada_printchar): Use the correct type length
36 in call to ada_emit_char.
37 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
39 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
41 * solib-som.h (hpux_major_release): Declare variable here.
42 * solib-som.c: Remove <sys/utsname.h> header.
43 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
44 (hpux_major_release): Make global, change default value to
45 DEFAULT_HPUX_MAJOR_RELEASE.
46 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
47 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
48 Add "solib-som.h" header.
49 (set_hpux_major_release): New function.
50 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
52 2011-01-14 Mike Frysinger <vapier@gentoo.org>
54 * configure.tgt (*-*-uclinux*): Match more Linux os targets
56 2011-01-14 Joel Brobecker <brobecker@adacore.com>
58 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
59 new-line at end of warning message.
60 (ia64_hpux_store_register): Remove trailing new-line at end of
62 * ia64-hpux-tdep.c: Rephrase comment.
63 * solib-ia64-hpux.c (struct dld_info): Change type of field
64 dld_flags from "long long" to ULONGEST.
66 2011-01-14 Pedro Alves <pedro@codesourcery.com>
68 * target.h (deprecated_child_ops): Delete declaration.
69 * target.c (deprecated_child_ops): Delete definition.
71 2011-01-14 Pedro Alves <pedro@codesourcery.com>
73 * Makefile.in (hpux-thread.o): Delete rule.
74 * configure.ac: Don't check for HPUX DCE threads support.
75 * configure, config.in: Regenerate.
76 * hppa-hpux-nat.c (child_suppress_run): Delete.
77 (hppa_hpux_child_can_run): Delete.
78 (_initialize_hppa_hpux_nat): Don't override to_can_run.
79 * hpux-thread.c: Delete.
81 2011-01-13 Joel Brobecker <brobecker@adacore.com>
83 * hpux-thread.c (hpux_pid_to_str): Delete.
85 2011-01-13 Joel Brobecker <brobecker@adacore.com>
87 * ada-valprint.c (ada_emit_char): Remove strange code.
88 Check that c is <= UCHAR_MAX before passing it to isascii.
89 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
91 2011-01-13 Joel Brobecker <brobecker@adacore.com>
93 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
94 to the case where instream is stdin.
96 2011-01-13 Joel Brobecker <brobecker@adacore.com>
98 * ia64-tdep.h (struct regcache): Forward declare.
99 (struct ia64_infcall_ops): New struct type.
100 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
102 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
103 Renames ia64_find_global_pointer.
104 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
105 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
106 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
108 (ia64_infcall_ops): New static global constant.
109 (ia64_gdbarch_init): Set tdep->infcall_ops.
110 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
111 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
112 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
113 (ia64_hpux_dummy_code): New static global constant.
114 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
115 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
116 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
118 (ia64_hpux_infcall_ops): New static global constant.
119 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
120 for inferior function calls to work properly on ia64-hpux.
122 2011-01-13 Joel Brobecker <brobecker@adacore.com>
124 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
125 * ia64-tdep.h (struct frame_info): forward declaration.
126 (struct gdbarch_tdep): Add field size_of_register_frame.
127 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
128 to determine the size of the register frame.
129 (ia64_size_of_register_frame): New function.
130 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
131 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
132 (IA64_HPUX_UREG_REASON): New macro.
133 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
135 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
136 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
137 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
140 2011-01-13 Joel Brobecker <brobecker@adacore.com>
142 Add support for ia64-hpux.
143 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
144 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
146 * configure.host: Add handling for ia64-hpux hosts. Add associated
148 * configure.tgt: Add handling for ia64-hpux targets.
149 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
150 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
151 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
153 2011-01-13 Joel Brobecker <brobecker@adacore.com>
155 [ttrace] Compute thread list immediately after attach.
156 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
158 (inf_ttrace_attach): Use it.
160 2011-01-13 Joel Brobecker <brobecker@adacore.com>
162 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
163 if we could not determine the frame's function address. Instead,
164 use the frame's PC, and then continue.
166 2011-01-13 Joel Brobecker <brobecker@adacore.com>
168 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
171 2011-01-13 Joel Brobecker <brobecker@adacore.com>
173 * ia64-tdep.c (ia64_struct_type_p): New function.
174 (ia64_extract_return_value): Handle integral values that are
175 less than 8 bytes long.
176 (ia64_push_dummy_call): Likewise.
178 2011-01-13 Joel Brobecker <brobecker@adacore.com>
180 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
181 floatformat_ia64_ext.
182 (floatformat_ia64_ext_big): New static const.
183 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
185 2011-01-12 Tom Tromey <tromey@redhat.com>
187 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
189 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
190 (mi_cmd_thread_list_ids): Likewise.
191 (mi_cmd_data_list_changed_registers): Likewise.
192 (mi_cmd_data_list_register_values): Likewise.
193 (mi_cmd_data_write_register_values): Likewise.
194 (mi_cmd_data_evaluate_expression): Likewise.
195 (mi_cmd_data_read_memory): Likewise.
196 (mi_cmd_data_read_memory_bytes): Likewise.
197 (mi_cmd_data_write_memory): Likewise.
198 (mi_cmd_enable_timings): Likewise.
199 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
200 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
201 (mi_cmd_var_delete): Likewise.
202 (mi_cmd_var_set_format): Likewise.
203 (mi_cmd_var_show_format): Likewise.
204 (mi_cmd_var_info_num_children): Likewise.
205 (mi_cmd_var_list_children): Likewise.
206 (mi_cmd_var_info_type): Likewise.
207 (mi_cmd_var_info_expression): Likewise.
208 (mi_cmd_var_show_attributes): Likewise.
209 (mi_cmd_var_assign): Likewise.
210 (mi_cmd_var_update): Likewise.
211 (mi_cmd_enable_pretty_printing): Likewise.
212 (mi_cmd_var_set_update_range): Likewise.
213 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
215 (mi_cmd_target_file_put): Likewise.
216 (mi_cmd_target_file_delete): Likewise.
217 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
219 (mi_cmd_stack_info_depth): Likewise.
220 (mi_cmd_stack_list_locals): Likewise.
221 (mi_cmd_stack_list_args): Likewise.
222 (mi_cmd_stack_select_frame): Likewise.
223 (mi_cmd_stack_select_frame): Likewise.
224 (mi_cmd_stack_info_frame): Likewise.
225 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
227 (mi_cmd_file_list_exec_source_files): Likewise.
228 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
229 (mi_cmd_env_cd): Likewise.
230 (mi_cmd_env_path): Likewise.
231 (mi_cmd_env_dir): Likewise.
232 (mi_cmd_inferior_tty_show): Likewise.
233 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
234 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
235 (mi_cmd_break_watch): Likewise.
237 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
239 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
240 (ppc_linux_insert_hw_breakpoint): Likewise.
241 (ppc_linux_remove_hw_breakpoint): Likewise.
242 (ppc_linux_insert_watchpoint): Likewise.
244 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
245 Jan Kratochvil <jan.kratochvil@redhat.com>
247 PR fortran/11104 and DWARF unbound arrays detection.
248 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
249 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
250 unspecified upper bound.
251 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
252 variables array_size_array, tmp_type and offset_item. New variable
253 array. Remove call to f77_get_upperbound. New variables array_type
254 and index. Call value_subscripted_rvalue for each dimenasion. Remove
255 the final call to deprecated_set_value_type.
257 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
259 Make value allocations more lazy.
260 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
261 instead of allocate_value and set_value_lazy when possible.
262 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
263 instead of allocate_value and set_value_lazy.
264 * findvar.c (value_of_register_lazy): Likewise.
265 (read_var_value): Remove V preallocation, call just check_typedef in
266 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
267 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
268 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
269 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
270 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
271 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
272 the end, remove set_value_lazy there.
273 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
274 instead of allocate_value and set_value_lazy when possible.
275 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
276 * value.c (allocate_computed_value): Use allocate_value_lazy instead
277 of allocate_value and set_value_lazy.
278 (value_from_contents_and_address): Use allocate_value_lazy instead of
279 allocate_value and set_value_lazy when possible.
281 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
283 * disasm.c (dump_insns): Support dumping opcodes for MI.
284 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
285 dumping of instruction opcodes.
287 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
289 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
292 2011-01-11 Tom Tromey <tromey@redhat.com>
294 * thread.c (do_captured_thread_select): Emit newline before
297 2011-01-11 Michael Snyder <msnyder@vmware.com>
299 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
300 * score-tdep.c: Ditto.
301 * score-tdep.h: Ditto.
306 * ser-mingw.c: Ditto.
310 * sh64-tdep.c: Ditto.
311 * shnbsd-nat.c: Ditto.
315 * solib-darwin.c: Ditto.
316 * solib-frv.c: Ditto.
318 * solib-irix.c: Ditto.
319 * solib-osf.c: Ditto.
320 * solib-pa64.c: Ditto.
321 * solib-som.c: Ditto.
322 * solib-spu.c: Ditto.
323 * solib-sunos.c: Ditto.
324 * solib-svr4.c: Ditto.
326 * sol-thread.c: Ditto.
330 * sparc64-linux-tdep.c: Ditto.
331 * sparc64-tdep.c: Ditto.
332 * sparc-linux-nat.c: Ditto.
333 * sparc-linux-tdep.c: Ditto.
334 * sparc-sol2-nat.c: Ditto.
335 * sparc-sol2-tdep.c: Ditto.
336 * sparc-tdep.c: Ditto.
337 * sparc-tdep.h: Ditto.
339 * stabsread.c: Ditto.
340 * stabsread.h: Ditto.
348 * target-descriptions.c: Ditto.
349 * target-descriptions.h: Ditto.
351 * target-memory.c: Ditto.
355 * tracepoint.c: Ditto.
356 * tracepoint.h: Ditto.
357 * trad-frame.h: Ditto.
358 * typeprint.c: Ditto.
360 2011-01-11 Michael Snyder <msnyder@vmware.com>
362 * ui-file.c: Comment cleanup, mostly periods and spaces.
367 * v850-tdep.c: Ditto.
380 * windows-nat.c: Ditto.
381 * windows-tdep.c: Ditto.
382 * xcoffread.c: Ditto.
383 * xcoffsolib.c: Ditto.
384 * xml-support.c: Ditto.
385 * xstormy16-tdep.c: Ditto.
386 * xtensa-tdep.c: Ditto.
387 * xtensa-tdep.h: Ditto.
389 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
391 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
392 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
394 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
395 Thiago Jung Bauermann <bauerman@br.ibm.com>
397 Implement support for PowerPC BookE ranged watchpoints.
399 (struct breakpoint_ops) <resources_needed>: New method.
400 Initialize to NULL in all existing breakpoint_ops instances.
401 (struct breakpoint) <exact>: New field.
402 (target_exact_watchpoints): Declare external global.
403 * breakpoint.c (target_exact_watchpoints): New global flag.
404 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
405 b->enable_state to bp_enabled before calling
406 hw_watchpoint_used_count.
407 (hw_watchpoint_used_count): Iterate over all bp_locations in a
408 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
410 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
411 if the watchpoint is exact.
412 (resources_needed_watchpoint): New function.
413 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
414 (watch_command_1): Set b->exact if the user asked for an exact
415 watchpoint and one can be set.
416 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
417 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
418 the user asks for an exact watchpoint and one can be set. Return
419 number of needed debug registers to watch the expression.
420 * gdbtypes.c (is_scalar_type): New function, based on
421 valprint.c:scalar_type_p.
422 (is_scalar_type_recursive): New function.
423 * gdbtypes.h (is_scalar_type_recursive): Declare.
424 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
425 handle regions when ranged watchpoints are available.
426 (create_watchpoint_request): New function.
427 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
428 create_watchpoint_request.
429 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
430 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
431 `set powerpc' and `show powerpc' commands.
432 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
433 Mention documentation comment in the target macro.
434 (target_region_ok_for_hw_watchpoint): Document return value.
436 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
438 * breakpoint.c (update_watchpoint): Decide on using a software or
439 hardware watchpoint after the bp_locations are created.
441 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
443 Convert hardware watchpoints to use breakpoint_ops.
444 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
445 <insert_location>: ... this. Return int instead of void.
446 Accept pointer to struct bp_location instead of pointer to
447 struct breakpoint. Adapt all implementations.
448 (breakpoint_ops) <remove>: Rename to...
449 <remove_location>: ... this. Accept pointer to struct bp_location
450 instead of pointer to struct breakpoint. Adapt all implementations.
451 * breakpoint.c (insert_catchpoint): Delete function.
452 (insert_bp_location): Call the watchpoint or catchpoint's
453 breakpoint_ops.insert method.
454 (remove_breakpoint_1): Call the watchpoint or catchpoint's
455 breakpoint_ops.remove method.
456 (insert_watchpoint, remove_watchpoint): New functions.
457 (watchpoint_breakpoint_ops): New structure.
458 (watch_command_1): Initialize the OPS field.
459 * inf-child.c (inf_child_insert_fork_catchpoint)
460 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
461 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
462 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
464 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
465 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
466 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
467 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
468 * target.c (update_current_target): Change default implementation of
469 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
470 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
471 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
472 to_set_syscall_catchpoint to return_one.
473 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
474 (debug_to_insert_exec_catchpoint): Report return value.
475 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
476 (to_insert_exec_catchpoint): Change declaration to return int instead
479 2011-01-11 Michael Snyder <msnyder@vmware.com>
481 * arm-tdep.c: Internationalization.
484 * fork-child.c: Ditto.
485 * nto-procfs.c: Ditto.
486 * ppc-sysv-tdep.c: Ditto.
488 * remote-mips.c: Ditto.
490 * rs6000-nat.c: Ditto.
491 * rs6000-tdep.c: Ditto.
495 * xml-support.c: Ditto.
496 * mi/mi-cmd-break.c: Ditto.
497 * mi/mi-cmd-var.c: Ditto.
498 * mi/mi-interp.c: Ditto.
499 * mi/mi-main.c: Ditto.
501 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
503 * remote-sim.c (gdbsim_store_register): Update API to
504 sim_store_register to check more error conditions.
506 2011-01-10 Michael Snyder <msnyder@vmware.com>
508 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
512 * objc-lang.c: Ditto.
516 * opencl-lang.c: Ditto.
519 * parser-defs.h: Ditto.
522 * posix-hdep.c: Ditto.
523 * ppcbug-rom.c: Ditto.
524 * ppc-linux-nat.c: Ditto.
525 * ppc-linux-tdep.c: Ditto.
526 * ppc-linux-tdep.h: Ditto.
527 * ppcnbsd-tdep.c: Ditto.
528 * ppcobsd-tdep.c: Ditto.
529 * ppcobsd-tdep.h: Ditto.
530 * ppc-sysv-tdep.c: Ditto.
534 * proc-flags.c: Ditto.
536 * proc-utils.h: Ditto.
537 * progspace.h: Ditto.
538 * prologue-value.c: Ditto.
539 * prologue-value.h: Ditto.
542 * p-typeprint.c: Ditto.
543 * p-valprint.c: Ditto.
544 * ravenscar-sparc-thread.c: Ditto.
545 * ravenscar-thread.c: Ditto.
546 * ravenscar-thread.h: Ditto.
551 * remote-fileio.c: Ditto.
552 * remote-fileio.h: Ditto.
554 * remote-m32r-sdi.c: Ditto.
555 * remote-mips.c: Ditto.
556 * remote-sim.c: Ditto.
557 * rs6000-aix-tdep.c: Ditto.
558 * rs6000-nat.c: Ditto.
559 * rs6000-tdep.c: Ditto.
561 2011-01-10 Michael Snyder <msnyder@vmware.com>
563 * charset.c (validate): Internationalization.
564 * coffread.c (read_one_sym): Ditto.
565 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
566 * h8300-tdep.c (H8300_extract_return_value): Ditto.
567 * inflow.c (new_tty): Ditto.
568 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
569 * m32c-tdep.c (m32c_return_value): Ditto.
570 * mep-tdep.c (mep_store_return_value): Ditto.
571 * score-tdep.c (score7_fetch_insn): Ditto.
572 * ser-mingw.c (pipe_windows_open): Ditto.
573 * sh64-tdep.c (sh64_extract_return_value): Ditto.
574 * spu-tdep.c (spu_register_type): Ditto.
575 * tracepoint.c (trace_find_command): Ditto.
576 * valarith.c (value_pos): Ditto.
578 2011-01-10 Joel Brobecker <brobecker@adacore.com>
580 * ada-valprint.c (printstr): Minor comment reformatting.
582 2011-01-08 Michael Snyder <msnyder@vmware.com>
584 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
587 2011-01-08 Michael Snyder <msnyder@vmware.com>
589 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
590 * hppa-hpux-tdep.c: Ditto.
591 * hppa-linux-nat.c: Ditto.
592 * hppa-linux-tdep.c: Ditto.
593 * hppanbsd-tdep.c: Ditto.
594 * hppa-tdep.c: Ditto.
595 * hppa-tdep.h: Ditto.
596 * hpux-thread.c: Ditto.
597 * i386-cygwin-tdep.c: Ditto.
598 * i386-darwin-nat.c: Ditto.
599 * i386gnu-nat.c: Ditto.
600 * i386-linux-nat.c: Ditto.
601 * i386-linux-tdep.c: Ditto.
604 * i386nbsd-tdep.c: Ditto.
605 * i386-sol2-nat.c: Ditto.
606 * i386-stub.c: Ditto.
607 * i386-tdep.c: Ditto.
608 * i386-tdep.h: Ditto.
609 * i387-tdep.c: Ditto.
610 * ia64-linux-nat.c: Ditto.
611 * ia64-linux-tdep.c: Ditto.
612 * ia64-tdep.c: Ditto.
623 * iq2000-tdep.c: Ditto.
624 * irix5-nat.c: Ditto.
630 * jv-typeprint.c: Ditto.
631 * jv-valprint.c: Ditto.
635 * linux-fork.c: Ditto.
636 * linux-nat.c: Ditto.
637 * linux-thread-db.c: Ditto.
638 * lm32-tdep.c: Ditto.
640 2011-01-08 Michael Snyder <msnyder@vmware.com>
642 * m2-exp.y: Comment cleanup, mostly periods and spaces.
644 * m2-typeprint.c: Ditto.
645 * m2-valprint.c: Ditto.
646 * m32c-tdep.c: Ditto.
647 * m32r-linux-nat.c: Ditto.
649 * m32r-tdep.c: Ditto.
650 * m32r-tdep.h: Ditto.
651 * m68hc11-tdep.c: Ditto.
652 * m58klinux-nat.c: Ditto.
653 * m68k-tdep.c: Ditto.
654 * m88k-tdep.c: Ditto.
655 * m88k-tdep.h: Ditto.
656 * machoread.c: Ditto.
662 * mdebugread.c: Ditto.
663 * mdebugread.h: Ditto.
666 * memory-map.h: Ditto.
668 * microblaze-rom.c: Ditto.
669 * microblaze-tdep.c: Ditto.
671 * mips-irix-tdep.c: Ditto.
672 * mips-linux-nat.c: Ditto.
673 * mips-linux-tdep.c: Ditto.
674 * mips-linux-tdep.h: Ditto.
675 * mipsnbsd-nat.c: Ditto.
676 * mipsnbsd-tdep.c: Ditto.
678 * mips-tdep.c: Ditto.
679 * mips-tdep.h: Ditto.
680 * mn10300-linux-tdep.c: Ditto.
681 * mn10300-tdep.c: Ditto.
682 * mn10300-tdep.h: Ditto.
685 * moxie-tdep.c: Ditto.
686 * moxie-tdep.h: Ditto.
689 2011-01-08 Mike Frysinger <vapier@gentoo.org>
691 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
693 2011-01-08 Robert Millan <rmh@gnu.org>
695 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
697 2011-01-07 Michael Snyder <msnyder@vmware.com>
699 * charset.c (_initialize_charset): Fix typo in string.
701 2011-01-07 Michael Snyder <msnyder@vmware.com>
703 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
705 * tui/tui-layout.c (tui_set_layout_for_display_command):
706 Split line so that operator goes to beginning of line.
707 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
708 assignment out of if statement.
710 2011-01-07 Michael Snyder <msnyder@vmware.com>
712 * ada-lang.c: Comment cleanup, mostly periods and spaces.
714 * ada-tasks.c: Ditto.
715 * ada-valprint.c: Ditto.
716 * aix-threads.c: Ditto.
717 * alpha-linux-nat.c: Ditto.
718 * alpha-linux-tdep.c: Ditto.
719 * alpha-mdebug-tdep.c: Ditto.
720 * alpha-nat.c: Ditto.
721 * alpha-osf1-tdep.c: Ditto.
722 * alpha-tdep.c: Ditto.
723 * alphabsd-nat.c: Ditto.
724 * alphabsd-tdep.c: Ditto.
725 * amd64-darwin-tdep.c: Ditto.
726 * amd64-linux-nat.c: Ditto.
727 * amd64-linux-tdep.c: Ditto.
728 * amd64-sol2-tdep.c: Ditto.
729 * amd64-tdep.c: Ditto.
730 * amd64-fbsd-tdep.c: Ditto.
731 * amd64-nbsd-tdep.c: Ditto.
732 * amd64-obsd-tdep.c: Ditto.
733 * amd64-linux-nat.c: Ditto.
734 * amd64-linux-tdep.c: Ditto.
737 * armnbsd-nat.c: Ditto.
739 * bfin-tdep.c: Ditto.
741 * c-typeprintc: Ditto.
742 * c-valprint.c: Ditto.
743 * coff-pe-read.h: Ditto.
744 * coffreead.c: Ditto.
745 * cris-tdep.c: Ditto.
747 * darwin-nat-info.c: Ditto.
748 * darwin-nat.c: Ditto.
753 * dec-thread.c: Ditto.
756 * dicos-tdep.c: Ditto.
757 * dictionary.c: Ditto.
758 * dictionary.h: Ditto.
759 * dink32-rom.c: Ditto.
763 * dummy-frame.c: Ditto.
764 * dwarf2-frame.c: Ditto.
765 * dwarf2expr.c: Ditto.
766 * dwarf2loc.c: Ditto.
767 * dwarf2read.c: Ditto.
771 * event-top.h: Ditto.
772 * exceptions.c: Ditto.
773 * exceptions.h: Ditto.
776 * expression.h: Ditto.
780 * f-typeprint.c: Ditto.
781 * f-valprint.c: Ditto.
784 * fork-child.c: Ditto.
787 * frv-linux-tdep.c: Ditto.
790 * gdb-stabs.h: Ditto.
791 * gdb_assert.h: Ditto.
792 * gdb_string.h: Ditto.
793 * gdb_thread_db.h: Ditto.
797 * gdbthread.h: Ditto.
802 * gnu-v2-abi.c: Ditto.
803 * gnu-v3-abi.c: Ditto.
805 * gdbarch.c: Regenerate.
806 * gdbarch.h: Regenerate.
808 2011-01-07 Michael Snyder <msnyder@vmware.com>
810 * ax-gdb.c: Adjust some long output strings.
811 * breakpoint.c: Ditto.
816 * linux-nat.c: Ditto.
817 * solib-pa64.c: Ditto.
818 * solib-som.c: Ditto.
820 2011-01-06 Tom Tromey <tromey@redhat.com>
824 * python/python.c (GdbMethods): Add "newest_frame" method.
825 * python/python-internal.h (gdbpy_newest_frame): Declare.
826 * python/py-frame.c (gdbpy_newest_frame): New function.
828 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
830 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
831 * jit.c (jit_debug): New variable.
832 (show_jit_debug): New function.
833 (struct target_buffer): Use ULONGEST.
834 (bfd_open_from_target_memory): Likewise.
835 (jit_register_code, jit_inferior_init): Add debug output.
836 (_initialize_jit): Register "debug jit" command.
838 2011-01-06 Tom Tromey <tromey@redhat.com>
840 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
841 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
844 2011-01-06 Tom Tromey <tromey@redhat.com>
846 * python/py-frame.c (frapy_block): Use get_frame_block.
848 2011-01-06 Joel Brobecker <brobecker@adacore.com>
850 Do not stop on SIGPRIO signals by default
851 * infrun.c (_initialize_infrun): Unset signal_stop and
852 signal_print for TARGET_SIGNAL_PRIO.
854 2011-01-06 Joel Brobecker <brobecker@adacore.com>
856 * ada-tasks.c: Fix style violation in comment.
858 2011-01-06 Joel Brobecker <brobecker@adacore.com>
860 * linespec.c (decode_compound, find_method): Remove trailing \n
861 at end of error string.
862 * solib-irix.c (irix_current_sos): Likewise.
863 * varobj.c (uninstall_variable): Likewise.
865 2011-01-06 Joel Brobecker <brobecker@adacore.com>
867 * copyright.py: New script.
868 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
869 Launch emacs without exec'ing. Call copyright.py afterwards.
871 2011-01-05 Michael Snyder <msnyder@vmware.com>
873 * addrmap.c: Shorten lines of >= 80 columns.
874 * arch-utils.c: Ditto.
875 * arch-utils.h: Ditto.
877 * ax-general.c: Ditto.
879 * blockframe.c: Ditto.
880 * breakpoint.c: Ditto.
883 * c-typeprint.c: Ditto.
889 * cp-namespace.c: Ditto.
890 * cp-support.c: Ditto.
896 * dictionary.c: Ditto.
899 * dwarf2-frame.c: Ditto.
900 * dwarf2expr.c: Ditto.
901 * dwarf2loc.c: Ditto.
902 * dwarf2read.c: Ditto.
905 * event-loop.c: Ditto.
906 * event-loop.h: Ditto.
907 * exceptions.h: Ditto.
910 * expression.h: Ditto.
912 * f-valprint.c: Ditto.
914 * frame-base.c: Ditto.
915 * frame-unwind.c: Ditto.
916 * frame-unwind.h: Ditto.
920 * gdb-stabs.h: Ditto.
921 * gdb_assert.h: Ditto.
922 * gdb_dirent.h: Ditto.
923 * gdb_obstack.h: Ditto.
927 * inf-ttrace.c: Ditto.
932 * inline-frame.h: Ditto.
935 * libunwind-frame.c: Ditto.
936 * libunwind-frame.h: Ditto.
938 * linux-nat.c: Ditto.
939 * linux-nat.h: Ditto.
940 * linux-thread-db.c: Ditto.
941 * machoread.c: Ditto.
946 * mdebugread.c: Ditto.
954 * p-typeprint.c: Ditto.
955 * p-valprint.c: Ditto.
958 * proc-events.c: Ditto.
960 * progspace.c: Ditto.
961 * progspace.h: Ditto.
967 * remote-fileio.c: Ditto.
969 * ser-mingw.c: Ditto.
974 * solib-frv.c: Ditto.
975 * solib-irix.c: Ditto.
976 * solib-osf.c: Ditto.
977 * solib-pa64.c: Ditto.
978 * solib-som.c: Ditto.
979 * solib-sunos.c: Ditto.
980 * solib-svr4.c: Ditto.
981 * solib-target.c: Ditto.
985 * stabsread.c: Ditto.
986 * stabsread.c: Ditto.
989 * symfile-mem.c: Ditto.
995 * target-descriptions.c: Ditto.
996 * target-memory.c: Ditto.
1002 * tracepoint.c: Ditto.
1003 * tracepoint.h: Ditto.
1007 * user-regs.c: Ditto.
1008 * user-regs.h: Ditto.
1010 * valarith.c: Ditto.
1012 * valprint.c: Ditto.
1013 * valprint.h: Ditto.
1018 * xcoffread.c: Ditto.
1019 * xcoffsolib.c: Ditto.
1020 * xcoffsolib.h: Ditto.
1021 * xml-syscall.c: Ditto.
1022 * xml-tdesc.c: Ditto.
1024 2011-01-05 Michael Snyder <msnyder@vmware.com>
1026 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1027 * cli/cli-decode.c: Ditto.
1028 * cli/cli-dump.c: Ditto.
1029 * cli/cli-logging.c: Ditto.
1030 * cli/cli-script.c: Ditto.
1031 * cli/cli-setshow.c: Ditto.
1032 * common/signals.c: Ditto.
1033 * mi/mi-cmd-break.c: Ditto.
1034 * mi/mi-cmd-disas.c: Ditto.
1035 * mi/mi-cmd-stack.c: Ditto.
1036 * mi/mi-cmd-var.c: Ditto.
1037 * mi/mi-cmds.c: Ditto.
1038 * mi/mi-common.h: Ditto.
1039 * mi/mi-console.c: Ditto.
1040 * mi/mi-interp.c: Ditto.
1041 * mi/mi-main.c: Ditto.
1042 * osf-share/cma_attr.c: Ditto.
1043 * osf-share/cma_deb_core.h: Ditto.
1044 * osf-share/cma_debug_client.h: Ditto.
1045 * osf-share/cma_handle.h: Ditto.
1046 * osf-share/cma_mutex.h: Ditto.
1047 * osf-share/cma_stack_int.h: Ditto.
1048 * osf-share/cma_tcb_defs.h: Ditto.
1049 * python/py-auto-load.c: Ditto.
1050 * python/py-breakpoint.c: Ditto.
1051 * python/py-cmd.c: Ditto.
1052 * python/py-frame.c: Ditto.
1053 * python/py-objfile.c: Ditto.
1054 * python/py-param.c: Ditto.
1055 * python/py-progspace.c: Ditto.
1056 * python/py-symbol.c: Ditto.
1057 * python/py-value.c: Ditto.
1058 * python/python-internal.h: Ditto.
1059 * python/python.c: Ditto.
1060 * tui/tui-data.c: Ditto.
1061 * tui/tui-disasm.c: Ditto.
1062 * tui/tui-hooks.c: Ditto.
1063 * tui/tui-io.c: Ditto.
1064 * tui/tui-layout.c: Ditto.
1065 * tui/tui-regs.c: Ditto.
1066 * tui/tui-source.c: Ditto.
1067 * tui/tui-stack.c: Ditto.
1068 * tui/tui-win.c: Ditto.
1069 * tui/tui-windata.c: Ditto.
1070 * tui/tui-winsource.c: Ditto.
1072 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1074 * configure.ac, gdb.1: Copyright year update.
1076 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1078 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1079 this_pc_in_block, morestack_msym and morestack_name. Check for
1080 "__morestack" minimal symbol there.
1082 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1084 * symfile.c (find_sym_fns): Add call to dont_repeat.
1086 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1088 Copyright year update in most files (performed by copyright.sh).
1090 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1092 * top.c (print_gdb_version): Update copyright year in version output.
1094 For older changes see ChangeLog-2010.
1100 version-control: never