1 2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr>
3 Allow use of mingw native on Windows 95 OS.
4 * src/gdb/ser-mingw.c (CancelIo): New macro for dynamically loaded
6 (ser_windows_close): Only call CancelIo if function exists.
7 (_initialize_ser_windows): Use LoadLirary/GetProcAddress
8 to check for existence of CancelIo function in kernel32 DLL.
10 2011-02-21 Hui Zhu <teawater@gmail.com>
12 * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h.
13 * ax-gdb.c (gen_printf_expr_callback): New function.
14 * ax-gdb.h (gen_printf_expr_callback): Forward declare.
15 * ax-general.c (ax_memcpy): New function.
16 (ax_print): Handle "printf".
18 * ax.h (ax_memcpy): Forward declare.
19 * common/ax.def (invalid2): Removed.
21 * printcmd.c (printcmd.h): New include.
22 (string_printf): New function.
24 (printf_command): Remove static. Call string_printf.
25 (eval_command): Call string_printf.
26 * printcmd.h: New file.
27 * tracepoint.c (validate_actionline,
28 encode_actions_1): handle printf_command.
30 2011-02-19 Michael Snyder <msnyder@vmware.com>
32 * reverse.c (delete_one_bookmark): Argument is now bookmark
33 id rather than pointer to bookmark struct.
34 (delete_bookmark_command): Use get_number_or_range.
35 (goto_bookmark_command): Parse with get_number instead of strtoul.
36 (bookmark_1): New function. Print info for one bookmark.
37 (bookmarks_info): Use get_number_or_range and bookmark_1.
39 2011-02-18 Michael Snyder <msnyder@vmware.com>
41 * thread.c (info_threads_command): Re-implement using
43 (thread_apply_command): Ditto.
45 2011-02-18 Tom Tromey <tromey@redhat.com>
47 * common/ax.def: New file.
48 * ax.h (enum agent_op): Use ax.def.
49 * ax-general.c (aop_map): Use ax.def.
51 2011-02-18 Tom Tromey <tromey@redhat.com>
53 * ax-general.c (aop_map): Add pick and rot.
54 * dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement.
55 <DW_OP_rot>: Implement.
56 * ax.h (enum agent_op) <aop_pick, aop_rot>: New constants.
58 * ax-general.c (ax_pick): New function.
60 2011-02-18 Tom Tromey <tromey@redhat.com>
62 * Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc.
64 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
65 Tom Tromey <tromey@redhat.com>
67 * cp-support.c (make_symbol_overload_list_namespace): Do not call
68 make_symbol_overload_list_block with NULL BLOCK.
69 * valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF.
71 2011-02-18 Pedro Alves <pedro@codesourcery.com>
73 * breakpoint.c (get_number_trailer): No longer accept a NULL PP.
74 * breakpoint.h (get_number_or_range): Declare.
75 * printcmd.c (ALL_DISPLAYS): Declare.
76 (delete_display): Reimplement taking a display pointer.
77 (undisplay_command): Accept a range of displays to delete, using
80 2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
82 * c-valprint.c (c_val_print): Add embedded_offset to address
83 for arrays of unspecified length.
84 * p-valprint.c (pascal_val_print): Likewise.
86 2011-02-18 Yao Qi <yao@codesourcery.com>
88 * gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ...
89 (arm_process_displaced_insn): .. here. Remove parameter INSN.
90 (thumb_process_displaced_insn): New.
91 * gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update
92 call to arm_process_displaced_insn.
93 * gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn.
95 2011-02-17 Tom Tromey <tromey@redhat.com>
97 * dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare.
98 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from
99 compile_dwarf_to_ax. No longer static. Call
100 dwarf2_compile_cfa_to_ax.
101 (locexpr_tracepoint_var_ref): Update.
102 (loclist_tracepoint_var_ref): Update.
103 * dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare.
104 * dwarf2-frame.c (execute_cfa_program): Remove 'this_frame'
105 argument; add 'gdbarch' and 'pc'.
106 (dwarf2_compile_cfa_to_ax): New function.
107 (dwarf2_frame_cache): Update.
109 2011-02-17 Joel Brobecker <brobecker@adacore.com>
111 * ada-lang.c (ada_type_of_array): Fix the size of the array
112 in the case of an unconstrained packed array.
114 2011-02-17 Yao Qi <yao@codesourcery.com>
116 * common/Makefile.in: Add more targets for make.
118 2011-02-16 Tom Tromey <tromey@redhat.com>
120 * dwarf2loc.c (unimplemented): Fix typo.
122 2011-02-16 Tom Tromey <tromey@redhat.com>
124 * dwarf2loc.c (unimplemented): Handle unnamed opcodes.
125 (compile_dwarf_to_ax) <default>: Use unimplemented.
126 <DW_OP_deref>: Update.
127 (disassemble_dwarf_expression): Update.
128 * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument.
129 (decode_locdesc): Update.
130 * dwarf2expr.h (dwarf_stack_op_name): Update.
132 2011-02-16 Tom Tromey <tromey@redhat.com>
134 * ax.h (struct aop_map) <name>: Now const.
136 2011-02-16 Tom Tromey <tromey@redhat.com>
138 * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other
141 2011-02-16 Yao Qi <yao@codesourcery.com>
143 * infrun.c (get_displaced_step_closure_by_addr): New.
144 * inferior.h: Declare it.
145 * arm-tdep.c: (arm_pc_is_thumb): Call
146 get_displaced_step_closure_by_addr. Adjust MEMADDR if it
149 2011-02-16 Pedro Alves <pedro@codesourcery.com>
150 Jan Kratochvil <jan.kratochvil@redhat.com>
153 * tracepoint.c (memrange_sortmerge): Fix list A's end calculation.
155 2011-02-16 Pedro Alves <pedro@codesourcery.com>
156 Jan Kratochvil <jan.kratochvil@redhat.com>
158 * value.c (value_contents_copy_raw): Extend describing comment.
159 Assert that the destination contents we're overwriting are wholly
161 (value_contents_copy): Extend describing comment.
163 2011-02-16 Pedro Alves <pedro@codesourcery.com>
164 Jan Kratochvil <jan.kratochvil@redhat.com>
166 * value.c (value_available_contents_eq): Remove redundant local
167 variables. Fix available contents comparision.
168 * value.h (value_available_contents_eq): Extend describing
171 2011-02-16 Yao Qi <yao@codesourcery.com>
173 * thread.c (info_threads_command): Add missing i18n markup and remove
176 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com>
178 * breakpoint.c (longjmp_names): New variable.
179 (struct breakpoint_objfile_data): New type.
180 (breakpoint_objfile_key): New variable.
181 (msym_not_found): New variable.
182 (msym_not_found_p): New predicate.
183 (get_breakpoint_objfile_data): New function.
184 (create_overlay_event_breakpoint): Check per-objfile cache for
186 (create_longjmp_master_breakpoint): Likewise.
187 (create_std_terminate_master_breakpoint): Likewise.
188 (create_exception_master_breakpoint): Likewise.
189 (_initialize_breakpoint): Register per-objfile data key.
191 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com>
193 * breakpoint.c ((create_overlay_event_breakpoint): Const-propagate
195 (create_longjmp_master_breakpoint): Loop over longjmp names.
196 (create_std_terminate_master_breakpoint): Const-propagate parameter
198 (update_breakpoints_after_exec): Adjust.
199 (breakpoint_re_set): Adjust.
201 2011-02-15 Michael Snyder <msnyder@vmware.com>
203 * thread.c (info_threads_command): Process arg as thread id,
204 or list of thread ids.
205 (thread_find_command): New command.
206 (_initialize_thread): Document argument for info threads.
207 Document 'thread find' command.
208 * NEWS: Document new command "thread find".
210 2011-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
212 * Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'.
213 * aclocal.m4: Regenerated with aclocal-1.11.1.
214 * common/configure: Regenerate with autoconf-2.64.
216 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
218 * opencl-lang.c (build_opencl_types): Set the size of the built-in
219 bool data type to a size of one byte.
221 2011-02-15 Pedro Alves <pedro@codesourcery.com>
222 Jan Kratochvil <jan.kratochvil@redhat.com>
224 * target.c (memory_xfer_live_readonly_partial): Document where to
225 look for interface description.
227 2011-02-15 Yao Qi <yao@codesourcery.com>
230 * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in
231 order to store PC value on stack instead of text section.
233 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
235 * rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for
236 the EFP register set size.
237 (efpr_pseudo_register_read): Use regcache_raw_read_part to read
238 data from the VMX register.
239 (efpr_pseudo_register_write): Use regcache_raw_write_part to read
240 and write data from/to the VMX register.
242 2011-02-14 Michael Snyder <msnyder@vmware.com>
244 * command.h (enum command_class): New class 'no_set_class', for
245 "show" commands without a corresponding "set" command.
246 * value.c (_initialize_values): Use 'no_set_class' for "show values".
247 * copying.c (_initialize_copying): Ditto for "show copying" and
249 * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and
251 * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for
252 which there is no corresponding "set" command (eg. "show copying").
254 2011-02-14 Pedro Alves <pedro@codesourcery.com>
255 Jan Kratochvil <jan.kratochvil@redhat.com>
257 * exec.c (section_table_available_memory): Change `len' parameter
259 * exec.h (section_table_available_memory): Ditto.
260 * value.h (read_value_memory): Rename the `offset' parameter to
263 2011-02-14 Pedro Alves <pedro@codesourcery.com>
264 Jan Kratochvil <jan.kratochvil@redhat.com>
266 * memrange.c (compare_mem_ranges): Mention sort order in
268 (normalize_mem_ranges): Add comment. Fix ra->length calculation.
269 * tracepoint.c (traceframe_available_memory): Extend comment to
270 mention what happens to RESULT when the target does not support
273 2011-02-14 Pedro Alves <pedro@codesourcery.com>
274 Jan Kratochvil <jan.kratochvil@redhat.com>
276 * value.c (mark_value_bytes_unavailable): Fix indexing the `bef'
279 2011-02-14 Pedro Alves <pedro@codesourcery.com>
281 * value.c (value_bits_valid, value_bits_synthetic_pointer):
282 No longer handle NULL values.
284 2011-02-14 Pedro Alves <pedro@codesourcery.com>
286 * exceptions.h (NOT_AVAILABLE_ERROR): New error.
287 * value.c: Include "exceptions.h".
288 (require_available): Throw NOT_AVAILABLE_ERROR instead of a
290 * cp-abi.c: Include gdb_assert.h.
291 (baseclass_offset): Add `embedded_offset' and `val' parameters.
292 Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR
294 * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val'
295 parameters. No longer returns -1 on error.
296 (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and
298 * cp-valprint.c: Include exceptions.h.
299 (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching
300 the baseclass_offset. Handle unavailable base classes. Use
301 val_print_invalid_address.
302 * p-valprint.c: Include exceptions.h.
303 (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors
304 when fetching the baseclass_offset. No longer expect
305 baseclass_offset returning -1. Handle unavailable base classes.
306 Use val_print_invalid_address.
307 * valops.c (dynamic_cast_check_1): Rename `contents' parameter to
308 `valaddr' parameter, and change its type to gdb_byte pointer. Add
309 `embedded_offset' and `val' parameters. Adjust.
310 (dynamic_cast_check_2): Rename `contents' parameter to `valaddr'
311 parameter, and change its type to gdb_byte pointer. Add
312 `embedded_offset' and `val' parameters. Adjust. No longer expect
313 baseclass_offset returning -1.
314 (value_dynamic_cast): Use value_contents_for_printing rather than
315 value_contents. Adjust.
316 (search_struct_field): No longer expect baseclass_offset returning
318 (search_struct_method): If reading memory from the target is
319 necessary, wrap it in a new value to pass to baseclass_offset. No
320 longer expect baseclass_offset returning -1.
321 (find_method_list): No longer expect baseclass_offset returning
322 -1. Use value_contents_for_printing rather than value_contents.
323 * valprint.c (val_print_invalid_address): New function.
324 * valprint.h (val_print_invalid_address): Declare.
325 * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset'
326 and `val' parameters. No longer expect baseclass_offset returning
328 * gnu-v2-abi.c: Include "exceptions.h".
329 (gnuv2_baseclass_offset): Add `embedded_offset' and `val'
330 parameters. Handle unavailable memory. Recurse through
331 gnuv2_baseclass_offset directly, rather than through
332 baseclass_offset. No longer returns -1 on not found, instead
334 * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and
335 `val' parameters. Adjust.
337 2011-02-14 Pedro Alves <pedro@codesourcery.com>
339 * tracepoint.c (memrange_sortmerge): Don't merge ranges that are
340 almost but not quite adjacent.
342 2011-02-14 Pedro Alves <pedro@codesourcery.com>
344 * value.h (value_entirely_available): Declare.
345 * value.c (value_entirely_available): New function.
346 * c-valprint.c (c_value_print): Don't try fetching the pointer's
347 real type if the pointer is unavailable.
349 2011-02-14 Pedro Alves <pedro@codesourcery.com>
351 * valops.c (value_repeat): Use read_value_memory instead of
354 2011-02-14 Pedro Alves <pedro@codesourcery.com>
356 * value.h (value_contents_copy, value_contents_copy_raw): Declare.
357 * value.c (value_contents_copy_raw, value_contents_copy): New
359 (value_primitive_field): Use value_contents_copy_raw instead of
361 * valops.c (value_fetch_lazy): Use value_contents_copy instead of
363 (value_array, value_slice): Ditto.
364 * valarith.c (value_subscripted_rvalue): Use
365 value_contents_copy_raw instead of memcpy.
367 2011-02-14 Pedro Alves <pedro@codesourcery.com>
369 <unavailable> references.
371 * valops.c (get_value_at): Use value_from_contents_and_address,
372 avoiding read_memory.
374 2011-02-14 Pedro Alves <pedro@codesourcery.com>
376 * c-valprint.c (c_val_print): Print a string with unavailable
377 contents as an array.
379 2011-02-14 Pedro Alves <pedro@codesourcery.com>
381 * value.h (unpack_bits_as_long): Delete declaration.
382 (unpack_value_bits_as_long): Declare.
383 (unpack_value_field_as_long): Declare.
384 (value_field_bitfield): Declare.
385 * value.c (unpack_bits_as_long): Rename to...
386 (unpack_value_bits_as_long_1): ... this. Add embedded_offset and
387 value parameters. Return the extracted result in a new output
388 parameter. If the value contents are unavailable, return false,
389 otherwise return true.
390 (unpack_value_bits_as_long): New.
391 (unpack_field_as_long): Rename to...
392 (unpack_value_field_as_long_1): ... this. Add embedded_offset and
393 Add embedded_offset and value parameters. Return the extracted
394 result in a new output parameter. If the value contents are
395 unavailable, return false, otherwise return true.
396 (unpack_value_field_as_long): New.
397 (unpack_field_as_long_1): New.
398 (unpack_field_as_long): Reimplement as wrapper around
399 unpack_value_field_as_long_1.
400 (value_field_bitfield): New function.
401 * valops.c (value_fetch_lazy): When fetching a bitfield, use
402 unpack_value_bits_as_long. Mark the value as unavailable, if it
404 * jv-valprint.c (java_print_value_fields): Use
405 value_field_bitfield.
406 * p-valprint.c (pascal_object_print_value_fields): Use
407 value_field_bitfield.
408 * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield.
410 2011-02-14 Pedro Alves <pedro@codesourcery.com>
412 * value.c (get_internalvar_integer): Also return the int value of
413 TYPE_CODE_INT INTERNALVAR_VALUE values.
414 (set_internalvar): Don't special case TYPE_CODE_INT.
416 2011-02-14 Pedro Alves <pedro@codesourcery.com>
418 * value.c (struct internalvar) <enum internalvar_kind>: Remove
421 (value_of_internalvar): Remove INTERNALVAR_POINTER handling.
422 (set_internalvar): Remove special TYPE_CODE_PTR handling.
423 (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling.
425 2011-02-14 Pedro Alves <pedro@codesourcery.com>
427 * value.h (value_available_contents_eq): Declare.
428 * value.c (find_first_range_overlap): New function.
429 (value_available_contents_eq): New function.
430 * valprint.c (val_print_array_elements): Use
431 value_available_contents_eq.
432 * ada-valprint.c (val_print_packed_array_elements): Use
433 value_available_contents_eq.
434 * jv-valprint.c (java_value_print): Use
435 value_available_contents_eq.
437 2011-02-14 Pedro Alves <pedro@codesourcery.com>
439 * target.c (target_read_live_memory): New function.
440 (memory_xfer_live_readonly_partial): New.
441 (memory_xfer_partial): If reading from a traceframe, fallback to
442 reading unavailable read-only memory from read-only regions of
444 * tracepoint.c (disconnect_tracing): Adjust.
445 (set_current_traceframe): New, factored out from
446 set_traceframe_number.
447 (set_traceframe_number): Reimplement to only change the traceframe
448 number on the GDB side.
449 (do_restore_current_traceframe_cleanup): Adjust.
450 (make_cleanup_restore_traceframe_number): New.
451 (cur_traceframe_number): New global.
452 (tfile_open): Set cur_traceframe_number to no traceframe.
453 (set_tfile_traceframe): New function.
454 (tfile_trace_find): If looking up a traceframe using any method
455 other than by number, make sure the current tfile traceframe
456 matches gdb's current traceframe. Update the current tfile
457 traceframe if the lookup succeeded.
458 (tfile_fetch_registers, tfile_xfer_partial)
459 (tfile_get_trace_state_variable_value): Make sure the remote
460 traceframe matches gdb's current traceframe.
461 * remote.c (remote_traceframe_number): New global.
462 (remote_open_1): Set it to -1.
463 (set_remote_traceframe): New function.
464 (remote_fetch_registers, remote_store_registers)
465 (remote_xfer_memory, remote_xfer_partial)
466 (remote_get_trace_state_variable_value): Make sure the remote
467 traceframe matches gdb's current traceframe.
468 (remote_trace_find): If looking up a traceframe using any method
469 other than by number, make sure the current remote traceframe
470 matches gdb's current traceframe. Update the current remote
471 traceframe if the lookup succeeded.
472 * infrun.c (fetch_inferior_event): Adjust.
473 * tracepoint.h (set_current_traceframe): Declare.
474 (get_traceframe_number, set_traceframe_number): Add describing
477 2011-02-14 Pedro Alves <pedro@codesourcery.com>
479 Mark pieces of values as unavailable if the corresponding memory
482 * valops.c: Include tracepoint.h.
483 (value_fetch_lazy): Use read_value_memory.
484 (read_value_memory): New.
485 * value.h (read_value_memory): Declare.
486 * dwarf2loc.c (read_pieced_value): Use read_value_memory.
487 * exec.c (section_table_available_memory): New function.
488 * exec.h (section_table_available_memory): Declare.
490 2011-02-14 Pedro Alves <pedro@codesourcery.com>
492 * Makefile.in (SFILES): Add memrange.c.
493 (HFILES_NO_SRCDIR): Add memrange.h.
494 (COMMON_OBS): Add memrange.o.
495 * memrange.c: New file.
496 * memrange.h: New file.
497 * tracepoint.c: Include memrange.h.
498 (struct mem_range): Delete.
499 (mem_range_s): Delete.
500 (traceframe_available_memory): New function.
501 * tracepoint.h (traceframe_available_memory): Declare.
503 2011-02-14 Pedro Alves <pedro@codesourcery.com>
505 * target.h (struct traceframe_info): Forward declare.
506 (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
507 (struct target_ops) <to_traceframe_info>: New field.
508 (target_traceframe_info): New.
509 * target.c (update_current_target): Inherit and default
511 * remote.c (PACKET_qXfer_traceframe_info): New.
512 (remote_protocol_features): Register qXfer:traceframe-info:read.
513 (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
514 (remote_traceframe_info): New.
515 (init_remote_ops): Install it.
516 (_initialize_remote): Install "set/show remote traceframe-info"
518 * tracepoint.h (parse_traceframe_info): Declare.
519 * tracepoint.c (struct mem_range): New.
520 (mem_range_s): New typedef.
521 (struct traceframe_info): New.
522 (traceframe_info): New global.
523 (free_traceframe_info): New function.
524 (clear_traceframe_info): New function.
525 (start_tracing, tfind_1, set_traceframe_number): Clear traceframe
527 (build_traceframe_info): New function.
528 (tfile_traceframe_info): New function.
529 (init_tfile_ops): Install tfile_traceframe_info.
530 (traceframe_info_start_memory, free_result): New functions.
531 (memory_attributes, traceframe_info_elements): New globals.
532 (parse_traceframe_info, get_traceframe_info): New functions.
533 * features/traceframe-info.dtd: New file.
534 * Makefile.in (XMLFILES): Add traceframe-info.dtd.
536 2011-02-14 Pedro Alves <pedro@codesourcery.com>
538 Base support for <unavailable> value contents.
540 * value.h (value_bytes_available): Declare.
541 (mark_value_bytes_unavailable): Declare.
542 * value.c (struct range): New struct.
543 (range_s): New typedef.
544 (ranges_overlap): New function.
545 (range_lessthan): New function.
546 (ranges_contain_p): New function.
547 (struct value) <unavailable>: New field.
548 (value_bytes_available): New function.
549 (mark_value_bytes_unavailable): New function.
550 (require_not_optimized_out): Constify parameter.
551 (require_available): New function.
552 (value_contents_all, value_contents): Require all bytes be
554 (value_free): Free `unavailable'.
555 (value_copy): Copy `unavailable'.
556 * valprint.h (val_print_unavailable): Declare.
557 * valprint.c (valprint_check_validity): Rename `offset' parameter
558 to `embedded_offset'. If printing a scalar, check whether the
559 value chunk is available.
560 (val_print_unavailable): New.
561 (val_print_scalar_formatted): Check whether the value is
563 * python/py-prettyprint.c (apply_val_pretty_printer): Refuse
564 pretty-printing unavailable values.
566 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
568 Fix const/volatile qualifiers of C++ types, PR c++/12328.
569 * c-typeprint.c (c_type_print_args): Update the function comment. New
570 variable param_type, initialize it. Remove const/volatile qualifiers
571 for language_cplus and !show_artificial. Use param_type.
573 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
575 * symtab.c (find_pc_sect_line): New variable objfile, initialize it
576 from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S.
577 * symtab.h (struct symtab) <next>: Comment extension.
579 2011-02-12 Yao Qi <yao@codesourcery.com>
581 * Makefile.in (CLEANDIRS): Remove duplicated common dir.
583 2011-02-11 Yao Qi <yao@codesourcery.com>
585 * common/Makefile.in: Add copyright header.
587 2011-02-11 Pedro Alves <pedro@codesourcery.com>
589 * infrun.c (proceed): Move switching out and in of tfind mode from
591 (fetch_inferior_event): ... to here.
593 2011-02-11 Yao Qi <yao@codesourcery.com>
595 * Makefile.in: Remove signals.o from COMMON_OBS. Link
597 * configure.ac: Add common to sub dir.
598 * configure: Regenerate.
600 2011-02-11 Yao Qi <yao@codesourcery.com>
604 * common/Makefile.in: New.
605 * common/configure.ac: New.
606 * common/aclocal.m4: New.
607 * common/configure: Generate.
609 2011-02-10 Pedro Alves <pedro@codesourcery.com>
611 * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
612 side of the parenthesis.
615 2010-07-13 Jakub Jelinek <jakub@redhat.com>
616 * vec.h (VEC_block_remove): Fix comment.
618 2011-02-08 Michael Snyder <msnyder@vmware.com>
620 * linux-nat.c (linux_nat_filter_event): Fix typo in comment.
622 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
624 * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
625 in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
628 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
631 * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
633 (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
634 (i386_process_record) <0x0f3807>: Fix the comment to phsubsw.
636 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
638 * dwarf2read.c (read_subroutine_type): Set special calling
639 convention flag for functions compiled by IBM XL C for OpenCL.
640 * ppc-sysv-tdep.c: Include "dwarf2.h"
641 (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
643 (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement
644 IBM OpenCL vector types calling convention.
645 (ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
646 (ppc_sysv_abi_broken_return_value): Likewise.
647 (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
648 types calling convention.
649 (ppc64_sysv_abi_return_value): Likewise.
650 * spu-tdep.c: Include "dwarf2.h"
651 (spu_return_value): Implement IBM OpenCL vector types calling
654 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
656 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
657 correct ABI for AltiVec vector arguments.
659 2011-02-07 Pedro Alves <pedro@codesourcery.com>
661 * valprint.c (val_print): Extend comment.
662 * ada-valprint.c (ada_valprint): Rewrite comment deferring
663 interface explanation to val_print.
664 (ada_val_print_array): Adjust comment to current interface.
665 (print_field_values): Adjust comment to current interface.
666 * c-valprint.c (c_val_print): Rewrite comment deferring interface
667 explanation to val_print.
668 * f-valprint.c (f_val_print): Ditto.
669 * jv-valprint.c (java_val_print): Ditto.
670 * m2-valprint.c (m2_val_print): Ditto.
671 * p-valprint.c (pascal_val_print): Ditto.
673 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
675 * breakpoint.c (parse_breakpoint_sals): Fix description.
677 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
678 Oguz Kayral <oguzkayral@gmail.com>
680 * python/py-inferior.c (python_on_normal_stop): New function.
681 (python_on_resume): New function.
682 (python_inferior_exit): New function.
683 (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
684 inferior_exit observers.
685 * python/py-evtregistry.c: New file.
686 * python/py-threadevent.c : New file.
687 * python/py-event.c: New file.
688 * python/py-evts.c: New file.
689 * python/py-continueevent.c: New file.
690 * python/py-bpevent.c: New file.
691 * python/py-signalevent.c: New file.
692 * python/py-exetiedevent.c: New file.
693 * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
694 Move struct breakpoint_object from here...
695 * python/python-internal.h: ... to here.
696 * python/py-event.h: New file.
697 * python/py-events.h: New file.
698 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
699 py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
700 py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
701 (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
702 py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
703 py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
704 Add build rules for all the above.
706 2011-02-04 Tom Tromey <tromey@redhat.com>
708 * dwarf2read.c (dwarf2_section_empty_p): New function.
709 (dwarf2_read_section): Use dwarf2_section_empty_p.
710 (dwarf2_section_size): New function.
711 (dwarf2_get_section_info): Unconditionally read section.
712 (dwarf2_read_index): Use dwarf2_section_empty_p.
713 (partial_read_comp_unit_head): Use dwarf2_section_size.
714 (dwarf2_symbol_mark_computed): Likewise.
716 2011-02-04 David Daney <ddaney@caviumnetworks.com>
718 * NEWS: Add item for "catch syscall" on mips*-linux* targets.
720 2011-02-04 David Daney <ddaney@caviumnetworks.com>
722 * mips-linux-tdep.c: Include xml-syscall.h.
723 (mips_linux_get_syscall_number): New function.
724 (mips_linux_init_abi): Add calls to
725 mips_linux_get_syscall_number() and set_xml_syscall_file_name().
726 * data-directory/Makefile.in (SYSCALLS_FILES): Add
727 mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
728 * syscalls/mips-n32-linux.xml: New file.
729 * syscalls/mips-n64-linux.xml: New file.
730 * syscalls/mips-o32-linux.xml: New file.
732 2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org>
734 * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
735 Complain about inverted range entries.
736 (dwarf2_record_block_ranges): Likewise.
738 2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
741 * breakpoint.c (update_watchpoint): Fix name of the
742 update_global_location_list function.
743 (print_one_breakpoint): Fix typo.
744 (_initialize_breakpoint): Remove extra space in hbreak help
746 * breakpoint.h (struct bp_location) <length>: Fix field
749 2011-02-04 Pedro Alves <pedro@codesourcery.com>
751 * regcache.c (registers_changed_ptid): Don't explictly always
752 clear `current_regcache'. Only clear current_thread_ptid and
753 current_thread_arch when PTID matches. Only reinit the frame
754 cache if PTID matches the current inferior_ptid. Move alloca(0)
756 (registers_changed): ... here.
758 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org>
760 * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
761 starts with __stack_chk_guard as stack guard symbol.
763 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
765 * disasm.c (compare_lines): Handle the end of sequence markers
766 within the line table to better support disassembling over
767 compilation unit boundaries.
769 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
771 * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
772 arguments. Skip in-prologue calls to glibc __aeabi_read_tp
773 implementation even if no symbols are available.
774 (thumb_analyze_prologue): Update call to skip_prologue_function.
775 (arm_analyze_prologue): Likewise.
777 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
779 * arm-tdep.c: Include "observer.h".
780 (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
781 (arm_exidx_data_key): New static variable.
782 (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
783 (struct arm_exidx_data): Likewise.
784 (arm_exidx_data_free): New function.
785 (arm_compare_exidx_entries): Likewise.
786 (arm_obj_section_from_vma): Likewise.
787 (arm_exidx_new_objfile): Likewise.
788 (arm_find_exidx_entry): Likewise.
789 (arm_exidx_fill_cache): Likewise.
790 (arm_exidx_unwind_sniffer): Likewise.
791 (arm_exidx_unwind): New global variable.
792 (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
793 (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
794 observer. Register arm_exidx_data_key as objfile data.
796 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
798 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
799 due to accessing uninitialized variable. Fix indentation.
801 2011-02-02 Pedro Alves <pedro@codesourcery.com>
803 * c-valprint.c (c_value_print): When doing virtual base pointer
804 adjustment, create a new value with adjusted contents rather than
805 changing the contents of the value being printed (and getting it
808 2011-02-02 Pedro Alves <pedro@codesourcery.com>
810 * xml-support.c (xml_find_attribute): New.
811 (xinclude_start_include): Use it.
812 * xml-support.h (xml_find_attribute): Declare.
813 * memory-map.c (memory_map_start_memory)
814 (memory_map_start_property): Use xml_find_attribute.
815 * osdata.c (osdata_start_osdata, osdata_start_column): Use
817 * remote.c (start_thread): Use xml_find_attribute.
818 * solib-target.c (library_list_start_segment)
819 (library_list_start_section, library_list_start_library)
820 (library_list_start_list): Use xml_find_attribute.
821 * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
822 (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
823 (tdesc_start_field): Use xml_find_attribute.
825 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com>
827 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
828 (BUILD_OCL_VTYPES): Update.
830 2011-02-02 Joel Brobecker <brobecker@adacore.com>
832 * configure.ac: Work around non-GNU sed limitation when computing
833 python version number.
834 * configure: Regenerate.
836 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
838 Fix debug printing of TYPE_INSTANCE.
839 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
840 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
842 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
844 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
845 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
846 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
847 * ada-operator.inc: Rename the file to ...
848 * ada-operator.def: ... here, wrap all the entries by macro OP.
849 * expprint.c (op_name_standard): Remove all the entries. Include
850 "std-operator.def" instead.
851 * expression.h (enum exp_opcode): Include "std-operator.def" and
852 "ada-operator.def". Move all the entries ...
853 * std-operator.def: ... here, wrap all the entries by macro OP.
855 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
857 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
858 * breakpoint.c (remove_jit_event_breakpoints): New function.
859 * jit.c (jit_descriptor_addr): Delete.
860 (registering_code): Delete.
862 (jit_inferior_data): New variable.
863 (struct jit_inferior_data): New type.
864 (get_jit_inferior_data): New function.
865 (jit_inferior_data_cleanup): New function.
866 (jit_read_descriptor): Adjust.
867 (jit_register_code): Adjust.
868 (jit_breakpoint_re_set_internal): New function; move code here ...
869 (jit_inferior_init): ... from here.
870 (jit_breakpoint_re_set): Adjust.
871 (jit_reset_inferior_data_and_breakpoints): New function.
872 (jit_inferior_created_observer): Adjust.
873 (jit_inferior_exit_hook): Adjust.
874 (jit_executable_changed_observer): New function.
875 (jit_event_handler): Adjust.
876 (_initialize_jit): Adjust.
878 2011-01-31 Michael Snyder <msnyder@vmware.com>
880 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
883 2011-01-31 Tom Tromey <tromey@redhat.com>
886 * python/python.c (execute_gdb_command): Call
888 * top.c (suppress_dont_repeat): New global.
889 (dont_repeat): Use it.
890 (prevent_dont_repeat): New function.
891 * command.h (prevent_dont_repeat): Declare.
893 2011-01-31 Tom Tromey <tromey@redhat.com>
895 * infcmd.c (finish_backward): Use breakpoint_set_silent.
896 * python/py-breakpoint.c (bppy_set_silent): Use
897 breakpoint_set_silent.
898 (bppy_set_thread): Use breakpoint_set_thread.
899 (bppy_set_task): Use breakpoint_set_task.
900 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
901 (breakpoint_set_task): Declare.
902 (make_breakpoint_silent): Remove.
903 * breakpoint.c (breakpoint_set_silent): New function.
904 (breakpoint_set_thread): Likewise.
905 (breakpoint_set_task): Likewise.
906 (make_breakpoint_silent): Remove.
908 2011-01-31 Tom Tromey <tromey@redhat.com>
910 * breakpoint.h (user_breakpoint_p): Declare.
911 * breakpoint.c (user_breakpoint_p): New function.
912 (breakpoint_1): Use it.
913 (save_breakpoints): Likewise.
915 2011-01-31 Joel Brobecker <brobecker@adacore.com>
917 * configure.ac: Add handling of Python distribution on Windows.
918 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
919 sysconfig variables are not defined, then do not use them.
920 On Windows, if LIBPL is not defined, then use prefix + '/libs'
921 instead. On Windows, return all paths using forward-slashes
922 rather than backslashes.
924 2011-01-31 Joel Brobecker <brobecker@adacore.com>
926 * configure.ac: Remove fallback behavior for building
927 against Python. Remove tweaking of Python include path.
928 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
929 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
930 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
931 Always restore CPPFLAGS and LIBS after linking test.
932 * configure: Regenerated.
933 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
934 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
935 * python/python-internal.h: Adjust includes of Python .h files.
937 2011-01-31 Joel Brobecker <brobecker@adacore.com>
939 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
942 2011-01-31 Joel Brobecker <brobecker@adacore.com>
944 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
947 2011-01-31 Yao Qi <yao@codesourcery.com>
949 * arm-linux-nat.c: Update calls to regcache_register_status
950 instead of regcache_valid_p.
951 * aix-thread.c: Likewise.
952 * i386gnu-nat.c: Likewise.
954 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
957 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
958 touching TYPE_FIELD_ARTIFICIAL.
960 2011-01-28 Richard Earnshaw <rearnsha@arm.com>
962 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
965 2011-01-28 Pedro Alves <pedro@codesourcery.com>
967 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
968 selected, don't try iterating over the traceframe's blocks.
969 (tfile_has_stack): If there's no traceframe selected, then there's
971 (tfile_has_registers): If there's no traceframe selected, then
972 there's no registers.
974 2011-01-28 Pedro Alves <pedro@codesourcery.com>
976 * target.c (memory_xfer_partial): No need to restore shadows if we
977 haven't read anything.
979 2011-01-28 Pedro Alves <pedro@codesourcery.com>
981 * mips-tdep.c (mips_print_register): Use get_frame_register_value
982 and val_print_scalar_formatted.
984 2011-01-27 Pedro Alves <pedro@codesourcery.com>
986 * tracepoint.c (tfile_read): New.
987 (tfile_open): Use it.
988 (tfile_get_traceframe_address): Use it.
989 (tfile_trace_find): Use it.
990 (walk_blocks_callback_func): New typedef.
991 (match_blocktype): New function.
992 (traceframe_walk_blocks): New function.
993 (traceframe_find_block_type): New function.
994 (tfile_fetch_registers, tfile_xfer_partial)
995 (tfile_get_trace_state_variable_value): Use
996 traceframe_find_block_type and tfile_read.
998 2011-01-26 Kevin Buettner <kevinb@redhat.com>
1000 * remote-mips.c: Add internationalization mark ups. Remove
1001 trailing \n from already marked up strings.
1003 2011-01-26 Tom Tromey <tromey@redhat.com>
1005 * python/py-prettyprint.c (print_string_repr): Clear
1006 'addressprint' option when calling val_print_string.
1007 (print_children): Handle Val_pretty_default. Clear 'addressprint'
1008 option when calling val_print_string.
1010 2011-01-26 Tom Tromey <tromey@redhat.com>
1012 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
1014 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
1016 (gdb_py_longest, gdb_py_ulongest): New typedefs.
1017 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
1018 (gdb_py_long_as_ulongest): New defines.
1019 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
1020 (gdb_py_int_as_long): Declare.
1021 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
1022 GDB_PY_LL_ARG, gdb_py_object_from_longest.
1023 (valpy_long): Add comment.
1024 * python/py-utils.c (get_addr_from_python): Use
1025 gdb_py_long_as_ulongest. Handle overflow properly.
1026 (gdb_py_object_from_longest): New function.
1027 (gdb_py_object_from_ulongest): Likewise.
1028 (gdb_py_int_as_long): Likewise.
1029 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
1030 * python/py-symtab.c (salpy_get_pc): Use
1031 gdb_py_long_from_ulongest.
1032 (salpy_get_line): Use PyInt_FromLong.
1033 * python/py-param.c (set_parameter_value): Use
1035 * python/py-lazy-string.c (stpy_get_address): Use
1036 gdb_py_long_from_ulongest.
1037 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
1038 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
1039 * python/py-breakpoint.c (bppy_set_thread): Use
1041 (bppy_set_task): Likewise.
1042 (bppy_set_ignore_count): Likewise.
1043 (bppy_set_hit_count): Likewise.
1044 * python/py-block.c (blpy_get_start): Use
1045 gdb_py_object_from_ulongest.
1046 (blpy_get_end): Likewise.
1047 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
1049 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
1052 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
1053 * gdb/solib.c (solib_read_symbols): Check for addr_low in
1054 equality test for objfile, initialize addr_low if needed.
1056 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1058 * tui/tui-regs.c (tui_register_format): Remove dead code.
1060 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1062 * printcmd.c (print_formatted): Use val_print_scalar_formatted
1063 instead of print_scalar_formatted.
1064 (print_scalar_formatted): Don't handle 's' format strings here,
1065 and add an assertion that we never see such format here.
1066 * valprint.h (val_print_scalar_formatted): Declare.
1067 * valprint.c (val_print_scalar_formatted): New.
1068 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
1069 instead of print_scalar_formatted.
1070 * jv-valprint.c (java_val_print): Ditto.
1071 * p-valprint.c (pascal_val_print): Ditto.
1072 * ada-valprint.c (ada_val_print_1): Ditto.
1073 * f-valprint.c (f_val_print): Ditto.
1074 * infcmd.c (registers_info): Ditto.
1075 * m2-valprint.c (m2_val_print): Ditto.
1077 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1079 * m2-valprint.c (print_unbounded_array): Pass
1080 value_contents_for_printing rather than value_contents, to
1081 m2_print_array_contents. Also pass in the value.
1083 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1085 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
1086 (save_gdb_index_command): Switch to .gdb_index version 4.
1088 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1090 * mi/mi-main.c (get_register): Use get_frame_register_value rather
1091 than frame_register, and always pass a valid value to val_print.
1093 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1095 Centralize printing "<optimized out>".
1097 * valprint.h (val_print_optimized_out): Declare.
1098 * cp-valprint.c (cp_print_value_fields): Use
1099 val_print_optimized_out.
1100 * jv-valprint.c (java_print_value_fields): Ditto.
1101 * p-valprint.c (pascal_object_print_value_fields): Ditto.
1102 * printcmd.c (print_formatted): Ditto.
1103 * valprint.c (valprint_check_validity): Ditto.
1104 (value_check_printable): Ditto.
1105 (val_print_optimized_out): New.
1107 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1109 * infcmd.c (default_print_registers_info): Allocate values so to
1110 never pass a NULL value to val_print.
1112 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1114 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
1115 boolean. Make sure to always pass a value that matches the
1116 contents buffer to callees. Preserve `address' for following
1118 * value.c (value_contents_for_printing_const): New.
1119 (value_address): Constify value argument.
1120 * value.h (value_contents_for_printing_const): Declare.
1121 (value_address): Constify value argument.
1123 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1125 * regcache.c (struct regcache_descr): Rename
1126 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
1127 and sizeof_cooked_register_valid_p to
1128 sizeof_cooked_register_status.
1129 (init_regcache_descr): Adjust.
1130 (struct regcache): Rename register_valid_p field to
1132 (regcache_xmalloc_1, regcache_xfree, regcache_save)
1133 (do_cooked_read): Adjust.
1134 (regcache_valid_p): Rename to ...
1135 (regcache_register_status): ... this. Adjust.
1136 (regcache_invalidate): Adjust.
1137 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
1139 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
1140 as unavailable, not valid.
1141 (regcache_dump): Adjust.
1142 * regcache.h (enum register_status): New.
1143 (regcache_register_status): Declare.
1144 (regcache_invalidate): Delete declaration.
1145 * corelow.c (get_core_registers): Adjust.
1146 * tracepoint.c (tfile_fetch_registers): Adjust.
1147 * trad-frame.c (REG_VALUE): Rename to ...
1148 (TF_REG_VALUE): ... this.
1149 (REG_UNKNOWN): Rename to ...
1150 (TF_REG_UNKNOWN): ... this.
1151 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
1152 * mi/mi-main.c (register_changed_p): Adjust.
1154 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1156 * regcache.c (struct regcache_descr): Remove outdated comment.
1157 (init_regcache_descr): Remove sizeof_raw_register_valid_p
1159 (regcache_xmalloc): Rename to ...
1160 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
1161 Allocate the regcache type accordingly.
1162 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
1163 (regcache_xfree): Asser the source is also readonly. Copy sizeof
1164 cooked registers, not raw.
1165 (regcache_dup_no_passthrough): Delete.
1166 (get_thread_arch_regcache): Use regcache_xmalloc_1.
1167 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
1168 mention obsolete write_register_bytes.
1169 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
1171 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1173 Stop remote_read_bytes from handling partial reads itself.
1175 * remote-fileio.c: Include target.h.
1176 (remote_fileio_write_bytes): Delete.
1177 (remote_fileio_func_open, remote_fileio_func_write)
1178 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
1180 (remote_fileio_func_stat): Use target_read_memory and
1181 target_write_memory.
1182 (remote_fileio_func_gettimeofday): Use target_write_memory.
1183 (remote_fileio_func_system): Use target_read_memory.
1184 * remote.c (remote_write_bytes): Make it static.
1185 (remote_read_bytes): Don't handle partial reads here.
1186 * remote.h (remote_read_bytes): Delete declaration.
1188 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1190 Simplify XML parsing a bit.
1192 * xml-support.h (gdb_xml_parse_quick): Declare.
1193 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
1194 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
1196 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
1197 gdb_xml_create_parser_and_cleanup_1.
1198 (gdb_xml_parse_quick): New.
1199 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
1200 * osdata.c (osdata_parse): Ditto.
1201 * remote.c (remote_threads_info): Ditto.
1202 * solib-target.c (solib_target_parse_libraries): Ditto.
1203 * xml-syscall.c (syscall_parse_xml): Ditto.
1204 * xml-tdesc.c (tdesc_parse_xml): Ditto.
1206 2011-01-24 Kevin Buettner <kevinb@redhat.com>
1208 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
1209 with remote-mips.o added to gdb_target_obs.
1210 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
1212 2011-01-24 Pedro Alves <pedro@codesourcery.com>
1214 * ada-valprint.c (val_print_packed_array_elements): Pass the
1215 correct struct value to val_print.
1216 (ada_val_print_1): Ditto.
1218 2011-01-24 Pedro Alves <pedro@codesourcery.com>
1220 Don't lose embedded_offset in printing routines throughout.
1222 * valprint.h (val_print_array_elements): Change prototype.
1223 * valprint.c (val_print_array_elements): Add `embedded_offset'
1224 parameter, and adjust to pass it down to val_print, while passing
1225 `valaddr' or `address' unmodified. Take embedded_offset into
1226 account when checking repetitions.
1227 * c-valprint.c (c_val_print): Pass embedded_offset to
1228 val_print_array_elements instead of adjusting `valaddr' and
1230 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
1231 embedded_offset to val_print_array_elements instead of adjusting
1233 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
1234 * p-valprint.c (pascal_val_print): Pass embedded_offset to
1235 val_print_array_elements and pascal_object_print_value_fields
1236 instead of adjusting `valaddr'.
1237 (pascal_object_print_value_fields): Add `offset' parameter, and
1239 (pascal_object_print_value): Add `offset' parameter, and adjust to
1241 (pascal_object_print_static_field): Use
1242 value_contents_for_printing/value_embedded_offset, rather than
1244 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
1245 parameter, and adjust to use it. Use
1246 value_contents_for_printing/value_embedded_offset, rather than
1248 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
1249 (ada_val_print_array): Add `offset' parameter, and adjust to use
1251 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
1252 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
1253 Instead work with offsets. Use
1254 value_contents_for_printing/value_embedded_offset, rather than
1255 value_contents. Change `defer_val_int' local type to CORE_ADDR,
1256 and use value_from_pointer to extract a target pointer, rather
1257 than value_from_longest.
1258 (print_variant_part): Add `offset' parameter. Replace
1259 `outer_valaddr' parameter by a new `outer_offset' parameter.
1260 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1261 (ada_value_print): Use
1262 value_contents_for_printing/value_embedded_offset, rather than
1264 (print_record): Add `offset' parameter, and adjust to pass it
1266 (print_field_values): Add `offset' parameter. Replace
1267 `outer_valaddr' parameter by a new `outer_offset' parameter.
1268 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1269 Use value_contents_for_printing/value_embedded_offset, rather than
1271 * d-valprint.c (dynamic_array_type): Use
1272 value_contents_for_printing/value_embedded_offset, rather than
1274 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
1275 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1276 (java_print_value_fields): Take `offset' into account. Don't
1277 re-adjust `valaddr'. Instead pass down adjusted offsets.
1278 (java_val_print): Take `embedded_offset' into account. Pass it to
1279 java_print_value_fields.
1280 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
1281 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
1282 down adjusted offsets.
1283 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
1284 (f_val_print): Take `embedded_offset' into account.
1286 2011-01-21 Joel Brobecker <brobecker@adacore.com>
1288 * inflow.c: Include "gdbcmd.h".
1289 (interactive_mode): New static global, moved here from top.c.
1290 (show_interactive_mode): New function, moved here from top.c.
1291 use gdb_has_a_terminal instead of input_from_terminal_p to
1292 determine the current mode.
1293 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
1295 (_initialize_inflow): Add the "set/show interactive-mode"
1296 commands. Moved here from top.c, after having adjusted slightly
1298 * top.c (interactive_mode, show_interactive_mode): Delete, moved
1300 (input_from_terminal_p): Remove handling of "interactive-mode"
1301 setting, moved to infow.c.
1302 (init_main): Remove creation of the "set/show interactive-mode"
1303 commands, moved to inflow.c.
1305 2011-01-19 Joel Brobecker <brobecker@adacore.com>
1307 * NEWS: Add entry for native ia64-hpux support.
1309 2011-01-19 Tom Tromey <tromey@redhat.com>
1312 * thread.c (free_thread): Free 'name'.
1313 (print_thread_info): Emit thread name. Change CLI output.
1314 (thread_name_command): New function.
1315 (do_captured_thread_select): Emit newline.
1316 (_initialize_thread): Register 'thread name' command.
1317 * target.h (struct target_ops) <to_thread_name>: New field.
1318 (target_thread_name): New macro.
1319 * target.c (update_current_target): Handle to_thread_name.
1320 * python/py-infthread.c (thpy_get_name): New function.
1321 (thpy_set_name): Likewise.
1322 (thread_object_getset): Add "name".
1323 * linux-nat.c (linux_nat_thread_name): New function.
1324 (linux_nat_add_target): Set to_thread_name.
1325 * gdbthread.h (struct thread_info) <name>: New field.
1327 2011-01-18 Joel Brobecker <brobecker@adacore.com>
1329 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
1330 (ada_val_print_1): Likewise.
1332 2011-01-18 Joel Brobecker <brobecker@adacore.com>
1334 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
1335 upper limit address is not greater than the function end address
1336 when the upper limit could not be computed using the debugging
1339 2011-01-17 Tom Tromey <tromey@redhat.com>
1341 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
1343 * utils.c: Include gdb_regex.h.
1344 (do_regfree_cleanup): New function.
1345 (make_regfree_cleanup): Likewise.
1346 (get_regcomp_error): Likewise.
1347 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
1349 2011-01-17 Tom Tromey <tromey@redhat.com>
1351 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
1354 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
1356 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
1357 for internal variables.
1358 (last_was_structop): New static variable.
1359 (COMPLETE): New token.
1360 (field_exp): New rule to group all '.' suffix handling.
1361 Add mark_struct_expression calls when approriate to be able
1362 to correctly find fields for completion.
1363 (yylex): Adapt to handle field completion and set INTVAR when
1366 2011-01-14 Yao Qi <yao@codesourcery.com>
1368 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
1369 save_reggroup, restore_reggroup and all_reggroup.
1371 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1373 * ada-valprint. (ada_printchar): Use the correct type length
1374 in call to ada_emit_char.
1375 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
1377 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
1379 * solib-som.h (hpux_major_release): Declare variable here.
1380 * solib-som.c: Remove <sys/utsname.h> header.
1381 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
1382 (hpux_major_release): Make global, change default value to
1383 DEFAULT_HPUX_MAJOR_RELEASE.
1384 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
1385 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
1386 Add "solib-som.h" header.
1387 (set_hpux_major_release): New function.
1388 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
1390 2011-01-14 Mike Frysinger <vapier@gentoo.org>
1392 * configure.tgt (*-*-uclinux*): Match more Linux os targets
1394 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1396 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
1397 new-line at end of warning message.
1398 (ia64_hpux_store_register): Remove trailing new-line at end of
1400 * ia64-hpux-tdep.c: Rephrase comment.
1401 * solib-ia64-hpux.c (struct dld_info): Change type of field
1402 dld_flags from "long long" to ULONGEST.
1404 2011-01-14 Pedro Alves <pedro@codesourcery.com>
1406 * target.h (deprecated_child_ops): Delete declaration.
1407 * target.c (deprecated_child_ops): Delete definition.
1409 2011-01-14 Pedro Alves <pedro@codesourcery.com>
1411 * Makefile.in (hpux-thread.o): Delete rule.
1412 * configure.ac: Don't check for HPUX DCE threads support.
1413 * configure, config.in: Regenerate.
1414 * hppa-hpux-nat.c (child_suppress_run): Delete.
1415 (hppa_hpux_child_can_run): Delete.
1416 (_initialize_hppa_hpux_nat): Don't override to_can_run.
1417 * hpux-thread.c: Delete.
1419 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1421 * hpux-thread.c (hpux_pid_to_str): Delete.
1423 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1425 * ada-valprint.c (ada_emit_char): Remove strange code.
1426 Check that c is <= UCHAR_MAX before passing it to isascii.
1427 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
1429 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1431 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
1432 to the case where instream is stdin.
1434 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1436 * ia64-tdep.h (struct regcache): Forward declare.
1437 (struct ia64_infcall_ops): New struct type.
1438 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
1440 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
1441 Renames ia64_find_global_pointer.
1442 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
1443 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
1444 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
1446 (ia64_infcall_ops): New static global constant.
1447 (ia64_gdbarch_init): Set tdep->infcall_ops.
1448 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
1449 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
1450 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
1451 (ia64_hpux_dummy_code): New static global constant.
1452 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
1453 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
1454 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
1456 (ia64_hpux_infcall_ops): New static global constant.
1457 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
1458 for inferior function calls to work properly on ia64-hpux.
1460 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1462 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
1463 * ia64-tdep.h (struct frame_info): forward declaration.
1464 (struct gdbarch_tdep): Add field size_of_register_frame.
1465 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
1466 to determine the size of the register frame.
1467 (ia64_size_of_register_frame): New function.
1468 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
1469 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
1470 (IA64_HPUX_UREG_REASON): New macro.
1471 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
1473 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
1474 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
1475 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
1478 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1480 Add support for ia64-hpux.
1481 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
1482 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
1484 * configure.host: Add handling for ia64-hpux hosts. Add associated
1486 * configure.tgt: Add handling for ia64-hpux targets.
1487 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
1488 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
1489 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
1491 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1493 [ttrace] Compute thread list immediately after attach.
1494 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
1496 (inf_ttrace_attach): Use it.
1498 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1500 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
1501 if we could not determine the frame's function address. Instead,
1502 use the frame's PC, and then continue.
1504 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1506 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
1507 not already defined.
1509 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1511 * ia64-tdep.c (ia64_struct_type_p): New function.
1512 (ia64_extract_return_value): Handle integral values that are
1513 less than 8 bytes long.
1514 (ia64_push_dummy_call): Likewise.
1516 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1518 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
1519 floatformat_ia64_ext.
1520 (floatformat_ia64_ext_big): New static const.
1521 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
1523 2011-01-12 Tom Tromey <tromey@redhat.com>
1525 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
1527 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
1528 (mi_cmd_thread_list_ids): Likewise.
1529 (mi_cmd_data_list_changed_registers): Likewise.
1530 (mi_cmd_data_list_register_values): Likewise.
1531 (mi_cmd_data_write_register_values): Likewise.
1532 (mi_cmd_data_evaluate_expression): Likewise.
1533 (mi_cmd_data_read_memory): Likewise.
1534 (mi_cmd_data_read_memory_bytes): Likewise.
1535 (mi_cmd_data_write_memory): Likewise.
1536 (mi_cmd_enable_timings): Likewise.
1537 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
1538 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
1539 (mi_cmd_var_delete): Likewise.
1540 (mi_cmd_var_set_format): Likewise.
1541 (mi_cmd_var_show_format): Likewise.
1542 (mi_cmd_var_info_num_children): Likewise.
1543 (mi_cmd_var_list_children): Likewise.
1544 (mi_cmd_var_info_type): Likewise.
1545 (mi_cmd_var_info_expression): Likewise.
1546 (mi_cmd_var_show_attributes): Likewise.
1547 (mi_cmd_var_assign): Likewise.
1548 (mi_cmd_var_update): Likewise.
1549 (mi_cmd_enable_pretty_printing): Likewise.
1550 (mi_cmd_var_set_update_range): Likewise.
1551 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
1553 (mi_cmd_target_file_put): Likewise.
1554 (mi_cmd_target_file_delete): Likewise.
1555 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
1557 (mi_cmd_stack_info_depth): Likewise.
1558 (mi_cmd_stack_list_locals): Likewise.
1559 (mi_cmd_stack_list_args): Likewise.
1560 (mi_cmd_stack_select_frame): Likewise.
1561 (mi_cmd_stack_select_frame): Likewise.
1562 (mi_cmd_stack_info_frame): Likewise.
1563 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
1565 (mi_cmd_file_list_exec_source_files): Likewise.
1566 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
1567 (mi_cmd_env_cd): Likewise.
1568 (mi_cmd_env_path): Likewise.
1569 (mi_cmd_env_dir): Likewise.
1570 (mi_cmd_inferior_tty_show): Likewise.
1571 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
1572 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
1573 (mi_cmd_break_watch): Likewise.
1575 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
1577 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
1578 (ppc_linux_insert_hw_breakpoint): Likewise.
1579 (ppc_linux_remove_hw_breakpoint): Likewise.
1580 (ppc_linux_insert_watchpoint): Likewise.
1582 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1583 Jan Kratochvil <jan.kratochvil@redhat.com>
1585 PR fortran/11104 and DWARF unbound arrays detection.
1586 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
1587 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
1588 unspecified upper bound.
1589 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
1590 variables array_size_array, tmp_type and offset_item. New variable
1591 array. Remove call to f77_get_upperbound. New variables array_type
1592 and index. Call value_subscripted_rvalue for each dimenasion. Remove
1593 the final call to deprecated_set_value_type.
1595 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1597 Make value allocations more lazy.
1598 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
1599 instead of allocate_value and set_value_lazy when possible.
1600 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
1601 instead of allocate_value and set_value_lazy.
1602 * findvar.c (value_of_register_lazy): Likewise.
1603 (read_var_value): Remove V preallocation, call just check_typedef in
1604 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
1605 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
1606 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
1607 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
1608 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
1609 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
1610 the end, remove set_value_lazy there.
1611 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
1612 instead of allocate_value and set_value_lazy when possible.
1613 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
1614 * value.c (allocate_computed_value): Use allocate_value_lazy instead
1615 of allocate_value and set_value_lazy.
1616 (value_from_contents_and_address): Use allocate_value_lazy instead of
1617 allocate_value and set_value_lazy when possible.
1619 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1621 * disasm.c (dump_insns): Support dumping opcodes for MI.
1622 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
1623 dumping of instruction opcodes.
1625 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
1627 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
1630 2011-01-11 Tom Tromey <tromey@redhat.com>
1632 * thread.c (do_captured_thread_select): Emit newline before
1635 2011-01-11 Michael Snyder <msnyder@vmware.com>
1637 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
1638 * score-tdep.c: Ditto.
1639 * score-tdep.h: Ditto.
1640 * ser-base.c: Ditto.
1641 * ser-go32.c: Ditto.
1644 * ser-mingw.c: Ditto.
1645 * ser-pipe.c: Ditto.
1647 * ser-unix.c: Ditto.
1648 * sh64-tdep.c: Ditto.
1649 * shnbsd-nat.c: Ditto.
1653 * solib-darwin.c: Ditto.
1654 * solib-frv.c: Ditto.
1656 * solib-irix.c: Ditto.
1657 * solib-osf.c: Ditto.
1658 * solib-pa64.c: Ditto.
1659 * solib-som.c: Ditto.
1660 * solib-spu.c: Ditto.
1661 * solib-sunos.c: Ditto.
1662 * solib-svr4.c: Ditto.
1664 * sol-thread.c: Ditto.
1668 * sparc64-linux-tdep.c: Ditto.
1669 * sparc64-tdep.c: Ditto.
1670 * sparc-linux-nat.c: Ditto.
1671 * sparc-linux-tdep.c: Ditto.
1672 * sparc-sol2-nat.c: Ditto.
1673 * sparc-sol2-tdep.c: Ditto.
1674 * sparc-tdep.c: Ditto.
1675 * sparc-tdep.h: Ditto.
1676 * spu-tdep.c: Ditto.
1677 * stabsread.c: Ditto.
1678 * stabsread.h: Ditto.
1686 * target-descriptions.c: Ditto.
1687 * target-descriptions.h: Ditto.
1689 * target-memory.c: Ditto.
1690 * terminal.h: Ditto.
1693 * tracepoint.c: Ditto.
1694 * tracepoint.h: Ditto.
1695 * trad-frame.h: Ditto.
1696 * typeprint.c: Ditto.
1698 2011-01-11 Michael Snyder <msnyder@vmware.com>
1700 * ui-file.c: Comment cleanup, mostly periods and spaces.
1705 * v850-tdep.c: Ditto.
1706 * valarith.c: Ditto.
1708 * valprint.c: Ditto.
1709 * valprint.h: Ditto.
1714 * vax-tdep.c: Ditto.
1718 * windows-nat.c: Ditto.
1719 * windows-tdep.c: Ditto.
1720 * xcoffread.c: Ditto.
1721 * xcoffsolib.c: Ditto.
1722 * xml-support.c: Ditto.
1723 * xstormy16-tdep.c: Ditto.
1724 * xtensa-tdep.c: Ditto.
1725 * xtensa-tdep.h: Ditto.
1727 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1729 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
1730 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
1732 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
1733 Thiago Jung Bauermann <bauerman@br.ibm.com>
1735 Implement support for PowerPC BookE ranged watchpoints.
1737 (struct breakpoint_ops) <resources_needed>: New method.
1738 Initialize to NULL in all existing breakpoint_ops instances.
1739 (struct breakpoint) <exact>: New field.
1740 (target_exact_watchpoints): Declare external global.
1741 * breakpoint.c (target_exact_watchpoints): New global flag.
1742 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
1743 b->enable_state to bp_enabled before calling
1744 hw_watchpoint_used_count.
1745 (hw_watchpoint_used_count): Iterate over all bp_locations in a
1746 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
1748 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
1749 if the watchpoint is exact.
1750 (resources_needed_watchpoint): New function.
1751 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
1752 (watch_command_1): Set b->exact if the user asked for an exact
1753 watchpoint and one can be set.
1754 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
1755 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
1756 the user asks for an exact watchpoint and one can be set. Return
1757 number of needed debug registers to watch the expression.
1758 * gdbtypes.c (is_scalar_type): New function, based on
1759 valprint.c:scalar_type_p.
1760 (is_scalar_type_recursive): New function.
1761 * gdbtypes.h (is_scalar_type_recursive): Declare.
1762 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
1763 handle regions when ranged watchpoints are available.
1764 (create_watchpoint_request): New function.
1765 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
1766 create_watchpoint_request.
1767 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
1768 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
1769 `set powerpc' and `show powerpc' commands.
1770 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1771 Mention documentation comment in the target macro.
1772 (target_region_ok_for_hw_watchpoint): Document return value.
1774 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1776 * breakpoint.c (update_watchpoint): Decide on using a software or
1777 hardware watchpoint after the bp_locations are created.
1779 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1781 Convert hardware watchpoints to use breakpoint_ops.
1782 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
1783 <insert_location>: ... this. Return int instead of void.
1784 Accept pointer to struct bp_location instead of pointer to
1785 struct breakpoint. Adapt all implementations.
1786 (breakpoint_ops) <remove>: Rename to...
1787 <remove_location>: ... this. Accept pointer to struct bp_location
1788 instead of pointer to struct breakpoint. Adapt all implementations.
1789 * breakpoint.c (insert_catchpoint): Delete function.
1790 (insert_bp_location): Call the watchpoint or catchpoint's
1791 breakpoint_ops.insert method.
1792 (remove_breakpoint_1): Call the watchpoint or catchpoint's
1793 breakpoint_ops.remove method.
1794 (insert_watchpoint, remove_watchpoint): New functions.
1795 (watchpoint_breakpoint_ops): New structure.
1796 (watch_command_1): Initialize the OPS field.
1797 * inf-child.c (inf_child_insert_fork_catchpoint)
1798 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
1799 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
1800 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
1802 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
1803 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
1804 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
1805 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
1806 * target.c (update_current_target): Change default implementation of
1807 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
1808 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1809 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
1810 to_set_syscall_catchpoint to return_one.
1811 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
1812 (debug_to_insert_exec_catchpoint): Report return value.
1813 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
1814 (to_insert_exec_catchpoint): Change declaration to return int instead
1817 2011-01-11 Michael Snyder <msnyder@vmware.com>
1819 * arm-tdep.c: Internationalization.
1822 * fork-child.c: Ditto.
1823 * nto-procfs.c: Ditto.
1824 * ppc-sysv-tdep.c: Ditto.
1826 * remote-mips.c: Ditto.
1828 * rs6000-nat.c: Ditto.
1829 * rs6000-tdep.c: Ditto.
1833 * xml-support.c: Ditto.
1834 * mi/mi-cmd-break.c: Ditto.
1835 * mi/mi-cmd-var.c: Ditto.
1836 * mi/mi-interp.c: Ditto.
1837 * mi/mi-main.c: Ditto.
1839 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
1841 * remote-sim.c (gdbsim_store_register): Update API to
1842 sim_store_register to check more error conditions.
1844 2011-01-10 Michael Snyder <msnyder@vmware.com>
1846 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1847 * nto-tdep.c: Ditto.
1848 * nto-tdep.h: Ditto.
1849 * objc-exp.y: Ditto.
1850 * objc-lang.c: Ditto.
1851 * objfiles.c: Ditto.
1852 * objfiles.h: Ditto.
1853 * observer.c: Ditto.
1854 * opencl-lang.c: Ditto.
1857 * parser-defs.h: Ditto.
1860 * posix-hdep.c: Ditto.
1861 * ppcbug-rom.c: Ditto.
1862 * ppc-linux-nat.c: Ditto.
1863 * ppc-linux-tdep.c: Ditto.
1864 * ppc-linux-tdep.h: Ditto.
1865 * ppcnbsd-tdep.c: Ditto.
1866 * ppcobsd-tdep.c: Ditto.
1867 * ppcobsd-tdep.h: Ditto.
1868 * ppc-sysv-tdep.c: Ditto.
1869 * ppc-tdep.h: Ditto.
1870 * printcmd.c: Ditto.
1871 * proc-abi.c: Ditto.
1872 * proc-flags.c: Ditto.
1874 * proc-utils.h: Ditto.
1875 * progspace.h: Ditto.
1876 * prologue-value.c: Ditto.
1877 * prologue-value.h: Ditto.
1878 * psympriv.h: Ditto.
1880 * p-typeprint.c: Ditto.
1881 * p-valprint.c: Ditto.
1882 * ravenscar-sparc-thread.c: Ditto.
1883 * ravenscar-thread.c: Ditto.
1884 * ravenscar-thread.h: Ditto.
1886 * regcache.c: Ditto.
1887 * regcache.h: Ditto.
1889 * remote-fileio.c: Ditto.
1890 * remote-fileio.h: Ditto.
1892 * remote-m32r-sdi.c: Ditto.
1893 * remote-mips.c: Ditto.
1894 * remote-sim.c: Ditto.
1895 * rs6000-aix-tdep.c: Ditto.
1896 * rs6000-nat.c: Ditto.
1897 * rs6000-tdep.c: Ditto.
1899 2011-01-10 Michael Snyder <msnyder@vmware.com>
1901 * charset.c (validate): Internationalization.
1902 * coffread.c (read_one_sym): Ditto.
1903 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1904 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1905 * inflow.c (new_tty): Ditto.
1906 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1907 * m32c-tdep.c (m32c_return_value): Ditto.
1908 * mep-tdep.c (mep_store_return_value): Ditto.
1909 * score-tdep.c (score7_fetch_insn): Ditto.
1910 * ser-mingw.c (pipe_windows_open): Ditto.
1911 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1912 * spu-tdep.c (spu_register_type): Ditto.
1913 * tracepoint.c (trace_find_command): Ditto.
1914 * valarith.c (value_pos): Ditto.
1916 2011-01-10 Joel Brobecker <brobecker@adacore.com>
1918 * ada-valprint.c (printstr): Minor comment reformatting.
1920 2011-01-08 Michael Snyder <msnyder@vmware.com>
1922 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1925 2011-01-08 Michael Snyder <msnyder@vmware.com>
1927 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1928 * hppa-hpux-tdep.c: Ditto.
1929 * hppa-linux-nat.c: Ditto.
1930 * hppa-linux-tdep.c: Ditto.
1931 * hppanbsd-tdep.c: Ditto.
1932 * hppa-tdep.c: Ditto.
1933 * hppa-tdep.h: Ditto.
1934 * hpux-thread.c: Ditto.
1935 * i386-cygwin-tdep.c: Ditto.
1936 * i386-darwin-nat.c: Ditto.
1937 * i386gnu-nat.c: Ditto.
1938 * i386-linux-nat.c: Ditto.
1939 * i386-linux-tdep.c: Ditto.
1940 * i386-nat.c: Ditto.
1941 * i386-nat.h: Ditto.
1942 * i386nbsd-tdep.c: Ditto.
1943 * i386-sol2-nat.c: Ditto.
1944 * i386-stub.c: Ditto.
1945 * i386-tdep.c: Ditto.
1946 * i386-tdep.h: Ditto.
1947 * i387-tdep.c: Ditto.
1948 * ia64-linux-nat.c: Ditto.
1949 * ia64-linux-tdep.c: Ditto.
1950 * ia64-tdep.c: Ditto.
1954 * inferior.c: Ditto.
1955 * inferior.h: Ditto.
1961 * iq2000-tdep.c: Ditto.
1962 * irix5-nat.c: Ditto.
1968 * jv-typeprint.c: Ditto.
1969 * jv-valprint.c: Ditto.
1970 * language.c: Ditto.
1971 * language.h: Ditto.
1972 * linespec.c: Ditto.
1973 * linux-fork.c: Ditto.
1974 * linux-nat.c: Ditto.
1975 * linux-thread-db.c: Ditto.
1976 * lm32-tdep.c: Ditto.
1978 2011-01-08 Michael Snyder <msnyder@vmware.com>
1980 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1982 * m2-typeprint.c: Ditto.
1983 * m2-valprint.c: Ditto.
1984 * m32c-tdep.c: Ditto.
1985 * m32r-linux-nat.c: Ditto.
1986 * m32r-rom.c: Ditto.
1987 * m32r-tdep.c: Ditto.
1988 * m32r-tdep.h: Ditto.
1989 * m68hc11-tdep.c: Ditto.
1990 * m58klinux-nat.c: Ditto.
1991 * m68k-tdep.c: Ditto.
1992 * m88k-tdep.c: Ditto.
1993 * m88k-tdep.h: Ditto.
1994 * machoread.c: Ditto.
1995 * macrocmd.c: Ditto.
1996 * macroexp.c: Ditto.
1997 * macrotab.c: Ditto.
2000 * mdebugread.c: Ditto.
2001 * mdebugread.h: Ditto.
2004 * memory-map.h: Ditto.
2005 * mep-tdep.c: Ditto.
2006 * microblaze-rom.c: Ditto.
2007 * microblaze-tdep.c: Ditto.
2009 * mips-irix-tdep.c: Ditto.
2010 * mips-linux-nat.c: Ditto.
2011 * mips-linux-tdep.c: Ditto.
2012 * mips-linux-tdep.h: Ditto.
2013 * mipsnbsd-nat.c: Ditto.
2014 * mipsnbsd-tdep.c: Ditto.
2015 * mipsread.c: Ditto.
2016 * mips-tdep.c: Ditto.
2017 * mips-tdep.h: Ditto.
2018 * mn10300-linux-tdep.c: Ditto.
2019 * mn10300-tdep.c: Ditto.
2020 * mn10300-tdep.h: Ditto.
2023 * moxie-tdep.c: Ditto.
2024 * moxie-tdep.h: Ditto.
2027 2011-01-08 Mike Frysinger <vapier@gentoo.org>
2029 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
2031 2011-01-08 Robert Millan <rmh@gnu.org>
2033 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
2035 2011-01-07 Michael Snyder <msnyder@vmware.com>
2037 * charset.c (_initialize_charset): Fix typo in string.
2039 2011-01-07 Michael Snyder <msnyder@vmware.com>
2041 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
2043 * tui/tui-layout.c (tui_set_layout_for_display_command):
2044 Split line so that operator goes to beginning of line.
2045 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
2046 assignment out of if statement.
2048 2011-01-07 Michael Snyder <msnyder@vmware.com>
2050 * ada-lang.c: Comment cleanup, mostly periods and spaces.
2051 * ada-lang.h: Ditto.
2052 * ada-tasks.c: Ditto.
2053 * ada-valprint.c: Ditto.
2054 * aix-threads.c: Ditto.
2055 * alpha-linux-nat.c: Ditto.
2056 * alpha-linux-tdep.c: Ditto.
2057 * alpha-mdebug-tdep.c: Ditto.
2058 * alpha-nat.c: Ditto.
2059 * alpha-osf1-tdep.c: Ditto.
2060 * alpha-tdep.c: Ditto.
2061 * alphabsd-nat.c: Ditto.
2062 * alphabsd-tdep.c: Ditto.
2063 * amd64-darwin-tdep.c: Ditto.
2064 * amd64-linux-nat.c: Ditto.
2065 * amd64-linux-tdep.c: Ditto.
2066 * amd64-sol2-tdep.c: Ditto.
2067 * amd64-tdep.c: Ditto.
2068 * amd64-fbsd-tdep.c: Ditto.
2069 * amd64-nbsd-tdep.c: Ditto.
2070 * amd64-obsd-tdep.c: Ditto.
2071 * amd64-linux-nat.c: Ditto.
2072 * amd64-linux-tdep.c: Ditto.
2073 * arm-tdep.c: Ditto.
2074 * arm-tdep.h: Ditto.
2075 * armnbsd-nat.c: Ditto.
2076 * avr-tdep.c: Ditto.
2077 * bfin-tdep.c: Ditto.
2079 * c-typeprintc: Ditto.
2080 * c-valprint.c: Ditto.
2081 * coff-pe-read.h: Ditto.
2082 * coffreead.c: Ditto.
2083 * cris-tdep.c: Ditto.
2085 * darwin-nat-info.c: Ditto.
2086 * darwin-nat.c: Ditto.
2087 * dbug-rom.c: Ditto.
2091 * dec-thread.c: Ditto.
2093 * demangle.c: Ditto.
2094 * dicos-tdep.c: Ditto.
2095 * dictionary.c: Ditto.
2096 * dictionary.h: Ditto.
2097 * dink32-rom.c: Ditto.
2099 * doublest.c: Ditto.
2101 * dummy-frame.c: Ditto.
2102 * dwarf2-frame.c: Ditto.
2103 * dwarf2expr.c: Ditto.
2104 * dwarf2loc.c: Ditto.
2105 * dwarf2read.c: Ditto.
2109 * event-top.h: Ditto.
2110 * exceptions.c: Ditto.
2111 * exceptions.h: Ditto.
2113 * expprint.c: Ditto.
2114 * expression.h: Ditto.
2118 * f-typeprint.c: Ditto.
2119 * f-valprint.c: Ditto.
2120 * fbsd-nat.c: Ditto.
2122 * fork-child.c: Ditto.
2125 * frv-linux-tdep.c: Ditto.
2126 * frv-tdep.c: Ditto.
2128 * gdb-stabs.h: Ditto.
2129 * gdb_assert.h: Ditto.
2130 * gdb_string.h: Ditto.
2131 * gdb_thread_db.h: Ditto.
2132 * gdb_wait.h: Ditto.
2133 * gdbarch.sh: Ditto.
2135 * gdbthread.h: Ditto.
2136 * gdbtypes.c: Ditto.
2137 * gdbtypes.h: Ditto.
2140 * gnu-v2-abi.c: Ditto.
2141 * gnu-v3-abi.c: Ditto.
2142 * go32-nat.c: Ditto.
2143 * gdbarch.c: Regenerate.
2144 * gdbarch.h: Regenerate.
2146 2011-01-07 Michael Snyder <msnyder@vmware.com>
2148 * ax-gdb.c: Adjust some long output strings.
2149 * breakpoint.c: Ditto.
2154 * linux-nat.c: Ditto.
2155 * solib-pa64.c: Ditto.
2156 * solib-som.c: Ditto.
2158 2011-01-06 Tom Tromey <tromey@redhat.com>
2162 * python/python.c (GdbMethods): Add "newest_frame" method.
2163 * python/python-internal.h (gdbpy_newest_frame): Declare.
2164 * python/py-frame.c (gdbpy_newest_frame): New function.
2166 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2168 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
2169 * jit.c (jit_debug): New variable.
2170 (show_jit_debug): New function.
2171 (struct target_buffer): Use ULONGEST.
2172 (bfd_open_from_target_memory): Likewise.
2173 (jit_register_code, jit_inferior_init): Add debug output.
2174 (_initialize_jit): Register "debug jit" command.
2176 2011-01-06 Tom Tromey <tromey@redhat.com>
2178 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
2179 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
2182 2011-01-06 Tom Tromey <tromey@redhat.com>
2184 * python/py-frame.c (frapy_block): Use get_frame_block.
2186 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2188 Do not stop on SIGPRIO signals by default
2189 * infrun.c (_initialize_infrun): Unset signal_stop and
2190 signal_print for TARGET_SIGNAL_PRIO.
2192 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2194 * ada-tasks.c: Fix style violation in comment.
2196 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2198 * linespec.c (decode_compound, find_method): Remove trailing \n
2199 at end of error string.
2200 * solib-irix.c (irix_current_sos): Likewise.
2201 * varobj.c (uninstall_variable): Likewise.
2203 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2205 * copyright.py: New script.
2206 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
2207 Launch emacs without exec'ing. Call copyright.py afterwards.
2209 2011-01-05 Michael Snyder <msnyder@vmware.com>
2211 * addrmap.c: Shorten lines of >= 80 columns.
2212 * arch-utils.c: Ditto.
2213 * arch-utils.h: Ditto.
2215 * ax-general.c: Ditto.
2217 * blockframe.c: Ditto.
2218 * breakpoint.c: Ditto.
2219 * buildsym.c: Ditto.
2221 * c-typeprint.c: Ditto.
2223 * coffread.c: Ditto.
2227 * cp-namespace.c: Ditto.
2228 * cp-support.c: Ditto.
2229 * dbug-rom.c: Ditto.
2234 * dictionary.c: Ditto.
2236 * doublest.c: Ditto.
2237 * dwarf2-frame.c: Ditto.
2238 * dwarf2expr.c: Ditto.
2239 * dwarf2loc.c: Ditto.
2240 * dwarf2read.c: Ditto.
2243 * event-loop.c: Ditto.
2244 * event-loop.h: Ditto.
2245 * exceptions.h: Ditto.
2247 * expprint.c: Ditto.
2248 * expression.h: Ditto.
2250 * f-valprint.c: Ditto.
2252 * frame-base.c: Ditto.
2253 * frame-unwind.c: Ditto.
2254 * frame-unwind.h: Ditto.
2258 * gdb-stabs.h: Ditto.
2259 * gdb_assert.h: Ditto.
2260 * gdb_dirent.h: Ditto.
2261 * gdb_obstack.h: Ditto.
2263 * gdbtypes.c: Ditto.
2264 * gdbtypes.h: Ditto.
2265 * inf-ttrace.c: Ditto.
2270 * inline-frame.h: Ditto.
2271 * language.c: Ditto.
2272 * language.h: Ditto.
2273 * libunwind-frame.c: Ditto.
2274 * libunwind-frame.h: Ditto.
2275 * linespec.c: Ditto.
2276 * linux-nat.c: Ditto.
2277 * linux-nat.h: Ditto.
2278 * linux-thread-db.c: Ditto.
2279 * machoread.c: Ditto.
2280 * macroexp.c: Ditto.
2281 * macrotab.c: Ditto.
2284 * mdebugread.c: Ditto.
2289 * objfiles.c: Ditto.
2290 * objfiles.h: Ditto.
2292 * p-typeprint.c: Ditto.
2293 * p-valprint.c: Ditto.
2295 * printcmd.c: Ditto.
2296 * proc-events.c: Ditto.
2298 * progspace.c: Ditto.
2299 * progspace.h: Ditto.
2300 * psympriv.h: Ditto.
2303 * regcache.c: Ditto.
2304 * regcache.h: Ditto.
2305 * remote-fileio.c: Ditto.
2307 * ser-mingw.c: Ditto.
2309 * ser-unix.c: Ditto.
2312 * solib-frv.c: Ditto.
2313 * solib-irix.c: Ditto.
2314 * solib-osf.c: Ditto.
2315 * solib-pa64.c: Ditto.
2316 * solib-som.c: Ditto.
2317 * solib-sunos.c: Ditto.
2318 * solib-svr4.c: Ditto.
2319 * solib-target.c: Ditto.
2323 * stabsread.c: Ditto.
2324 * stabsread.c: Ditto.
2327 * symfile-mem.c: Ditto.
2333 * target-descriptions.c: Ditto.
2334 * target-memory.c: Ditto.
2337 * terminal.h: Ditto.
2340 * tracepoint.c: Ditto.
2341 * tracepoint.h: Ditto.
2345 * user-regs.c: Ditto.
2346 * user-regs.h: Ditto.
2348 * valarith.c: Ditto.
2350 * valprint.c: Ditto.
2351 * valprint.h: Ditto.
2356 * xcoffread.c: Ditto.
2357 * xcoffsolib.c: Ditto.
2358 * xcoffsolib.h: Ditto.
2359 * xml-syscall.c: Ditto.
2360 * xml-tdesc.c: Ditto.
2362 2011-01-05 Michael Snyder <msnyder@vmware.com>
2364 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
2365 * cli/cli-decode.c: Ditto.
2366 * cli/cli-dump.c: Ditto.
2367 * cli/cli-logging.c: Ditto.
2368 * cli/cli-script.c: Ditto.
2369 * cli/cli-setshow.c: Ditto.
2370 * common/signals.c: Ditto.
2371 * mi/mi-cmd-break.c: Ditto.
2372 * mi/mi-cmd-disas.c: Ditto.
2373 * mi/mi-cmd-stack.c: Ditto.
2374 * mi/mi-cmd-var.c: Ditto.
2375 * mi/mi-cmds.c: Ditto.
2376 * mi/mi-common.h: Ditto.
2377 * mi/mi-console.c: Ditto.
2378 * mi/mi-interp.c: Ditto.
2379 * mi/mi-main.c: Ditto.
2380 * osf-share/cma_attr.c: Ditto.
2381 * osf-share/cma_deb_core.h: Ditto.
2382 * osf-share/cma_debug_client.h: Ditto.
2383 * osf-share/cma_handle.h: Ditto.
2384 * osf-share/cma_mutex.h: Ditto.
2385 * osf-share/cma_stack_int.h: Ditto.
2386 * osf-share/cma_tcb_defs.h: Ditto.
2387 * python/py-auto-load.c: Ditto.
2388 * python/py-breakpoint.c: Ditto.
2389 * python/py-cmd.c: Ditto.
2390 * python/py-frame.c: Ditto.
2391 * python/py-objfile.c: Ditto.
2392 * python/py-param.c: Ditto.
2393 * python/py-progspace.c: Ditto.
2394 * python/py-symbol.c: Ditto.
2395 * python/py-value.c: Ditto.
2396 * python/python-internal.h: Ditto.
2397 * python/python.c: Ditto.
2398 * tui/tui-data.c: Ditto.
2399 * tui/tui-disasm.c: Ditto.
2400 * tui/tui-hooks.c: Ditto.
2401 * tui/tui-io.c: Ditto.
2402 * tui/tui-layout.c: Ditto.
2403 * tui/tui-regs.c: Ditto.
2404 * tui/tui-source.c: Ditto.
2405 * tui/tui-stack.c: Ditto.
2406 * tui/tui-win.c: Ditto.
2407 * tui/tui-windata.c: Ditto.
2408 * tui/tui-winsource.c: Ditto.
2410 2011-01-05 Joel Brobecker <brobecker@adacore.com>
2412 * configure.ac, gdb.1: Copyright year update.
2414 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2416 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
2417 this_pc_in_block, morestack_msym and morestack_name. Check for
2418 "__morestack" minimal symbol there.
2420 2011-01-03 Joel Brobecker <brobecker@adacore.com>
2422 * symfile.c (find_sym_fns): Add call to dont_repeat.
2424 2011-01-01 Joel Brobecker <brobecker@adacore.com>
2426 Copyright year update in most files (performed by copyright.sh).
2428 2011-01-01 Joel Brobecker <brobecker@adacore.com>
2430 * top.c (print_gdb_version): Update copyright year in version output.
2432 For older changes see ChangeLog-2010.
2438 version-control: never