1 2011-02-16 Tom Tromey <tromey@redhat.com>
3 * dwarf2loc.c (unimplemented): Handle unnamed opcodes.
4 (compile_dwarf_to_ax) <default>: Use unimplemented.
6 (disassemble_dwarf_expression): Update.
7 * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument.
8 (decode_locdesc): Update.
9 * dwarf2expr.h (dwarf_stack_op_name): Update.
11 2011-02-16 Tom Tromey <tromey@redhat.com>
13 * ax.h (struct aop_map) <name>: Now const.
15 2011-02-16 Tom Tromey <tromey@redhat.com>
17 * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other
20 2011-02-16 Yao Qi <yao@qiyaows>
22 * infrun.c (get_displaced_step_closure_by_addr): New.
23 * inferior.h: Declare it.
24 * arm-tdep.c: (arm_pc_is_thumb): Call
25 get_displaced_step_closure_by_addr. Adjust MEMADDR if it
28 2011-02-16 Pedro Alves <pedro@codesourcery.com>
29 Jan Kratochvil <jan.kratochvil@redhat.com>
32 * tracepoint.c (memrange_sortmerge): Fix list A's end calculation.
34 2011-02-16 Pedro Alves <pedro@codesourcery.com>
35 Jan Kratochvil <jan.kratochvil@redhat.com>
37 * value.c (value_contents_copy_raw): Extend describing comment.
38 Assert that the destination contents we're overwriting are wholly
40 (value_contents_copy): Extend describing comment.
42 2011-02-16 Pedro Alves <pedro@codesourcery.com>
43 Jan Kratochvil <jan.kratochvil@redhat.com>
45 * value.c (value_available_contents_eq): Remove redundant local
46 variables. Fix available contents comparision.
47 * value.h (value_available_contents_eq): Extend describing
50 2011-02-16 Yao Qi <yao@codesourcery.com>
52 * thread.c (info_threads_command): Add missing i18n markup and remove
55 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com>
57 * breakpoint.c (longjmp_names): New variable.
58 (struct breakpoint_objfile_data): New type.
59 (breakpoint_objfile_key): New variable.
60 (msym_not_found): New variable.
61 (msym_not_found_p): New predicate.
62 (get_breakpoint_objfile_data): New function.
63 (create_overlay_event_breakpoint): Check per-objfile cache for
65 (create_longjmp_master_breakpoint): Likewise.
66 (create_std_terminate_master_breakpoint): Likewise.
67 (create_exception_master_breakpoint): Likewise.
68 (_initialize_breakpoint): Register per-objfile data key.
70 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com>
72 * breakpoint.c ((create_overlay_event_breakpoint): Const-propagate
74 (create_longjmp_master_breakpoint): Loop over longjmp names.
75 (create_std_terminate_master_breakpoint): Const-propagate parameter
77 (update_breakpoints_after_exec): Adjust.
78 (breakpoint_re_set): Adjust.
80 2011-02-15 Michael Snyder <msnyder@vmware.com>
82 * thread.c (info_threads_command): Process arg as thread id,
83 or list of thread ids.
84 (thread_find_command): New command.
85 (_initialize_thread): Document argument for info threads.
86 Document 'thread find' command.
87 * NEWS: Document new command "thread find".
89 2011-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
91 * Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'.
92 * aclocal.m4: Regenerated with aclocal-1.11.1.
93 * common/configure: Regenerate with autoconf-2.64.
95 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
97 * opencl-lang.c (build_opencl_types): Set the size of the built-in
98 bool data type to a size of one byte.
100 2011-02-15 Pedro Alves <pedro@codesourcery.com>
101 Jan Kratochvil <jan.kratochvil@redhat.com>
103 * target.c (memory_xfer_live_readonly_partial): Document where to
104 look for interface description.
106 2011-02-15 Yao Qi <yao@codesourcery.com>
109 * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in
110 order to store PC value on stack instead of text section.
112 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
114 * rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for
115 the EFP register set size.
116 (efpr_pseudo_register_read): Use regcache_raw_read_part to read
117 data from the VMX register.
118 (efpr_pseudo_register_write): Use regcache_raw_write_part to read
119 and write data from/to the VMX register.
121 2011-02-14 Michael Snyder <msnyder@vmware.com>
123 * command.h (enum command_class): New class 'no_set_class', for
124 "show" commands without a corresponding "set" command.
125 * value.c (_initialize_values): Use 'no_set_class' for "show values".
126 * copying.c (_initialize_copying): Ditto for "show copying" and
128 * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and
130 * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for
131 which there is no corresponding "set" command (eg. "show copying").
133 2011-02-14 Pedro Alves <pedro@codesourcery.com>
134 Jan Kratochvil <jan.kratochvil@redhat.com>
136 * exec.c (section_table_available_memory): Change `len' parameter
138 * exec.h (section_table_available_memory): Ditto.
139 * value.h (read_value_memory): Rename the `offset' parameter to
142 2011-02-14 Pedro Alves <pedro@codesourcery.com>
143 Jan Kratochvil <jan.kratochvil@redhat.com>
145 * memrange.c (compare_mem_ranges): Mention sort order in
147 (normalize_mem_ranges): Add comment. Fix ra->length calculation.
148 * tracepoint.c (traceframe_available_memory): Extend comment to
149 mention what happens to RESULT when the target does not support
152 2011-02-14 Pedro Alves <pedro@codesourcery.com>
153 Jan Kratochvil <jan.kratochvil@redhat.com>
155 * value.c (mark_value_bytes_unavailable): Fix indexing the `bef'
158 2011-02-14 Pedro Alves <pedro@codesourcery.com>
160 * value.c (value_bits_valid, value_bits_synthetic_pointer):
161 No longer handle NULL values.
163 2011-02-14 Pedro Alves <pedro@codesourcery.com>
165 * exceptions.h (NOT_AVAILABLE_ERROR): New error.
166 * value.c: Include "exceptions.h".
167 (require_available): Throw NOT_AVAILABLE_ERROR instead of a
169 * cp-abi.c: Include gdb_assert.h.
170 (baseclass_offset): Add `embedded_offset' and `val' parameters.
171 Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR
173 * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val'
174 parameters. No longer returns -1 on error.
175 (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and
177 * cp-valprint.c: Include exceptions.h.
178 (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching
179 the baseclass_offset. Handle unavailable base classes. Use
180 val_print_invalid_address.
181 * p-valprint.c: Include exceptions.h.
182 (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors
183 when fetching the baseclass_offset. No longer expect
184 baseclass_offset returning -1. Handle unavailable base classes.
185 Use val_print_invalid_address.
186 * valops.c (dynamic_cast_check_1): Rename `contents' parameter to
187 `valaddr' parameter, and change its type to gdb_byte pointer. Add
188 `embedded_offset' and `val' parameters. Adjust.
189 (dynamic_cast_check_2): Rename `contents' parameter to `valaddr'
190 parameter, and change its type to gdb_byte pointer. Add
191 `embedded_offset' and `val' parameters. Adjust. No longer expect
192 baseclass_offset returning -1.
193 (value_dynamic_cast): Use value_contents_for_printing rather than
194 value_contents. Adjust.
195 (search_struct_field): No longer expect baseclass_offset returning
197 (search_struct_method): If reading memory from the target is
198 necessary, wrap it in a new value to pass to baseclass_offset. No
199 longer expect baseclass_offset returning -1.
200 (find_method_list): No longer expect baseclass_offset returning
201 -1. Use value_contents_for_printing rather than value_contents.
202 * valprint.c (val_print_invalid_address): New function.
203 * valprint.h (val_print_invalid_address): Declare.
204 * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset'
205 and `val' parameters. No longer expect baseclass_offset returning
207 * gnu-v2-abi.c: Include "exceptions.h".
208 (gnuv2_baseclass_offset): Add `embedded_offset' and `val'
209 parameters. Handle unavailable memory. Recurse through
210 gnuv2_baseclass_offset directly, rather than through
211 baseclass_offset. No longer returns -1 on not found, instead
213 * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and
214 `val' parameters. Adjust.
216 2011-02-14 Pedro Alves <pedro@codesourcery.com>
218 * tracepoint.c (memrange_sortmerge): Don't merge ranges that are
219 almost but not quite adjacent.
221 2011-02-14 Pedro Alves <pedro@codesourcery.com>
223 * value.h (value_entirely_available): Declare.
224 * value.c (value_entirely_available): New function.
225 * c-valprint.c (c_value_print): Don't try fetching the pointer's
226 real type if the pointer is unavailable.
228 2011-02-14 Pedro Alves <pedro@codesourcery.com>
230 * valops.c (value_repeat): Use read_value_memory instead of
233 2011-02-14 Pedro Alves <pedro@codesourcery.com>
235 * value.h (value_contents_copy, value_contents_copy_raw): Declare.
236 * value.c (value_contents_copy_raw, value_contents_copy): New
238 (value_primitive_field): Use value_contents_copy_raw instead of
240 * valops.c (value_fetch_lazy): Use value_contents_copy instead of
242 (value_array, value_slice): Ditto.
243 * valarith.c (value_subscripted_rvalue): Use
244 value_contents_copy_raw instead of memcpy.
246 2011-02-14 Pedro Alves <pedro@codesourcery.com>
248 <unavailable> references.
250 * valops.c (get_value_at): Use value_from_contents_and_address,
251 avoiding read_memory.
253 2011-02-14 Pedro Alves <pedro@codesourcery.com>
255 * c-valprint.c (c_val_print): Print a string with unavailable
256 contents as an array.
258 2011-02-14 Pedro Alves <pedro@codesourcery.com>
260 * value.h (unpack_bits_as_long): Delete declaration.
261 (unpack_value_bits_as_long): Declare.
262 (unpack_value_field_as_long): Declare.
263 (value_field_bitfield): Declare.
264 * value.c (unpack_bits_as_long): Rename to...
265 (unpack_value_bits_as_long_1): ... this. Add embedded_offset and
266 value parameters. Return the extracted result in a new output
267 parameter. If the value contents are unavailable, return false,
268 otherwise return true.
269 (unpack_value_bits_as_long): New.
270 (unpack_field_as_long): Rename to...
271 (unpack_value_field_as_long_1): ... this. Add embedded_offset and
272 Add embedded_offset and value parameters. Return the extracted
273 result in a new output parameter. If the value contents are
274 unavailable, return false, otherwise return true.
275 (unpack_value_field_as_long): New.
276 (unpack_field_as_long_1): New.
277 (unpack_field_as_long): Reimplement as wrapper around
278 unpack_value_field_as_long_1.
279 (value_field_bitfield): New function.
280 * valops.c (value_fetch_lazy): When fetching a bitfield, use
281 unpack_value_bits_as_long. Mark the value as unavailable, if it
283 * jv-valprint.c (java_print_value_fields): Use
284 value_field_bitfield.
285 * p-valprint.c (pascal_object_print_value_fields): Use
286 value_field_bitfield.
287 * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield.
289 2011-02-14 Pedro Alves <pedro@codesourcery.com>
291 * value.c (get_internalvar_integer): Also return the int value of
292 TYPE_CODE_INT INTERNALVAR_VALUE values.
293 (set_internalvar): Don't special case TYPE_CODE_INT.
295 2011-02-14 Pedro Alves <pedro@codesourcery.com>
297 * value.c (struct internalvar) <enum internalvar_kind>: Remove
300 (value_of_internalvar): Remove INTERNALVAR_POINTER handling.
301 (set_internalvar): Remove special TYPE_CODE_PTR handling.
302 (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling.
304 2011-02-14 Pedro Alves <pedro@codesourcery.com>
306 * value.h (value_available_contents_eq): Declare.
307 * value.c (find_first_range_overlap): New function.
308 (value_available_contents_eq): New function.
309 * valprint.c (val_print_array_elements): Use
310 value_available_contents_eq.
311 * ada-valprint.c (val_print_packed_array_elements): Use
312 value_available_contents_eq.
313 * jv-valprint.c (java_value_print): Use
314 value_available_contents_eq.
316 2011-02-14 Pedro Alves <pedro@codesourcery.com>
318 * target.c (target_read_live_memory): New function.
319 (memory_xfer_live_readonly_partial): New.
320 (memory_xfer_partial): If reading from a traceframe, fallback to
321 reading unavailable read-only memory from read-only regions of
323 * tracepoint.c (disconnect_tracing): Adjust.
324 (set_current_traceframe): New, factored out from
325 set_traceframe_number.
326 (set_traceframe_number): Reimplement to only change the traceframe
327 number on the GDB side.
328 (do_restore_current_traceframe_cleanup): Adjust.
329 (make_cleanup_restore_traceframe_number): New.
330 (cur_traceframe_number): New global.
331 (tfile_open): Set cur_traceframe_number to no traceframe.
332 (set_tfile_traceframe): New function.
333 (tfile_trace_find): If looking up a traceframe using any method
334 other than by number, make sure the current tfile traceframe
335 matches gdb's current traceframe. Update the current tfile
336 traceframe if the lookup succeeded.
337 (tfile_fetch_registers, tfile_xfer_partial)
338 (tfile_get_trace_state_variable_value): Make sure the remote
339 traceframe matches gdb's current traceframe.
340 * remote.c (remote_traceframe_number): New global.
341 (remote_open_1): Set it to -1.
342 (set_remote_traceframe): New function.
343 (remote_fetch_registers, remote_store_registers)
344 (remote_xfer_memory, remote_xfer_partial)
345 (remote_get_trace_state_variable_value): Make sure the remote
346 traceframe matches gdb's current traceframe.
347 (remote_trace_find): If looking up a traceframe using any method
348 other than by number, make sure the current remote traceframe
349 matches gdb's current traceframe. Update the current remote
350 traceframe if the lookup succeeded.
351 * infrun.c (fetch_inferior_event): Adjust.
352 * tracepoint.h (set_current_traceframe): Declare.
353 (get_traceframe_number, set_traceframe_number): Add describing
356 2011-02-14 Pedro Alves <pedro@codesourcery.com>
358 Mark pieces of values as unavailable if the corresponding memory
361 * valops.c: Include tracepoint.h.
362 (value_fetch_lazy): Use read_value_memory.
363 (read_value_memory): New.
364 * value.h (read_value_memory): Declare.
365 * dwarf2loc.c (read_pieced_value): Use read_value_memory.
366 * exec.c (section_table_available_memory): New function.
367 * exec.h (section_table_available_memory): Declare.
369 2011-02-14 Pedro Alves <pedro@codesourcery.com>
371 * Makefile.in (SFILES): Add memrange.c.
372 (HFILES_NO_SRCDIR): Add memrange.h.
373 (COMMON_OBS): Add memrange.o.
374 * memrange.c: New file.
375 * memrange.h: New file.
376 * tracepoint.c: Include memrange.h.
377 (struct mem_range): Delete.
378 (mem_range_s): Delete.
379 (traceframe_available_memory): New function.
380 * tracepoint.h (traceframe_available_memory): Declare.
382 2011-02-14 Pedro Alves <pedro@codesourcery.com>
384 * target.h (struct traceframe_info): Forward declare.
385 (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
386 (struct target_ops) <to_traceframe_info>: New field.
387 (target_traceframe_info): New.
388 * target.c (update_current_target): Inherit and default
390 * remote.c (PACKET_qXfer_traceframe_info): New.
391 (remote_protocol_features): Register qXfer:traceframe-info:read.
392 (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
393 (remote_traceframe_info): New.
394 (init_remote_ops): Install it.
395 (_initialize_remote): Install "set/show remote traceframe-info"
397 * tracepoint.h (parse_traceframe_info): Declare.
398 * tracepoint.c (struct mem_range): New.
399 (mem_range_s): New typedef.
400 (struct traceframe_info): New.
401 (traceframe_info): New global.
402 (free_traceframe_info): New function.
403 (clear_traceframe_info): New function.
404 (start_tracing, tfind_1, set_traceframe_number): Clear traceframe
406 (build_traceframe_info): New function.
407 (tfile_traceframe_info): New function.
408 (init_tfile_ops): Install tfile_traceframe_info.
409 (traceframe_info_start_memory, free_result): New functions.
410 (memory_attributes, traceframe_info_elements): New globals.
411 (parse_traceframe_info, get_traceframe_info): New functions.
412 * features/traceframe-info.dtd: New file.
413 * Makefile.in (XMLFILES): Add traceframe-info.dtd.
415 2011-02-14 Pedro Alves <pedro@codesourcery.com>
417 Base support for <unavailable> value contents.
419 * value.h (value_bytes_available): Declare.
420 (mark_value_bytes_unavailable): Declare.
421 * value.c (struct range): New struct.
422 (range_s): New typedef.
423 (ranges_overlap): New function.
424 (range_lessthan): New function.
425 (ranges_contain_p): New function.
426 (struct value) <unavailable>: New field.
427 (value_bytes_available): New function.
428 (mark_value_bytes_unavailable): New function.
429 (require_not_optimized_out): Constify parameter.
430 (require_available): New function.
431 (value_contents_all, value_contents): Require all bytes be
433 (value_free): Free `unavailable'.
434 (value_copy): Copy `unavailable'.
435 * valprint.h (val_print_unavailable): Declare.
436 * valprint.c (valprint_check_validity): Rename `offset' parameter
437 to `embedded_offset'. If printing a scalar, check whether the
438 value chunk is available.
439 (val_print_unavailable): New.
440 (val_print_scalar_formatted): Check whether the value is
442 * python/py-prettyprint.c (apply_val_pretty_printer): Refuse
443 pretty-printing unavailable values.
445 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
447 Fix const/volatile qualifiers of C++ types, PR c++/12328.
448 * c-typeprint.c (c_type_print_args): Update the function comment. New
449 variable param_type, initialize it. Remove const/volatile qualifiers
450 for language_cplus and !show_artificial. Use param_type.
452 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
454 * symtab.c (find_pc_sect_line): New variable objfile, initialize it
455 from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S.
456 * symtab.h (struct symtab) <next>: Comment extension.
458 2011-02-12 Yao Qi <yao@codesourcery.com>
460 * Makefile.in (CLEANDIRS): Remove duplicated common dir.
462 2011-02-11 Yao Qi <yao@codesourcery.com>
464 * common/Makefile.in: Add copyright header.
466 2011-02-11 Pedro Alves <pedro@codesourcery.com>
468 * infrun.c (proceed): Move switching out and in of tfind mode from
470 (fetch_inferior_event): ... to here.
472 2011-02-11 Yao Qi <yao@codesourcery.com>
474 * Makefile.in: Remove signals.o from COMMON_OBS. Link
476 * configure.ac: Add common to sub dir.
477 * configure: Regenerate.
479 2011-02-11 Yao Qi <yao@codesourcery.com>
483 * common/Makefile.in: New.
484 * common/configure.ac: New.
485 * common/aclocal.m4: New.
486 * common/configure: Generate.
488 2011-02-10 Pedro Alves <pedro@codesourcery.com>
490 * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
491 side of the parenthesis.
494 2010-07-13 Jakub Jelinek <jakub@redhat.com>
495 * vec.h (VEC_block_remove): Fix comment.
497 2011-02-08 Michael Snyder <msnyder@vmware.com>
499 * linux-nat.c (linux_nat_filter_event): Fix typo in comment.
501 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
503 * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
504 in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
507 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
510 * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
512 (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
513 (i386_process_record) <0x0f3807>: Fix the comment to phsubsw.
515 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
517 * dwarf2read.c (read_subroutine_type): Set special calling
518 convention flag for functions compiled by IBM XL C for OpenCL.
519 * ppc-sysv-tdep.c: Include "dwarf2.h"
520 (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
522 (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement
523 IBM OpenCL vector types calling convention.
524 (ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
525 (ppc_sysv_abi_broken_return_value): Likewise.
526 (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
527 types calling convention.
528 (ppc64_sysv_abi_return_value): Likewise.
529 * spu-tdep.c: Include "dwarf2.h"
530 (spu_return_value): Implement IBM OpenCL vector types calling
533 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
535 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
536 correct ABI for AltiVec vector arguments.
538 2011-02-07 Pedro Alves <pedro@codesourcery.com>
540 * valprint.c (val_print): Extend comment.
541 * ada-valprint.c (ada_valprint): Rewrite comment deferring
542 interface explanation to val_print.
543 (ada_val_print_array): Adjust comment to current interface.
544 (print_field_values): Adjust comment to current interface.
545 * c-valprint.c (c_val_print): Rewrite comment deferring interface
546 explanation to val_print.
547 * f-valprint.c (f_val_print): Ditto.
548 * jv-valprint.c (java_val_print): Ditto.
549 * m2-valprint.c (m2_val_print): Ditto.
550 * p-valprint.c (pascal_val_print): Ditto.
552 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
554 * breakpoint.c (parse_breakpoint_sals): Fix description.
556 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
557 Oguz Kayral <oguzkayral@gmail.com>
559 * python/py-inferior.c (python_on_normal_stop): New function.
560 (python_on_resume): New function.
561 (python_inferior_exit): New function.
562 (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
563 inferior_exit observers.
564 * python/py-evtregistry.c: New file.
565 * python/py-threadevent.c : New file.
566 * python/py-event.c: New file.
567 * python/py-evts.c: New file.
568 * python/py-continueevent.c: New file.
569 * python/py-bpevent.c: New file.
570 * python/py-signalevent.c: New file.
571 * python/py-exetiedevent.c: New file.
572 * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
573 Move struct breakpoint_object from here...
574 * python/python-internal.h: ... to here.
575 * python/py-event.h: New file.
576 * python/py-events.h: New file.
577 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
578 py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
579 py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
580 (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
581 py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
582 py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
583 Add build rules for all the above.
585 2011-02-04 Tom Tromey <tromey@redhat.com>
587 * dwarf2read.c (dwarf2_section_empty_p): New function.
588 (dwarf2_read_section): Use dwarf2_section_empty_p.
589 (dwarf2_section_size): New function.
590 (dwarf2_get_section_info): Unconditionally read section.
591 (dwarf2_read_index): Use dwarf2_section_empty_p.
592 (partial_read_comp_unit_head): Use dwarf2_section_size.
593 (dwarf2_symbol_mark_computed): Likewise.
595 2011-02-04 David Daney <ddaney@caviumnetworks.com>
597 * NEWS: Add item for "catch syscall" on mips*-linux* targets.
599 2011-02-04 David Daney <ddaney@caviumnetworks.com>
601 * mips-linux-tdep.c: Include xml-syscall.h.
602 (mips_linux_get_syscall_number): New function.
603 (mips_linux_init_abi): Add calls to
604 mips_linux_get_syscall_number() and set_xml_syscall_file_name().
605 * data-directory/Makefile.in (SYSCALLS_FILES): Add
606 mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
607 * syscalls/mips-n32-linux.xml: New file.
608 * syscalls/mips-n64-linux.xml: New file.
609 * syscalls/mips-o32-linux.xml: New file.
611 2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org>
613 * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
614 Complain about inverted range entries.
615 (dwarf2_record_block_ranges): Likewise.
617 2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
620 * breakpoint.c (update_watchpoint): Fix name of the
621 update_global_location_list function.
622 (print_one_breakpoint): Fix typo.
623 (_initialize_breakpoint): Remove extra space in hbreak help
625 * breakpoint.h (struct bp_location) <length>: Fix field
628 2011-02-04 Pedro Alves <pedro@codesourcery.com>
630 * regcache.c (registers_changed_ptid): Don't explictly always
631 clear `current_regcache'. Only clear current_thread_ptid and
632 current_thread_arch when PTID matches. Only reinit the frame
633 cache if PTID matches the current inferior_ptid. Move alloca(0)
635 (registers_changed): ... here.
637 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org>
639 * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
640 starts with __stack_chk_guard as stack guard symbol.
642 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
644 * disasm.c (compare_lines): Handle the end of sequence markers
645 within the line table to better support disassembling over
646 compilation unit boundaries.
648 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
650 * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
651 arguments. Skip in-prologue calls to glibc __aeabi_read_tp
652 implementation even if no symbols are available.
653 (thumb_analyze_prologue): Update call to skip_prologue_function.
654 (arm_analyze_prologue): Likewise.
656 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
658 * arm-tdep.c: Include "observer.h".
659 (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
660 (arm_exidx_data_key): New static variable.
661 (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
662 (struct arm_exidx_data): Likewise.
663 (arm_exidx_data_free): New function.
664 (arm_compare_exidx_entries): Likewise.
665 (arm_obj_section_from_vma): Likewise.
666 (arm_exidx_new_objfile): Likewise.
667 (arm_find_exidx_entry): Likewise.
668 (arm_exidx_fill_cache): Likewise.
669 (arm_exidx_unwind_sniffer): Likewise.
670 (arm_exidx_unwind): New global variable.
671 (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
672 (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
673 observer. Register arm_exidx_data_key as objfile data.
675 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
677 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
678 due to accessing uninitialized variable. Fix indentation.
680 2011-02-02 Pedro Alves <pedro@codesourcery.com>
682 * c-valprint.c (c_value_print): When doing virtual base pointer
683 adjustment, create a new value with adjusted contents rather than
684 changing the contents of the value being printed (and getting it
687 2011-02-02 Pedro Alves <pedro@codesourcery.com>
689 * xml-support.c (xml_find_attribute): New.
690 (xinclude_start_include): Use it.
691 * xml-support.h (xml_find_attribute): Declare.
692 * memory-map.c (memory_map_start_memory)
693 (memory_map_start_property): Use xml_find_attribute.
694 * osdata.c (osdata_start_osdata, osdata_start_column): Use
696 * remote.c (start_thread): Use xml_find_attribute.
697 * solib-target.c (library_list_start_segment)
698 (library_list_start_section, library_list_start_library)
699 (library_list_start_list): Use xml_find_attribute.
700 * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
701 (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
702 (tdesc_start_field): Use xml_find_attribute.
704 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com>
706 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
707 (BUILD_OCL_VTYPES): Update.
709 2011-02-02 Joel Brobecker <brobecker@adacore.com>
711 * configure.ac: Work around non-GNU sed limitation when computing
712 python version number.
713 * configure: Regenerate.
715 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
717 Fix debug printing of TYPE_INSTANCE.
718 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
719 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
721 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
723 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
724 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
725 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
726 * ada-operator.inc: Rename the file to ...
727 * ada-operator.def: ... here, wrap all the entries by macro OP.
728 * expprint.c (op_name_standard): Remove all the entries. Include
729 "std-operator.def" instead.
730 * expression.h (enum exp_opcode): Include "std-operator.def" and
731 "ada-operator.def". Move all the entries ...
732 * std-operator.def: ... here, wrap all the entries by macro OP.
734 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
736 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
737 * breakpoint.c (remove_jit_event_breakpoints): New function.
738 * jit.c (jit_descriptor_addr): Delete.
739 (registering_code): Delete.
741 (jit_inferior_data): New variable.
742 (struct jit_inferior_data): New type.
743 (get_jit_inferior_data): New function.
744 (jit_inferior_data_cleanup): New function.
745 (jit_read_descriptor): Adjust.
746 (jit_register_code): Adjust.
747 (jit_breakpoint_re_set_internal): New function; move code here ...
748 (jit_inferior_init): ... from here.
749 (jit_breakpoint_re_set): Adjust.
750 (jit_reset_inferior_data_and_breakpoints): New function.
751 (jit_inferior_created_observer): Adjust.
752 (jit_inferior_exit_hook): Adjust.
753 (jit_executable_changed_observer): New function.
754 (jit_event_handler): Adjust.
755 (_initialize_jit): Adjust.
757 2011-01-31 Michael Snyder <msnyder@vmware.com>
759 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
762 2011-01-31 Tom Tromey <tromey@redhat.com>
765 * python/python.c (execute_gdb_command): Call
767 * top.c (suppress_dont_repeat): New global.
768 (dont_repeat): Use it.
769 (prevent_dont_repeat): New function.
770 * command.h (prevent_dont_repeat): Declare.
772 2011-01-31 Tom Tromey <tromey@redhat.com>
774 * infcmd.c (finish_backward): Use breakpoint_set_silent.
775 * python/py-breakpoint.c (bppy_set_silent): Use
776 breakpoint_set_silent.
777 (bppy_set_thread): Use breakpoint_set_thread.
778 (bppy_set_task): Use breakpoint_set_task.
779 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
780 (breakpoint_set_task): Declare.
781 (make_breakpoint_silent): Remove.
782 * breakpoint.c (breakpoint_set_silent): New function.
783 (breakpoint_set_thread): Likewise.
784 (breakpoint_set_task): Likewise.
785 (make_breakpoint_silent): Remove.
787 2011-01-31 Tom Tromey <tromey@redhat.com>
789 * breakpoint.h (user_breakpoint_p): Declare.
790 * breakpoint.c (user_breakpoint_p): New function.
791 (breakpoint_1): Use it.
792 (save_breakpoints): Likewise.
794 2011-01-31 Joel Brobecker <brobecker@adacore.com>
796 * configure.ac: Add handling of Python distribution on Windows.
797 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
798 sysconfig variables are not defined, then do not use them.
799 On Windows, if LIBPL is not defined, then use prefix + '/libs'
800 instead. On Windows, return all paths using forward-slashes
801 rather than backslashes.
803 2011-01-31 Joel Brobecker <brobecker@adacore.com>
805 * configure.ac: Remove fallback behavior for building
806 against Python. Remove tweaking of Python include path.
807 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
808 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
809 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
810 Always restore CPPFLAGS and LIBS after linking test.
811 * configure: Regenerated.
812 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
813 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
814 * python/python-internal.h: Adjust includes of Python .h files.
816 2011-01-31 Joel Brobecker <brobecker@adacore.com>
818 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
821 2011-01-31 Joel Brobecker <brobecker@adacore.com>
823 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
826 2011-01-31 Yao Qi <yao@codesourcery.com>
828 * arm-linux-nat.c: Update calls to regcache_register_status
829 instead of regcache_valid_p.
830 * aix-thread.c: Likewise.
831 * i386gnu-nat.c: Likewise.
833 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
836 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
837 touching TYPE_FIELD_ARTIFICIAL.
839 2011-01-28 Richard Earnshaw <rearnsha@arm.com>
841 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
844 2011-01-28 Pedro Alves <pedro@codesourcery.com>
846 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
847 selected, don't try iterating over the traceframe's blocks.
848 (tfile_has_stack): If there's no traceframe selected, then there's
850 (tfile_has_registers): If there's no traceframe selected, then
851 there's no registers.
853 2011-01-28 Pedro Alves <pedro@codesourcery.com>
855 * target.c (memory_xfer_partial): No need to restore shadows if we
856 haven't read anything.
858 2011-01-28 Pedro Alves <pedro@codesourcery.com>
860 * mips-tdep.c (mips_print_register): Use get_frame_register_value
861 and val_print_scalar_formatted.
863 2011-01-27 Pedro Alves <pedro@codesourcery.com>
865 * tracepoint.c (tfile_read): New.
866 (tfile_open): Use it.
867 (tfile_get_traceframe_address): Use it.
868 (tfile_trace_find): Use it.
869 (walk_blocks_callback_func): New typedef.
870 (match_blocktype): New function.
871 (traceframe_walk_blocks): New function.
872 (traceframe_find_block_type): New function.
873 (tfile_fetch_registers, tfile_xfer_partial)
874 (tfile_get_trace_state_variable_value): Use
875 traceframe_find_block_type and tfile_read.
877 2011-01-26 Kevin Buettner <kevinb@redhat.com>
879 * remote-mips.c: Add internationalization mark ups. Remove
880 trailing \n from already marked up strings.
882 2011-01-26 Tom Tromey <tromey@redhat.com>
884 * python/py-prettyprint.c (print_string_repr): Clear
885 'addressprint' option when calling val_print_string.
886 (print_children): Handle Val_pretty_default. Clear 'addressprint'
887 option when calling val_print_string.
889 2011-01-26 Tom Tromey <tromey@redhat.com>
891 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
893 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
895 (gdb_py_longest, gdb_py_ulongest): New typedefs.
896 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
897 (gdb_py_long_as_ulongest): New defines.
898 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
899 (gdb_py_int_as_long): Declare.
900 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
901 GDB_PY_LL_ARG, gdb_py_object_from_longest.
902 (valpy_long): Add comment.
903 * python/py-utils.c (get_addr_from_python): Use
904 gdb_py_long_as_ulongest. Handle overflow properly.
905 (gdb_py_object_from_longest): New function.
906 (gdb_py_object_from_ulongest): Likewise.
907 (gdb_py_int_as_long): Likewise.
908 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
909 * python/py-symtab.c (salpy_get_pc): Use
910 gdb_py_long_from_ulongest.
911 (salpy_get_line): Use PyInt_FromLong.
912 * python/py-param.c (set_parameter_value): Use
914 * python/py-lazy-string.c (stpy_get_address): Use
915 gdb_py_long_from_ulongest.
916 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
917 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
918 * python/py-breakpoint.c (bppy_set_thread): Use
920 (bppy_set_task): Likewise.
921 (bppy_set_ignore_count): Likewise.
922 (bppy_set_hit_count): Likewise.
923 * python/py-block.c (blpy_get_start): Use
924 gdb_py_object_from_ulongest.
925 (blpy_get_end): Likewise.
926 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
928 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
931 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
932 * gdb/solib.c (solib_read_symbols): Check for addr_low in
933 equality test for objfile, initialize addr_low if needed.
935 2011-01-25 Pedro Alves <pedro@codesourcery.com>
937 * tui/tui-regs.c (tui_register_format): Remove dead code.
939 2011-01-25 Pedro Alves <pedro@codesourcery.com>
941 * printcmd.c (print_formatted): Use val_print_scalar_formatted
942 instead of print_scalar_formatted.
943 (print_scalar_formatted): Don't handle 's' format strings here,
944 and add an assertion that we never see such format here.
945 * valprint.h (val_print_scalar_formatted): Declare.
946 * valprint.c (val_print_scalar_formatted): New.
947 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
948 instead of print_scalar_formatted.
949 * jv-valprint.c (java_val_print): Ditto.
950 * p-valprint.c (pascal_val_print): Ditto.
951 * ada-valprint.c (ada_val_print_1): Ditto.
952 * f-valprint.c (f_val_print): Ditto.
953 * infcmd.c (registers_info): Ditto.
954 * m2-valprint.c (m2_val_print): Ditto.
956 2011-01-25 Pedro Alves <pedro@codesourcery.com>
958 * m2-valprint.c (print_unbounded_array): Pass
959 value_contents_for_printing rather than value_contents, to
960 m2_print_array_contents. Also pass in the value.
962 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
964 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
965 (save_gdb_index_command): Switch to .gdb_index version 4.
967 2011-01-25 Pedro Alves <pedro@codesourcery.com>
969 * mi/mi-main.c (get_register): Use get_frame_register_value rather
970 than frame_register, and always pass a valid value to val_print.
972 2011-01-25 Pedro Alves <pedro@codesourcery.com>
974 Centralize printing "<optimized out>".
976 * valprint.h (val_print_optimized_out): Declare.
977 * cp-valprint.c (cp_print_value_fields): Use
978 val_print_optimized_out.
979 * jv-valprint.c (java_print_value_fields): Ditto.
980 * p-valprint.c (pascal_object_print_value_fields): Ditto.
981 * printcmd.c (print_formatted): Ditto.
982 * valprint.c (valprint_check_validity): Ditto.
983 (value_check_printable): Ditto.
984 (val_print_optimized_out): New.
986 2011-01-25 Pedro Alves <pedro@codesourcery.com>
988 * infcmd.c (default_print_registers_info): Allocate values so to
989 never pass a NULL value to val_print.
991 2011-01-25 Pedro Alves <pedro@codesourcery.com>
993 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
994 boolean. Make sure to always pass a value that matches the
995 contents buffer to callees. Preserve `address' for following
997 * value.c (value_contents_for_printing_const): New.
998 (value_address): Constify value argument.
999 * value.h (value_contents_for_printing_const): Declare.
1000 (value_address): Constify value argument.
1002 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1004 * regcache.c (struct regcache_descr): Rename
1005 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
1006 and sizeof_cooked_register_valid_p to
1007 sizeof_cooked_register_status.
1008 (init_regcache_descr): Adjust.
1009 (struct regcache): Rename register_valid_p field to
1011 (regcache_xmalloc_1, regcache_xfree, regcache_save)
1012 (do_cooked_read): Adjust.
1013 (regcache_valid_p): Rename to ...
1014 (regcache_register_status): ... this. Adjust.
1015 (regcache_invalidate): Adjust.
1016 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
1018 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
1019 as unavailable, not valid.
1020 (regcache_dump): Adjust.
1021 * regcache.h (enum register_status): New.
1022 (regcache_register_status): Declare.
1023 (regcache_invalidate): Delete declaration.
1024 * corelow.c (get_core_registers): Adjust.
1025 * tracepoint.c (tfile_fetch_registers): Adjust.
1026 * trad-frame.c (REG_VALUE): Rename to ...
1027 (TF_REG_VALUE): ... this.
1028 (REG_UNKNOWN): Rename to ...
1029 (TF_REG_UNKNOWN): ... this.
1030 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
1031 * mi/mi-main.c (register_changed_p): Adjust.
1033 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1035 * regcache.c (struct regcache_descr): Remove outdated comment.
1036 (init_regcache_descr): Remove sizeof_raw_register_valid_p
1038 (regcache_xmalloc): Rename to ...
1039 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
1040 Allocate the regcache type accordingly.
1041 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
1042 (regcache_xfree): Asser the source is also readonly. Copy sizeof
1043 cooked registers, not raw.
1044 (regcache_dup_no_passthrough): Delete.
1045 (get_thread_arch_regcache): Use regcache_xmalloc_1.
1046 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
1047 mention obsolete write_register_bytes.
1048 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
1050 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1052 Stop remote_read_bytes from handling partial reads itself.
1054 * remote-fileio.c: Include target.h.
1055 (remote_fileio_write_bytes): Delete.
1056 (remote_fileio_func_open, remote_fileio_func_write)
1057 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
1059 (remote_fileio_func_stat): Use target_read_memory and
1060 target_write_memory.
1061 (remote_fileio_func_gettimeofday): Use target_write_memory.
1062 (remote_fileio_func_system): Use target_read_memory.
1063 * remote.c (remote_write_bytes): Make it static.
1064 (remote_read_bytes): Don't handle partial reads here.
1065 * remote.h (remote_read_bytes): Delete declaration.
1067 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1069 Simplify XML parsing a bit.
1071 * xml-support.h (gdb_xml_parse_quick): Declare.
1072 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
1073 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
1075 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
1076 gdb_xml_create_parser_and_cleanup_1.
1077 (gdb_xml_parse_quick): New.
1078 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
1079 * osdata.c (osdata_parse): Ditto.
1080 * remote.c (remote_threads_info): Ditto.
1081 * solib-target.c (solib_target_parse_libraries): Ditto.
1082 * xml-syscall.c (syscall_parse_xml): Ditto.
1083 * xml-tdesc.c (tdesc_parse_xml): Ditto.
1085 2011-01-24 Kevin Buettner <kevinb@redhat.com>
1087 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
1088 with remote-mips.o added to gdb_target_obs.
1089 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
1091 2011-01-24 Pedro Alves <pedro@codesourcery.com>
1093 * ada-valprint.c (val_print_packed_array_elements): Pass the
1094 correct struct value to val_print.
1095 (ada_val_print_1): Ditto.
1097 2011-01-24 Pedro Alves <pedro@codesourcery.com>
1099 Don't lose embedded_offset in printing routines throughout.
1101 * valprint.h (val_print_array_elements): Change prototype.
1102 * valprint.c (val_print_array_elements): Add `embedded_offset'
1103 parameter, and adjust to pass it down to val_print, while passing
1104 `valaddr' or `address' unmodified. Take embedded_offset into
1105 account when checking repetitions.
1106 * c-valprint.c (c_val_print): Pass embedded_offset to
1107 val_print_array_elements instead of adjusting `valaddr' and
1109 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
1110 embedded_offset to val_print_array_elements instead of adjusting
1112 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
1113 * p-valprint.c (pascal_val_print): Pass embedded_offset to
1114 val_print_array_elements and pascal_object_print_value_fields
1115 instead of adjusting `valaddr'.
1116 (pascal_object_print_value_fields): Add `offset' parameter, and
1118 (pascal_object_print_value): Add `offset' parameter, and adjust to
1120 (pascal_object_print_static_field): Use
1121 value_contents_for_printing/value_embedded_offset, rather than
1123 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
1124 parameter, and adjust to use it. Use
1125 value_contents_for_printing/value_embedded_offset, rather than
1127 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
1128 (ada_val_print_array): Add `offset' parameter, and adjust to use
1130 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
1131 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
1132 Instead work with offsets. Use
1133 value_contents_for_printing/value_embedded_offset, rather than
1134 value_contents. Change `defer_val_int' local type to CORE_ADDR,
1135 and use value_from_pointer to extract a target pointer, rather
1136 than value_from_longest.
1137 (print_variant_part): Add `offset' parameter. Replace
1138 `outer_valaddr' parameter by a new `outer_offset' parameter.
1139 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1140 (ada_value_print): Use
1141 value_contents_for_printing/value_embedded_offset, rather than
1143 (print_record): Add `offset' parameter, and adjust to pass it
1145 (print_field_values): Add `offset' parameter. Replace
1146 `outer_valaddr' parameter by a new `outer_offset' parameter.
1147 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1148 Use value_contents_for_printing/value_embedded_offset, rather than
1150 * d-valprint.c (dynamic_array_type): Use
1151 value_contents_for_printing/value_embedded_offset, rather than
1153 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
1154 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1155 (java_print_value_fields): Take `offset' into account. Don't
1156 re-adjust `valaddr'. Instead pass down adjusted offsets.
1157 (java_val_print): Take `embedded_offset' into account. Pass it to
1158 java_print_value_fields.
1159 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
1160 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
1161 down adjusted offsets.
1162 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
1163 (f_val_print): Take `embedded_offset' into account.
1165 2011-01-21 Joel Brobecker <brobecker@adacore.com>
1167 * inflow.c: Include "gdbcmd.h".
1168 (interactive_mode): New static global, moved here from top.c.
1169 (show_interactive_mode): New function, moved here from top.c.
1170 use gdb_has_a_terminal instead of input_from_terminal_p to
1171 determine the current mode.
1172 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
1174 (_initialize_inflow): Add the "set/show interactive-mode"
1175 commands. Moved here from top.c, after having adjusted slightly
1177 * top.c (interactive_mode, show_interactive_mode): Delete, moved
1179 (input_from_terminal_p): Remove handling of "interactive-mode"
1180 setting, moved to infow.c.
1181 (init_main): Remove creation of the "set/show interactive-mode"
1182 commands, moved to inflow.c.
1184 2011-01-19 Joel Brobecker <brobecker@adacore.com>
1186 * NEWS: Add entry for native ia64-hpux support.
1188 2011-01-19 Tom Tromey <tromey@redhat.com>
1191 * thread.c (free_thread): Free 'name'.
1192 (print_thread_info): Emit thread name. Change CLI output.
1193 (thread_name_command): New function.
1194 (do_captured_thread_select): Emit newline.
1195 (_initialize_thread): Register 'thread name' command.
1196 * target.h (struct target_ops) <to_thread_name>: New field.
1197 (target_thread_name): New macro.
1198 * target.c (update_current_target): Handle to_thread_name.
1199 * python/py-infthread.c (thpy_get_name): New function.
1200 (thpy_set_name): Likewise.
1201 (thread_object_getset): Add "name".
1202 * linux-nat.c (linux_nat_thread_name): New function.
1203 (linux_nat_add_target): Set to_thread_name.
1204 * gdbthread.h (struct thread_info) <name>: New field.
1206 2011-01-18 Joel Brobecker <brobecker@adacore.com>
1208 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
1209 (ada_val_print_1): Likewise.
1211 2011-01-18 Joel Brobecker <brobecker@adacore.com>
1213 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
1214 upper limit address is not greater than the function end address
1215 when the upper limit could not be computed using the debugging
1218 2011-01-17 Tom Tromey <tromey@redhat.com>
1220 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
1222 * utils.c: Include gdb_regex.h.
1223 (do_regfree_cleanup): New function.
1224 (make_regfree_cleanup): Likewise.
1225 (get_regcomp_error): Likewise.
1226 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
1228 2011-01-17 Tom Tromey <tromey@redhat.com>
1230 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
1233 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
1235 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
1236 for internal variables.
1237 (last_was_structop): New static variable.
1238 (COMPLETE): New token.
1239 (field_exp): New rule to group all '.' suffix handling.
1240 Add mark_struct_expression calls when approriate to be able
1241 to correctly find fields for completion.
1242 (yylex): Adapt to handle field completion and set INTVAR when
1245 2011-01-14 Yao Qi <yao@codesourcery.com>
1247 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
1248 save_reggroup, restore_reggroup and all_reggroup.
1250 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1252 * ada-valprint. (ada_printchar): Use the correct type length
1253 in call to ada_emit_char.
1254 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
1256 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
1258 * solib-som.h (hpux_major_release): Declare variable here.
1259 * solib-som.c: Remove <sys/utsname.h> header.
1260 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
1261 (hpux_major_release): Make global, change default value to
1262 DEFAULT_HPUX_MAJOR_RELEASE.
1263 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
1264 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
1265 Add "solib-som.h" header.
1266 (set_hpux_major_release): New function.
1267 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
1269 2011-01-14 Mike Frysinger <vapier@gentoo.org>
1271 * configure.tgt (*-*-uclinux*): Match more Linux os targets
1273 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1275 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
1276 new-line at end of warning message.
1277 (ia64_hpux_store_register): Remove trailing new-line at end of
1279 * ia64-hpux-tdep.c: Rephrase comment.
1280 * solib-ia64-hpux.c (struct dld_info): Change type of field
1281 dld_flags from "long long" to ULONGEST.
1283 2011-01-14 Pedro Alves <pedro@codesourcery.com>
1285 * target.h (deprecated_child_ops): Delete declaration.
1286 * target.c (deprecated_child_ops): Delete definition.
1288 2011-01-14 Pedro Alves <pedro@codesourcery.com>
1290 * Makefile.in (hpux-thread.o): Delete rule.
1291 * configure.ac: Don't check for HPUX DCE threads support.
1292 * configure, config.in: Regenerate.
1293 * hppa-hpux-nat.c (child_suppress_run): Delete.
1294 (hppa_hpux_child_can_run): Delete.
1295 (_initialize_hppa_hpux_nat): Don't override to_can_run.
1296 * hpux-thread.c: Delete.
1298 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1300 * hpux-thread.c (hpux_pid_to_str): Delete.
1302 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1304 * ada-valprint.c (ada_emit_char): Remove strange code.
1305 Check that c is <= UCHAR_MAX before passing it to isascii.
1306 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
1308 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1310 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
1311 to the case where instream is stdin.
1313 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1315 * ia64-tdep.h (struct regcache): Forward declare.
1316 (struct ia64_infcall_ops): New struct type.
1317 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
1319 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
1320 Renames ia64_find_global_pointer.
1321 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
1322 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
1323 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
1325 (ia64_infcall_ops): New static global constant.
1326 (ia64_gdbarch_init): Set tdep->infcall_ops.
1327 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
1328 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
1329 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
1330 (ia64_hpux_dummy_code): New static global constant.
1331 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
1332 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
1333 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
1335 (ia64_hpux_infcall_ops): New static global constant.
1336 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
1337 for inferior function calls to work properly on ia64-hpux.
1339 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1341 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
1342 * ia64-tdep.h (struct frame_info): forward declaration.
1343 (struct gdbarch_tdep): Add field size_of_register_frame.
1344 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
1345 to determine the size of the register frame.
1346 (ia64_size_of_register_frame): New function.
1347 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
1348 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
1349 (IA64_HPUX_UREG_REASON): New macro.
1350 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
1352 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
1353 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
1354 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
1357 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1359 Add support for ia64-hpux.
1360 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
1361 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
1363 * configure.host: Add handling for ia64-hpux hosts. Add associated
1365 * configure.tgt: Add handling for ia64-hpux targets.
1366 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
1367 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
1368 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
1370 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1372 [ttrace] Compute thread list immediately after attach.
1373 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
1375 (inf_ttrace_attach): Use it.
1377 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1379 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
1380 if we could not determine the frame's function address. Instead,
1381 use the frame's PC, and then continue.
1383 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1385 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
1386 not already defined.
1388 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1390 * ia64-tdep.c (ia64_struct_type_p): New function.
1391 (ia64_extract_return_value): Handle integral values that are
1392 less than 8 bytes long.
1393 (ia64_push_dummy_call): Likewise.
1395 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1397 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
1398 floatformat_ia64_ext.
1399 (floatformat_ia64_ext_big): New static const.
1400 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
1402 2011-01-12 Tom Tromey <tromey@redhat.com>
1404 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
1406 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
1407 (mi_cmd_thread_list_ids): Likewise.
1408 (mi_cmd_data_list_changed_registers): Likewise.
1409 (mi_cmd_data_list_register_values): Likewise.
1410 (mi_cmd_data_write_register_values): Likewise.
1411 (mi_cmd_data_evaluate_expression): Likewise.
1412 (mi_cmd_data_read_memory): Likewise.
1413 (mi_cmd_data_read_memory_bytes): Likewise.
1414 (mi_cmd_data_write_memory): Likewise.
1415 (mi_cmd_enable_timings): Likewise.
1416 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
1417 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
1418 (mi_cmd_var_delete): Likewise.
1419 (mi_cmd_var_set_format): Likewise.
1420 (mi_cmd_var_show_format): Likewise.
1421 (mi_cmd_var_info_num_children): Likewise.
1422 (mi_cmd_var_list_children): Likewise.
1423 (mi_cmd_var_info_type): Likewise.
1424 (mi_cmd_var_info_expression): Likewise.
1425 (mi_cmd_var_show_attributes): Likewise.
1426 (mi_cmd_var_assign): Likewise.
1427 (mi_cmd_var_update): Likewise.
1428 (mi_cmd_enable_pretty_printing): Likewise.
1429 (mi_cmd_var_set_update_range): Likewise.
1430 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
1432 (mi_cmd_target_file_put): Likewise.
1433 (mi_cmd_target_file_delete): Likewise.
1434 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
1436 (mi_cmd_stack_info_depth): Likewise.
1437 (mi_cmd_stack_list_locals): Likewise.
1438 (mi_cmd_stack_list_args): Likewise.
1439 (mi_cmd_stack_select_frame): Likewise.
1440 (mi_cmd_stack_select_frame): Likewise.
1441 (mi_cmd_stack_info_frame): Likewise.
1442 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
1444 (mi_cmd_file_list_exec_source_files): Likewise.
1445 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
1446 (mi_cmd_env_cd): Likewise.
1447 (mi_cmd_env_path): Likewise.
1448 (mi_cmd_env_dir): Likewise.
1449 (mi_cmd_inferior_tty_show): Likewise.
1450 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
1451 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
1452 (mi_cmd_break_watch): Likewise.
1454 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
1456 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
1457 (ppc_linux_insert_hw_breakpoint): Likewise.
1458 (ppc_linux_remove_hw_breakpoint): Likewise.
1459 (ppc_linux_insert_watchpoint): Likewise.
1461 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1462 Jan Kratochvil <jan.kratochvil@redhat.com>
1464 PR fortran/11104 and DWARF unbound arrays detection.
1465 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
1466 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
1467 unspecified upper bound.
1468 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
1469 variables array_size_array, tmp_type and offset_item. New variable
1470 array. Remove call to f77_get_upperbound. New variables array_type
1471 and index. Call value_subscripted_rvalue for each dimenasion. Remove
1472 the final call to deprecated_set_value_type.
1474 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1476 Make value allocations more lazy.
1477 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
1478 instead of allocate_value and set_value_lazy when possible.
1479 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
1480 instead of allocate_value and set_value_lazy.
1481 * findvar.c (value_of_register_lazy): Likewise.
1482 (read_var_value): Remove V preallocation, call just check_typedef in
1483 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
1484 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
1485 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
1486 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
1487 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
1488 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
1489 the end, remove set_value_lazy there.
1490 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
1491 instead of allocate_value and set_value_lazy when possible.
1492 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
1493 * value.c (allocate_computed_value): Use allocate_value_lazy instead
1494 of allocate_value and set_value_lazy.
1495 (value_from_contents_and_address): Use allocate_value_lazy instead of
1496 allocate_value and set_value_lazy when possible.
1498 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1500 * disasm.c (dump_insns): Support dumping opcodes for MI.
1501 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
1502 dumping of instruction opcodes.
1504 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
1506 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
1509 2011-01-11 Tom Tromey <tromey@redhat.com>
1511 * thread.c (do_captured_thread_select): Emit newline before
1514 2011-01-11 Michael Snyder <msnyder@vmware.com>
1516 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
1517 * score-tdep.c: Ditto.
1518 * score-tdep.h: Ditto.
1519 * ser-base.c: Ditto.
1520 * ser-go32.c: Ditto.
1523 * ser-mingw.c: Ditto.
1524 * ser-pipe.c: Ditto.
1526 * ser-unix.c: Ditto.
1527 * sh64-tdep.c: Ditto.
1528 * shnbsd-nat.c: Ditto.
1532 * solib-darwin.c: Ditto.
1533 * solib-frv.c: Ditto.
1535 * solib-irix.c: Ditto.
1536 * solib-osf.c: Ditto.
1537 * solib-pa64.c: Ditto.
1538 * solib-som.c: Ditto.
1539 * solib-spu.c: Ditto.
1540 * solib-sunos.c: Ditto.
1541 * solib-svr4.c: Ditto.
1543 * sol-thread.c: Ditto.
1547 * sparc64-linux-tdep.c: Ditto.
1548 * sparc64-tdep.c: Ditto.
1549 * sparc-linux-nat.c: Ditto.
1550 * sparc-linux-tdep.c: Ditto.
1551 * sparc-sol2-nat.c: Ditto.
1552 * sparc-sol2-tdep.c: Ditto.
1553 * sparc-tdep.c: Ditto.
1554 * sparc-tdep.h: Ditto.
1555 * spu-tdep.c: Ditto.
1556 * stabsread.c: Ditto.
1557 * stabsread.h: Ditto.
1565 * target-descriptions.c: Ditto.
1566 * target-descriptions.h: Ditto.
1568 * target-memory.c: Ditto.
1569 * terminal.h: Ditto.
1572 * tracepoint.c: Ditto.
1573 * tracepoint.h: Ditto.
1574 * trad-frame.h: Ditto.
1575 * typeprint.c: Ditto.
1577 2011-01-11 Michael Snyder <msnyder@vmware.com>
1579 * ui-file.c: Comment cleanup, mostly periods and spaces.
1584 * v850-tdep.c: Ditto.
1585 * valarith.c: Ditto.
1587 * valprint.c: Ditto.
1588 * valprint.h: Ditto.
1593 * vax-tdep.c: Ditto.
1597 * windows-nat.c: Ditto.
1598 * windows-tdep.c: Ditto.
1599 * xcoffread.c: Ditto.
1600 * xcoffsolib.c: Ditto.
1601 * xml-support.c: Ditto.
1602 * xstormy16-tdep.c: Ditto.
1603 * xtensa-tdep.c: Ditto.
1604 * xtensa-tdep.h: Ditto.
1606 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1608 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
1609 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
1611 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
1612 Thiago Jung Bauermann <bauerman@br.ibm.com>
1614 Implement support for PowerPC BookE ranged watchpoints.
1616 (struct breakpoint_ops) <resources_needed>: New method.
1617 Initialize to NULL in all existing breakpoint_ops instances.
1618 (struct breakpoint) <exact>: New field.
1619 (target_exact_watchpoints): Declare external global.
1620 * breakpoint.c (target_exact_watchpoints): New global flag.
1621 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
1622 b->enable_state to bp_enabled before calling
1623 hw_watchpoint_used_count.
1624 (hw_watchpoint_used_count): Iterate over all bp_locations in a
1625 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
1627 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
1628 if the watchpoint is exact.
1629 (resources_needed_watchpoint): New function.
1630 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
1631 (watch_command_1): Set b->exact if the user asked for an exact
1632 watchpoint and one can be set.
1633 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
1634 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
1635 the user asks for an exact watchpoint and one can be set. Return
1636 number of needed debug registers to watch the expression.
1637 * gdbtypes.c (is_scalar_type): New function, based on
1638 valprint.c:scalar_type_p.
1639 (is_scalar_type_recursive): New function.
1640 * gdbtypes.h (is_scalar_type_recursive): Declare.
1641 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
1642 handle regions when ranged watchpoints are available.
1643 (create_watchpoint_request): New function.
1644 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
1645 create_watchpoint_request.
1646 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
1647 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
1648 `set powerpc' and `show powerpc' commands.
1649 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1650 Mention documentation comment in the target macro.
1651 (target_region_ok_for_hw_watchpoint): Document return value.
1653 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1655 * breakpoint.c (update_watchpoint): Decide on using a software or
1656 hardware watchpoint after the bp_locations are created.
1658 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1660 Convert hardware watchpoints to use breakpoint_ops.
1661 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
1662 <insert_location>: ... this. Return int instead of void.
1663 Accept pointer to struct bp_location instead of pointer to
1664 struct breakpoint. Adapt all implementations.
1665 (breakpoint_ops) <remove>: Rename to...
1666 <remove_location>: ... this. Accept pointer to struct bp_location
1667 instead of pointer to struct breakpoint. Adapt all implementations.
1668 * breakpoint.c (insert_catchpoint): Delete function.
1669 (insert_bp_location): Call the watchpoint or catchpoint's
1670 breakpoint_ops.insert method.
1671 (remove_breakpoint_1): Call the watchpoint or catchpoint's
1672 breakpoint_ops.remove method.
1673 (insert_watchpoint, remove_watchpoint): New functions.
1674 (watchpoint_breakpoint_ops): New structure.
1675 (watch_command_1): Initialize the OPS field.
1676 * inf-child.c (inf_child_insert_fork_catchpoint)
1677 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
1678 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
1679 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
1681 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
1682 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
1683 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
1684 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
1685 * target.c (update_current_target): Change default implementation of
1686 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
1687 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1688 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
1689 to_set_syscall_catchpoint to return_one.
1690 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
1691 (debug_to_insert_exec_catchpoint): Report return value.
1692 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
1693 (to_insert_exec_catchpoint): Change declaration to return int instead
1696 2011-01-11 Michael Snyder <msnyder@vmware.com>
1698 * arm-tdep.c: Internationalization.
1701 * fork-child.c: Ditto.
1702 * nto-procfs.c: Ditto.
1703 * ppc-sysv-tdep.c: Ditto.
1705 * remote-mips.c: Ditto.
1707 * rs6000-nat.c: Ditto.
1708 * rs6000-tdep.c: Ditto.
1712 * xml-support.c: Ditto.
1713 * mi/mi-cmd-break.c: Ditto.
1714 * mi/mi-cmd-var.c: Ditto.
1715 * mi/mi-interp.c: Ditto.
1716 * mi/mi-main.c: Ditto.
1718 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
1720 * remote-sim.c (gdbsim_store_register): Update API to
1721 sim_store_register to check more error conditions.
1723 2011-01-10 Michael Snyder <msnyder@vmware.com>
1725 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1726 * nto-tdep.c: Ditto.
1727 * nto-tdep.h: Ditto.
1728 * objc-exp.y: Ditto.
1729 * objc-lang.c: Ditto.
1730 * objfiles.c: Ditto.
1731 * objfiles.h: Ditto.
1732 * observer.c: Ditto.
1733 * opencl-lang.c: Ditto.
1736 * parser-defs.h: Ditto.
1739 * posix-hdep.c: Ditto.
1740 * ppcbug-rom.c: Ditto.
1741 * ppc-linux-nat.c: Ditto.
1742 * ppc-linux-tdep.c: Ditto.
1743 * ppc-linux-tdep.h: Ditto.
1744 * ppcnbsd-tdep.c: Ditto.
1745 * ppcobsd-tdep.c: Ditto.
1746 * ppcobsd-tdep.h: Ditto.
1747 * ppc-sysv-tdep.c: Ditto.
1748 * ppc-tdep.h: Ditto.
1749 * printcmd.c: Ditto.
1750 * proc-abi.c: Ditto.
1751 * proc-flags.c: Ditto.
1753 * proc-utils.h: Ditto.
1754 * progspace.h: Ditto.
1755 * prologue-value.c: Ditto.
1756 * prologue-value.h: Ditto.
1757 * psympriv.h: Ditto.
1759 * p-typeprint.c: Ditto.
1760 * p-valprint.c: Ditto.
1761 * ravenscar-sparc-thread.c: Ditto.
1762 * ravenscar-thread.c: Ditto.
1763 * ravenscar-thread.h: Ditto.
1765 * regcache.c: Ditto.
1766 * regcache.h: Ditto.
1768 * remote-fileio.c: Ditto.
1769 * remote-fileio.h: Ditto.
1771 * remote-m32r-sdi.c: Ditto.
1772 * remote-mips.c: Ditto.
1773 * remote-sim.c: Ditto.
1774 * rs6000-aix-tdep.c: Ditto.
1775 * rs6000-nat.c: Ditto.
1776 * rs6000-tdep.c: Ditto.
1778 2011-01-10 Michael Snyder <msnyder@vmware.com>
1780 * charset.c (validate): Internationalization.
1781 * coffread.c (read_one_sym): Ditto.
1782 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1783 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1784 * inflow.c (new_tty): Ditto.
1785 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1786 * m32c-tdep.c (m32c_return_value): Ditto.
1787 * mep-tdep.c (mep_store_return_value): Ditto.
1788 * score-tdep.c (score7_fetch_insn): Ditto.
1789 * ser-mingw.c (pipe_windows_open): Ditto.
1790 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1791 * spu-tdep.c (spu_register_type): Ditto.
1792 * tracepoint.c (trace_find_command): Ditto.
1793 * valarith.c (value_pos): Ditto.
1795 2011-01-10 Joel Brobecker <brobecker@adacore.com>
1797 * ada-valprint.c (printstr): Minor comment reformatting.
1799 2011-01-08 Michael Snyder <msnyder@vmware.com>
1801 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1804 2011-01-08 Michael Snyder <msnyder@vmware.com>
1806 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1807 * hppa-hpux-tdep.c: Ditto.
1808 * hppa-linux-nat.c: Ditto.
1809 * hppa-linux-tdep.c: Ditto.
1810 * hppanbsd-tdep.c: Ditto.
1811 * hppa-tdep.c: Ditto.
1812 * hppa-tdep.h: Ditto.
1813 * hpux-thread.c: Ditto.
1814 * i386-cygwin-tdep.c: Ditto.
1815 * i386-darwin-nat.c: Ditto.
1816 * i386gnu-nat.c: Ditto.
1817 * i386-linux-nat.c: Ditto.
1818 * i386-linux-tdep.c: Ditto.
1819 * i386-nat.c: Ditto.
1820 * i386-nat.h: Ditto.
1821 * i386nbsd-tdep.c: Ditto.
1822 * i386-sol2-nat.c: Ditto.
1823 * i386-stub.c: Ditto.
1824 * i386-tdep.c: Ditto.
1825 * i386-tdep.h: Ditto.
1826 * i387-tdep.c: Ditto.
1827 * ia64-linux-nat.c: Ditto.
1828 * ia64-linux-tdep.c: Ditto.
1829 * ia64-tdep.c: Ditto.
1833 * inferior.c: Ditto.
1834 * inferior.h: Ditto.
1840 * iq2000-tdep.c: Ditto.
1841 * irix5-nat.c: Ditto.
1847 * jv-typeprint.c: Ditto.
1848 * jv-valprint.c: Ditto.
1849 * language.c: Ditto.
1850 * language.h: Ditto.
1851 * linespec.c: Ditto.
1852 * linux-fork.c: Ditto.
1853 * linux-nat.c: Ditto.
1854 * linux-thread-db.c: Ditto.
1855 * lm32-tdep.c: Ditto.
1857 2011-01-08 Michael Snyder <msnyder@vmware.com>
1859 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1861 * m2-typeprint.c: Ditto.
1862 * m2-valprint.c: Ditto.
1863 * m32c-tdep.c: Ditto.
1864 * m32r-linux-nat.c: Ditto.
1865 * m32r-rom.c: Ditto.
1866 * m32r-tdep.c: Ditto.
1867 * m32r-tdep.h: Ditto.
1868 * m68hc11-tdep.c: Ditto.
1869 * m58klinux-nat.c: Ditto.
1870 * m68k-tdep.c: Ditto.
1871 * m88k-tdep.c: Ditto.
1872 * m88k-tdep.h: Ditto.
1873 * machoread.c: Ditto.
1874 * macrocmd.c: Ditto.
1875 * macroexp.c: Ditto.
1876 * macrotab.c: Ditto.
1879 * mdebugread.c: Ditto.
1880 * mdebugread.h: Ditto.
1883 * memory-map.h: Ditto.
1884 * mep-tdep.c: Ditto.
1885 * microblaze-rom.c: Ditto.
1886 * microblaze-tdep.c: Ditto.
1888 * mips-irix-tdep.c: Ditto.
1889 * mips-linux-nat.c: Ditto.
1890 * mips-linux-tdep.c: Ditto.
1891 * mips-linux-tdep.h: Ditto.
1892 * mipsnbsd-nat.c: Ditto.
1893 * mipsnbsd-tdep.c: Ditto.
1894 * mipsread.c: Ditto.
1895 * mips-tdep.c: Ditto.
1896 * mips-tdep.h: Ditto.
1897 * mn10300-linux-tdep.c: Ditto.
1898 * mn10300-tdep.c: Ditto.
1899 * mn10300-tdep.h: Ditto.
1902 * moxie-tdep.c: Ditto.
1903 * moxie-tdep.h: Ditto.
1906 2011-01-08 Mike Frysinger <vapier@gentoo.org>
1908 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1910 2011-01-08 Robert Millan <rmh@gnu.org>
1912 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1914 2011-01-07 Michael Snyder <msnyder@vmware.com>
1916 * charset.c (_initialize_charset): Fix typo in string.
1918 2011-01-07 Michael Snyder <msnyder@vmware.com>
1920 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1922 * tui/tui-layout.c (tui_set_layout_for_display_command):
1923 Split line so that operator goes to beginning of line.
1924 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1925 assignment out of if statement.
1927 2011-01-07 Michael Snyder <msnyder@vmware.com>
1929 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1930 * ada-lang.h: Ditto.
1931 * ada-tasks.c: Ditto.
1932 * ada-valprint.c: Ditto.
1933 * aix-threads.c: Ditto.
1934 * alpha-linux-nat.c: Ditto.
1935 * alpha-linux-tdep.c: Ditto.
1936 * alpha-mdebug-tdep.c: Ditto.
1937 * alpha-nat.c: Ditto.
1938 * alpha-osf1-tdep.c: Ditto.
1939 * alpha-tdep.c: Ditto.
1940 * alphabsd-nat.c: Ditto.
1941 * alphabsd-tdep.c: Ditto.
1942 * amd64-darwin-tdep.c: Ditto.
1943 * amd64-linux-nat.c: Ditto.
1944 * amd64-linux-tdep.c: Ditto.
1945 * amd64-sol2-tdep.c: Ditto.
1946 * amd64-tdep.c: Ditto.
1947 * amd64-fbsd-tdep.c: Ditto.
1948 * amd64-nbsd-tdep.c: Ditto.
1949 * amd64-obsd-tdep.c: Ditto.
1950 * amd64-linux-nat.c: Ditto.
1951 * amd64-linux-tdep.c: Ditto.
1952 * arm-tdep.c: Ditto.
1953 * arm-tdep.h: Ditto.
1954 * armnbsd-nat.c: Ditto.
1955 * avr-tdep.c: Ditto.
1956 * bfin-tdep.c: Ditto.
1958 * c-typeprintc: Ditto.
1959 * c-valprint.c: Ditto.
1960 * coff-pe-read.h: Ditto.
1961 * coffreead.c: Ditto.
1962 * cris-tdep.c: Ditto.
1964 * darwin-nat-info.c: Ditto.
1965 * darwin-nat.c: Ditto.
1966 * dbug-rom.c: Ditto.
1970 * dec-thread.c: Ditto.
1972 * demangle.c: Ditto.
1973 * dicos-tdep.c: Ditto.
1974 * dictionary.c: Ditto.
1975 * dictionary.h: Ditto.
1976 * dink32-rom.c: Ditto.
1978 * doublest.c: Ditto.
1980 * dummy-frame.c: Ditto.
1981 * dwarf2-frame.c: Ditto.
1982 * dwarf2expr.c: Ditto.
1983 * dwarf2loc.c: Ditto.
1984 * dwarf2read.c: Ditto.
1988 * event-top.h: Ditto.
1989 * exceptions.c: Ditto.
1990 * exceptions.h: Ditto.
1992 * expprint.c: Ditto.
1993 * expression.h: Ditto.
1997 * f-typeprint.c: Ditto.
1998 * f-valprint.c: Ditto.
1999 * fbsd-nat.c: Ditto.
2001 * fork-child.c: Ditto.
2004 * frv-linux-tdep.c: Ditto.
2005 * frv-tdep.c: Ditto.
2007 * gdb-stabs.h: Ditto.
2008 * gdb_assert.h: Ditto.
2009 * gdb_string.h: Ditto.
2010 * gdb_thread_db.h: Ditto.
2011 * gdb_wait.h: Ditto.
2012 * gdbarch.sh: Ditto.
2014 * gdbthread.h: Ditto.
2015 * gdbtypes.c: Ditto.
2016 * gdbtypes.h: Ditto.
2019 * gnu-v2-abi.c: Ditto.
2020 * gnu-v3-abi.c: Ditto.
2021 * go32-nat.c: Ditto.
2022 * gdbarch.c: Regenerate.
2023 * gdbarch.h: Regenerate.
2025 2011-01-07 Michael Snyder <msnyder@vmware.com>
2027 * ax-gdb.c: Adjust some long output strings.
2028 * breakpoint.c: Ditto.
2033 * linux-nat.c: Ditto.
2034 * solib-pa64.c: Ditto.
2035 * solib-som.c: Ditto.
2037 2011-01-06 Tom Tromey <tromey@redhat.com>
2041 * python/python.c (GdbMethods): Add "newest_frame" method.
2042 * python/python-internal.h (gdbpy_newest_frame): Declare.
2043 * python/py-frame.c (gdbpy_newest_frame): New function.
2045 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2047 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
2048 * jit.c (jit_debug): New variable.
2049 (show_jit_debug): New function.
2050 (struct target_buffer): Use ULONGEST.
2051 (bfd_open_from_target_memory): Likewise.
2052 (jit_register_code, jit_inferior_init): Add debug output.
2053 (_initialize_jit): Register "debug jit" command.
2055 2011-01-06 Tom Tromey <tromey@redhat.com>
2057 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
2058 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
2061 2011-01-06 Tom Tromey <tromey@redhat.com>
2063 * python/py-frame.c (frapy_block): Use get_frame_block.
2065 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2067 Do not stop on SIGPRIO signals by default
2068 * infrun.c (_initialize_infrun): Unset signal_stop and
2069 signal_print for TARGET_SIGNAL_PRIO.
2071 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2073 * ada-tasks.c: Fix style violation in comment.
2075 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2077 * linespec.c (decode_compound, find_method): Remove trailing \n
2078 at end of error string.
2079 * solib-irix.c (irix_current_sos): Likewise.
2080 * varobj.c (uninstall_variable): Likewise.
2082 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2084 * copyright.py: New script.
2085 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
2086 Launch emacs without exec'ing. Call copyright.py afterwards.
2088 2011-01-05 Michael Snyder <msnyder@vmware.com>
2090 * addrmap.c: Shorten lines of >= 80 columns.
2091 * arch-utils.c: Ditto.
2092 * arch-utils.h: Ditto.
2094 * ax-general.c: Ditto.
2096 * blockframe.c: Ditto.
2097 * breakpoint.c: Ditto.
2098 * buildsym.c: Ditto.
2100 * c-typeprint.c: Ditto.
2102 * coffread.c: Ditto.
2106 * cp-namespace.c: Ditto.
2107 * cp-support.c: Ditto.
2108 * dbug-rom.c: Ditto.
2113 * dictionary.c: Ditto.
2115 * doublest.c: Ditto.
2116 * dwarf2-frame.c: Ditto.
2117 * dwarf2expr.c: Ditto.
2118 * dwarf2loc.c: Ditto.
2119 * dwarf2read.c: Ditto.
2122 * event-loop.c: Ditto.
2123 * event-loop.h: Ditto.
2124 * exceptions.h: Ditto.
2126 * expprint.c: Ditto.
2127 * expression.h: Ditto.
2129 * f-valprint.c: Ditto.
2131 * frame-base.c: Ditto.
2132 * frame-unwind.c: Ditto.
2133 * frame-unwind.h: Ditto.
2137 * gdb-stabs.h: Ditto.
2138 * gdb_assert.h: Ditto.
2139 * gdb_dirent.h: Ditto.
2140 * gdb_obstack.h: Ditto.
2142 * gdbtypes.c: Ditto.
2143 * gdbtypes.h: Ditto.
2144 * inf-ttrace.c: Ditto.
2149 * inline-frame.h: Ditto.
2150 * language.c: Ditto.
2151 * language.h: Ditto.
2152 * libunwind-frame.c: Ditto.
2153 * libunwind-frame.h: Ditto.
2154 * linespec.c: Ditto.
2155 * linux-nat.c: Ditto.
2156 * linux-nat.h: Ditto.
2157 * linux-thread-db.c: Ditto.
2158 * machoread.c: Ditto.
2159 * macroexp.c: Ditto.
2160 * macrotab.c: Ditto.
2163 * mdebugread.c: Ditto.
2168 * objfiles.c: Ditto.
2169 * objfiles.h: Ditto.
2171 * p-typeprint.c: Ditto.
2172 * p-valprint.c: Ditto.
2174 * printcmd.c: Ditto.
2175 * proc-events.c: Ditto.
2177 * progspace.c: Ditto.
2178 * progspace.h: Ditto.
2179 * psympriv.h: Ditto.
2182 * regcache.c: Ditto.
2183 * regcache.h: Ditto.
2184 * remote-fileio.c: Ditto.
2186 * ser-mingw.c: Ditto.
2188 * ser-unix.c: Ditto.
2191 * solib-frv.c: Ditto.
2192 * solib-irix.c: Ditto.
2193 * solib-osf.c: Ditto.
2194 * solib-pa64.c: Ditto.
2195 * solib-som.c: Ditto.
2196 * solib-sunos.c: Ditto.
2197 * solib-svr4.c: Ditto.
2198 * solib-target.c: Ditto.
2202 * stabsread.c: Ditto.
2203 * stabsread.c: Ditto.
2206 * symfile-mem.c: Ditto.
2212 * target-descriptions.c: Ditto.
2213 * target-memory.c: Ditto.
2216 * terminal.h: Ditto.
2219 * tracepoint.c: Ditto.
2220 * tracepoint.h: Ditto.
2224 * user-regs.c: Ditto.
2225 * user-regs.h: Ditto.
2227 * valarith.c: Ditto.
2229 * valprint.c: Ditto.
2230 * valprint.h: Ditto.
2235 * xcoffread.c: Ditto.
2236 * xcoffsolib.c: Ditto.
2237 * xcoffsolib.h: Ditto.
2238 * xml-syscall.c: Ditto.
2239 * xml-tdesc.c: Ditto.
2241 2011-01-05 Michael Snyder <msnyder@vmware.com>
2243 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
2244 * cli/cli-decode.c: Ditto.
2245 * cli/cli-dump.c: Ditto.
2246 * cli/cli-logging.c: Ditto.
2247 * cli/cli-script.c: Ditto.
2248 * cli/cli-setshow.c: Ditto.
2249 * common/signals.c: Ditto.
2250 * mi/mi-cmd-break.c: Ditto.
2251 * mi/mi-cmd-disas.c: Ditto.
2252 * mi/mi-cmd-stack.c: Ditto.
2253 * mi/mi-cmd-var.c: Ditto.
2254 * mi/mi-cmds.c: Ditto.
2255 * mi/mi-common.h: Ditto.
2256 * mi/mi-console.c: Ditto.
2257 * mi/mi-interp.c: Ditto.
2258 * mi/mi-main.c: Ditto.
2259 * osf-share/cma_attr.c: Ditto.
2260 * osf-share/cma_deb_core.h: Ditto.
2261 * osf-share/cma_debug_client.h: Ditto.
2262 * osf-share/cma_handle.h: Ditto.
2263 * osf-share/cma_mutex.h: Ditto.
2264 * osf-share/cma_stack_int.h: Ditto.
2265 * osf-share/cma_tcb_defs.h: Ditto.
2266 * python/py-auto-load.c: Ditto.
2267 * python/py-breakpoint.c: Ditto.
2268 * python/py-cmd.c: Ditto.
2269 * python/py-frame.c: Ditto.
2270 * python/py-objfile.c: Ditto.
2271 * python/py-param.c: Ditto.
2272 * python/py-progspace.c: Ditto.
2273 * python/py-symbol.c: Ditto.
2274 * python/py-value.c: Ditto.
2275 * python/python-internal.h: Ditto.
2276 * python/python.c: Ditto.
2277 * tui/tui-data.c: Ditto.
2278 * tui/tui-disasm.c: Ditto.
2279 * tui/tui-hooks.c: Ditto.
2280 * tui/tui-io.c: Ditto.
2281 * tui/tui-layout.c: Ditto.
2282 * tui/tui-regs.c: Ditto.
2283 * tui/tui-source.c: Ditto.
2284 * tui/tui-stack.c: Ditto.
2285 * tui/tui-win.c: Ditto.
2286 * tui/tui-windata.c: Ditto.
2287 * tui/tui-winsource.c: Ditto.
2289 2011-01-05 Joel Brobecker <brobecker@adacore.com>
2291 * configure.ac, gdb.1: Copyright year update.
2293 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2295 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
2296 this_pc_in_block, morestack_msym and morestack_name. Check for
2297 "__morestack" minimal symbol there.
2299 2011-01-03 Joel Brobecker <brobecker@adacore.com>
2301 * symfile.c (find_sym_fns): Add call to dont_repeat.
2303 2011-01-01 Joel Brobecker <brobecker@adacore.com>
2305 Copyright year update in most files (performed by copyright.sh).
2307 2011-01-01 Joel Brobecker <brobecker@adacore.com>
2309 * top.c (print_gdb_version): Update copyright year in version output.
2311 For older changes see ChangeLog-2010.
2317 version-control: never