1 2011-01-21 Joel Brobecker <brobecker@adacore.com>
3 * inflow.c: Include "gdbcmd.h".
4 (interactive_mode): New static global, moved here from top.c.
5 (show_interactive_mode): New function, moved here from top.c.
6 use gdb_has_a_terminal instead of input_from_terminal_p to
7 determine the current mode.
8 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
10 (_initialize_inflow): Add the "set/show interactive-mode"
11 commands. Moved here from top.c, after having adjusted slightly
13 * top.c (interactive_mode, show_interactive_mode): Delete, moved
15 (input_from_terminal_p): Remove handling of "interactive-mode"
16 setting, moved to infow.c.
17 (init_main): Remove creation of the "set/show interactive-mode"
18 commands, moved to inflow.c.
20 2011-01-19 Joel Brobecker <brobecker@adacore.com>
22 * NEWS: Add entry for native ia64-hpux support.
24 2011-01-19 Tom Tromey <tromey@redhat.com>
27 * thread.c (free_thread): Free 'name'.
28 (print_thread_info): Emit thread name. Change CLI output.
29 (thread_name_command): New function.
30 (do_captured_thread_select): Emit newline.
31 (_initialize_thread): Register 'thread name' command.
32 * target.h (struct target_ops) <to_thread_name>: New field.
33 (target_thread_name): New macro.
34 * target.c (update_current_target): Handle to_thread_name.
35 * python/py-infthread.c (thpy_get_name): New function.
36 (thpy_set_name): Likewise.
37 (thread_object_getset): Add "name".
38 * linux-nat.c (linux_nat_thread_name): New function.
39 (linux_nat_add_target): Set to_thread_name.
40 * gdbthread.h (struct thread_info) <name>: New field.
42 2011-01-18 Joel Brobecker <brobecker@adacore.com>
44 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
45 (ada_val_print_1): Likewise.
47 2011-01-18 Joel Brobecker <brobecker@adacore.com>
49 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
50 upper limit address is not greater than the function end address
51 when the upper limit could not be computed using the debugging
54 2011-01-17 Tom Tromey <tromey@redhat.com>
56 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
58 * utils.c: Include gdb_regex.h.
59 (do_regfree_cleanup): New function.
60 (make_regfree_cleanup): Likewise.
61 (get_regcomp_error): Likewise.
62 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
64 2011-01-17 Tom Tromey <tromey@redhat.com>
66 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
69 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
71 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
72 for internal variables.
73 (last_was_structop): New static variable.
74 (COMPLETE): New token.
75 (field_exp): New rule to group all '.' suffix handling.
76 Add mark_struct_expression calls when approriate to be able
77 to correctly find fields for completion.
78 (yylex): Adapt to handle field completion and set INTVAR when
81 2011-01-14 Yao Qi <yao@codesourcery.com>
83 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
84 save_reggroup, restore_reggroup and all_reggroup.
86 2011-01-14 Joel Brobecker <brobecker@adacore.com>
88 * ada-valprint. (ada_printchar): Use the correct type length
89 in call to ada_emit_char.
90 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
92 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
94 * solib-som.h (hpux_major_release): Declare variable here.
95 * solib-som.c: Remove <sys/utsname.h> header.
96 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
97 (hpux_major_release): Make global, change default value to
98 DEFAULT_HPUX_MAJOR_RELEASE.
99 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
100 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
101 Add "solib-som.h" header.
102 (set_hpux_major_release): New function.
103 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
105 2011-01-14 Mike Frysinger <vapier@gentoo.org>
107 * configure.tgt (*-*-uclinux*): Match more Linux os targets
109 2011-01-14 Joel Brobecker <brobecker@adacore.com>
111 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
112 new-line at end of warning message.
113 (ia64_hpux_store_register): Remove trailing new-line at end of
115 * ia64-hpux-tdep.c: Rephrase comment.
116 * solib-ia64-hpux.c (struct dld_info): Change type of field
117 dld_flags from "long long" to ULONGEST.
119 2011-01-14 Pedro Alves <pedro@codesourcery.com>
121 * target.h (deprecated_child_ops): Delete declaration.
122 * target.c (deprecated_child_ops): Delete definition.
124 2011-01-14 Pedro Alves <pedro@codesourcery.com>
126 * Makefile.in (hpux-thread.o): Delete rule.
127 * configure.ac: Don't check for HPUX DCE threads support.
128 * configure, config.in: Regenerate.
129 * hppa-hpux-nat.c (child_suppress_run): Delete.
130 (hppa_hpux_child_can_run): Delete.
131 (_initialize_hppa_hpux_nat): Don't override to_can_run.
132 * hpux-thread.c: Delete.
134 2011-01-13 Joel Brobecker <brobecker@adacore.com>
136 * hpux-thread.c (hpux_pid_to_str): Delete.
138 2011-01-13 Joel Brobecker <brobecker@adacore.com>
140 * ada-valprint.c (ada_emit_char): Remove strange code.
141 Check that c is <= UCHAR_MAX before passing it to isascii.
142 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
144 2011-01-13 Joel Brobecker <brobecker@adacore.com>
146 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
147 to the case where instream is stdin.
149 2011-01-13 Joel Brobecker <brobecker@adacore.com>
151 * ia64-tdep.h (struct regcache): Forward declare.
152 (struct ia64_infcall_ops): New struct type.
153 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
155 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
156 Renames ia64_find_global_pointer.
157 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
158 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
159 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
161 (ia64_infcall_ops): New static global constant.
162 (ia64_gdbarch_init): Set tdep->infcall_ops.
163 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
164 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
165 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
166 (ia64_hpux_dummy_code): New static global constant.
167 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
168 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
169 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
171 (ia64_hpux_infcall_ops): New static global constant.
172 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
173 for inferior function calls to work properly on ia64-hpux.
175 2011-01-13 Joel Brobecker <brobecker@adacore.com>
177 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
178 * ia64-tdep.h (struct frame_info): forward declaration.
179 (struct gdbarch_tdep): Add field size_of_register_frame.
180 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
181 to determine the size of the register frame.
182 (ia64_size_of_register_frame): New function.
183 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
184 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
185 (IA64_HPUX_UREG_REASON): New macro.
186 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
188 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
189 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
190 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
193 2011-01-13 Joel Brobecker <brobecker@adacore.com>
195 Add support for ia64-hpux.
196 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
197 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
199 * configure.host: Add handling for ia64-hpux hosts. Add associated
201 * configure.tgt: Add handling for ia64-hpux targets.
202 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
203 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
204 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
206 2011-01-13 Joel Brobecker <brobecker@adacore.com>
208 [ttrace] Compute thread list immediately after attach.
209 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
211 (inf_ttrace_attach): Use it.
213 2011-01-13 Joel Brobecker <brobecker@adacore.com>
215 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
216 if we could not determine the frame's function address. Instead,
217 use the frame's PC, and then continue.
219 2011-01-13 Joel Brobecker <brobecker@adacore.com>
221 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
224 2011-01-13 Joel Brobecker <brobecker@adacore.com>
226 * ia64-tdep.c (ia64_struct_type_p): New function.
227 (ia64_extract_return_value): Handle integral values that are
228 less than 8 bytes long.
229 (ia64_push_dummy_call): Likewise.
231 2011-01-13 Joel Brobecker <brobecker@adacore.com>
233 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
234 floatformat_ia64_ext.
235 (floatformat_ia64_ext_big): New static const.
236 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
238 2011-01-12 Tom Tromey <tromey@redhat.com>
240 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
242 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
243 (mi_cmd_thread_list_ids): Likewise.
244 (mi_cmd_data_list_changed_registers): Likewise.
245 (mi_cmd_data_list_register_values): Likewise.
246 (mi_cmd_data_write_register_values): Likewise.
247 (mi_cmd_data_evaluate_expression): Likewise.
248 (mi_cmd_data_read_memory): Likewise.
249 (mi_cmd_data_read_memory_bytes): Likewise.
250 (mi_cmd_data_write_memory): Likewise.
251 (mi_cmd_enable_timings): Likewise.
252 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
253 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
254 (mi_cmd_var_delete): Likewise.
255 (mi_cmd_var_set_format): Likewise.
256 (mi_cmd_var_show_format): Likewise.
257 (mi_cmd_var_info_num_children): Likewise.
258 (mi_cmd_var_list_children): Likewise.
259 (mi_cmd_var_info_type): Likewise.
260 (mi_cmd_var_info_expression): Likewise.
261 (mi_cmd_var_show_attributes): Likewise.
262 (mi_cmd_var_assign): Likewise.
263 (mi_cmd_var_update): Likewise.
264 (mi_cmd_enable_pretty_printing): Likewise.
265 (mi_cmd_var_set_update_range): Likewise.
266 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
268 (mi_cmd_target_file_put): Likewise.
269 (mi_cmd_target_file_delete): Likewise.
270 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
272 (mi_cmd_stack_info_depth): Likewise.
273 (mi_cmd_stack_list_locals): Likewise.
274 (mi_cmd_stack_list_args): Likewise.
275 (mi_cmd_stack_select_frame): Likewise.
276 (mi_cmd_stack_select_frame): Likewise.
277 (mi_cmd_stack_info_frame): Likewise.
278 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
280 (mi_cmd_file_list_exec_source_files): Likewise.
281 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
282 (mi_cmd_env_cd): Likewise.
283 (mi_cmd_env_path): Likewise.
284 (mi_cmd_env_dir): Likewise.
285 (mi_cmd_inferior_tty_show): Likewise.
286 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
287 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
288 (mi_cmd_break_watch): Likewise.
290 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
292 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
293 (ppc_linux_insert_hw_breakpoint): Likewise.
294 (ppc_linux_remove_hw_breakpoint): Likewise.
295 (ppc_linux_insert_watchpoint): Likewise.
297 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
298 Jan Kratochvil <jan.kratochvil@redhat.com>
300 PR fortran/11104 and DWARF unbound arrays detection.
301 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
302 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
303 unspecified upper bound.
304 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
305 variables array_size_array, tmp_type and offset_item. New variable
306 array. Remove call to f77_get_upperbound. New variables array_type
307 and index. Call value_subscripted_rvalue for each dimenasion. Remove
308 the final call to deprecated_set_value_type.
310 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
312 Make value allocations more lazy.
313 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
314 instead of allocate_value and set_value_lazy when possible.
315 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
316 instead of allocate_value and set_value_lazy.
317 * findvar.c (value_of_register_lazy): Likewise.
318 (read_var_value): Remove V preallocation, call just check_typedef in
319 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
320 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
321 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
322 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
323 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
324 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
325 the end, remove set_value_lazy there.
326 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
327 instead of allocate_value and set_value_lazy when possible.
328 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
329 * value.c (allocate_computed_value): Use allocate_value_lazy instead
330 of allocate_value and set_value_lazy.
331 (value_from_contents_and_address): Use allocate_value_lazy instead of
332 allocate_value and set_value_lazy when possible.
334 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
336 * disasm.c (dump_insns): Support dumping opcodes for MI.
337 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
338 dumping of instruction opcodes.
340 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
342 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
345 2011-01-11 Tom Tromey <tromey@redhat.com>
347 * thread.c (do_captured_thread_select): Emit newline before
350 2011-01-11 Michael Snyder <msnyder@vmware.com>
352 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
353 * score-tdep.c: Ditto.
354 * score-tdep.h: Ditto.
359 * ser-mingw.c: Ditto.
363 * sh64-tdep.c: Ditto.
364 * shnbsd-nat.c: Ditto.
368 * solib-darwin.c: Ditto.
369 * solib-frv.c: Ditto.
371 * solib-irix.c: Ditto.
372 * solib-osf.c: Ditto.
373 * solib-pa64.c: Ditto.
374 * solib-som.c: Ditto.
375 * solib-spu.c: Ditto.
376 * solib-sunos.c: Ditto.
377 * solib-svr4.c: Ditto.
379 * sol-thread.c: Ditto.
383 * sparc64-linux-tdep.c: Ditto.
384 * sparc64-tdep.c: Ditto.
385 * sparc-linux-nat.c: Ditto.
386 * sparc-linux-tdep.c: Ditto.
387 * sparc-sol2-nat.c: Ditto.
388 * sparc-sol2-tdep.c: Ditto.
389 * sparc-tdep.c: Ditto.
390 * sparc-tdep.h: Ditto.
392 * stabsread.c: Ditto.
393 * stabsread.h: Ditto.
401 * target-descriptions.c: Ditto.
402 * target-descriptions.h: Ditto.
404 * target-memory.c: Ditto.
408 * tracepoint.c: Ditto.
409 * tracepoint.h: Ditto.
410 * trad-frame.h: Ditto.
411 * typeprint.c: Ditto.
413 2011-01-11 Michael Snyder <msnyder@vmware.com>
415 * ui-file.c: Comment cleanup, mostly periods and spaces.
420 * v850-tdep.c: Ditto.
433 * windows-nat.c: Ditto.
434 * windows-tdep.c: Ditto.
435 * xcoffread.c: Ditto.
436 * xcoffsolib.c: Ditto.
437 * xml-support.c: Ditto.
438 * xstormy16-tdep.c: Ditto.
439 * xtensa-tdep.c: Ditto.
440 * xtensa-tdep.h: Ditto.
442 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
444 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
445 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
447 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
448 Thiago Jung Bauermann <bauerman@br.ibm.com>
450 Implement support for PowerPC BookE ranged watchpoints.
452 (struct breakpoint_ops) <resources_needed>: New method.
453 Initialize to NULL in all existing breakpoint_ops instances.
454 (struct breakpoint) <exact>: New field.
455 (target_exact_watchpoints): Declare external global.
456 * breakpoint.c (target_exact_watchpoints): New global flag.
457 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
458 b->enable_state to bp_enabled before calling
459 hw_watchpoint_used_count.
460 (hw_watchpoint_used_count): Iterate over all bp_locations in a
461 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
463 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
464 if the watchpoint is exact.
465 (resources_needed_watchpoint): New function.
466 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
467 (watch_command_1): Set b->exact if the user asked for an exact
468 watchpoint and one can be set.
469 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
470 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
471 the user asks for an exact watchpoint and one can be set. Return
472 number of needed debug registers to watch the expression.
473 * gdbtypes.c (is_scalar_type): New function, based on
474 valprint.c:scalar_type_p.
475 (is_scalar_type_recursive): New function.
476 * gdbtypes.h (is_scalar_type_recursive): Declare.
477 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
478 handle regions when ranged watchpoints are available.
479 (create_watchpoint_request): New function.
480 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
481 create_watchpoint_request.
482 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
483 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
484 `set powerpc' and `show powerpc' commands.
485 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
486 Mention documentation comment in the target macro.
487 (target_region_ok_for_hw_watchpoint): Document return value.
489 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
491 * breakpoint.c (update_watchpoint): Decide on using a software or
492 hardware watchpoint after the bp_locations are created.
494 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
496 Convert hardware watchpoints to use breakpoint_ops.
497 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
498 <insert_location>: ... this. Return int instead of void.
499 Accept pointer to struct bp_location instead of pointer to
500 struct breakpoint. Adapt all implementations.
501 (breakpoint_ops) <remove>: Rename to...
502 <remove_location>: ... this. Accept pointer to struct bp_location
503 instead of pointer to struct breakpoint. Adapt all implementations.
504 * breakpoint.c (insert_catchpoint): Delete function.
505 (insert_bp_location): Call the watchpoint or catchpoint's
506 breakpoint_ops.insert method.
507 (remove_breakpoint_1): Call the watchpoint or catchpoint's
508 breakpoint_ops.remove method.
509 (insert_watchpoint, remove_watchpoint): New functions.
510 (watchpoint_breakpoint_ops): New structure.
511 (watch_command_1): Initialize the OPS field.
512 * inf-child.c (inf_child_insert_fork_catchpoint)
513 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
514 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
515 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
517 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
518 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
519 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
520 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
521 * target.c (update_current_target): Change default implementation of
522 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
523 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
524 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
525 to_set_syscall_catchpoint to return_one.
526 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
527 (debug_to_insert_exec_catchpoint): Report return value.
528 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
529 (to_insert_exec_catchpoint): Change declaration to return int instead
532 2011-01-11 Michael Snyder <msnyder@vmware.com>
534 * arm-tdep.c: Internationalization.
537 * fork-child.c: Ditto.
538 * nto-procfs.c: Ditto.
539 * ppc-sysv-tdep.c: Ditto.
541 * remote-mips.c: Ditto.
543 * rs6000-nat.c: Ditto.
544 * rs6000-tdep.c: Ditto.
548 * xml-support.c: Ditto.
549 * mi/mi-cmd-break.c: Ditto.
550 * mi/mi-cmd-var.c: Ditto.
551 * mi/mi-interp.c: Ditto.
552 * mi/mi-main.c: Ditto.
554 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
556 * remote-sim.c (gdbsim_store_register): Update API to
557 sim_store_register to check more error conditions.
559 2011-01-10 Michael Snyder <msnyder@vmware.com>
561 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
565 * objc-lang.c: Ditto.
569 * opencl-lang.c: Ditto.
572 * parser-defs.h: Ditto.
575 * posix-hdep.c: Ditto.
576 * ppcbug-rom.c: Ditto.
577 * ppc-linux-nat.c: Ditto.
578 * ppc-linux-tdep.c: Ditto.
579 * ppc-linux-tdep.h: Ditto.
580 * ppcnbsd-tdep.c: Ditto.
581 * ppcobsd-tdep.c: Ditto.
582 * ppcobsd-tdep.h: Ditto.
583 * ppc-sysv-tdep.c: Ditto.
587 * proc-flags.c: Ditto.
589 * proc-utils.h: Ditto.
590 * progspace.h: Ditto.
591 * prologue-value.c: Ditto.
592 * prologue-value.h: Ditto.
595 * p-typeprint.c: Ditto.
596 * p-valprint.c: Ditto.
597 * ravenscar-sparc-thread.c: Ditto.
598 * ravenscar-thread.c: Ditto.
599 * ravenscar-thread.h: Ditto.
604 * remote-fileio.c: Ditto.
605 * remote-fileio.h: Ditto.
607 * remote-m32r-sdi.c: Ditto.
608 * remote-mips.c: Ditto.
609 * remote-sim.c: Ditto.
610 * rs6000-aix-tdep.c: Ditto.
611 * rs6000-nat.c: Ditto.
612 * rs6000-tdep.c: Ditto.
614 2011-01-10 Michael Snyder <msnyder@vmware.com>
616 * charset.c (validate): Internationalization.
617 * coffread.c (read_one_sym): Ditto.
618 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
619 * h8300-tdep.c (H8300_extract_return_value): Ditto.
620 * inflow.c (new_tty): Ditto.
621 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
622 * m32c-tdep.c (m32c_return_value): Ditto.
623 * mep-tdep.c (mep_store_return_value): Ditto.
624 * score-tdep.c (score7_fetch_insn): Ditto.
625 * ser-mingw.c (pipe_windows_open): Ditto.
626 * sh64-tdep.c (sh64_extract_return_value): Ditto.
627 * spu-tdep.c (spu_register_type): Ditto.
628 * tracepoint.c (trace_find_command): Ditto.
629 * valarith.c (value_pos): Ditto.
631 2011-01-10 Joel Brobecker <brobecker@adacore.com>
633 * ada-valprint.c (printstr): Minor comment reformatting.
635 2011-01-08 Michael Snyder <msnyder@vmware.com>
637 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
640 2011-01-08 Michael Snyder <msnyder@vmware.com>
642 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
643 * hppa-hpux-tdep.c: Ditto.
644 * hppa-linux-nat.c: Ditto.
645 * hppa-linux-tdep.c: Ditto.
646 * hppanbsd-tdep.c: Ditto.
647 * hppa-tdep.c: Ditto.
648 * hppa-tdep.h: Ditto.
649 * hpux-thread.c: Ditto.
650 * i386-cygwin-tdep.c: Ditto.
651 * i386-darwin-nat.c: Ditto.
652 * i386gnu-nat.c: Ditto.
653 * i386-linux-nat.c: Ditto.
654 * i386-linux-tdep.c: Ditto.
657 * i386nbsd-tdep.c: Ditto.
658 * i386-sol2-nat.c: Ditto.
659 * i386-stub.c: Ditto.
660 * i386-tdep.c: Ditto.
661 * i386-tdep.h: Ditto.
662 * i387-tdep.c: Ditto.
663 * ia64-linux-nat.c: Ditto.
664 * ia64-linux-tdep.c: Ditto.
665 * ia64-tdep.c: Ditto.
676 * iq2000-tdep.c: Ditto.
677 * irix5-nat.c: Ditto.
683 * jv-typeprint.c: Ditto.
684 * jv-valprint.c: Ditto.
688 * linux-fork.c: Ditto.
689 * linux-nat.c: Ditto.
690 * linux-thread-db.c: Ditto.
691 * lm32-tdep.c: Ditto.
693 2011-01-08 Michael Snyder <msnyder@vmware.com>
695 * m2-exp.y: Comment cleanup, mostly periods and spaces.
697 * m2-typeprint.c: Ditto.
698 * m2-valprint.c: Ditto.
699 * m32c-tdep.c: Ditto.
700 * m32r-linux-nat.c: Ditto.
702 * m32r-tdep.c: Ditto.
703 * m32r-tdep.h: Ditto.
704 * m68hc11-tdep.c: Ditto.
705 * m58klinux-nat.c: Ditto.
706 * m68k-tdep.c: Ditto.
707 * m88k-tdep.c: Ditto.
708 * m88k-tdep.h: Ditto.
709 * machoread.c: Ditto.
715 * mdebugread.c: Ditto.
716 * mdebugread.h: Ditto.
719 * memory-map.h: Ditto.
721 * microblaze-rom.c: Ditto.
722 * microblaze-tdep.c: Ditto.
724 * mips-irix-tdep.c: Ditto.
725 * mips-linux-nat.c: Ditto.
726 * mips-linux-tdep.c: Ditto.
727 * mips-linux-tdep.h: Ditto.
728 * mipsnbsd-nat.c: Ditto.
729 * mipsnbsd-tdep.c: Ditto.
731 * mips-tdep.c: Ditto.
732 * mips-tdep.h: Ditto.
733 * mn10300-linux-tdep.c: Ditto.
734 * mn10300-tdep.c: Ditto.
735 * mn10300-tdep.h: Ditto.
738 * moxie-tdep.c: Ditto.
739 * moxie-tdep.h: Ditto.
742 2011-01-08 Mike Frysinger <vapier@gentoo.org>
744 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
746 2011-01-08 Robert Millan <rmh@gnu.org>
748 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
750 2011-01-07 Michael Snyder <msnyder@vmware.com>
752 * charset.c (_initialize_charset): Fix typo in string.
754 2011-01-07 Michael Snyder <msnyder@vmware.com>
756 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
758 * tui/tui-layout.c (tui_set_layout_for_display_command):
759 Split line so that operator goes to beginning of line.
760 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
761 assignment out of if statement.
763 2011-01-07 Michael Snyder <msnyder@vmware.com>
765 * ada-lang.c: Comment cleanup, mostly periods and spaces.
767 * ada-tasks.c: Ditto.
768 * ada-valprint.c: Ditto.
769 * aix-threads.c: Ditto.
770 * alpha-linux-nat.c: Ditto.
771 * alpha-linux-tdep.c: Ditto.
772 * alpha-mdebug-tdep.c: Ditto.
773 * alpha-nat.c: Ditto.
774 * alpha-osf1-tdep.c: Ditto.
775 * alpha-tdep.c: Ditto.
776 * alphabsd-nat.c: Ditto.
777 * alphabsd-tdep.c: Ditto.
778 * amd64-darwin-tdep.c: Ditto.
779 * amd64-linux-nat.c: Ditto.
780 * amd64-linux-tdep.c: Ditto.
781 * amd64-sol2-tdep.c: Ditto.
782 * amd64-tdep.c: Ditto.
783 * amd64-fbsd-tdep.c: Ditto.
784 * amd64-nbsd-tdep.c: Ditto.
785 * amd64-obsd-tdep.c: Ditto.
786 * amd64-linux-nat.c: Ditto.
787 * amd64-linux-tdep.c: Ditto.
790 * armnbsd-nat.c: Ditto.
792 * bfin-tdep.c: Ditto.
794 * c-typeprintc: Ditto.
795 * c-valprint.c: Ditto.
796 * coff-pe-read.h: Ditto.
797 * coffreead.c: Ditto.
798 * cris-tdep.c: Ditto.
800 * darwin-nat-info.c: Ditto.
801 * darwin-nat.c: Ditto.
806 * dec-thread.c: Ditto.
809 * dicos-tdep.c: Ditto.
810 * dictionary.c: Ditto.
811 * dictionary.h: Ditto.
812 * dink32-rom.c: Ditto.
816 * dummy-frame.c: Ditto.
817 * dwarf2-frame.c: Ditto.
818 * dwarf2expr.c: Ditto.
819 * dwarf2loc.c: Ditto.
820 * dwarf2read.c: Ditto.
824 * event-top.h: Ditto.
825 * exceptions.c: Ditto.
826 * exceptions.h: Ditto.
829 * expression.h: Ditto.
833 * f-typeprint.c: Ditto.
834 * f-valprint.c: Ditto.
837 * fork-child.c: Ditto.
840 * frv-linux-tdep.c: Ditto.
843 * gdb-stabs.h: Ditto.
844 * gdb_assert.h: Ditto.
845 * gdb_string.h: Ditto.
846 * gdb_thread_db.h: Ditto.
850 * gdbthread.h: Ditto.
855 * gnu-v2-abi.c: Ditto.
856 * gnu-v3-abi.c: Ditto.
858 * gdbarch.c: Regenerate.
859 * gdbarch.h: Regenerate.
861 2011-01-07 Michael Snyder <msnyder@vmware.com>
863 * ax-gdb.c: Adjust some long output strings.
864 * breakpoint.c: Ditto.
869 * linux-nat.c: Ditto.
870 * solib-pa64.c: Ditto.
871 * solib-som.c: Ditto.
873 2011-01-06 Tom Tromey <tromey@redhat.com>
877 * python/python.c (GdbMethods): Add "newest_frame" method.
878 * python/python-internal.h (gdbpy_newest_frame): Declare.
879 * python/py-frame.c (gdbpy_newest_frame): New function.
881 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
883 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
884 * jit.c (jit_debug): New variable.
885 (show_jit_debug): New function.
886 (struct target_buffer): Use ULONGEST.
887 (bfd_open_from_target_memory): Likewise.
888 (jit_register_code, jit_inferior_init): Add debug output.
889 (_initialize_jit): Register "debug jit" command.
891 2011-01-06 Tom Tromey <tromey@redhat.com>
893 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
894 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
897 2011-01-06 Tom Tromey <tromey@redhat.com>
899 * python/py-frame.c (frapy_block): Use get_frame_block.
901 2011-01-06 Joel Brobecker <brobecker@adacore.com>
903 Do not stop on SIGPRIO signals by default
904 * infrun.c (_initialize_infrun): Unset signal_stop and
905 signal_print for TARGET_SIGNAL_PRIO.
907 2011-01-06 Joel Brobecker <brobecker@adacore.com>
909 * ada-tasks.c: Fix style violation in comment.
911 2011-01-06 Joel Brobecker <brobecker@adacore.com>
913 * linespec.c (decode_compound, find_method): Remove trailing \n
914 at end of error string.
915 * solib-irix.c (irix_current_sos): Likewise.
916 * varobj.c (uninstall_variable): Likewise.
918 2011-01-06 Joel Brobecker <brobecker@adacore.com>
920 * copyright.py: New script.
921 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
922 Launch emacs without exec'ing. Call copyright.py afterwards.
924 2011-01-05 Michael Snyder <msnyder@vmware.com>
926 * addrmap.c: Shorten lines of >= 80 columns.
927 * arch-utils.c: Ditto.
928 * arch-utils.h: Ditto.
930 * ax-general.c: Ditto.
932 * blockframe.c: Ditto.
933 * breakpoint.c: Ditto.
936 * c-typeprint.c: Ditto.
942 * cp-namespace.c: Ditto.
943 * cp-support.c: Ditto.
949 * dictionary.c: Ditto.
952 * dwarf2-frame.c: Ditto.
953 * dwarf2expr.c: Ditto.
954 * dwarf2loc.c: Ditto.
955 * dwarf2read.c: Ditto.
958 * event-loop.c: Ditto.
959 * event-loop.h: Ditto.
960 * exceptions.h: Ditto.
963 * expression.h: Ditto.
965 * f-valprint.c: Ditto.
967 * frame-base.c: Ditto.
968 * frame-unwind.c: Ditto.
969 * frame-unwind.h: Ditto.
973 * gdb-stabs.h: Ditto.
974 * gdb_assert.h: Ditto.
975 * gdb_dirent.h: Ditto.
976 * gdb_obstack.h: Ditto.
980 * inf-ttrace.c: Ditto.
985 * inline-frame.h: Ditto.
988 * libunwind-frame.c: Ditto.
989 * libunwind-frame.h: Ditto.
991 * linux-nat.c: Ditto.
992 * linux-nat.h: Ditto.
993 * linux-thread-db.c: Ditto.
994 * machoread.c: Ditto.
999 * mdebugread.c: Ditto.
1004 * objfiles.c: Ditto.
1005 * objfiles.h: Ditto.
1007 * p-typeprint.c: Ditto.
1008 * p-valprint.c: Ditto.
1010 * printcmd.c: Ditto.
1011 * proc-events.c: Ditto.
1013 * progspace.c: Ditto.
1014 * progspace.h: Ditto.
1015 * psympriv.h: Ditto.
1018 * regcache.c: Ditto.
1019 * regcache.h: Ditto.
1020 * remote-fileio.c: Ditto.
1022 * ser-mingw.c: Ditto.
1024 * ser-unix.c: Ditto.
1027 * solib-frv.c: Ditto.
1028 * solib-irix.c: Ditto.
1029 * solib-osf.c: Ditto.
1030 * solib-pa64.c: Ditto.
1031 * solib-som.c: Ditto.
1032 * solib-sunos.c: Ditto.
1033 * solib-svr4.c: Ditto.
1034 * solib-target.c: Ditto.
1038 * stabsread.c: Ditto.
1039 * stabsread.c: Ditto.
1042 * symfile-mem.c: Ditto.
1048 * target-descriptions.c: Ditto.
1049 * target-memory.c: Ditto.
1052 * terminal.h: Ditto.
1055 * tracepoint.c: Ditto.
1056 * tracepoint.h: Ditto.
1060 * user-regs.c: Ditto.
1061 * user-regs.h: Ditto.
1063 * valarith.c: Ditto.
1065 * valprint.c: Ditto.
1066 * valprint.h: Ditto.
1071 * xcoffread.c: Ditto.
1072 * xcoffsolib.c: Ditto.
1073 * xcoffsolib.h: Ditto.
1074 * xml-syscall.c: Ditto.
1075 * xml-tdesc.c: Ditto.
1077 2011-01-05 Michael Snyder <msnyder@vmware.com>
1079 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1080 * cli/cli-decode.c: Ditto.
1081 * cli/cli-dump.c: Ditto.
1082 * cli/cli-logging.c: Ditto.
1083 * cli/cli-script.c: Ditto.
1084 * cli/cli-setshow.c: Ditto.
1085 * common/signals.c: Ditto.
1086 * mi/mi-cmd-break.c: Ditto.
1087 * mi/mi-cmd-disas.c: Ditto.
1088 * mi/mi-cmd-stack.c: Ditto.
1089 * mi/mi-cmd-var.c: Ditto.
1090 * mi/mi-cmds.c: Ditto.
1091 * mi/mi-common.h: Ditto.
1092 * mi/mi-console.c: Ditto.
1093 * mi/mi-interp.c: Ditto.
1094 * mi/mi-main.c: Ditto.
1095 * osf-share/cma_attr.c: Ditto.
1096 * osf-share/cma_deb_core.h: Ditto.
1097 * osf-share/cma_debug_client.h: Ditto.
1098 * osf-share/cma_handle.h: Ditto.
1099 * osf-share/cma_mutex.h: Ditto.
1100 * osf-share/cma_stack_int.h: Ditto.
1101 * osf-share/cma_tcb_defs.h: Ditto.
1102 * python/py-auto-load.c: Ditto.
1103 * python/py-breakpoint.c: Ditto.
1104 * python/py-cmd.c: Ditto.
1105 * python/py-frame.c: Ditto.
1106 * python/py-objfile.c: Ditto.
1107 * python/py-param.c: Ditto.
1108 * python/py-progspace.c: Ditto.
1109 * python/py-symbol.c: Ditto.
1110 * python/py-value.c: Ditto.
1111 * python/python-internal.h: Ditto.
1112 * python/python.c: Ditto.
1113 * tui/tui-data.c: Ditto.
1114 * tui/tui-disasm.c: Ditto.
1115 * tui/tui-hooks.c: Ditto.
1116 * tui/tui-io.c: Ditto.
1117 * tui/tui-layout.c: Ditto.
1118 * tui/tui-regs.c: Ditto.
1119 * tui/tui-source.c: Ditto.
1120 * tui/tui-stack.c: Ditto.
1121 * tui/tui-win.c: Ditto.
1122 * tui/tui-windata.c: Ditto.
1123 * tui/tui-winsource.c: Ditto.
1125 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1127 * configure.ac, gdb.1: Copyright year update.
1129 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1131 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1132 this_pc_in_block, morestack_msym and morestack_name. Check for
1133 "__morestack" minimal symbol there.
1135 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1137 * symfile.c (find_sym_fns): Add call to dont_repeat.
1139 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1141 Copyright year update in most files (performed by copyright.sh).
1143 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1145 * top.c (print_gdb_version): Update copyright year in version output.
1147 For older changes see ChangeLog-2010.
1153 version-control: never