1 2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr>
3 * ser-mingw.c (ser_windows_close): Reformat comment to better conform
4 to GNU coding standards.
6 2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr>
8 Allow use of mingw native on Windows 95 OS.
9 * ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry.
10 (ser_windows_close): Only call CancelIo if function exists.
11 (_initialize_ser_windows): Use LoadLirary/GetProcAddress
12 to check for existence of CancelIo function in kernel32 DLL.
14 2011-02-21 Hui Zhu <teawater@gmail.com>
16 * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h.
17 * ax-gdb.c (gen_printf_expr_callback): New function.
18 * ax-gdb.h (gen_printf_expr_callback): Forward declare.
19 * ax-general.c (ax_memcpy): New function.
20 (ax_print): Handle "printf".
22 * ax.h (ax_memcpy): Forward declare.
23 * common/ax.def (invalid2): Removed.
25 * printcmd.c (printcmd.h): New include.
26 (string_printf): New function.
28 (printf_command): Remove static. Call string_printf.
29 (eval_command): Call string_printf.
30 * printcmd.h: New file.
31 * tracepoint.c (validate_actionline,
32 encode_actions_1): handle printf_command.
34 2011-02-19 Michael Snyder <msnyder@vmware.com>
36 * reverse.c (delete_one_bookmark): Argument is now bookmark
37 id rather than pointer to bookmark struct.
38 (delete_bookmark_command): Use get_number_or_range.
39 (goto_bookmark_command): Parse with get_number instead of strtoul.
40 (bookmark_1): New function. Print info for one bookmark.
41 (bookmarks_info): Use get_number_or_range and bookmark_1.
43 2011-02-18 Michael Snyder <msnyder@vmware.com>
45 * thread.c (info_threads_command): Re-implement using
47 (thread_apply_command): Ditto.
49 2011-02-18 Tom Tromey <tromey@redhat.com>
51 * common/ax.def: New file.
52 * ax.h (enum agent_op): Use ax.def.
53 * ax-general.c (aop_map): Use ax.def.
55 2011-02-18 Tom Tromey <tromey@redhat.com>
57 * ax-general.c (aop_map): Add pick and rot.
58 * dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement.
59 <DW_OP_rot>: Implement.
60 * ax.h (enum agent_op) <aop_pick, aop_rot>: New constants.
62 * ax-general.c (ax_pick): New function.
64 2011-02-18 Tom Tromey <tromey@redhat.com>
66 * Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc.
68 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
69 Tom Tromey <tromey@redhat.com>
71 * cp-support.c (make_symbol_overload_list_namespace): Do not call
72 make_symbol_overload_list_block with NULL BLOCK.
73 * valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF.
75 2011-02-18 Pedro Alves <pedro@codesourcery.com>
77 * breakpoint.c (get_number_trailer): No longer accept a NULL PP.
78 * breakpoint.h (get_number_or_range): Declare.
79 * printcmd.c (ALL_DISPLAYS): Declare.
80 (delete_display): Reimplement taking a display pointer.
81 (undisplay_command): Accept a range of displays to delete, using
84 2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
86 * c-valprint.c (c_val_print): Add embedded_offset to address
87 for arrays of unspecified length.
88 * p-valprint.c (pascal_val_print): Likewise.
90 2011-02-18 Yao Qi <yao@codesourcery.com>
92 * gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ...
93 (arm_process_displaced_insn): .. here. Remove parameter INSN.
94 (thumb_process_displaced_insn): New.
95 * gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update
96 call to arm_process_displaced_insn.
97 * gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn.
99 2011-02-17 Tom Tromey <tromey@redhat.com>
101 * dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare.
102 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from
103 compile_dwarf_to_ax. No longer static. Call
104 dwarf2_compile_cfa_to_ax.
105 (locexpr_tracepoint_var_ref): Update.
106 (loclist_tracepoint_var_ref): Update.
107 * dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare.
108 * dwarf2-frame.c (execute_cfa_program): Remove 'this_frame'
109 argument; add 'gdbarch' and 'pc'.
110 (dwarf2_compile_cfa_to_ax): New function.
111 (dwarf2_frame_cache): Update.
113 2011-02-17 Joel Brobecker <brobecker@adacore.com>
115 * ada-lang.c (ada_type_of_array): Fix the size of the array
116 in the case of an unconstrained packed array.
118 2011-02-17 Yao Qi <yao@codesourcery.com>
120 * common/Makefile.in: Add more targets for make.
122 2011-02-16 Tom Tromey <tromey@redhat.com>
124 * dwarf2loc.c (unimplemented): Fix typo.
126 2011-02-16 Tom Tromey <tromey@redhat.com>
128 * dwarf2loc.c (unimplemented): Handle unnamed opcodes.
129 (compile_dwarf_to_ax) <default>: Use unimplemented.
130 <DW_OP_deref>: Update.
131 (disassemble_dwarf_expression): Update.
132 * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument.
133 (decode_locdesc): Update.
134 * dwarf2expr.h (dwarf_stack_op_name): Update.
136 2011-02-16 Tom Tromey <tromey@redhat.com>
138 * ax.h (struct aop_map) <name>: Now const.
140 2011-02-16 Tom Tromey <tromey@redhat.com>
142 * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other
145 2011-02-16 Yao Qi <yao@codesourcery.com>
147 * infrun.c (get_displaced_step_closure_by_addr): New.
148 * inferior.h: Declare it.
149 * arm-tdep.c: (arm_pc_is_thumb): Call
150 get_displaced_step_closure_by_addr. Adjust MEMADDR if it
153 2011-02-16 Pedro Alves <pedro@codesourcery.com>
154 Jan Kratochvil <jan.kratochvil@redhat.com>
157 * tracepoint.c (memrange_sortmerge): Fix list A's end calculation.
159 2011-02-16 Pedro Alves <pedro@codesourcery.com>
160 Jan Kratochvil <jan.kratochvil@redhat.com>
162 * value.c (value_contents_copy_raw): Extend describing comment.
163 Assert that the destination contents we're overwriting are wholly
165 (value_contents_copy): Extend describing comment.
167 2011-02-16 Pedro Alves <pedro@codesourcery.com>
168 Jan Kratochvil <jan.kratochvil@redhat.com>
170 * value.c (value_available_contents_eq): Remove redundant local
171 variables. Fix available contents comparision.
172 * value.h (value_available_contents_eq): Extend describing
175 2011-02-16 Yao Qi <yao@codesourcery.com>
177 * thread.c (info_threads_command): Add missing i18n markup and remove
180 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com>
182 * breakpoint.c (longjmp_names): New variable.
183 (struct breakpoint_objfile_data): New type.
184 (breakpoint_objfile_key): New variable.
185 (msym_not_found): New variable.
186 (msym_not_found_p): New predicate.
187 (get_breakpoint_objfile_data): New function.
188 (create_overlay_event_breakpoint): Check per-objfile cache for
190 (create_longjmp_master_breakpoint): Likewise.
191 (create_std_terminate_master_breakpoint): Likewise.
192 (create_exception_master_breakpoint): Likewise.
193 (_initialize_breakpoint): Register per-objfile data key.
195 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com>
197 * breakpoint.c ((create_overlay_event_breakpoint): Const-propagate
199 (create_longjmp_master_breakpoint): Loop over longjmp names.
200 (create_std_terminate_master_breakpoint): Const-propagate parameter
202 (update_breakpoints_after_exec): Adjust.
203 (breakpoint_re_set): Adjust.
205 2011-02-15 Michael Snyder <msnyder@vmware.com>
207 * thread.c (info_threads_command): Process arg as thread id,
208 or list of thread ids.
209 (thread_find_command): New command.
210 (_initialize_thread): Document argument for info threads.
211 Document 'thread find' command.
212 * NEWS: Document new command "thread find".
214 2011-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
216 * Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'.
217 * aclocal.m4: Regenerated with aclocal-1.11.1.
218 * common/configure: Regenerate with autoconf-2.64.
220 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
222 * opencl-lang.c (build_opencl_types): Set the size of the built-in
223 bool data type to a size of one byte.
225 2011-02-15 Pedro Alves <pedro@codesourcery.com>
226 Jan Kratochvil <jan.kratochvil@redhat.com>
228 * target.c (memory_xfer_live_readonly_partial): Document where to
229 look for interface description.
231 2011-02-15 Yao Qi <yao@codesourcery.com>
234 * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in
235 order to store PC value on stack instead of text section.
237 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
239 * rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for
240 the EFP register set size.
241 (efpr_pseudo_register_read): Use regcache_raw_read_part to read
242 data from the VMX register.
243 (efpr_pseudo_register_write): Use regcache_raw_write_part to read
244 and write data from/to the VMX register.
246 2011-02-14 Michael Snyder <msnyder@vmware.com>
248 * command.h (enum command_class): New class 'no_set_class', for
249 "show" commands without a corresponding "set" command.
250 * value.c (_initialize_values): Use 'no_set_class' for "show values".
251 * copying.c (_initialize_copying): Ditto for "show copying" and
253 * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and
255 * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for
256 which there is no corresponding "set" command (eg. "show copying").
258 2011-02-14 Pedro Alves <pedro@codesourcery.com>
259 Jan Kratochvil <jan.kratochvil@redhat.com>
261 * exec.c (section_table_available_memory): Change `len' parameter
263 * exec.h (section_table_available_memory): Ditto.
264 * value.h (read_value_memory): Rename the `offset' parameter to
267 2011-02-14 Pedro Alves <pedro@codesourcery.com>
268 Jan Kratochvil <jan.kratochvil@redhat.com>
270 * memrange.c (compare_mem_ranges): Mention sort order in
272 (normalize_mem_ranges): Add comment. Fix ra->length calculation.
273 * tracepoint.c (traceframe_available_memory): Extend comment to
274 mention what happens to RESULT when the target does not support
277 2011-02-14 Pedro Alves <pedro@codesourcery.com>
278 Jan Kratochvil <jan.kratochvil@redhat.com>
280 * value.c (mark_value_bytes_unavailable): Fix indexing the `bef'
283 2011-02-14 Pedro Alves <pedro@codesourcery.com>
285 * value.c (value_bits_valid, value_bits_synthetic_pointer):
286 No longer handle NULL values.
288 2011-02-14 Pedro Alves <pedro@codesourcery.com>
290 * exceptions.h (NOT_AVAILABLE_ERROR): New error.
291 * value.c: Include "exceptions.h".
292 (require_available): Throw NOT_AVAILABLE_ERROR instead of a
294 * cp-abi.c: Include gdb_assert.h.
295 (baseclass_offset): Add `embedded_offset' and `val' parameters.
296 Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR
298 * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val'
299 parameters. No longer returns -1 on error.
300 (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and
302 * cp-valprint.c: Include exceptions.h.
303 (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching
304 the baseclass_offset. Handle unavailable base classes. Use
305 val_print_invalid_address.
306 * p-valprint.c: Include exceptions.h.
307 (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors
308 when fetching the baseclass_offset. No longer expect
309 baseclass_offset returning -1. Handle unavailable base classes.
310 Use val_print_invalid_address.
311 * valops.c (dynamic_cast_check_1): Rename `contents' parameter to
312 `valaddr' parameter, and change its type to gdb_byte pointer. Add
313 `embedded_offset' and `val' parameters. Adjust.
314 (dynamic_cast_check_2): Rename `contents' parameter to `valaddr'
315 parameter, and change its type to gdb_byte pointer. Add
316 `embedded_offset' and `val' parameters. Adjust. No longer expect
317 baseclass_offset returning -1.
318 (value_dynamic_cast): Use value_contents_for_printing rather than
319 value_contents. Adjust.
320 (search_struct_field): No longer expect baseclass_offset returning
322 (search_struct_method): If reading memory from the target is
323 necessary, wrap it in a new value to pass to baseclass_offset. No
324 longer expect baseclass_offset returning -1.
325 (find_method_list): No longer expect baseclass_offset returning
326 -1. Use value_contents_for_printing rather than value_contents.
327 * valprint.c (val_print_invalid_address): New function.
328 * valprint.h (val_print_invalid_address): Declare.
329 * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset'
330 and `val' parameters. No longer expect baseclass_offset returning
332 * gnu-v2-abi.c: Include "exceptions.h".
333 (gnuv2_baseclass_offset): Add `embedded_offset' and `val'
334 parameters. Handle unavailable memory. Recurse through
335 gnuv2_baseclass_offset directly, rather than through
336 baseclass_offset. No longer returns -1 on not found, instead
338 * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and
339 `val' parameters. Adjust.
341 2011-02-14 Pedro Alves <pedro@codesourcery.com>
343 * tracepoint.c (memrange_sortmerge): Don't merge ranges that are
344 almost but not quite adjacent.
346 2011-02-14 Pedro Alves <pedro@codesourcery.com>
348 * value.h (value_entirely_available): Declare.
349 * value.c (value_entirely_available): New function.
350 * c-valprint.c (c_value_print): Don't try fetching the pointer's
351 real type if the pointer is unavailable.
353 2011-02-14 Pedro Alves <pedro@codesourcery.com>
355 * valops.c (value_repeat): Use read_value_memory instead of
358 2011-02-14 Pedro Alves <pedro@codesourcery.com>
360 * value.h (value_contents_copy, value_contents_copy_raw): Declare.
361 * value.c (value_contents_copy_raw, value_contents_copy): New
363 (value_primitive_field): Use value_contents_copy_raw instead of
365 * valops.c (value_fetch_lazy): Use value_contents_copy instead of
367 (value_array, value_slice): Ditto.
368 * valarith.c (value_subscripted_rvalue): Use
369 value_contents_copy_raw instead of memcpy.
371 2011-02-14 Pedro Alves <pedro@codesourcery.com>
373 <unavailable> references.
375 * valops.c (get_value_at): Use value_from_contents_and_address,
376 avoiding read_memory.
378 2011-02-14 Pedro Alves <pedro@codesourcery.com>
380 * c-valprint.c (c_val_print): Print a string with unavailable
381 contents as an array.
383 2011-02-14 Pedro Alves <pedro@codesourcery.com>
385 * value.h (unpack_bits_as_long): Delete declaration.
386 (unpack_value_bits_as_long): Declare.
387 (unpack_value_field_as_long): Declare.
388 (value_field_bitfield): Declare.
389 * value.c (unpack_bits_as_long): Rename to...
390 (unpack_value_bits_as_long_1): ... this. Add embedded_offset and
391 value parameters. Return the extracted result in a new output
392 parameter. If the value contents are unavailable, return false,
393 otherwise return true.
394 (unpack_value_bits_as_long): New.
395 (unpack_field_as_long): Rename to...
396 (unpack_value_field_as_long_1): ... this. Add embedded_offset and
397 Add embedded_offset and value parameters. Return the extracted
398 result in a new output parameter. If the value contents are
399 unavailable, return false, otherwise return true.
400 (unpack_value_field_as_long): New.
401 (unpack_field_as_long_1): New.
402 (unpack_field_as_long): Reimplement as wrapper around
403 unpack_value_field_as_long_1.
404 (value_field_bitfield): New function.
405 * valops.c (value_fetch_lazy): When fetching a bitfield, use
406 unpack_value_bits_as_long. Mark the value as unavailable, if it
408 * jv-valprint.c (java_print_value_fields): Use
409 value_field_bitfield.
410 * p-valprint.c (pascal_object_print_value_fields): Use
411 value_field_bitfield.
412 * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield.
414 2011-02-14 Pedro Alves <pedro@codesourcery.com>
416 * value.c (get_internalvar_integer): Also return the int value of
417 TYPE_CODE_INT INTERNALVAR_VALUE values.
418 (set_internalvar): Don't special case TYPE_CODE_INT.
420 2011-02-14 Pedro Alves <pedro@codesourcery.com>
422 * value.c (struct internalvar) <enum internalvar_kind>: Remove
425 (value_of_internalvar): Remove INTERNALVAR_POINTER handling.
426 (set_internalvar): Remove special TYPE_CODE_PTR handling.
427 (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling.
429 2011-02-14 Pedro Alves <pedro@codesourcery.com>
431 * value.h (value_available_contents_eq): Declare.
432 * value.c (find_first_range_overlap): New function.
433 (value_available_contents_eq): New function.
434 * valprint.c (val_print_array_elements): Use
435 value_available_contents_eq.
436 * ada-valprint.c (val_print_packed_array_elements): Use
437 value_available_contents_eq.
438 * jv-valprint.c (java_value_print): Use
439 value_available_contents_eq.
441 2011-02-14 Pedro Alves <pedro@codesourcery.com>
443 * target.c (target_read_live_memory): New function.
444 (memory_xfer_live_readonly_partial): New.
445 (memory_xfer_partial): If reading from a traceframe, fallback to
446 reading unavailable read-only memory from read-only regions of
448 * tracepoint.c (disconnect_tracing): Adjust.
449 (set_current_traceframe): New, factored out from
450 set_traceframe_number.
451 (set_traceframe_number): Reimplement to only change the traceframe
452 number on the GDB side.
453 (do_restore_current_traceframe_cleanup): Adjust.
454 (make_cleanup_restore_traceframe_number): New.
455 (cur_traceframe_number): New global.
456 (tfile_open): Set cur_traceframe_number to no traceframe.
457 (set_tfile_traceframe): New function.
458 (tfile_trace_find): If looking up a traceframe using any method
459 other than by number, make sure the current tfile traceframe
460 matches gdb's current traceframe. Update the current tfile
461 traceframe if the lookup succeeded.
462 (tfile_fetch_registers, tfile_xfer_partial)
463 (tfile_get_trace_state_variable_value): Make sure the remote
464 traceframe matches gdb's current traceframe.
465 * remote.c (remote_traceframe_number): New global.
466 (remote_open_1): Set it to -1.
467 (set_remote_traceframe): New function.
468 (remote_fetch_registers, remote_store_registers)
469 (remote_xfer_memory, remote_xfer_partial)
470 (remote_get_trace_state_variable_value): Make sure the remote
471 traceframe matches gdb's current traceframe.
472 (remote_trace_find): If looking up a traceframe using any method
473 other than by number, make sure the current remote traceframe
474 matches gdb's current traceframe. Update the current remote
475 traceframe if the lookup succeeded.
476 * infrun.c (fetch_inferior_event): Adjust.
477 * tracepoint.h (set_current_traceframe): Declare.
478 (get_traceframe_number, set_traceframe_number): Add describing
481 2011-02-14 Pedro Alves <pedro@codesourcery.com>
483 Mark pieces of values as unavailable if the corresponding memory
486 * valops.c: Include tracepoint.h.
487 (value_fetch_lazy): Use read_value_memory.
488 (read_value_memory): New.
489 * value.h (read_value_memory): Declare.
490 * dwarf2loc.c (read_pieced_value): Use read_value_memory.
491 * exec.c (section_table_available_memory): New function.
492 * exec.h (section_table_available_memory): Declare.
494 2011-02-14 Pedro Alves <pedro@codesourcery.com>
496 * Makefile.in (SFILES): Add memrange.c.
497 (HFILES_NO_SRCDIR): Add memrange.h.
498 (COMMON_OBS): Add memrange.o.
499 * memrange.c: New file.
500 * memrange.h: New file.
501 * tracepoint.c: Include memrange.h.
502 (struct mem_range): Delete.
503 (mem_range_s): Delete.
504 (traceframe_available_memory): New function.
505 * tracepoint.h (traceframe_available_memory): Declare.
507 2011-02-14 Pedro Alves <pedro@codesourcery.com>
509 * target.h (struct traceframe_info): Forward declare.
510 (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
511 (struct target_ops) <to_traceframe_info>: New field.
512 (target_traceframe_info): New.
513 * target.c (update_current_target): Inherit and default
515 * remote.c (PACKET_qXfer_traceframe_info): New.
516 (remote_protocol_features): Register qXfer:traceframe-info:read.
517 (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
518 (remote_traceframe_info): New.
519 (init_remote_ops): Install it.
520 (_initialize_remote): Install "set/show remote traceframe-info"
522 * tracepoint.h (parse_traceframe_info): Declare.
523 * tracepoint.c (struct mem_range): New.
524 (mem_range_s): New typedef.
525 (struct traceframe_info): New.
526 (traceframe_info): New global.
527 (free_traceframe_info): New function.
528 (clear_traceframe_info): New function.
529 (start_tracing, tfind_1, set_traceframe_number): Clear traceframe
531 (build_traceframe_info): New function.
532 (tfile_traceframe_info): New function.
533 (init_tfile_ops): Install tfile_traceframe_info.
534 (traceframe_info_start_memory, free_result): New functions.
535 (memory_attributes, traceframe_info_elements): New globals.
536 (parse_traceframe_info, get_traceframe_info): New functions.
537 * features/traceframe-info.dtd: New file.
538 * Makefile.in (XMLFILES): Add traceframe-info.dtd.
540 2011-02-14 Pedro Alves <pedro@codesourcery.com>
542 Base support for <unavailable> value contents.
544 * value.h (value_bytes_available): Declare.
545 (mark_value_bytes_unavailable): Declare.
546 * value.c (struct range): New struct.
547 (range_s): New typedef.
548 (ranges_overlap): New function.
549 (range_lessthan): New function.
550 (ranges_contain_p): New function.
551 (struct value) <unavailable>: New field.
552 (value_bytes_available): New function.
553 (mark_value_bytes_unavailable): New function.
554 (require_not_optimized_out): Constify parameter.
555 (require_available): New function.
556 (value_contents_all, value_contents): Require all bytes be
558 (value_free): Free `unavailable'.
559 (value_copy): Copy `unavailable'.
560 * valprint.h (val_print_unavailable): Declare.
561 * valprint.c (valprint_check_validity): Rename `offset' parameter
562 to `embedded_offset'. If printing a scalar, check whether the
563 value chunk is available.
564 (val_print_unavailable): New.
565 (val_print_scalar_formatted): Check whether the value is
567 * python/py-prettyprint.c (apply_val_pretty_printer): Refuse
568 pretty-printing unavailable values.
570 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
572 Fix const/volatile qualifiers of C++ types, PR c++/12328.
573 * c-typeprint.c (c_type_print_args): Update the function comment. New
574 variable param_type, initialize it. Remove const/volatile qualifiers
575 for language_cplus and !show_artificial. Use param_type.
577 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
579 * symtab.c (find_pc_sect_line): New variable objfile, initialize it
580 from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S.
581 * symtab.h (struct symtab) <next>: Comment extension.
583 2011-02-12 Yao Qi <yao@codesourcery.com>
585 * Makefile.in (CLEANDIRS): Remove duplicated common dir.
587 2011-02-11 Yao Qi <yao@codesourcery.com>
589 * common/Makefile.in: Add copyright header.
591 2011-02-11 Pedro Alves <pedro@codesourcery.com>
593 * infrun.c (proceed): Move switching out and in of tfind mode from
595 (fetch_inferior_event): ... to here.
597 2011-02-11 Yao Qi <yao@codesourcery.com>
599 * Makefile.in: Remove signals.o from COMMON_OBS. Link
601 * configure.ac: Add common to sub dir.
602 * configure: Regenerate.
604 2011-02-11 Yao Qi <yao@codesourcery.com>
608 * common/Makefile.in: New.
609 * common/configure.ac: New.
610 * common/aclocal.m4: New.
611 * common/configure: Generate.
613 2011-02-10 Pedro Alves <pedro@codesourcery.com>
615 * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
616 side of the parenthesis.
619 2010-07-13 Jakub Jelinek <jakub@redhat.com>
620 * vec.h (VEC_block_remove): Fix comment.
622 2011-02-08 Michael Snyder <msnyder@vmware.com>
624 * linux-nat.c (linux_nat_filter_event): Fix typo in comment.
626 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
628 * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
629 in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
632 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
635 * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
637 (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
638 (i386_process_record) <0x0f3807>: Fix the comment to phsubsw.
640 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
642 * dwarf2read.c (read_subroutine_type): Set special calling
643 convention flag for functions compiled by IBM XL C for OpenCL.
644 * ppc-sysv-tdep.c: Include "dwarf2.h"
645 (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
647 (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement
648 IBM OpenCL vector types calling convention.
649 (ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
650 (ppc_sysv_abi_broken_return_value): Likewise.
651 (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
652 types calling convention.
653 (ppc64_sysv_abi_return_value): Likewise.
654 * spu-tdep.c: Include "dwarf2.h"
655 (spu_return_value): Implement IBM OpenCL vector types calling
658 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
660 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
661 correct ABI for AltiVec vector arguments.
663 2011-02-07 Pedro Alves <pedro@codesourcery.com>
665 * valprint.c (val_print): Extend comment.
666 * ada-valprint.c (ada_valprint): Rewrite comment deferring
667 interface explanation to val_print.
668 (ada_val_print_array): Adjust comment to current interface.
669 (print_field_values): Adjust comment to current interface.
670 * c-valprint.c (c_val_print): Rewrite comment deferring interface
671 explanation to val_print.
672 * f-valprint.c (f_val_print): Ditto.
673 * jv-valprint.c (java_val_print): Ditto.
674 * m2-valprint.c (m2_val_print): Ditto.
675 * p-valprint.c (pascal_val_print): Ditto.
677 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
679 * breakpoint.c (parse_breakpoint_sals): Fix description.
681 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
682 Oguz Kayral <oguzkayral@gmail.com>
684 * python/py-inferior.c (python_on_normal_stop): New function.
685 (python_on_resume): New function.
686 (python_inferior_exit): New function.
687 (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
688 inferior_exit observers.
689 * python/py-evtregistry.c: New file.
690 * python/py-threadevent.c : New file.
691 * python/py-event.c: New file.
692 * python/py-evts.c: New file.
693 * python/py-continueevent.c: New file.
694 * python/py-bpevent.c: New file.
695 * python/py-signalevent.c: New file.
696 * python/py-exetiedevent.c: New file.
697 * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
698 Move struct breakpoint_object from here...
699 * python/python-internal.h: ... to here.
700 * python/py-event.h: New file.
701 * python/py-events.h: New file.
702 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
703 py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
704 py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
705 (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
706 py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
707 py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
708 Add build rules for all the above.
710 2011-02-04 Tom Tromey <tromey@redhat.com>
712 * dwarf2read.c (dwarf2_section_empty_p): New function.
713 (dwarf2_read_section): Use dwarf2_section_empty_p.
714 (dwarf2_section_size): New function.
715 (dwarf2_get_section_info): Unconditionally read section.
716 (dwarf2_read_index): Use dwarf2_section_empty_p.
717 (partial_read_comp_unit_head): Use dwarf2_section_size.
718 (dwarf2_symbol_mark_computed): Likewise.
720 2011-02-04 David Daney <ddaney@caviumnetworks.com>
722 * NEWS: Add item for "catch syscall" on mips*-linux* targets.
724 2011-02-04 David Daney <ddaney@caviumnetworks.com>
726 * mips-linux-tdep.c: Include xml-syscall.h.
727 (mips_linux_get_syscall_number): New function.
728 (mips_linux_init_abi): Add calls to
729 mips_linux_get_syscall_number() and set_xml_syscall_file_name().
730 * data-directory/Makefile.in (SYSCALLS_FILES): Add
731 mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
732 * syscalls/mips-n32-linux.xml: New file.
733 * syscalls/mips-n64-linux.xml: New file.
734 * syscalls/mips-o32-linux.xml: New file.
736 2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org>
738 * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
739 Complain about inverted range entries.
740 (dwarf2_record_block_ranges): Likewise.
742 2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
745 * breakpoint.c (update_watchpoint): Fix name of the
746 update_global_location_list function.
747 (print_one_breakpoint): Fix typo.
748 (_initialize_breakpoint): Remove extra space in hbreak help
750 * breakpoint.h (struct bp_location) <length>: Fix field
753 2011-02-04 Pedro Alves <pedro@codesourcery.com>
755 * regcache.c (registers_changed_ptid): Don't explictly always
756 clear `current_regcache'. Only clear current_thread_ptid and
757 current_thread_arch when PTID matches. Only reinit the frame
758 cache if PTID matches the current inferior_ptid. Move alloca(0)
760 (registers_changed): ... here.
762 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org>
764 * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
765 starts with __stack_chk_guard as stack guard symbol.
767 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
769 * disasm.c (compare_lines): Handle the end of sequence markers
770 within the line table to better support disassembling over
771 compilation unit boundaries.
773 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
775 * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
776 arguments. Skip in-prologue calls to glibc __aeabi_read_tp
777 implementation even if no symbols are available.
778 (thumb_analyze_prologue): Update call to skip_prologue_function.
779 (arm_analyze_prologue): Likewise.
781 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
783 * arm-tdep.c: Include "observer.h".
784 (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
785 (arm_exidx_data_key): New static variable.
786 (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
787 (struct arm_exidx_data): Likewise.
788 (arm_exidx_data_free): New function.
789 (arm_compare_exidx_entries): Likewise.
790 (arm_obj_section_from_vma): Likewise.
791 (arm_exidx_new_objfile): Likewise.
792 (arm_find_exidx_entry): Likewise.
793 (arm_exidx_fill_cache): Likewise.
794 (arm_exidx_unwind_sniffer): Likewise.
795 (arm_exidx_unwind): New global variable.
796 (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
797 (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
798 observer. Register arm_exidx_data_key as objfile data.
800 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
802 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
803 due to accessing uninitialized variable. Fix indentation.
805 2011-02-02 Pedro Alves <pedro@codesourcery.com>
807 * c-valprint.c (c_value_print): When doing virtual base pointer
808 adjustment, create a new value with adjusted contents rather than
809 changing the contents of the value being printed (and getting it
812 2011-02-02 Pedro Alves <pedro@codesourcery.com>
814 * xml-support.c (xml_find_attribute): New.
815 (xinclude_start_include): Use it.
816 * xml-support.h (xml_find_attribute): Declare.
817 * memory-map.c (memory_map_start_memory)
818 (memory_map_start_property): Use xml_find_attribute.
819 * osdata.c (osdata_start_osdata, osdata_start_column): Use
821 * remote.c (start_thread): Use xml_find_attribute.
822 * solib-target.c (library_list_start_segment)
823 (library_list_start_section, library_list_start_library)
824 (library_list_start_list): Use xml_find_attribute.
825 * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
826 (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
827 (tdesc_start_field): Use xml_find_attribute.
829 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com>
831 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
832 (BUILD_OCL_VTYPES): Update.
834 2011-02-02 Joel Brobecker <brobecker@adacore.com>
836 * configure.ac: Work around non-GNU sed limitation when computing
837 python version number.
838 * configure: Regenerate.
840 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
842 Fix debug printing of TYPE_INSTANCE.
843 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
844 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
846 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
848 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
849 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
850 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
851 * ada-operator.inc: Rename the file to ...
852 * ada-operator.def: ... here, wrap all the entries by macro OP.
853 * expprint.c (op_name_standard): Remove all the entries. Include
854 "std-operator.def" instead.
855 * expression.h (enum exp_opcode): Include "std-operator.def" and
856 "ada-operator.def". Move all the entries ...
857 * std-operator.def: ... here, wrap all the entries by macro OP.
859 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
861 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
862 * breakpoint.c (remove_jit_event_breakpoints): New function.
863 * jit.c (jit_descriptor_addr): Delete.
864 (registering_code): Delete.
866 (jit_inferior_data): New variable.
867 (struct jit_inferior_data): New type.
868 (get_jit_inferior_data): New function.
869 (jit_inferior_data_cleanup): New function.
870 (jit_read_descriptor): Adjust.
871 (jit_register_code): Adjust.
872 (jit_breakpoint_re_set_internal): New function; move code here ...
873 (jit_inferior_init): ... from here.
874 (jit_breakpoint_re_set): Adjust.
875 (jit_reset_inferior_data_and_breakpoints): New function.
876 (jit_inferior_created_observer): Adjust.
877 (jit_inferior_exit_hook): Adjust.
878 (jit_executable_changed_observer): New function.
879 (jit_event_handler): Adjust.
880 (_initialize_jit): Adjust.
882 2011-01-31 Michael Snyder <msnyder@vmware.com>
884 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
887 2011-01-31 Tom Tromey <tromey@redhat.com>
890 * python/python.c (execute_gdb_command): Call
892 * top.c (suppress_dont_repeat): New global.
893 (dont_repeat): Use it.
894 (prevent_dont_repeat): New function.
895 * command.h (prevent_dont_repeat): Declare.
897 2011-01-31 Tom Tromey <tromey@redhat.com>
899 * infcmd.c (finish_backward): Use breakpoint_set_silent.
900 * python/py-breakpoint.c (bppy_set_silent): Use
901 breakpoint_set_silent.
902 (bppy_set_thread): Use breakpoint_set_thread.
903 (bppy_set_task): Use breakpoint_set_task.
904 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
905 (breakpoint_set_task): Declare.
906 (make_breakpoint_silent): Remove.
907 * breakpoint.c (breakpoint_set_silent): New function.
908 (breakpoint_set_thread): Likewise.
909 (breakpoint_set_task): Likewise.
910 (make_breakpoint_silent): Remove.
912 2011-01-31 Tom Tromey <tromey@redhat.com>
914 * breakpoint.h (user_breakpoint_p): Declare.
915 * breakpoint.c (user_breakpoint_p): New function.
916 (breakpoint_1): Use it.
917 (save_breakpoints): Likewise.
919 2011-01-31 Joel Brobecker <brobecker@adacore.com>
921 * configure.ac: Add handling of Python distribution on Windows.
922 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
923 sysconfig variables are not defined, then do not use them.
924 On Windows, if LIBPL is not defined, then use prefix + '/libs'
925 instead. On Windows, return all paths using forward-slashes
926 rather than backslashes.
928 2011-01-31 Joel Brobecker <brobecker@adacore.com>
930 * configure.ac: Remove fallback behavior for building
931 against Python. Remove tweaking of Python include path.
932 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
933 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
934 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
935 Always restore CPPFLAGS and LIBS after linking test.
936 * configure: Regenerated.
937 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
938 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
939 * python/python-internal.h: Adjust includes of Python .h files.
941 2011-01-31 Joel Brobecker <brobecker@adacore.com>
943 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
946 2011-01-31 Joel Brobecker <brobecker@adacore.com>
948 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
951 2011-01-31 Yao Qi <yao@codesourcery.com>
953 * arm-linux-nat.c: Update calls to regcache_register_status
954 instead of regcache_valid_p.
955 * aix-thread.c: Likewise.
956 * i386gnu-nat.c: Likewise.
958 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
961 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
962 touching TYPE_FIELD_ARTIFICIAL.
964 2011-01-28 Richard Earnshaw <rearnsha@arm.com>
966 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
969 2011-01-28 Pedro Alves <pedro@codesourcery.com>
971 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
972 selected, don't try iterating over the traceframe's blocks.
973 (tfile_has_stack): If there's no traceframe selected, then there's
975 (tfile_has_registers): If there's no traceframe selected, then
976 there's no registers.
978 2011-01-28 Pedro Alves <pedro@codesourcery.com>
980 * target.c (memory_xfer_partial): No need to restore shadows if we
981 haven't read anything.
983 2011-01-28 Pedro Alves <pedro@codesourcery.com>
985 * mips-tdep.c (mips_print_register): Use get_frame_register_value
986 and val_print_scalar_formatted.
988 2011-01-27 Pedro Alves <pedro@codesourcery.com>
990 * tracepoint.c (tfile_read): New.
991 (tfile_open): Use it.
992 (tfile_get_traceframe_address): Use it.
993 (tfile_trace_find): Use it.
994 (walk_blocks_callback_func): New typedef.
995 (match_blocktype): New function.
996 (traceframe_walk_blocks): New function.
997 (traceframe_find_block_type): New function.
998 (tfile_fetch_registers, tfile_xfer_partial)
999 (tfile_get_trace_state_variable_value): Use
1000 traceframe_find_block_type and tfile_read.
1002 2011-01-26 Kevin Buettner <kevinb@redhat.com>
1004 * remote-mips.c: Add internationalization mark ups. Remove
1005 trailing \n from already marked up strings.
1007 2011-01-26 Tom Tromey <tromey@redhat.com>
1009 * python/py-prettyprint.c (print_string_repr): Clear
1010 'addressprint' option when calling val_print_string.
1011 (print_children): Handle Val_pretty_default. Clear 'addressprint'
1012 option when calling val_print_string.
1014 2011-01-26 Tom Tromey <tromey@redhat.com>
1016 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
1018 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
1020 (gdb_py_longest, gdb_py_ulongest): New typedefs.
1021 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
1022 (gdb_py_long_as_ulongest): New defines.
1023 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
1024 (gdb_py_int_as_long): Declare.
1025 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
1026 GDB_PY_LL_ARG, gdb_py_object_from_longest.
1027 (valpy_long): Add comment.
1028 * python/py-utils.c (get_addr_from_python): Use
1029 gdb_py_long_as_ulongest. Handle overflow properly.
1030 (gdb_py_object_from_longest): New function.
1031 (gdb_py_object_from_ulongest): Likewise.
1032 (gdb_py_int_as_long): Likewise.
1033 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
1034 * python/py-symtab.c (salpy_get_pc): Use
1035 gdb_py_long_from_ulongest.
1036 (salpy_get_line): Use PyInt_FromLong.
1037 * python/py-param.c (set_parameter_value): Use
1039 * python/py-lazy-string.c (stpy_get_address): Use
1040 gdb_py_long_from_ulongest.
1041 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
1042 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
1043 * python/py-breakpoint.c (bppy_set_thread): Use
1045 (bppy_set_task): Likewise.
1046 (bppy_set_ignore_count): Likewise.
1047 (bppy_set_hit_count): Likewise.
1048 * python/py-block.c (blpy_get_start): Use
1049 gdb_py_object_from_ulongest.
1050 (blpy_get_end): Likewise.
1051 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
1053 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
1056 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
1057 * gdb/solib.c (solib_read_symbols): Check for addr_low in
1058 equality test for objfile, initialize addr_low if needed.
1060 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1062 * tui/tui-regs.c (tui_register_format): Remove dead code.
1064 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1066 * printcmd.c (print_formatted): Use val_print_scalar_formatted
1067 instead of print_scalar_formatted.
1068 (print_scalar_formatted): Don't handle 's' format strings here,
1069 and add an assertion that we never see such format here.
1070 * valprint.h (val_print_scalar_formatted): Declare.
1071 * valprint.c (val_print_scalar_formatted): New.
1072 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
1073 instead of print_scalar_formatted.
1074 * jv-valprint.c (java_val_print): Ditto.
1075 * p-valprint.c (pascal_val_print): Ditto.
1076 * ada-valprint.c (ada_val_print_1): Ditto.
1077 * f-valprint.c (f_val_print): Ditto.
1078 * infcmd.c (registers_info): Ditto.
1079 * m2-valprint.c (m2_val_print): Ditto.
1081 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1083 * m2-valprint.c (print_unbounded_array): Pass
1084 value_contents_for_printing rather than value_contents, to
1085 m2_print_array_contents. Also pass in the value.
1087 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1089 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
1090 (save_gdb_index_command): Switch to .gdb_index version 4.
1092 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1094 * mi/mi-main.c (get_register): Use get_frame_register_value rather
1095 than frame_register, and always pass a valid value to val_print.
1097 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1099 Centralize printing "<optimized out>".
1101 * valprint.h (val_print_optimized_out): Declare.
1102 * cp-valprint.c (cp_print_value_fields): Use
1103 val_print_optimized_out.
1104 * jv-valprint.c (java_print_value_fields): Ditto.
1105 * p-valprint.c (pascal_object_print_value_fields): Ditto.
1106 * printcmd.c (print_formatted): Ditto.
1107 * valprint.c (valprint_check_validity): Ditto.
1108 (value_check_printable): Ditto.
1109 (val_print_optimized_out): New.
1111 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1113 * infcmd.c (default_print_registers_info): Allocate values so to
1114 never pass a NULL value to val_print.
1116 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1118 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
1119 boolean. Make sure to always pass a value that matches the
1120 contents buffer to callees. Preserve `address' for following
1122 * value.c (value_contents_for_printing_const): New.
1123 (value_address): Constify value argument.
1124 * value.h (value_contents_for_printing_const): Declare.
1125 (value_address): Constify value argument.
1127 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1129 * regcache.c (struct regcache_descr): Rename
1130 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
1131 and sizeof_cooked_register_valid_p to
1132 sizeof_cooked_register_status.
1133 (init_regcache_descr): Adjust.
1134 (struct regcache): Rename register_valid_p field to
1136 (regcache_xmalloc_1, regcache_xfree, regcache_save)
1137 (do_cooked_read): Adjust.
1138 (regcache_valid_p): Rename to ...
1139 (regcache_register_status): ... this. Adjust.
1140 (regcache_invalidate): Adjust.
1141 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
1143 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
1144 as unavailable, not valid.
1145 (regcache_dump): Adjust.
1146 * regcache.h (enum register_status): New.
1147 (regcache_register_status): Declare.
1148 (regcache_invalidate): Delete declaration.
1149 * corelow.c (get_core_registers): Adjust.
1150 * tracepoint.c (tfile_fetch_registers): Adjust.
1151 * trad-frame.c (REG_VALUE): Rename to ...
1152 (TF_REG_VALUE): ... this.
1153 (REG_UNKNOWN): Rename to ...
1154 (TF_REG_UNKNOWN): ... this.
1155 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
1156 * mi/mi-main.c (register_changed_p): Adjust.
1158 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1160 * regcache.c (struct regcache_descr): Remove outdated comment.
1161 (init_regcache_descr): Remove sizeof_raw_register_valid_p
1163 (regcache_xmalloc): Rename to ...
1164 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
1165 Allocate the regcache type accordingly.
1166 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
1167 (regcache_xfree): Asser the source is also readonly. Copy sizeof
1168 cooked registers, not raw.
1169 (regcache_dup_no_passthrough): Delete.
1170 (get_thread_arch_regcache): Use regcache_xmalloc_1.
1171 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
1172 mention obsolete write_register_bytes.
1173 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
1175 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1177 Stop remote_read_bytes from handling partial reads itself.
1179 * remote-fileio.c: Include target.h.
1180 (remote_fileio_write_bytes): Delete.
1181 (remote_fileio_func_open, remote_fileio_func_write)
1182 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
1184 (remote_fileio_func_stat): Use target_read_memory and
1185 target_write_memory.
1186 (remote_fileio_func_gettimeofday): Use target_write_memory.
1187 (remote_fileio_func_system): Use target_read_memory.
1188 * remote.c (remote_write_bytes): Make it static.
1189 (remote_read_bytes): Don't handle partial reads here.
1190 * remote.h (remote_read_bytes): Delete declaration.
1192 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1194 Simplify XML parsing a bit.
1196 * xml-support.h (gdb_xml_parse_quick): Declare.
1197 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
1198 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
1200 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
1201 gdb_xml_create_parser_and_cleanup_1.
1202 (gdb_xml_parse_quick): New.
1203 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
1204 * osdata.c (osdata_parse): Ditto.
1205 * remote.c (remote_threads_info): Ditto.
1206 * solib-target.c (solib_target_parse_libraries): Ditto.
1207 * xml-syscall.c (syscall_parse_xml): Ditto.
1208 * xml-tdesc.c (tdesc_parse_xml): Ditto.
1210 2011-01-24 Kevin Buettner <kevinb@redhat.com>
1212 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
1213 with remote-mips.o added to gdb_target_obs.
1214 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
1216 2011-01-24 Pedro Alves <pedro@codesourcery.com>
1218 * ada-valprint.c (val_print_packed_array_elements): Pass the
1219 correct struct value to val_print.
1220 (ada_val_print_1): Ditto.
1222 2011-01-24 Pedro Alves <pedro@codesourcery.com>
1224 Don't lose embedded_offset in printing routines throughout.
1226 * valprint.h (val_print_array_elements): Change prototype.
1227 * valprint.c (val_print_array_elements): Add `embedded_offset'
1228 parameter, and adjust to pass it down to val_print, while passing
1229 `valaddr' or `address' unmodified. Take embedded_offset into
1230 account when checking repetitions.
1231 * c-valprint.c (c_val_print): Pass embedded_offset to
1232 val_print_array_elements instead of adjusting `valaddr' and
1234 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
1235 embedded_offset to val_print_array_elements instead of adjusting
1237 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
1238 * p-valprint.c (pascal_val_print): Pass embedded_offset to
1239 val_print_array_elements and pascal_object_print_value_fields
1240 instead of adjusting `valaddr'.
1241 (pascal_object_print_value_fields): Add `offset' parameter, and
1243 (pascal_object_print_value): Add `offset' parameter, and adjust to
1245 (pascal_object_print_static_field): Use
1246 value_contents_for_printing/value_embedded_offset, rather than
1248 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
1249 parameter, and adjust to use it. Use
1250 value_contents_for_printing/value_embedded_offset, rather than
1252 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
1253 (ada_val_print_array): Add `offset' parameter, and adjust to use
1255 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
1256 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
1257 Instead work with offsets. Use
1258 value_contents_for_printing/value_embedded_offset, rather than
1259 value_contents. Change `defer_val_int' local type to CORE_ADDR,
1260 and use value_from_pointer to extract a target pointer, rather
1261 than value_from_longest.
1262 (print_variant_part): Add `offset' parameter. Replace
1263 `outer_valaddr' parameter by a new `outer_offset' parameter.
1264 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1265 (ada_value_print): Use
1266 value_contents_for_printing/value_embedded_offset, rather than
1268 (print_record): Add `offset' parameter, and adjust to pass it
1270 (print_field_values): Add `offset' parameter. Replace
1271 `outer_valaddr' parameter by a new `outer_offset' parameter.
1272 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1273 Use value_contents_for_printing/value_embedded_offset, rather than
1275 * d-valprint.c (dynamic_array_type): Use
1276 value_contents_for_printing/value_embedded_offset, rather than
1278 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
1279 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1280 (java_print_value_fields): Take `offset' into account. Don't
1281 re-adjust `valaddr'. Instead pass down adjusted offsets.
1282 (java_val_print): Take `embedded_offset' into account. Pass it to
1283 java_print_value_fields.
1284 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
1285 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
1286 down adjusted offsets.
1287 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
1288 (f_val_print): Take `embedded_offset' into account.
1290 2011-01-21 Joel Brobecker <brobecker@adacore.com>
1292 * inflow.c: Include "gdbcmd.h".
1293 (interactive_mode): New static global, moved here from top.c.
1294 (show_interactive_mode): New function, moved here from top.c.
1295 use gdb_has_a_terminal instead of input_from_terminal_p to
1296 determine the current mode.
1297 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
1299 (_initialize_inflow): Add the "set/show interactive-mode"
1300 commands. Moved here from top.c, after having adjusted slightly
1302 * top.c (interactive_mode, show_interactive_mode): Delete, moved
1304 (input_from_terminal_p): Remove handling of "interactive-mode"
1305 setting, moved to infow.c.
1306 (init_main): Remove creation of the "set/show interactive-mode"
1307 commands, moved to inflow.c.
1309 2011-01-19 Joel Brobecker <brobecker@adacore.com>
1311 * NEWS: Add entry for native ia64-hpux support.
1313 2011-01-19 Tom Tromey <tromey@redhat.com>
1316 * thread.c (free_thread): Free 'name'.
1317 (print_thread_info): Emit thread name. Change CLI output.
1318 (thread_name_command): New function.
1319 (do_captured_thread_select): Emit newline.
1320 (_initialize_thread): Register 'thread name' command.
1321 * target.h (struct target_ops) <to_thread_name>: New field.
1322 (target_thread_name): New macro.
1323 * target.c (update_current_target): Handle to_thread_name.
1324 * python/py-infthread.c (thpy_get_name): New function.
1325 (thpy_set_name): Likewise.
1326 (thread_object_getset): Add "name".
1327 * linux-nat.c (linux_nat_thread_name): New function.
1328 (linux_nat_add_target): Set to_thread_name.
1329 * gdbthread.h (struct thread_info) <name>: New field.
1331 2011-01-18 Joel Brobecker <brobecker@adacore.com>
1333 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
1334 (ada_val_print_1): Likewise.
1336 2011-01-18 Joel Brobecker <brobecker@adacore.com>
1338 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
1339 upper limit address is not greater than the function end address
1340 when the upper limit could not be computed using the debugging
1343 2011-01-17 Tom Tromey <tromey@redhat.com>
1345 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
1347 * utils.c: Include gdb_regex.h.
1348 (do_regfree_cleanup): New function.
1349 (make_regfree_cleanup): Likewise.
1350 (get_regcomp_error): Likewise.
1351 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
1353 2011-01-17 Tom Tromey <tromey@redhat.com>
1355 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
1358 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
1360 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
1361 for internal variables.
1362 (last_was_structop): New static variable.
1363 (COMPLETE): New token.
1364 (field_exp): New rule to group all '.' suffix handling.
1365 Add mark_struct_expression calls when approriate to be able
1366 to correctly find fields for completion.
1367 (yylex): Adapt to handle field completion and set INTVAR when
1370 2011-01-14 Yao Qi <yao@codesourcery.com>
1372 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
1373 save_reggroup, restore_reggroup and all_reggroup.
1375 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1377 * ada-valprint. (ada_printchar): Use the correct type length
1378 in call to ada_emit_char.
1379 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
1381 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
1383 * solib-som.h (hpux_major_release): Declare variable here.
1384 * solib-som.c: Remove <sys/utsname.h> header.
1385 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
1386 (hpux_major_release): Make global, change default value to
1387 DEFAULT_HPUX_MAJOR_RELEASE.
1388 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
1389 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
1390 Add "solib-som.h" header.
1391 (set_hpux_major_release): New function.
1392 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
1394 2011-01-14 Mike Frysinger <vapier@gentoo.org>
1396 * configure.tgt (*-*-uclinux*): Match more Linux os targets
1398 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1400 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
1401 new-line at end of warning message.
1402 (ia64_hpux_store_register): Remove trailing new-line at end of
1404 * ia64-hpux-tdep.c: Rephrase comment.
1405 * solib-ia64-hpux.c (struct dld_info): Change type of field
1406 dld_flags from "long long" to ULONGEST.
1408 2011-01-14 Pedro Alves <pedro@codesourcery.com>
1410 * target.h (deprecated_child_ops): Delete declaration.
1411 * target.c (deprecated_child_ops): Delete definition.
1413 2011-01-14 Pedro Alves <pedro@codesourcery.com>
1415 * Makefile.in (hpux-thread.o): Delete rule.
1416 * configure.ac: Don't check for HPUX DCE threads support.
1417 * configure, config.in: Regenerate.
1418 * hppa-hpux-nat.c (child_suppress_run): Delete.
1419 (hppa_hpux_child_can_run): Delete.
1420 (_initialize_hppa_hpux_nat): Don't override to_can_run.
1421 * hpux-thread.c: Delete.
1423 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1425 * hpux-thread.c (hpux_pid_to_str): Delete.
1427 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1429 * ada-valprint.c (ada_emit_char): Remove strange code.
1430 Check that c is <= UCHAR_MAX before passing it to isascii.
1431 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
1433 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1435 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
1436 to the case where instream is stdin.
1438 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1440 * ia64-tdep.h (struct regcache): Forward declare.
1441 (struct ia64_infcall_ops): New struct type.
1442 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
1444 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
1445 Renames ia64_find_global_pointer.
1446 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
1447 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
1448 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
1450 (ia64_infcall_ops): New static global constant.
1451 (ia64_gdbarch_init): Set tdep->infcall_ops.
1452 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
1453 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
1454 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
1455 (ia64_hpux_dummy_code): New static global constant.
1456 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
1457 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
1458 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
1460 (ia64_hpux_infcall_ops): New static global constant.
1461 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
1462 for inferior function calls to work properly on ia64-hpux.
1464 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1466 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
1467 * ia64-tdep.h (struct frame_info): forward declaration.
1468 (struct gdbarch_tdep): Add field size_of_register_frame.
1469 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
1470 to determine the size of the register frame.
1471 (ia64_size_of_register_frame): New function.
1472 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
1473 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
1474 (IA64_HPUX_UREG_REASON): New macro.
1475 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
1477 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
1478 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
1479 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
1482 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1484 Add support for ia64-hpux.
1485 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
1486 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
1488 * configure.host: Add handling for ia64-hpux hosts. Add associated
1490 * configure.tgt: Add handling for ia64-hpux targets.
1491 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
1492 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
1493 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
1495 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1497 [ttrace] Compute thread list immediately after attach.
1498 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
1500 (inf_ttrace_attach): Use it.
1502 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1504 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
1505 if we could not determine the frame's function address. Instead,
1506 use the frame's PC, and then continue.
1508 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1510 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
1511 not already defined.
1513 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1515 * ia64-tdep.c (ia64_struct_type_p): New function.
1516 (ia64_extract_return_value): Handle integral values that are
1517 less than 8 bytes long.
1518 (ia64_push_dummy_call): Likewise.
1520 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1522 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
1523 floatformat_ia64_ext.
1524 (floatformat_ia64_ext_big): New static const.
1525 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
1527 2011-01-12 Tom Tromey <tromey@redhat.com>
1529 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
1531 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
1532 (mi_cmd_thread_list_ids): Likewise.
1533 (mi_cmd_data_list_changed_registers): Likewise.
1534 (mi_cmd_data_list_register_values): Likewise.
1535 (mi_cmd_data_write_register_values): Likewise.
1536 (mi_cmd_data_evaluate_expression): Likewise.
1537 (mi_cmd_data_read_memory): Likewise.
1538 (mi_cmd_data_read_memory_bytes): Likewise.
1539 (mi_cmd_data_write_memory): Likewise.
1540 (mi_cmd_enable_timings): Likewise.
1541 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
1542 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
1543 (mi_cmd_var_delete): Likewise.
1544 (mi_cmd_var_set_format): Likewise.
1545 (mi_cmd_var_show_format): Likewise.
1546 (mi_cmd_var_info_num_children): Likewise.
1547 (mi_cmd_var_list_children): Likewise.
1548 (mi_cmd_var_info_type): Likewise.
1549 (mi_cmd_var_info_expression): Likewise.
1550 (mi_cmd_var_show_attributes): Likewise.
1551 (mi_cmd_var_assign): Likewise.
1552 (mi_cmd_var_update): Likewise.
1553 (mi_cmd_enable_pretty_printing): Likewise.
1554 (mi_cmd_var_set_update_range): Likewise.
1555 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
1557 (mi_cmd_target_file_put): Likewise.
1558 (mi_cmd_target_file_delete): Likewise.
1559 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
1561 (mi_cmd_stack_info_depth): Likewise.
1562 (mi_cmd_stack_list_locals): Likewise.
1563 (mi_cmd_stack_list_args): Likewise.
1564 (mi_cmd_stack_select_frame): Likewise.
1565 (mi_cmd_stack_select_frame): Likewise.
1566 (mi_cmd_stack_info_frame): Likewise.
1567 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
1569 (mi_cmd_file_list_exec_source_files): Likewise.
1570 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
1571 (mi_cmd_env_cd): Likewise.
1572 (mi_cmd_env_path): Likewise.
1573 (mi_cmd_env_dir): Likewise.
1574 (mi_cmd_inferior_tty_show): Likewise.
1575 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
1576 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
1577 (mi_cmd_break_watch): Likewise.
1579 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
1581 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
1582 (ppc_linux_insert_hw_breakpoint): Likewise.
1583 (ppc_linux_remove_hw_breakpoint): Likewise.
1584 (ppc_linux_insert_watchpoint): Likewise.
1586 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1587 Jan Kratochvil <jan.kratochvil@redhat.com>
1589 PR fortran/11104 and DWARF unbound arrays detection.
1590 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
1591 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
1592 unspecified upper bound.
1593 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
1594 variables array_size_array, tmp_type and offset_item. New variable
1595 array. Remove call to f77_get_upperbound. New variables array_type
1596 and index. Call value_subscripted_rvalue for each dimenasion. Remove
1597 the final call to deprecated_set_value_type.
1599 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1601 Make value allocations more lazy.
1602 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
1603 instead of allocate_value and set_value_lazy when possible.
1604 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
1605 instead of allocate_value and set_value_lazy.
1606 * findvar.c (value_of_register_lazy): Likewise.
1607 (read_var_value): Remove V preallocation, call just check_typedef in
1608 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
1609 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
1610 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
1611 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
1612 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
1613 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
1614 the end, remove set_value_lazy there.
1615 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
1616 instead of allocate_value and set_value_lazy when possible.
1617 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
1618 * value.c (allocate_computed_value): Use allocate_value_lazy instead
1619 of allocate_value and set_value_lazy.
1620 (value_from_contents_and_address): Use allocate_value_lazy instead of
1621 allocate_value and set_value_lazy when possible.
1623 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1625 * disasm.c (dump_insns): Support dumping opcodes for MI.
1626 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
1627 dumping of instruction opcodes.
1629 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
1631 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
1634 2011-01-11 Tom Tromey <tromey@redhat.com>
1636 * thread.c (do_captured_thread_select): Emit newline before
1639 2011-01-11 Michael Snyder <msnyder@vmware.com>
1641 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
1642 * score-tdep.c: Ditto.
1643 * score-tdep.h: Ditto.
1644 * ser-base.c: Ditto.
1645 * ser-go32.c: Ditto.
1648 * ser-mingw.c: Ditto.
1649 * ser-pipe.c: Ditto.
1651 * ser-unix.c: Ditto.
1652 * sh64-tdep.c: Ditto.
1653 * shnbsd-nat.c: Ditto.
1657 * solib-darwin.c: Ditto.
1658 * solib-frv.c: Ditto.
1660 * solib-irix.c: Ditto.
1661 * solib-osf.c: Ditto.
1662 * solib-pa64.c: Ditto.
1663 * solib-som.c: Ditto.
1664 * solib-spu.c: Ditto.
1665 * solib-sunos.c: Ditto.
1666 * solib-svr4.c: Ditto.
1668 * sol-thread.c: Ditto.
1672 * sparc64-linux-tdep.c: Ditto.
1673 * sparc64-tdep.c: Ditto.
1674 * sparc-linux-nat.c: Ditto.
1675 * sparc-linux-tdep.c: Ditto.
1676 * sparc-sol2-nat.c: Ditto.
1677 * sparc-sol2-tdep.c: Ditto.
1678 * sparc-tdep.c: Ditto.
1679 * sparc-tdep.h: Ditto.
1680 * spu-tdep.c: Ditto.
1681 * stabsread.c: Ditto.
1682 * stabsread.h: Ditto.
1690 * target-descriptions.c: Ditto.
1691 * target-descriptions.h: Ditto.
1693 * target-memory.c: Ditto.
1694 * terminal.h: Ditto.
1697 * tracepoint.c: Ditto.
1698 * tracepoint.h: Ditto.
1699 * trad-frame.h: Ditto.
1700 * typeprint.c: Ditto.
1702 2011-01-11 Michael Snyder <msnyder@vmware.com>
1704 * ui-file.c: Comment cleanup, mostly periods and spaces.
1709 * v850-tdep.c: Ditto.
1710 * valarith.c: Ditto.
1712 * valprint.c: Ditto.
1713 * valprint.h: Ditto.
1718 * vax-tdep.c: Ditto.
1722 * windows-nat.c: Ditto.
1723 * windows-tdep.c: Ditto.
1724 * xcoffread.c: Ditto.
1725 * xcoffsolib.c: Ditto.
1726 * xml-support.c: Ditto.
1727 * xstormy16-tdep.c: Ditto.
1728 * xtensa-tdep.c: Ditto.
1729 * xtensa-tdep.h: Ditto.
1731 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1733 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
1734 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
1736 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
1737 Thiago Jung Bauermann <bauerman@br.ibm.com>
1739 Implement support for PowerPC BookE ranged watchpoints.
1741 (struct breakpoint_ops) <resources_needed>: New method.
1742 Initialize to NULL in all existing breakpoint_ops instances.
1743 (struct breakpoint) <exact>: New field.
1744 (target_exact_watchpoints): Declare external global.
1745 * breakpoint.c (target_exact_watchpoints): New global flag.
1746 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
1747 b->enable_state to bp_enabled before calling
1748 hw_watchpoint_used_count.
1749 (hw_watchpoint_used_count): Iterate over all bp_locations in a
1750 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
1752 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
1753 if the watchpoint is exact.
1754 (resources_needed_watchpoint): New function.
1755 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
1756 (watch_command_1): Set b->exact if the user asked for an exact
1757 watchpoint and one can be set.
1758 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
1759 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
1760 the user asks for an exact watchpoint and one can be set. Return
1761 number of needed debug registers to watch the expression.
1762 * gdbtypes.c (is_scalar_type): New function, based on
1763 valprint.c:scalar_type_p.
1764 (is_scalar_type_recursive): New function.
1765 * gdbtypes.h (is_scalar_type_recursive): Declare.
1766 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
1767 handle regions when ranged watchpoints are available.
1768 (create_watchpoint_request): New function.
1769 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
1770 create_watchpoint_request.
1771 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
1772 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
1773 `set powerpc' and `show powerpc' commands.
1774 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1775 Mention documentation comment in the target macro.
1776 (target_region_ok_for_hw_watchpoint): Document return value.
1778 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1780 * breakpoint.c (update_watchpoint): Decide on using a software or
1781 hardware watchpoint after the bp_locations are created.
1783 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1785 Convert hardware watchpoints to use breakpoint_ops.
1786 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
1787 <insert_location>: ... this. Return int instead of void.
1788 Accept pointer to struct bp_location instead of pointer to
1789 struct breakpoint. Adapt all implementations.
1790 (breakpoint_ops) <remove>: Rename to...
1791 <remove_location>: ... this. Accept pointer to struct bp_location
1792 instead of pointer to struct breakpoint. Adapt all implementations.
1793 * breakpoint.c (insert_catchpoint): Delete function.
1794 (insert_bp_location): Call the watchpoint or catchpoint's
1795 breakpoint_ops.insert method.
1796 (remove_breakpoint_1): Call the watchpoint or catchpoint's
1797 breakpoint_ops.remove method.
1798 (insert_watchpoint, remove_watchpoint): New functions.
1799 (watchpoint_breakpoint_ops): New structure.
1800 (watch_command_1): Initialize the OPS field.
1801 * inf-child.c (inf_child_insert_fork_catchpoint)
1802 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
1803 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
1804 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
1806 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
1807 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
1808 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
1809 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
1810 * target.c (update_current_target): Change default implementation of
1811 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
1812 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1813 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
1814 to_set_syscall_catchpoint to return_one.
1815 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
1816 (debug_to_insert_exec_catchpoint): Report return value.
1817 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
1818 (to_insert_exec_catchpoint): Change declaration to return int instead
1821 2011-01-11 Michael Snyder <msnyder@vmware.com>
1823 * arm-tdep.c: Internationalization.
1826 * fork-child.c: Ditto.
1827 * nto-procfs.c: Ditto.
1828 * ppc-sysv-tdep.c: Ditto.
1830 * remote-mips.c: Ditto.
1832 * rs6000-nat.c: Ditto.
1833 * rs6000-tdep.c: Ditto.
1837 * xml-support.c: Ditto.
1838 * mi/mi-cmd-break.c: Ditto.
1839 * mi/mi-cmd-var.c: Ditto.
1840 * mi/mi-interp.c: Ditto.
1841 * mi/mi-main.c: Ditto.
1843 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
1845 * remote-sim.c (gdbsim_store_register): Update API to
1846 sim_store_register to check more error conditions.
1848 2011-01-10 Michael Snyder <msnyder@vmware.com>
1850 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1851 * nto-tdep.c: Ditto.
1852 * nto-tdep.h: Ditto.
1853 * objc-exp.y: Ditto.
1854 * objc-lang.c: Ditto.
1855 * objfiles.c: Ditto.
1856 * objfiles.h: Ditto.
1857 * observer.c: Ditto.
1858 * opencl-lang.c: Ditto.
1861 * parser-defs.h: Ditto.
1864 * posix-hdep.c: Ditto.
1865 * ppcbug-rom.c: Ditto.
1866 * ppc-linux-nat.c: Ditto.
1867 * ppc-linux-tdep.c: Ditto.
1868 * ppc-linux-tdep.h: Ditto.
1869 * ppcnbsd-tdep.c: Ditto.
1870 * ppcobsd-tdep.c: Ditto.
1871 * ppcobsd-tdep.h: Ditto.
1872 * ppc-sysv-tdep.c: Ditto.
1873 * ppc-tdep.h: Ditto.
1874 * printcmd.c: Ditto.
1875 * proc-abi.c: Ditto.
1876 * proc-flags.c: Ditto.
1878 * proc-utils.h: Ditto.
1879 * progspace.h: Ditto.
1880 * prologue-value.c: Ditto.
1881 * prologue-value.h: Ditto.
1882 * psympriv.h: Ditto.
1884 * p-typeprint.c: Ditto.
1885 * p-valprint.c: Ditto.
1886 * ravenscar-sparc-thread.c: Ditto.
1887 * ravenscar-thread.c: Ditto.
1888 * ravenscar-thread.h: Ditto.
1890 * regcache.c: Ditto.
1891 * regcache.h: Ditto.
1893 * remote-fileio.c: Ditto.
1894 * remote-fileio.h: Ditto.
1896 * remote-m32r-sdi.c: Ditto.
1897 * remote-mips.c: Ditto.
1898 * remote-sim.c: Ditto.
1899 * rs6000-aix-tdep.c: Ditto.
1900 * rs6000-nat.c: Ditto.
1901 * rs6000-tdep.c: Ditto.
1903 2011-01-10 Michael Snyder <msnyder@vmware.com>
1905 * charset.c (validate): Internationalization.
1906 * coffread.c (read_one_sym): Ditto.
1907 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1908 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1909 * inflow.c (new_tty): Ditto.
1910 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1911 * m32c-tdep.c (m32c_return_value): Ditto.
1912 * mep-tdep.c (mep_store_return_value): Ditto.
1913 * score-tdep.c (score7_fetch_insn): Ditto.
1914 * ser-mingw.c (pipe_windows_open): Ditto.
1915 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1916 * spu-tdep.c (spu_register_type): Ditto.
1917 * tracepoint.c (trace_find_command): Ditto.
1918 * valarith.c (value_pos): Ditto.
1920 2011-01-10 Joel Brobecker <brobecker@adacore.com>
1922 * ada-valprint.c (printstr): Minor comment reformatting.
1924 2011-01-08 Michael Snyder <msnyder@vmware.com>
1926 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1929 2011-01-08 Michael Snyder <msnyder@vmware.com>
1931 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1932 * hppa-hpux-tdep.c: Ditto.
1933 * hppa-linux-nat.c: Ditto.
1934 * hppa-linux-tdep.c: Ditto.
1935 * hppanbsd-tdep.c: Ditto.
1936 * hppa-tdep.c: Ditto.
1937 * hppa-tdep.h: Ditto.
1938 * hpux-thread.c: Ditto.
1939 * i386-cygwin-tdep.c: Ditto.
1940 * i386-darwin-nat.c: Ditto.
1941 * i386gnu-nat.c: Ditto.
1942 * i386-linux-nat.c: Ditto.
1943 * i386-linux-tdep.c: Ditto.
1944 * i386-nat.c: Ditto.
1945 * i386-nat.h: Ditto.
1946 * i386nbsd-tdep.c: Ditto.
1947 * i386-sol2-nat.c: Ditto.
1948 * i386-stub.c: Ditto.
1949 * i386-tdep.c: Ditto.
1950 * i386-tdep.h: Ditto.
1951 * i387-tdep.c: Ditto.
1952 * ia64-linux-nat.c: Ditto.
1953 * ia64-linux-tdep.c: Ditto.
1954 * ia64-tdep.c: Ditto.
1958 * inferior.c: Ditto.
1959 * inferior.h: Ditto.
1965 * iq2000-tdep.c: Ditto.
1966 * irix5-nat.c: Ditto.
1972 * jv-typeprint.c: Ditto.
1973 * jv-valprint.c: Ditto.
1974 * language.c: Ditto.
1975 * language.h: Ditto.
1976 * linespec.c: Ditto.
1977 * linux-fork.c: Ditto.
1978 * linux-nat.c: Ditto.
1979 * linux-thread-db.c: Ditto.
1980 * lm32-tdep.c: Ditto.
1982 2011-01-08 Michael Snyder <msnyder@vmware.com>
1984 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1986 * m2-typeprint.c: Ditto.
1987 * m2-valprint.c: Ditto.
1988 * m32c-tdep.c: Ditto.
1989 * m32r-linux-nat.c: Ditto.
1990 * m32r-rom.c: Ditto.
1991 * m32r-tdep.c: Ditto.
1992 * m32r-tdep.h: Ditto.
1993 * m68hc11-tdep.c: Ditto.
1994 * m58klinux-nat.c: Ditto.
1995 * m68k-tdep.c: Ditto.
1996 * m88k-tdep.c: Ditto.
1997 * m88k-tdep.h: Ditto.
1998 * machoread.c: Ditto.
1999 * macrocmd.c: Ditto.
2000 * macroexp.c: Ditto.
2001 * macrotab.c: Ditto.
2004 * mdebugread.c: Ditto.
2005 * mdebugread.h: Ditto.
2008 * memory-map.h: Ditto.
2009 * mep-tdep.c: Ditto.
2010 * microblaze-rom.c: Ditto.
2011 * microblaze-tdep.c: Ditto.
2013 * mips-irix-tdep.c: Ditto.
2014 * mips-linux-nat.c: Ditto.
2015 * mips-linux-tdep.c: Ditto.
2016 * mips-linux-tdep.h: Ditto.
2017 * mipsnbsd-nat.c: Ditto.
2018 * mipsnbsd-tdep.c: Ditto.
2019 * mipsread.c: Ditto.
2020 * mips-tdep.c: Ditto.
2021 * mips-tdep.h: Ditto.
2022 * mn10300-linux-tdep.c: Ditto.
2023 * mn10300-tdep.c: Ditto.
2024 * mn10300-tdep.h: Ditto.
2027 * moxie-tdep.c: Ditto.
2028 * moxie-tdep.h: Ditto.
2031 2011-01-08 Mike Frysinger <vapier@gentoo.org>
2033 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
2035 2011-01-08 Robert Millan <rmh@gnu.org>
2037 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
2039 2011-01-07 Michael Snyder <msnyder@vmware.com>
2041 * charset.c (_initialize_charset): Fix typo in string.
2043 2011-01-07 Michael Snyder <msnyder@vmware.com>
2045 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
2047 * tui/tui-layout.c (tui_set_layout_for_display_command):
2048 Split line so that operator goes to beginning of line.
2049 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
2050 assignment out of if statement.
2052 2011-01-07 Michael Snyder <msnyder@vmware.com>
2054 * ada-lang.c: Comment cleanup, mostly periods and spaces.
2055 * ada-lang.h: Ditto.
2056 * ada-tasks.c: Ditto.
2057 * ada-valprint.c: Ditto.
2058 * aix-threads.c: Ditto.
2059 * alpha-linux-nat.c: Ditto.
2060 * alpha-linux-tdep.c: Ditto.
2061 * alpha-mdebug-tdep.c: Ditto.
2062 * alpha-nat.c: Ditto.
2063 * alpha-osf1-tdep.c: Ditto.
2064 * alpha-tdep.c: Ditto.
2065 * alphabsd-nat.c: Ditto.
2066 * alphabsd-tdep.c: Ditto.
2067 * amd64-darwin-tdep.c: Ditto.
2068 * amd64-linux-nat.c: Ditto.
2069 * amd64-linux-tdep.c: Ditto.
2070 * amd64-sol2-tdep.c: Ditto.
2071 * amd64-tdep.c: Ditto.
2072 * amd64-fbsd-tdep.c: Ditto.
2073 * amd64-nbsd-tdep.c: Ditto.
2074 * amd64-obsd-tdep.c: Ditto.
2075 * amd64-linux-nat.c: Ditto.
2076 * amd64-linux-tdep.c: Ditto.
2077 * arm-tdep.c: Ditto.
2078 * arm-tdep.h: Ditto.
2079 * armnbsd-nat.c: Ditto.
2080 * avr-tdep.c: Ditto.
2081 * bfin-tdep.c: Ditto.
2083 * c-typeprintc: Ditto.
2084 * c-valprint.c: Ditto.
2085 * coff-pe-read.h: Ditto.
2086 * coffreead.c: Ditto.
2087 * cris-tdep.c: Ditto.
2089 * darwin-nat-info.c: Ditto.
2090 * darwin-nat.c: Ditto.
2091 * dbug-rom.c: Ditto.
2095 * dec-thread.c: Ditto.
2097 * demangle.c: Ditto.
2098 * dicos-tdep.c: Ditto.
2099 * dictionary.c: Ditto.
2100 * dictionary.h: Ditto.
2101 * dink32-rom.c: Ditto.
2103 * doublest.c: Ditto.
2105 * dummy-frame.c: Ditto.
2106 * dwarf2-frame.c: Ditto.
2107 * dwarf2expr.c: Ditto.
2108 * dwarf2loc.c: Ditto.
2109 * dwarf2read.c: Ditto.
2113 * event-top.h: Ditto.
2114 * exceptions.c: Ditto.
2115 * exceptions.h: Ditto.
2117 * expprint.c: Ditto.
2118 * expression.h: Ditto.
2122 * f-typeprint.c: Ditto.
2123 * f-valprint.c: Ditto.
2124 * fbsd-nat.c: Ditto.
2126 * fork-child.c: Ditto.
2129 * frv-linux-tdep.c: Ditto.
2130 * frv-tdep.c: Ditto.
2132 * gdb-stabs.h: Ditto.
2133 * gdb_assert.h: Ditto.
2134 * gdb_string.h: Ditto.
2135 * gdb_thread_db.h: Ditto.
2136 * gdb_wait.h: Ditto.
2137 * gdbarch.sh: Ditto.
2139 * gdbthread.h: Ditto.
2140 * gdbtypes.c: Ditto.
2141 * gdbtypes.h: Ditto.
2144 * gnu-v2-abi.c: Ditto.
2145 * gnu-v3-abi.c: Ditto.
2146 * go32-nat.c: Ditto.
2147 * gdbarch.c: Regenerate.
2148 * gdbarch.h: Regenerate.
2150 2011-01-07 Michael Snyder <msnyder@vmware.com>
2152 * ax-gdb.c: Adjust some long output strings.
2153 * breakpoint.c: Ditto.
2158 * linux-nat.c: Ditto.
2159 * solib-pa64.c: Ditto.
2160 * solib-som.c: Ditto.
2162 2011-01-06 Tom Tromey <tromey@redhat.com>
2166 * python/python.c (GdbMethods): Add "newest_frame" method.
2167 * python/python-internal.h (gdbpy_newest_frame): Declare.
2168 * python/py-frame.c (gdbpy_newest_frame): New function.
2170 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2172 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
2173 * jit.c (jit_debug): New variable.
2174 (show_jit_debug): New function.
2175 (struct target_buffer): Use ULONGEST.
2176 (bfd_open_from_target_memory): Likewise.
2177 (jit_register_code, jit_inferior_init): Add debug output.
2178 (_initialize_jit): Register "debug jit" command.
2180 2011-01-06 Tom Tromey <tromey@redhat.com>
2182 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
2183 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
2186 2011-01-06 Tom Tromey <tromey@redhat.com>
2188 * python/py-frame.c (frapy_block): Use get_frame_block.
2190 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2192 Do not stop on SIGPRIO signals by default
2193 * infrun.c (_initialize_infrun): Unset signal_stop and
2194 signal_print for TARGET_SIGNAL_PRIO.
2196 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2198 * ada-tasks.c: Fix style violation in comment.
2200 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2202 * linespec.c (decode_compound, find_method): Remove trailing \n
2203 at end of error string.
2204 * solib-irix.c (irix_current_sos): Likewise.
2205 * varobj.c (uninstall_variable): Likewise.
2207 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2209 * copyright.py: New script.
2210 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
2211 Launch emacs without exec'ing. Call copyright.py afterwards.
2213 2011-01-05 Michael Snyder <msnyder@vmware.com>
2215 * addrmap.c: Shorten lines of >= 80 columns.
2216 * arch-utils.c: Ditto.
2217 * arch-utils.h: Ditto.
2219 * ax-general.c: Ditto.
2221 * blockframe.c: Ditto.
2222 * breakpoint.c: Ditto.
2223 * buildsym.c: Ditto.
2225 * c-typeprint.c: Ditto.
2227 * coffread.c: Ditto.
2231 * cp-namespace.c: Ditto.
2232 * cp-support.c: Ditto.
2233 * dbug-rom.c: Ditto.
2238 * dictionary.c: Ditto.
2240 * doublest.c: Ditto.
2241 * dwarf2-frame.c: Ditto.
2242 * dwarf2expr.c: Ditto.
2243 * dwarf2loc.c: Ditto.
2244 * dwarf2read.c: Ditto.
2247 * event-loop.c: Ditto.
2248 * event-loop.h: Ditto.
2249 * exceptions.h: Ditto.
2251 * expprint.c: Ditto.
2252 * expression.h: Ditto.
2254 * f-valprint.c: Ditto.
2256 * frame-base.c: Ditto.
2257 * frame-unwind.c: Ditto.
2258 * frame-unwind.h: Ditto.
2262 * gdb-stabs.h: Ditto.
2263 * gdb_assert.h: Ditto.
2264 * gdb_dirent.h: Ditto.
2265 * gdb_obstack.h: Ditto.
2267 * gdbtypes.c: Ditto.
2268 * gdbtypes.h: Ditto.
2269 * inf-ttrace.c: Ditto.
2274 * inline-frame.h: Ditto.
2275 * language.c: Ditto.
2276 * language.h: Ditto.
2277 * libunwind-frame.c: Ditto.
2278 * libunwind-frame.h: Ditto.
2279 * linespec.c: Ditto.
2280 * linux-nat.c: Ditto.
2281 * linux-nat.h: Ditto.
2282 * linux-thread-db.c: Ditto.
2283 * machoread.c: Ditto.
2284 * macroexp.c: Ditto.
2285 * macrotab.c: Ditto.
2288 * mdebugread.c: Ditto.
2293 * objfiles.c: Ditto.
2294 * objfiles.h: Ditto.
2296 * p-typeprint.c: Ditto.
2297 * p-valprint.c: Ditto.
2299 * printcmd.c: Ditto.
2300 * proc-events.c: Ditto.
2302 * progspace.c: Ditto.
2303 * progspace.h: Ditto.
2304 * psympriv.h: Ditto.
2307 * regcache.c: Ditto.
2308 * regcache.h: Ditto.
2309 * remote-fileio.c: Ditto.
2311 * ser-mingw.c: Ditto.
2313 * ser-unix.c: Ditto.
2316 * solib-frv.c: Ditto.
2317 * solib-irix.c: Ditto.
2318 * solib-osf.c: Ditto.
2319 * solib-pa64.c: Ditto.
2320 * solib-som.c: Ditto.
2321 * solib-sunos.c: Ditto.
2322 * solib-svr4.c: Ditto.
2323 * solib-target.c: Ditto.
2327 * stabsread.c: Ditto.
2328 * stabsread.c: Ditto.
2331 * symfile-mem.c: Ditto.
2337 * target-descriptions.c: Ditto.
2338 * target-memory.c: Ditto.
2341 * terminal.h: Ditto.
2344 * tracepoint.c: Ditto.
2345 * tracepoint.h: Ditto.
2349 * user-regs.c: Ditto.
2350 * user-regs.h: Ditto.
2352 * valarith.c: Ditto.
2354 * valprint.c: Ditto.
2355 * valprint.h: Ditto.
2360 * xcoffread.c: Ditto.
2361 * xcoffsolib.c: Ditto.
2362 * xcoffsolib.h: Ditto.
2363 * xml-syscall.c: Ditto.
2364 * xml-tdesc.c: Ditto.
2366 2011-01-05 Michael Snyder <msnyder@vmware.com>
2368 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
2369 * cli/cli-decode.c: Ditto.
2370 * cli/cli-dump.c: Ditto.
2371 * cli/cli-logging.c: Ditto.
2372 * cli/cli-script.c: Ditto.
2373 * cli/cli-setshow.c: Ditto.
2374 * common/signals.c: Ditto.
2375 * mi/mi-cmd-break.c: Ditto.
2376 * mi/mi-cmd-disas.c: Ditto.
2377 * mi/mi-cmd-stack.c: Ditto.
2378 * mi/mi-cmd-var.c: Ditto.
2379 * mi/mi-cmds.c: Ditto.
2380 * mi/mi-common.h: Ditto.
2381 * mi/mi-console.c: Ditto.
2382 * mi/mi-interp.c: Ditto.
2383 * mi/mi-main.c: Ditto.
2384 * osf-share/cma_attr.c: Ditto.
2385 * osf-share/cma_deb_core.h: Ditto.
2386 * osf-share/cma_debug_client.h: Ditto.
2387 * osf-share/cma_handle.h: Ditto.
2388 * osf-share/cma_mutex.h: Ditto.
2389 * osf-share/cma_stack_int.h: Ditto.
2390 * osf-share/cma_tcb_defs.h: Ditto.
2391 * python/py-auto-load.c: Ditto.
2392 * python/py-breakpoint.c: Ditto.
2393 * python/py-cmd.c: Ditto.
2394 * python/py-frame.c: Ditto.
2395 * python/py-objfile.c: Ditto.
2396 * python/py-param.c: Ditto.
2397 * python/py-progspace.c: Ditto.
2398 * python/py-symbol.c: Ditto.
2399 * python/py-value.c: Ditto.
2400 * python/python-internal.h: Ditto.
2401 * python/python.c: Ditto.
2402 * tui/tui-data.c: Ditto.
2403 * tui/tui-disasm.c: Ditto.
2404 * tui/tui-hooks.c: Ditto.
2405 * tui/tui-io.c: Ditto.
2406 * tui/tui-layout.c: Ditto.
2407 * tui/tui-regs.c: Ditto.
2408 * tui/tui-source.c: Ditto.
2409 * tui/tui-stack.c: Ditto.
2410 * tui/tui-win.c: Ditto.
2411 * tui/tui-windata.c: Ditto.
2412 * tui/tui-winsource.c: Ditto.
2414 2011-01-05 Joel Brobecker <brobecker@adacore.com>
2416 * configure.ac, gdb.1: Copyright year update.
2418 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2420 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
2421 this_pc_in_block, morestack_msym and morestack_name. Check for
2422 "__morestack" minimal symbol there.
2424 2011-01-03 Joel Brobecker <brobecker@adacore.com>
2426 * symfile.c (find_sym_fns): Add call to dont_repeat.
2428 2011-01-01 Joel Brobecker <brobecker@adacore.com>
2430 Copyright year update in most files (performed by copyright.sh).
2432 2011-01-01 Joel Brobecker <brobecker@adacore.com>
2434 * top.c (print_gdb_version): Update copyright year in version output.
2436 For older changes see ChangeLog-2010.
2442 version-control: never