1 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3 * target.c (target_read_live_memory): New function.
4 (memory_xfer_live_readonly_partial): New.
5 (memory_xfer_partial): If reading from a traceframe, fallback to
6 reading unavailable read-only memory from read-only regions of
8 * tracepoint.c (disconnect_tracing): Adjust.
9 (set_current_traceframe): New, factored out from
10 set_traceframe_number.
11 (set_traceframe_number): Reimplement to only change the traceframe
12 number on the GDB side.
13 (do_restore_current_traceframe_cleanup): Adjust.
14 (make_cleanup_restore_traceframe_number): New.
15 (cur_traceframe_number): New global.
16 (tfile_open): Set cur_traceframe_number to no traceframe.
17 (set_tfile_traceframe): New function.
18 (tfile_trace_find): If looking up a traceframe using any method
19 other than by number, make sure the current tfile traceframe
20 matches gdb's current traceframe. Update the current tfile
21 traceframe if the lookup succeeded.
22 (tfile_fetch_registers, tfile_xfer_partial)
23 (tfile_get_trace_state_variable_value): Make sure the remote
24 traceframe matches gdb's current traceframe.
25 * remote.c (remote_traceframe_number): New global.
26 (remote_open_1): Set it to -1.
27 (set_remote_traceframe): New function.
28 (remote_fetch_registers, remote_store_registers)
29 (remote_xfer_memory, remote_xfer_partial)
30 (remote_get_trace_state_variable_value): Make sure the remote
31 traceframe matches gdb's current traceframe.
32 (remote_trace_find): If looking up a traceframe using any method
33 other than by number, make sure the current remote traceframe
34 matches gdb's current traceframe. Update the current remote
35 traceframe if the lookup succeeded.
36 * infrun.c (fetch_inferior_event): Adjust.
37 * tracepoint.h (set_current_traceframe): Declare.
38 (get_traceframe_number, set_traceframe_number): Add describing
41 2011-02-14 Pedro Alves <pedro@codesourcery.com>
43 Mark pieces of values as unavailable if the corresponding memory
46 * valops.c: Include tracepoint.h.
47 (value_fetch_lazy): Use read_value_memory.
48 (read_value_memory): New.
49 * value.h (read_value_memory): Declare.
50 * dwarf2loc.c (read_pieced_value): Use read_value_memory.
51 * exec.c (section_table_available_memory): New function.
52 * exec.h (section_table_available_memory): Declare.
54 2011-02-14 Pedro Alves <pedro@codesourcery.com>
56 * Makefile.in (SFILES): Add memrange.c.
57 (HFILES_NO_SRCDIR): Add memrange.h.
58 (COMMON_OBS): Add memrange.o.
59 * memrange.c: New file.
60 * memrange.h: New file.
61 * tracepoint.c: Include memrange.h.
62 (struct mem_range): Delete.
63 (mem_range_s): Delete.
64 (traceframe_available_memory): New function.
65 * tracepoint.h (traceframe_available_memory): Declare.
67 2011-02-14 Pedro Alves <pedro@codesourcery.com>
69 * target.h (struct traceframe_info): Forward declare.
70 (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
71 (struct target_ops) <to_traceframe_info>: New field.
72 (target_traceframe_info): New.
73 * target.c (update_current_target): Inherit and default
75 * remote.c (PACKET_qXfer_traceframe_info): New.
76 (remote_protocol_features): Register qXfer:traceframe-info:read.
77 (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
78 (remote_traceframe_info): New.
79 (init_remote_ops): Install it.
80 (_initialize_remote): Install "set/show remote traceframe-info"
82 * tracepoint.h (parse_traceframe_info): Declare.
83 * tracepoint.c (struct mem_range): New.
84 (mem_range_s): New typedef.
85 (struct traceframe_info): New.
86 (traceframe_info): New global.
87 (free_traceframe_info): New function.
88 (clear_traceframe_info): New function.
89 (start_tracing, tfind_1, set_traceframe_number): Clear traceframe
91 (build_traceframe_info): New function.
92 (tfile_traceframe_info): New function.
93 (init_tfile_ops): Install tfile_traceframe_info.
94 (traceframe_info_start_memory, free_result): New functions.
95 (memory_attributes, traceframe_info_elements): New globals.
96 (parse_traceframe_info, get_traceframe_info): New functions.
97 * features/traceframe-info.dtd: New file.
98 * Makefile.in (XMLFILES): Add traceframe-info.dtd.
100 2011-02-14 Pedro Alves <pedro@codesourcery.com>
102 Base support for <unavailable> value contents.
104 * value.h (value_bytes_available): Declare.
105 (mark_value_bytes_unavailable): Declare.
106 * value.c (struct range): New struct.
107 (range_s): New typedef.
108 (ranges_overlap): New function.
109 (range_lessthan): New function.
110 (ranges_contain_p): New function.
111 (struct value) <unavailable>: New field.
112 (value_bytes_available): New function.
113 (mark_value_bytes_unavailable): New function.
114 (require_not_optimized_out): Constify parameter.
115 (require_available): New function.
116 (value_contents_all, value_contents): Require all bytes be
118 (value_free): Free `unavailable'.
119 (value_copy): Copy `unavailable'.
120 * valprint.h (val_print_unavailable): Declare.
121 * valprint.c (valprint_check_validity): Rename `offset' parameter
122 to `embedded_offset'. If printing a scalar, check whether the
123 value chunk is available.
124 (val_print_unavailable): New.
125 (val_print_scalar_formatted): Check whether the value is
127 * python/py-prettyprint.c (apply_val_pretty_printer): Refuse
128 pretty-printing unavailable values.
130 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
132 Fix const/volatile qualifiers of C++ types, PR c++/12328.
133 * c-typeprint.c (c_type_print_args): Update the function comment. New
134 variable param_type, initialize it. Remove const/volatile qualifiers
135 for language_cplus and !show_artificial. Use param_type.
137 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
139 * symtab.c (find_pc_sect_line): New variable objfile, initialize it
140 from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S.
141 * symtab.h (struct symtab) <next>: Comment extension.
143 2011-02-12 Yao Qi <yao@codesourcery.com>
145 * Makefile.in (CLEANDIRS): Remove duplicated common dir.
147 2011-02-11 Pedro Alves <pedro@codesourcery.com>
149 * infrun.c (proceed): Move switching out and in of tfind mode from
151 (fetch_inferior_event): ... to here.
153 2011-02-11 Yao Qi <yao@codesourcery.com>
155 * Makefile.in: Remove signals.o from COMMON_OBS. Link
157 * configure.ac: Add common to sub dir.
158 * configure: Regenerate.
160 2011-02-10 Pedro Alves <pedro@codesourcery.com>
162 * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
163 side of the parenthesis.
166 2010-07-13 Jakub Jelinek <jakub@redhat.com>
167 * vec.h (VEC_block_remove): Fix comment.
169 2011-02-08 Michael Snyder <msnyder@vmware.com>
171 * linux-nat.c (linux_nat_filter_event): Fix typo in comment.
173 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
175 * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
176 in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
179 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
182 * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
184 (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
185 (i386_process_record) <0x0f3807>: Fix the comment to phsubsw.
187 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
189 * dwarf2read.c (read_subroutine_type): Set special calling
190 convention flag for functions compiled by IBM XL C for OpenCL.
191 * ppc-sysv-tdep.c: Include "dwarf2.h"
192 (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
194 (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement
195 IBM OpenCL vector types calling convention.
196 (ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
197 (ppc_sysv_abi_broken_return_value): Likewise.
198 (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
199 types calling convention.
200 (ppc64_sysv_abi_return_value): Likewise.
201 * spu-tdep.c: Include "dwarf2.h"
202 (spu_return_value): Implement IBM OpenCL vector types calling
205 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
207 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
208 correct ABI for AltiVec vector arguments.
210 2011-02-07 Pedro Alves <pedro@codesourcery.com>
212 * valprint.c (val_print): Extend comment.
213 * ada-valprint.c (ada_valprint): Rewrite comment deferring
214 interface explanation to val_print.
215 (ada_val_print_array): Adjust comment to current interface.
216 (print_field_values): Adjust comment to current interface.
217 * c-valprint.c (c_val_print): Rewrite comment deferring interface
218 explanation to val_print.
219 * f-valprint.c (f_val_print): Ditto.
220 * jv-valprint.c (java_val_print): Ditto.
221 * m2-valprint.c (m2_val_print): Ditto.
222 * p-valprint.c (pascal_val_print): Ditto.
224 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
226 * breakpoint.c (parse_breakpoint_sals): Fix description.
228 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
229 Oguz Kayral <oguzkayral@gmail.com>
231 * python/py-inferior.c (python_on_normal_stop): New function.
232 (python_on_resume): New function.
233 (python_inferior_exit): New function.
234 (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
235 inferior_exit observers.
236 * python/py-evtregistry.c: New file.
237 * python/py-threadevent.c : New file.
238 * python/py-event.c: New file.
239 * python/py-evts.c: New file.
240 * python/py-continueevent.c: New file.
241 * python/py-bpevent.c: New file.
242 * python/py-signalevent.c: New file.
243 * python/py-exetiedevent.c: New file.
244 * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
245 Move struct breakpoint_object from here...
246 * python/python-internal.h: ... to here.
247 * python/py-event.h: New file.
248 * python/py-events.h: New file.
249 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
250 py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
251 py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
252 (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
253 py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
254 py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
255 Add build rules for all the above.
257 2011-02-04 Tom Tromey <tromey@redhat.com>
259 * dwarf2read.c (dwarf2_section_empty_p): New function.
260 (dwarf2_read_section): Use dwarf2_section_empty_p.
261 (dwarf2_section_size): New function.
262 (dwarf2_get_section_info): Unconditionally read section.
263 (dwarf2_read_index): Use dwarf2_section_empty_p.
264 (partial_read_comp_unit_head): Use dwarf2_section_size.
265 (dwarf2_symbol_mark_computed): Likewise.
267 2011-02-04 David Daney <ddaney@caviumnetworks.com>
269 * NEWS: Add item for "catch syscall" on mips*-linux* targets.
271 2011-02-04 David Daney <ddaney@caviumnetworks.com>
273 * mips-linux-tdep.c: Include xml-syscall.h.
274 (mips_linux_get_syscall_number): New function.
275 (mips_linux_init_abi): Add calls to
276 mips_linux_get_syscall_number() and set_xml_syscall_file_name().
277 * data-directory/Makefile.in (SYSCALLS_FILES): Add
278 mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
279 * syscalls/mips-n32-linux.xml: New file.
280 * syscalls/mips-n64-linux.xml: New file.
281 * syscalls/mips-o32-linux.xml: New file.
283 2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org>
285 * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
286 Complain about inverted range entries.
287 (dwarf2_record_block_ranges): Likewise.
289 2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
292 * breakpoint.c (update_watchpoint): Fix name of the
293 update_global_location_list function.
294 (print_one_breakpoint): Fix typo.
295 (_initialize_breakpoint): Remove extra space in hbreak help
297 * breakpoint.h (struct bp_location) <length>: Fix field
300 2011-02-04 Pedro Alves <pedro@codesourcery.com>
302 * regcache.c (registers_changed_ptid): Don't explictly always
303 clear `current_regcache'. Only clear current_thread_ptid and
304 current_thread_arch when PTID matches. Only reinit the frame
305 cache if PTID matches the current inferior_ptid. Move alloca(0)
307 (registers_changed): ... here.
309 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org>
311 * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
312 starts with __stack_chk_guard as stack guard symbol.
314 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
316 * disasm.c (compare_lines): Handle the end of sequence markers
317 within the line table to better support disassembling over
318 compilation unit boundaries.
320 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
322 * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
323 arguments. Skip in-prologue calls to glibc __aeabi_read_tp
324 implementation even if no symbols are available.
325 (thumb_analyze_prologue): Update call to skip_prologue_function.
326 (arm_analyze_prologue): Likewise.
328 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
330 * arm-tdep.c: Include "observer.h".
331 (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
332 (arm_exidx_data_key): New static variable.
333 (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
334 (struct arm_exidx_data): Likewise.
335 (arm_exidx_data_free): New function.
336 (arm_compare_exidx_entries): Likewise.
337 (arm_obj_section_from_vma): Likewise.
338 (arm_exidx_new_objfile): Likewise.
339 (arm_find_exidx_entry): Likewise.
340 (arm_exidx_fill_cache): Likewise.
341 (arm_exidx_unwind_sniffer): Likewise.
342 (arm_exidx_unwind): New global variable.
343 (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
344 (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
345 observer. Register arm_exidx_data_key as objfile data.
347 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
349 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
350 due to accessing uninitialized variable. Fix indentation.
352 2011-02-02 Pedro Alves <pedro@codesourcery.com>
354 * c-valprint.c (c_value_print): When doing virtual base pointer
355 adjustment, create a new value with adjusted contents rather than
356 changing the contents of the value being printed (and getting it
359 2011-02-02 Pedro Alves <pedro@codesourcery.com>
361 * xml-support.c (xml_find_attribute): New.
362 (xinclude_start_include): Use it.
363 * xml-support.h (xml_find_attribute): Declare.
364 * memory-map.c (memory_map_start_memory)
365 (memory_map_start_property): Use xml_find_attribute.
366 * osdata.c (osdata_start_osdata, osdata_start_column): Use
368 * remote.c (start_thread): Use xml_find_attribute.
369 * solib-target.c (library_list_start_segment)
370 (library_list_start_section, library_list_start_library)
371 (library_list_start_list): Use xml_find_attribute.
372 * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
373 (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
374 (tdesc_start_field): Use xml_find_attribute.
376 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com>
378 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
379 (BUILD_OCL_VTYPES): Update.
381 2011-02-02 Joel Brobecker <brobecker@adacore.com>
383 * configure.ac: Work around non-GNU sed limitation when computing
384 python version number.
385 * configure: Regenerate.
387 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
389 Fix debug printing of TYPE_INSTANCE.
390 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
391 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
393 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
395 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
396 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
397 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
398 * ada-operator.inc: Rename the file to ...
399 * ada-operator.def: ... here, wrap all the entries by macro OP.
400 * expprint.c (op_name_standard): Remove all the entries. Include
401 "std-operator.def" instead.
402 * expression.h (enum exp_opcode): Include "std-operator.def" and
403 "ada-operator.def". Move all the entries ...
404 * std-operator.def: ... here, wrap all the entries by macro OP.
406 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
408 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
409 * breakpoint.c (remove_jit_event_breakpoints): New function.
410 * jit.c (jit_descriptor_addr): Delete.
411 (registering_code): Delete.
413 (jit_inferior_data): New variable.
414 (struct jit_inferior_data): New type.
415 (get_jit_inferior_data): New function.
416 (jit_inferior_data_cleanup): New function.
417 (jit_read_descriptor): Adjust.
418 (jit_register_code): Adjust.
419 (jit_breakpoint_re_set_internal): New function; move code here ...
420 (jit_inferior_init): ... from here.
421 (jit_breakpoint_re_set): Adjust.
422 (jit_reset_inferior_data_and_breakpoints): New function.
423 (jit_inferior_created_observer): Adjust.
424 (jit_inferior_exit_hook): Adjust.
425 (jit_executable_changed_observer): New function.
426 (jit_event_handler): Adjust.
427 (_initialize_jit): Adjust.
429 2011-01-31 Michael Snyder <msnyder@vmware.com>
431 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
434 2011-01-31 Tom Tromey <tromey@redhat.com>
437 * python/python.c (execute_gdb_command): Call
439 * top.c (suppress_dont_repeat): New global.
440 (dont_repeat): Use it.
441 (prevent_dont_repeat): New function.
442 * command.h (prevent_dont_repeat): Declare.
444 2011-01-31 Tom Tromey <tromey@redhat.com>
446 * infcmd.c (finish_backward): Use breakpoint_set_silent.
447 * python/py-breakpoint.c (bppy_set_silent): Use
448 breakpoint_set_silent.
449 (bppy_set_thread): Use breakpoint_set_thread.
450 (bppy_set_task): Use breakpoint_set_task.
451 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
452 (breakpoint_set_task): Declare.
453 (make_breakpoint_silent): Remove.
454 * breakpoint.c (breakpoint_set_silent): New function.
455 (breakpoint_set_thread): Likewise.
456 (breakpoint_set_task): Likewise.
457 (make_breakpoint_silent): Remove.
459 2011-01-31 Tom Tromey <tromey@redhat.com>
461 * breakpoint.h (user_breakpoint_p): Declare.
462 * breakpoint.c (user_breakpoint_p): New function.
463 (breakpoint_1): Use it.
464 (save_breakpoints): Likewise.
466 2011-01-31 Joel Brobecker <brobecker@adacore.com>
468 * configure.ac: Add handling of Python distribution on Windows.
469 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
470 sysconfig variables are not defined, then do not use them.
471 On Windows, if LIBPL is not defined, then use prefix + '/libs'
472 instead. On Windows, return all paths using forward-slashes
473 rather than backslashes.
475 2011-01-31 Joel Brobecker <brobecker@adacore.com>
477 * configure.ac: Remove fallback behavior for building
478 against Python. Remove tweaking of Python include path.
479 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
480 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
481 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
482 Always restore CPPFLAGS and LIBS after linking test.
483 * configure: Regenerated.
484 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
485 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
486 * python/python-internal.h: Adjust includes of Python .h files.
488 2011-01-31 Joel Brobecker <brobecker@adacore.com>
490 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
493 2011-01-31 Joel Brobecker <brobecker@adacore.com>
495 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
498 2011-01-31 Yao Qi <yao@codesourcery.com>
500 * arm-linux-nat.c: Update calls to regcache_register_status
501 instead of regcache_valid_p.
502 * aix-thread.c: Likewise.
503 * i386gnu-nat.c: Likewise.
505 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
508 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
509 touching TYPE_FIELD_ARTIFICIAL.
511 2011-01-28 Richard Earnshaw <rearnsha@arm.com>
513 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
516 2011-01-28 Pedro Alves <pedro@codesourcery.com>
518 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
519 selected, don't try iterating over the traceframe's blocks.
520 (tfile_has_stack): If there's no traceframe selected, then there's
522 (tfile_has_registers): If there's no traceframe selected, then
523 there's no registers.
525 2011-01-28 Pedro Alves <pedro@codesourcery.com>
527 * target.c (memory_xfer_partial): No need to restore shadows if we
528 haven't read anything.
530 2011-01-28 Pedro Alves <pedro@codesourcery.com>
532 * mips-tdep.c (mips_print_register): Use get_frame_register_value
533 and val_print_scalar_formatted.
535 2011-01-27 Pedro Alves <pedro@codesourcery.com>
537 * tracepoint.c (tfile_read): New.
538 (tfile_open): Use it.
539 (tfile_get_traceframe_address): Use it.
540 (tfile_trace_find): Use it.
541 (walk_blocks_callback_func): New typedef.
542 (match_blocktype): New function.
543 (traceframe_walk_blocks): New function.
544 (traceframe_find_block_type): New function.
545 (tfile_fetch_registers, tfile_xfer_partial)
546 (tfile_get_trace_state_variable_value): Use
547 traceframe_find_block_type and tfile_read.
549 2011-01-26 Kevin Buettner <kevinb@redhat.com>
551 * remote-mips.c: Add internationalization mark ups. Remove
552 trailing \n from already marked up strings.
554 2011-01-26 Tom Tromey <tromey@redhat.com>
556 * python/py-prettyprint.c (print_string_repr): Clear
557 'addressprint' option when calling val_print_string.
558 (print_children): Handle Val_pretty_default. Clear 'addressprint'
559 option when calling val_print_string.
561 2011-01-26 Tom Tromey <tromey@redhat.com>
563 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
565 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
567 (gdb_py_longest, gdb_py_ulongest): New typedefs.
568 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
569 (gdb_py_long_as_ulongest): New defines.
570 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
571 (gdb_py_int_as_long): Declare.
572 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
573 GDB_PY_LL_ARG, gdb_py_object_from_longest.
574 (valpy_long): Add comment.
575 * python/py-utils.c (get_addr_from_python): Use
576 gdb_py_long_as_ulongest. Handle overflow properly.
577 (gdb_py_object_from_longest): New function.
578 (gdb_py_object_from_ulongest): Likewise.
579 (gdb_py_int_as_long): Likewise.
580 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
581 * python/py-symtab.c (salpy_get_pc): Use
582 gdb_py_long_from_ulongest.
583 (salpy_get_line): Use PyInt_FromLong.
584 * python/py-param.c (set_parameter_value): Use
586 * python/py-lazy-string.c (stpy_get_address): Use
587 gdb_py_long_from_ulongest.
588 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
589 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
590 * python/py-breakpoint.c (bppy_set_thread): Use
592 (bppy_set_task): Likewise.
593 (bppy_set_ignore_count): Likewise.
594 (bppy_set_hit_count): Likewise.
595 * python/py-block.c (blpy_get_start): Use
596 gdb_py_object_from_ulongest.
597 (blpy_get_end): Likewise.
598 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
600 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
603 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
604 * gdb/solib.c (solib_read_symbols): Check for addr_low in
605 equality test for objfile, initialize addr_low if needed.
607 2011-01-25 Pedro Alves <pedro@codesourcery.com>
609 * tui/tui-regs.c (tui_register_format): Remove dead code.
611 2011-01-25 Pedro Alves <pedro@codesourcery.com>
613 * printcmd.c (print_formatted): Use val_print_scalar_formatted
614 instead of print_scalar_formatted.
615 (print_scalar_formatted): Don't handle 's' format strings here,
616 and add an assertion that we never see such format here.
617 * valprint.h (val_print_scalar_formatted): Declare.
618 * valprint.c (val_print_scalar_formatted): New.
619 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
620 instead of print_scalar_formatted.
621 * jv-valprint.c (java_val_print): Ditto.
622 * p-valprint.c (pascal_val_print): Ditto.
623 * ada-valprint.c (ada_val_print_1): Ditto.
624 * f-valprint.c (f_val_print): Ditto.
625 * infcmd.c (registers_info): Ditto.
626 * m2-valprint.c (m2_val_print): Ditto.
628 2011-01-25 Pedro Alves <pedro@codesourcery.com>
630 * m2-valprint.c (print_unbounded_array): Pass
631 value_contents_for_printing rather than value_contents, to
632 m2_print_array_contents. Also pass in the value.
634 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
636 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
637 (save_gdb_index_command): Switch to .gdb_index version 4.
639 2011-01-25 Pedro Alves <pedro@codesourcery.com>
641 * mi/mi-main.c (get_register): Use get_frame_register_value rather
642 than frame_register, and always pass a valid value to val_print.
644 2011-01-25 Pedro Alves <pedro@codesourcery.com>
646 Centralize printing "<optimized out>".
648 * valprint.h (val_print_optimized_out): Declare.
649 * cp-valprint.c (cp_print_value_fields): Use
650 val_print_optimized_out.
651 * jv-valprint.c (java_print_value_fields): Ditto.
652 * p-valprint.c (pascal_object_print_value_fields): Ditto.
653 * printcmd.c (print_formatted): Ditto.
654 * valprint.c (valprint_check_validity): Ditto.
655 (value_check_printable): Ditto.
656 (val_print_optimized_out): New.
658 2011-01-25 Pedro Alves <pedro@codesourcery.com>
660 * infcmd.c (default_print_registers_info): Allocate values so to
661 never pass a NULL value to val_print.
663 2011-01-25 Pedro Alves <pedro@codesourcery.com>
665 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
666 boolean. Make sure to always pass a value that matches the
667 contents buffer to callees. Preserve `address' for following
669 * value.c (value_contents_for_printing_const): New.
670 (value_address): Constify value argument.
671 * value.h (value_contents_for_printing_const): Declare.
672 (value_address): Constify value argument.
674 2011-01-25 Pedro Alves <pedro@codesourcery.com>
676 * regcache.c (struct regcache_descr): Rename
677 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
678 and sizeof_cooked_register_valid_p to
679 sizeof_cooked_register_status.
680 (init_regcache_descr): Adjust.
681 (struct regcache): Rename register_valid_p field to
683 (regcache_xmalloc_1, regcache_xfree, regcache_save)
684 (do_cooked_read): Adjust.
685 (regcache_valid_p): Rename to ...
686 (regcache_register_status): ... this. Adjust.
687 (regcache_invalidate): Adjust.
688 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
690 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
691 as unavailable, not valid.
692 (regcache_dump): Adjust.
693 * regcache.h (enum register_status): New.
694 (regcache_register_status): Declare.
695 (regcache_invalidate): Delete declaration.
696 * corelow.c (get_core_registers): Adjust.
697 * tracepoint.c (tfile_fetch_registers): Adjust.
698 * trad-frame.c (REG_VALUE): Rename to ...
699 (TF_REG_VALUE): ... this.
700 (REG_UNKNOWN): Rename to ...
701 (TF_REG_UNKNOWN): ... this.
702 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
703 * mi/mi-main.c (register_changed_p): Adjust.
705 2011-01-25 Pedro Alves <pedro@codesourcery.com>
707 * regcache.c (struct regcache_descr): Remove outdated comment.
708 (init_regcache_descr): Remove sizeof_raw_register_valid_p
710 (regcache_xmalloc): Rename to ...
711 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
712 Allocate the regcache type accordingly.
713 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
714 (regcache_xfree): Asser the source is also readonly. Copy sizeof
715 cooked registers, not raw.
716 (regcache_dup_no_passthrough): Delete.
717 (get_thread_arch_regcache): Use regcache_xmalloc_1.
718 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
719 mention obsolete write_register_bytes.
720 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
722 2011-01-25 Pedro Alves <pedro@codesourcery.com>
724 Stop remote_read_bytes from handling partial reads itself.
726 * remote-fileio.c: Include target.h.
727 (remote_fileio_write_bytes): Delete.
728 (remote_fileio_func_open, remote_fileio_func_write)
729 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
731 (remote_fileio_func_stat): Use target_read_memory and
733 (remote_fileio_func_gettimeofday): Use target_write_memory.
734 (remote_fileio_func_system): Use target_read_memory.
735 * remote.c (remote_write_bytes): Make it static.
736 (remote_read_bytes): Don't handle partial reads here.
737 * remote.h (remote_read_bytes): Delete declaration.
739 2011-01-25 Pedro Alves <pedro@codesourcery.com>
741 Simplify XML parsing a bit.
743 * xml-support.h (gdb_xml_parse_quick): Declare.
744 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
745 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
747 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
748 gdb_xml_create_parser_and_cleanup_1.
749 (gdb_xml_parse_quick): New.
750 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
751 * osdata.c (osdata_parse): Ditto.
752 * remote.c (remote_threads_info): Ditto.
753 * solib-target.c (solib_target_parse_libraries): Ditto.
754 * xml-syscall.c (syscall_parse_xml): Ditto.
755 * xml-tdesc.c (tdesc_parse_xml): Ditto.
757 2011-01-24 Kevin Buettner <kevinb@redhat.com>
759 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
760 with remote-mips.o added to gdb_target_obs.
761 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
763 2011-01-24 Pedro Alves <pedro@codesourcery.com>
765 * ada-valprint.c (val_print_packed_array_elements): Pass the
766 correct struct value to val_print.
767 (ada_val_print_1): Ditto.
769 2011-01-24 Pedro Alves <pedro@codesourcery.com>
771 Don't lose embedded_offset in printing routines throughout.
773 * valprint.h (val_print_array_elements): Change prototype.
774 * valprint.c (val_print_array_elements): Add `embedded_offset'
775 parameter, and adjust to pass it down to val_print, while passing
776 `valaddr' or `address' unmodified. Take embedded_offset into
777 account when checking repetitions.
778 * c-valprint.c (c_val_print): Pass embedded_offset to
779 val_print_array_elements instead of adjusting `valaddr' and
781 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
782 embedded_offset to val_print_array_elements instead of adjusting
784 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
785 * p-valprint.c (pascal_val_print): Pass embedded_offset to
786 val_print_array_elements and pascal_object_print_value_fields
787 instead of adjusting `valaddr'.
788 (pascal_object_print_value_fields): Add `offset' parameter, and
790 (pascal_object_print_value): Add `offset' parameter, and adjust to
792 (pascal_object_print_static_field): Use
793 value_contents_for_printing/value_embedded_offset, rather than
795 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
796 parameter, and adjust to use it. Use
797 value_contents_for_printing/value_embedded_offset, rather than
799 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
800 (ada_val_print_array): Add `offset' parameter, and adjust to use
802 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
803 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
804 Instead work with offsets. Use
805 value_contents_for_printing/value_embedded_offset, rather than
806 value_contents. Change `defer_val_int' local type to CORE_ADDR,
807 and use value_from_pointer to extract a target pointer, rather
808 than value_from_longest.
809 (print_variant_part): Add `offset' parameter. Replace
810 `outer_valaddr' parameter by a new `outer_offset' parameter.
811 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
812 (ada_value_print): Use
813 value_contents_for_printing/value_embedded_offset, rather than
815 (print_record): Add `offset' parameter, and adjust to pass it
817 (print_field_values): Add `offset' parameter. Replace
818 `outer_valaddr' parameter by a new `outer_offset' parameter.
819 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
820 Use value_contents_for_printing/value_embedded_offset, rather than
822 * d-valprint.c (dynamic_array_type): Use
823 value_contents_for_printing/value_embedded_offset, rather than
825 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
826 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
827 (java_print_value_fields): Take `offset' into account. Don't
828 re-adjust `valaddr'. Instead pass down adjusted offsets.
829 (java_val_print): Take `embedded_offset' into account. Pass it to
830 java_print_value_fields.
831 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
832 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
833 down adjusted offsets.
834 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
835 (f_val_print): Take `embedded_offset' into account.
837 2011-01-21 Joel Brobecker <brobecker@adacore.com>
839 * inflow.c: Include "gdbcmd.h".
840 (interactive_mode): New static global, moved here from top.c.
841 (show_interactive_mode): New function, moved here from top.c.
842 use gdb_has_a_terminal instead of input_from_terminal_p to
843 determine the current mode.
844 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
846 (_initialize_inflow): Add the "set/show interactive-mode"
847 commands. Moved here from top.c, after having adjusted slightly
849 * top.c (interactive_mode, show_interactive_mode): Delete, moved
851 (input_from_terminal_p): Remove handling of "interactive-mode"
852 setting, moved to infow.c.
853 (init_main): Remove creation of the "set/show interactive-mode"
854 commands, moved to inflow.c.
856 2011-01-19 Joel Brobecker <brobecker@adacore.com>
858 * NEWS: Add entry for native ia64-hpux support.
860 2011-01-19 Tom Tromey <tromey@redhat.com>
863 * thread.c (free_thread): Free 'name'.
864 (print_thread_info): Emit thread name. Change CLI output.
865 (thread_name_command): New function.
866 (do_captured_thread_select): Emit newline.
867 (_initialize_thread): Register 'thread name' command.
868 * target.h (struct target_ops) <to_thread_name>: New field.
869 (target_thread_name): New macro.
870 * target.c (update_current_target): Handle to_thread_name.
871 * python/py-infthread.c (thpy_get_name): New function.
872 (thpy_set_name): Likewise.
873 (thread_object_getset): Add "name".
874 * linux-nat.c (linux_nat_thread_name): New function.
875 (linux_nat_add_target): Set to_thread_name.
876 * gdbthread.h (struct thread_info) <name>: New field.
878 2011-01-18 Joel Brobecker <brobecker@adacore.com>
880 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
881 (ada_val_print_1): Likewise.
883 2011-01-18 Joel Brobecker <brobecker@adacore.com>
885 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
886 upper limit address is not greater than the function end address
887 when the upper limit could not be computed using the debugging
890 2011-01-17 Tom Tromey <tromey@redhat.com>
892 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
894 * utils.c: Include gdb_regex.h.
895 (do_regfree_cleanup): New function.
896 (make_regfree_cleanup): Likewise.
897 (get_regcomp_error): Likewise.
898 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
900 2011-01-17 Tom Tromey <tromey@redhat.com>
902 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
905 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
907 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
908 for internal variables.
909 (last_was_structop): New static variable.
910 (COMPLETE): New token.
911 (field_exp): New rule to group all '.' suffix handling.
912 Add mark_struct_expression calls when approriate to be able
913 to correctly find fields for completion.
914 (yylex): Adapt to handle field completion and set INTVAR when
917 2011-01-14 Yao Qi <yao@codesourcery.com>
919 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
920 save_reggroup, restore_reggroup and all_reggroup.
922 2011-01-14 Joel Brobecker <brobecker@adacore.com>
924 * ada-valprint. (ada_printchar): Use the correct type length
925 in call to ada_emit_char.
926 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
928 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
930 * solib-som.h (hpux_major_release): Declare variable here.
931 * solib-som.c: Remove <sys/utsname.h> header.
932 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
933 (hpux_major_release): Make global, change default value to
934 DEFAULT_HPUX_MAJOR_RELEASE.
935 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
936 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
937 Add "solib-som.h" header.
938 (set_hpux_major_release): New function.
939 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
941 2011-01-14 Mike Frysinger <vapier@gentoo.org>
943 * configure.tgt (*-*-uclinux*): Match more Linux os targets
945 2011-01-14 Joel Brobecker <brobecker@adacore.com>
947 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
948 new-line at end of warning message.
949 (ia64_hpux_store_register): Remove trailing new-line at end of
951 * ia64-hpux-tdep.c: Rephrase comment.
952 * solib-ia64-hpux.c (struct dld_info): Change type of field
953 dld_flags from "long long" to ULONGEST.
955 2011-01-14 Pedro Alves <pedro@codesourcery.com>
957 * target.h (deprecated_child_ops): Delete declaration.
958 * target.c (deprecated_child_ops): Delete definition.
960 2011-01-14 Pedro Alves <pedro@codesourcery.com>
962 * Makefile.in (hpux-thread.o): Delete rule.
963 * configure.ac: Don't check for HPUX DCE threads support.
964 * configure, config.in: Regenerate.
965 * hppa-hpux-nat.c (child_suppress_run): Delete.
966 (hppa_hpux_child_can_run): Delete.
967 (_initialize_hppa_hpux_nat): Don't override to_can_run.
968 * hpux-thread.c: Delete.
970 2011-01-13 Joel Brobecker <brobecker@adacore.com>
972 * hpux-thread.c (hpux_pid_to_str): Delete.
974 2011-01-13 Joel Brobecker <brobecker@adacore.com>
976 * ada-valprint.c (ada_emit_char): Remove strange code.
977 Check that c is <= UCHAR_MAX before passing it to isascii.
978 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
980 2011-01-13 Joel Brobecker <brobecker@adacore.com>
982 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
983 to the case where instream is stdin.
985 2011-01-13 Joel Brobecker <brobecker@adacore.com>
987 * ia64-tdep.h (struct regcache): Forward declare.
988 (struct ia64_infcall_ops): New struct type.
989 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
991 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
992 Renames ia64_find_global_pointer.
993 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
994 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
995 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
997 (ia64_infcall_ops): New static global constant.
998 (ia64_gdbarch_init): Set tdep->infcall_ops.
999 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
1000 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
1001 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
1002 (ia64_hpux_dummy_code): New static global constant.
1003 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
1004 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
1005 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
1007 (ia64_hpux_infcall_ops): New static global constant.
1008 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
1009 for inferior function calls to work properly on ia64-hpux.
1011 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1013 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
1014 * ia64-tdep.h (struct frame_info): forward declaration.
1015 (struct gdbarch_tdep): Add field size_of_register_frame.
1016 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
1017 to determine the size of the register frame.
1018 (ia64_size_of_register_frame): New function.
1019 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
1020 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
1021 (IA64_HPUX_UREG_REASON): New macro.
1022 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
1024 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
1025 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
1026 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
1029 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1031 Add support for ia64-hpux.
1032 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
1033 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
1035 * configure.host: Add handling for ia64-hpux hosts. Add associated
1037 * configure.tgt: Add handling for ia64-hpux targets.
1038 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
1039 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
1040 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
1042 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1044 [ttrace] Compute thread list immediately after attach.
1045 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
1047 (inf_ttrace_attach): Use it.
1049 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1051 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
1052 if we could not determine the frame's function address. Instead,
1053 use the frame's PC, and then continue.
1055 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1057 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
1058 not already defined.
1060 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1062 * ia64-tdep.c (ia64_struct_type_p): New function.
1063 (ia64_extract_return_value): Handle integral values that are
1064 less than 8 bytes long.
1065 (ia64_push_dummy_call): Likewise.
1067 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1069 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
1070 floatformat_ia64_ext.
1071 (floatformat_ia64_ext_big): New static const.
1072 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
1074 2011-01-12 Tom Tromey <tromey@redhat.com>
1076 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
1078 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
1079 (mi_cmd_thread_list_ids): Likewise.
1080 (mi_cmd_data_list_changed_registers): Likewise.
1081 (mi_cmd_data_list_register_values): Likewise.
1082 (mi_cmd_data_write_register_values): Likewise.
1083 (mi_cmd_data_evaluate_expression): Likewise.
1084 (mi_cmd_data_read_memory): Likewise.
1085 (mi_cmd_data_read_memory_bytes): Likewise.
1086 (mi_cmd_data_write_memory): Likewise.
1087 (mi_cmd_enable_timings): Likewise.
1088 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
1089 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
1090 (mi_cmd_var_delete): Likewise.
1091 (mi_cmd_var_set_format): Likewise.
1092 (mi_cmd_var_show_format): Likewise.
1093 (mi_cmd_var_info_num_children): Likewise.
1094 (mi_cmd_var_list_children): Likewise.
1095 (mi_cmd_var_info_type): Likewise.
1096 (mi_cmd_var_info_expression): Likewise.
1097 (mi_cmd_var_show_attributes): Likewise.
1098 (mi_cmd_var_assign): Likewise.
1099 (mi_cmd_var_update): Likewise.
1100 (mi_cmd_enable_pretty_printing): Likewise.
1101 (mi_cmd_var_set_update_range): Likewise.
1102 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
1104 (mi_cmd_target_file_put): Likewise.
1105 (mi_cmd_target_file_delete): Likewise.
1106 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
1108 (mi_cmd_stack_info_depth): Likewise.
1109 (mi_cmd_stack_list_locals): Likewise.
1110 (mi_cmd_stack_list_args): Likewise.
1111 (mi_cmd_stack_select_frame): Likewise.
1112 (mi_cmd_stack_select_frame): Likewise.
1113 (mi_cmd_stack_info_frame): Likewise.
1114 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
1116 (mi_cmd_file_list_exec_source_files): Likewise.
1117 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
1118 (mi_cmd_env_cd): Likewise.
1119 (mi_cmd_env_path): Likewise.
1120 (mi_cmd_env_dir): Likewise.
1121 (mi_cmd_inferior_tty_show): Likewise.
1122 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
1123 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
1124 (mi_cmd_break_watch): Likewise.
1126 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
1128 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
1129 (ppc_linux_insert_hw_breakpoint): Likewise.
1130 (ppc_linux_remove_hw_breakpoint): Likewise.
1131 (ppc_linux_insert_watchpoint): Likewise.
1133 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1134 Jan Kratochvil <jan.kratochvil@redhat.com>
1136 PR fortran/11104 and DWARF unbound arrays detection.
1137 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
1138 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
1139 unspecified upper bound.
1140 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
1141 variables array_size_array, tmp_type and offset_item. New variable
1142 array. Remove call to f77_get_upperbound. New variables array_type
1143 and index. Call value_subscripted_rvalue for each dimenasion. Remove
1144 the final call to deprecated_set_value_type.
1146 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1148 Make value allocations more lazy.
1149 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
1150 instead of allocate_value and set_value_lazy when possible.
1151 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
1152 instead of allocate_value and set_value_lazy.
1153 * findvar.c (value_of_register_lazy): Likewise.
1154 (read_var_value): Remove V preallocation, call just check_typedef in
1155 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
1156 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
1157 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
1158 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
1159 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
1160 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
1161 the end, remove set_value_lazy there.
1162 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
1163 instead of allocate_value and set_value_lazy when possible.
1164 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
1165 * value.c (allocate_computed_value): Use allocate_value_lazy instead
1166 of allocate_value and set_value_lazy.
1167 (value_from_contents_and_address): Use allocate_value_lazy instead of
1168 allocate_value and set_value_lazy when possible.
1170 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1172 * disasm.c (dump_insns): Support dumping opcodes for MI.
1173 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
1174 dumping of instruction opcodes.
1176 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
1178 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
1181 2011-01-11 Tom Tromey <tromey@redhat.com>
1183 * thread.c (do_captured_thread_select): Emit newline before
1186 2011-01-11 Michael Snyder <msnyder@vmware.com>
1188 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
1189 * score-tdep.c: Ditto.
1190 * score-tdep.h: Ditto.
1191 * ser-base.c: Ditto.
1192 * ser-go32.c: Ditto.
1195 * ser-mingw.c: Ditto.
1196 * ser-pipe.c: Ditto.
1198 * ser-unix.c: Ditto.
1199 * sh64-tdep.c: Ditto.
1200 * shnbsd-nat.c: Ditto.
1204 * solib-darwin.c: Ditto.
1205 * solib-frv.c: Ditto.
1207 * solib-irix.c: Ditto.
1208 * solib-osf.c: Ditto.
1209 * solib-pa64.c: Ditto.
1210 * solib-som.c: Ditto.
1211 * solib-spu.c: Ditto.
1212 * solib-sunos.c: Ditto.
1213 * solib-svr4.c: Ditto.
1215 * sol-thread.c: Ditto.
1219 * sparc64-linux-tdep.c: Ditto.
1220 * sparc64-tdep.c: Ditto.
1221 * sparc-linux-nat.c: Ditto.
1222 * sparc-linux-tdep.c: Ditto.
1223 * sparc-sol2-nat.c: Ditto.
1224 * sparc-sol2-tdep.c: Ditto.
1225 * sparc-tdep.c: Ditto.
1226 * sparc-tdep.h: Ditto.
1227 * spu-tdep.c: Ditto.
1228 * stabsread.c: Ditto.
1229 * stabsread.h: Ditto.
1237 * target-descriptions.c: Ditto.
1238 * target-descriptions.h: Ditto.
1240 * target-memory.c: Ditto.
1241 * terminal.h: Ditto.
1244 * tracepoint.c: Ditto.
1245 * tracepoint.h: Ditto.
1246 * trad-frame.h: Ditto.
1247 * typeprint.c: Ditto.
1249 2011-01-11 Michael Snyder <msnyder@vmware.com>
1251 * ui-file.c: Comment cleanup, mostly periods and spaces.
1256 * v850-tdep.c: Ditto.
1257 * valarith.c: Ditto.
1259 * valprint.c: Ditto.
1260 * valprint.h: Ditto.
1265 * vax-tdep.c: Ditto.
1269 * windows-nat.c: Ditto.
1270 * windows-tdep.c: Ditto.
1271 * xcoffread.c: Ditto.
1272 * xcoffsolib.c: Ditto.
1273 * xml-support.c: Ditto.
1274 * xstormy16-tdep.c: Ditto.
1275 * xtensa-tdep.c: Ditto.
1276 * xtensa-tdep.h: Ditto.
1278 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1280 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
1281 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
1283 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
1284 Thiago Jung Bauermann <bauerman@br.ibm.com>
1286 Implement support for PowerPC BookE ranged watchpoints.
1288 (struct breakpoint_ops) <resources_needed>: New method.
1289 Initialize to NULL in all existing breakpoint_ops instances.
1290 (struct breakpoint) <exact>: New field.
1291 (target_exact_watchpoints): Declare external global.
1292 * breakpoint.c (target_exact_watchpoints): New global flag.
1293 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
1294 b->enable_state to bp_enabled before calling
1295 hw_watchpoint_used_count.
1296 (hw_watchpoint_used_count): Iterate over all bp_locations in a
1297 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
1299 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
1300 if the watchpoint is exact.
1301 (resources_needed_watchpoint): New function.
1302 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
1303 (watch_command_1): Set b->exact if the user asked for an exact
1304 watchpoint and one can be set.
1305 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
1306 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
1307 the user asks for an exact watchpoint and one can be set. Return
1308 number of needed debug registers to watch the expression.
1309 * gdbtypes.c (is_scalar_type): New function, based on
1310 valprint.c:scalar_type_p.
1311 (is_scalar_type_recursive): New function.
1312 * gdbtypes.h (is_scalar_type_recursive): Declare.
1313 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
1314 handle regions when ranged watchpoints are available.
1315 (create_watchpoint_request): New function.
1316 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
1317 create_watchpoint_request.
1318 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
1319 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
1320 `set powerpc' and `show powerpc' commands.
1321 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1322 Mention documentation comment in the target macro.
1323 (target_region_ok_for_hw_watchpoint): Document return value.
1325 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1327 * breakpoint.c (update_watchpoint): Decide on using a software or
1328 hardware watchpoint after the bp_locations are created.
1330 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1332 Convert hardware watchpoints to use breakpoint_ops.
1333 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
1334 <insert_location>: ... this. Return int instead of void.
1335 Accept pointer to struct bp_location instead of pointer to
1336 struct breakpoint. Adapt all implementations.
1337 (breakpoint_ops) <remove>: Rename to...
1338 <remove_location>: ... this. Accept pointer to struct bp_location
1339 instead of pointer to struct breakpoint. Adapt all implementations.
1340 * breakpoint.c (insert_catchpoint): Delete function.
1341 (insert_bp_location): Call the watchpoint or catchpoint's
1342 breakpoint_ops.insert method.
1343 (remove_breakpoint_1): Call the watchpoint or catchpoint's
1344 breakpoint_ops.remove method.
1345 (insert_watchpoint, remove_watchpoint): New functions.
1346 (watchpoint_breakpoint_ops): New structure.
1347 (watch_command_1): Initialize the OPS field.
1348 * inf-child.c (inf_child_insert_fork_catchpoint)
1349 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
1350 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
1351 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
1353 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
1354 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
1355 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
1356 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
1357 * target.c (update_current_target): Change default implementation of
1358 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
1359 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1360 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
1361 to_set_syscall_catchpoint to return_one.
1362 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
1363 (debug_to_insert_exec_catchpoint): Report return value.
1364 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
1365 (to_insert_exec_catchpoint): Change declaration to return int instead
1368 2011-01-11 Michael Snyder <msnyder@vmware.com>
1370 * arm-tdep.c: Internationalization.
1373 * fork-child.c: Ditto.
1374 * nto-procfs.c: Ditto.
1375 * ppc-sysv-tdep.c: Ditto.
1377 * remote-mips.c: Ditto.
1379 * rs6000-nat.c: Ditto.
1380 * rs6000-tdep.c: Ditto.
1384 * xml-support.c: Ditto.
1385 * mi/mi-cmd-break.c: Ditto.
1386 * mi/mi-cmd-var.c: Ditto.
1387 * mi/mi-interp.c: Ditto.
1388 * mi/mi-main.c: Ditto.
1390 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
1392 * remote-sim.c (gdbsim_store_register): Update API to
1393 sim_store_register to check more error conditions.
1395 2011-01-10 Michael Snyder <msnyder@vmware.com>
1397 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1398 * nto-tdep.c: Ditto.
1399 * nto-tdep.h: Ditto.
1400 * objc-exp.y: Ditto.
1401 * objc-lang.c: Ditto.
1402 * objfiles.c: Ditto.
1403 * objfiles.h: Ditto.
1404 * observer.c: Ditto.
1405 * opencl-lang.c: Ditto.
1408 * parser-defs.h: Ditto.
1411 * posix-hdep.c: Ditto.
1412 * ppcbug-rom.c: Ditto.
1413 * ppc-linux-nat.c: Ditto.
1414 * ppc-linux-tdep.c: Ditto.
1415 * ppc-linux-tdep.h: Ditto.
1416 * ppcnbsd-tdep.c: Ditto.
1417 * ppcobsd-tdep.c: Ditto.
1418 * ppcobsd-tdep.h: Ditto.
1419 * ppc-sysv-tdep.c: Ditto.
1420 * ppc-tdep.h: Ditto.
1421 * printcmd.c: Ditto.
1422 * proc-abi.c: Ditto.
1423 * proc-flags.c: Ditto.
1425 * proc-utils.h: Ditto.
1426 * progspace.h: Ditto.
1427 * prologue-value.c: Ditto.
1428 * prologue-value.h: Ditto.
1429 * psympriv.h: Ditto.
1431 * p-typeprint.c: Ditto.
1432 * p-valprint.c: Ditto.
1433 * ravenscar-sparc-thread.c: Ditto.
1434 * ravenscar-thread.c: Ditto.
1435 * ravenscar-thread.h: Ditto.
1437 * regcache.c: Ditto.
1438 * regcache.h: Ditto.
1440 * remote-fileio.c: Ditto.
1441 * remote-fileio.h: Ditto.
1443 * remote-m32r-sdi.c: Ditto.
1444 * remote-mips.c: Ditto.
1445 * remote-sim.c: Ditto.
1446 * rs6000-aix-tdep.c: Ditto.
1447 * rs6000-nat.c: Ditto.
1448 * rs6000-tdep.c: Ditto.
1450 2011-01-10 Michael Snyder <msnyder@vmware.com>
1452 * charset.c (validate): Internationalization.
1453 * coffread.c (read_one_sym): Ditto.
1454 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1455 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1456 * inflow.c (new_tty): Ditto.
1457 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1458 * m32c-tdep.c (m32c_return_value): Ditto.
1459 * mep-tdep.c (mep_store_return_value): Ditto.
1460 * score-tdep.c (score7_fetch_insn): Ditto.
1461 * ser-mingw.c (pipe_windows_open): Ditto.
1462 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1463 * spu-tdep.c (spu_register_type): Ditto.
1464 * tracepoint.c (trace_find_command): Ditto.
1465 * valarith.c (value_pos): Ditto.
1467 2011-01-10 Joel Brobecker <brobecker@adacore.com>
1469 * ada-valprint.c (printstr): Minor comment reformatting.
1471 2011-01-08 Michael Snyder <msnyder@vmware.com>
1473 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1476 2011-01-08 Michael Snyder <msnyder@vmware.com>
1478 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1479 * hppa-hpux-tdep.c: Ditto.
1480 * hppa-linux-nat.c: Ditto.
1481 * hppa-linux-tdep.c: Ditto.
1482 * hppanbsd-tdep.c: Ditto.
1483 * hppa-tdep.c: Ditto.
1484 * hppa-tdep.h: Ditto.
1485 * hpux-thread.c: Ditto.
1486 * i386-cygwin-tdep.c: Ditto.
1487 * i386-darwin-nat.c: Ditto.
1488 * i386gnu-nat.c: Ditto.
1489 * i386-linux-nat.c: Ditto.
1490 * i386-linux-tdep.c: Ditto.
1491 * i386-nat.c: Ditto.
1492 * i386-nat.h: Ditto.
1493 * i386nbsd-tdep.c: Ditto.
1494 * i386-sol2-nat.c: Ditto.
1495 * i386-stub.c: Ditto.
1496 * i386-tdep.c: Ditto.
1497 * i386-tdep.h: Ditto.
1498 * i387-tdep.c: Ditto.
1499 * ia64-linux-nat.c: Ditto.
1500 * ia64-linux-tdep.c: Ditto.
1501 * ia64-tdep.c: Ditto.
1505 * inferior.c: Ditto.
1506 * inferior.h: Ditto.
1512 * iq2000-tdep.c: Ditto.
1513 * irix5-nat.c: Ditto.
1519 * jv-typeprint.c: Ditto.
1520 * jv-valprint.c: Ditto.
1521 * language.c: Ditto.
1522 * language.h: Ditto.
1523 * linespec.c: Ditto.
1524 * linux-fork.c: Ditto.
1525 * linux-nat.c: Ditto.
1526 * linux-thread-db.c: Ditto.
1527 * lm32-tdep.c: Ditto.
1529 2011-01-08 Michael Snyder <msnyder@vmware.com>
1531 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1533 * m2-typeprint.c: Ditto.
1534 * m2-valprint.c: Ditto.
1535 * m32c-tdep.c: Ditto.
1536 * m32r-linux-nat.c: Ditto.
1537 * m32r-rom.c: Ditto.
1538 * m32r-tdep.c: Ditto.
1539 * m32r-tdep.h: Ditto.
1540 * m68hc11-tdep.c: Ditto.
1541 * m58klinux-nat.c: Ditto.
1542 * m68k-tdep.c: Ditto.
1543 * m88k-tdep.c: Ditto.
1544 * m88k-tdep.h: Ditto.
1545 * machoread.c: Ditto.
1546 * macrocmd.c: Ditto.
1547 * macroexp.c: Ditto.
1548 * macrotab.c: Ditto.
1551 * mdebugread.c: Ditto.
1552 * mdebugread.h: Ditto.
1555 * memory-map.h: Ditto.
1556 * mep-tdep.c: Ditto.
1557 * microblaze-rom.c: Ditto.
1558 * microblaze-tdep.c: Ditto.
1560 * mips-irix-tdep.c: Ditto.
1561 * mips-linux-nat.c: Ditto.
1562 * mips-linux-tdep.c: Ditto.
1563 * mips-linux-tdep.h: Ditto.
1564 * mipsnbsd-nat.c: Ditto.
1565 * mipsnbsd-tdep.c: Ditto.
1566 * mipsread.c: Ditto.
1567 * mips-tdep.c: Ditto.
1568 * mips-tdep.h: Ditto.
1569 * mn10300-linux-tdep.c: Ditto.
1570 * mn10300-tdep.c: Ditto.
1571 * mn10300-tdep.h: Ditto.
1574 * moxie-tdep.c: Ditto.
1575 * moxie-tdep.h: Ditto.
1578 2011-01-08 Mike Frysinger <vapier@gentoo.org>
1580 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1582 2011-01-08 Robert Millan <rmh@gnu.org>
1584 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1586 2011-01-07 Michael Snyder <msnyder@vmware.com>
1588 * charset.c (_initialize_charset): Fix typo in string.
1590 2011-01-07 Michael Snyder <msnyder@vmware.com>
1592 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1594 * tui/tui-layout.c (tui_set_layout_for_display_command):
1595 Split line so that operator goes to beginning of line.
1596 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1597 assignment out of if statement.
1599 2011-01-07 Michael Snyder <msnyder@vmware.com>
1601 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1602 * ada-lang.h: Ditto.
1603 * ada-tasks.c: Ditto.
1604 * ada-valprint.c: Ditto.
1605 * aix-threads.c: Ditto.
1606 * alpha-linux-nat.c: Ditto.
1607 * alpha-linux-tdep.c: Ditto.
1608 * alpha-mdebug-tdep.c: Ditto.
1609 * alpha-nat.c: Ditto.
1610 * alpha-osf1-tdep.c: Ditto.
1611 * alpha-tdep.c: Ditto.
1612 * alphabsd-nat.c: Ditto.
1613 * alphabsd-tdep.c: Ditto.
1614 * amd64-darwin-tdep.c: Ditto.
1615 * amd64-linux-nat.c: Ditto.
1616 * amd64-linux-tdep.c: Ditto.
1617 * amd64-sol2-tdep.c: Ditto.
1618 * amd64-tdep.c: Ditto.
1619 * amd64-fbsd-tdep.c: Ditto.
1620 * amd64-nbsd-tdep.c: Ditto.
1621 * amd64-obsd-tdep.c: Ditto.
1622 * amd64-linux-nat.c: Ditto.
1623 * amd64-linux-tdep.c: Ditto.
1624 * arm-tdep.c: Ditto.
1625 * arm-tdep.h: Ditto.
1626 * armnbsd-nat.c: Ditto.
1627 * avr-tdep.c: Ditto.
1628 * bfin-tdep.c: Ditto.
1630 * c-typeprintc: Ditto.
1631 * c-valprint.c: Ditto.
1632 * coff-pe-read.h: Ditto.
1633 * coffreead.c: Ditto.
1634 * cris-tdep.c: Ditto.
1636 * darwin-nat-info.c: Ditto.
1637 * darwin-nat.c: Ditto.
1638 * dbug-rom.c: Ditto.
1642 * dec-thread.c: Ditto.
1644 * demangle.c: Ditto.
1645 * dicos-tdep.c: Ditto.
1646 * dictionary.c: Ditto.
1647 * dictionary.h: Ditto.
1648 * dink32-rom.c: Ditto.
1650 * doublest.c: Ditto.
1652 * dummy-frame.c: Ditto.
1653 * dwarf2-frame.c: Ditto.
1654 * dwarf2expr.c: Ditto.
1655 * dwarf2loc.c: Ditto.
1656 * dwarf2read.c: Ditto.
1660 * event-top.h: Ditto.
1661 * exceptions.c: Ditto.
1662 * exceptions.h: Ditto.
1664 * expprint.c: Ditto.
1665 * expression.h: Ditto.
1669 * f-typeprint.c: Ditto.
1670 * f-valprint.c: Ditto.
1671 * fbsd-nat.c: Ditto.
1673 * fork-child.c: Ditto.
1676 * frv-linux-tdep.c: Ditto.
1677 * frv-tdep.c: Ditto.
1679 * gdb-stabs.h: Ditto.
1680 * gdb_assert.h: Ditto.
1681 * gdb_string.h: Ditto.
1682 * gdb_thread_db.h: Ditto.
1683 * gdb_wait.h: Ditto.
1684 * gdbarch.sh: Ditto.
1686 * gdbthread.h: Ditto.
1687 * gdbtypes.c: Ditto.
1688 * gdbtypes.h: Ditto.
1691 * gnu-v2-abi.c: Ditto.
1692 * gnu-v3-abi.c: Ditto.
1693 * go32-nat.c: Ditto.
1694 * gdbarch.c: Regenerate.
1695 * gdbarch.h: Regenerate.
1697 2011-01-07 Michael Snyder <msnyder@vmware.com>
1699 * ax-gdb.c: Adjust some long output strings.
1700 * breakpoint.c: Ditto.
1705 * linux-nat.c: Ditto.
1706 * solib-pa64.c: Ditto.
1707 * solib-som.c: Ditto.
1709 2011-01-06 Tom Tromey <tromey@redhat.com>
1713 * python/python.c (GdbMethods): Add "newest_frame" method.
1714 * python/python-internal.h (gdbpy_newest_frame): Declare.
1715 * python/py-frame.c (gdbpy_newest_frame): New function.
1717 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1719 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1720 * jit.c (jit_debug): New variable.
1721 (show_jit_debug): New function.
1722 (struct target_buffer): Use ULONGEST.
1723 (bfd_open_from_target_memory): Likewise.
1724 (jit_register_code, jit_inferior_init): Add debug output.
1725 (_initialize_jit): Register "debug jit" command.
1727 2011-01-06 Tom Tromey <tromey@redhat.com>
1729 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1730 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1733 2011-01-06 Tom Tromey <tromey@redhat.com>
1735 * python/py-frame.c (frapy_block): Use get_frame_block.
1737 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1739 Do not stop on SIGPRIO signals by default
1740 * infrun.c (_initialize_infrun): Unset signal_stop and
1741 signal_print for TARGET_SIGNAL_PRIO.
1743 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1745 * ada-tasks.c: Fix style violation in comment.
1747 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1749 * linespec.c (decode_compound, find_method): Remove trailing \n
1750 at end of error string.
1751 * solib-irix.c (irix_current_sos): Likewise.
1752 * varobj.c (uninstall_variable): Likewise.
1754 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1756 * copyright.py: New script.
1757 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1758 Launch emacs without exec'ing. Call copyright.py afterwards.
1760 2011-01-05 Michael Snyder <msnyder@vmware.com>
1762 * addrmap.c: Shorten lines of >= 80 columns.
1763 * arch-utils.c: Ditto.
1764 * arch-utils.h: Ditto.
1766 * ax-general.c: Ditto.
1768 * blockframe.c: Ditto.
1769 * breakpoint.c: Ditto.
1770 * buildsym.c: Ditto.
1772 * c-typeprint.c: Ditto.
1774 * coffread.c: Ditto.
1778 * cp-namespace.c: Ditto.
1779 * cp-support.c: Ditto.
1780 * dbug-rom.c: Ditto.
1785 * dictionary.c: Ditto.
1787 * doublest.c: Ditto.
1788 * dwarf2-frame.c: Ditto.
1789 * dwarf2expr.c: Ditto.
1790 * dwarf2loc.c: Ditto.
1791 * dwarf2read.c: Ditto.
1794 * event-loop.c: Ditto.
1795 * event-loop.h: Ditto.
1796 * exceptions.h: Ditto.
1798 * expprint.c: Ditto.
1799 * expression.h: Ditto.
1801 * f-valprint.c: Ditto.
1803 * frame-base.c: Ditto.
1804 * frame-unwind.c: Ditto.
1805 * frame-unwind.h: Ditto.
1809 * gdb-stabs.h: Ditto.
1810 * gdb_assert.h: Ditto.
1811 * gdb_dirent.h: Ditto.
1812 * gdb_obstack.h: Ditto.
1814 * gdbtypes.c: Ditto.
1815 * gdbtypes.h: Ditto.
1816 * inf-ttrace.c: Ditto.
1821 * inline-frame.h: Ditto.
1822 * language.c: Ditto.
1823 * language.h: Ditto.
1824 * libunwind-frame.c: Ditto.
1825 * libunwind-frame.h: Ditto.
1826 * linespec.c: Ditto.
1827 * linux-nat.c: Ditto.
1828 * linux-nat.h: Ditto.
1829 * linux-thread-db.c: Ditto.
1830 * machoread.c: Ditto.
1831 * macroexp.c: Ditto.
1832 * macrotab.c: Ditto.
1835 * mdebugread.c: Ditto.
1840 * objfiles.c: Ditto.
1841 * objfiles.h: Ditto.
1843 * p-typeprint.c: Ditto.
1844 * p-valprint.c: Ditto.
1846 * printcmd.c: Ditto.
1847 * proc-events.c: Ditto.
1849 * progspace.c: Ditto.
1850 * progspace.h: Ditto.
1851 * psympriv.h: Ditto.
1854 * regcache.c: Ditto.
1855 * regcache.h: Ditto.
1856 * remote-fileio.c: Ditto.
1858 * ser-mingw.c: Ditto.
1860 * ser-unix.c: Ditto.
1863 * solib-frv.c: Ditto.
1864 * solib-irix.c: Ditto.
1865 * solib-osf.c: Ditto.
1866 * solib-pa64.c: Ditto.
1867 * solib-som.c: Ditto.
1868 * solib-sunos.c: Ditto.
1869 * solib-svr4.c: Ditto.
1870 * solib-target.c: Ditto.
1874 * stabsread.c: Ditto.
1875 * stabsread.c: Ditto.
1878 * symfile-mem.c: Ditto.
1884 * target-descriptions.c: Ditto.
1885 * target-memory.c: Ditto.
1888 * terminal.h: Ditto.
1891 * tracepoint.c: Ditto.
1892 * tracepoint.h: Ditto.
1896 * user-regs.c: Ditto.
1897 * user-regs.h: Ditto.
1899 * valarith.c: Ditto.
1901 * valprint.c: Ditto.
1902 * valprint.h: Ditto.
1907 * xcoffread.c: Ditto.
1908 * xcoffsolib.c: Ditto.
1909 * xcoffsolib.h: Ditto.
1910 * xml-syscall.c: Ditto.
1911 * xml-tdesc.c: Ditto.
1913 2011-01-05 Michael Snyder <msnyder@vmware.com>
1915 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1916 * cli/cli-decode.c: Ditto.
1917 * cli/cli-dump.c: Ditto.
1918 * cli/cli-logging.c: Ditto.
1919 * cli/cli-script.c: Ditto.
1920 * cli/cli-setshow.c: Ditto.
1921 * common/signals.c: Ditto.
1922 * mi/mi-cmd-break.c: Ditto.
1923 * mi/mi-cmd-disas.c: Ditto.
1924 * mi/mi-cmd-stack.c: Ditto.
1925 * mi/mi-cmd-var.c: Ditto.
1926 * mi/mi-cmds.c: Ditto.
1927 * mi/mi-common.h: Ditto.
1928 * mi/mi-console.c: Ditto.
1929 * mi/mi-interp.c: Ditto.
1930 * mi/mi-main.c: Ditto.
1931 * osf-share/cma_attr.c: Ditto.
1932 * osf-share/cma_deb_core.h: Ditto.
1933 * osf-share/cma_debug_client.h: Ditto.
1934 * osf-share/cma_handle.h: Ditto.
1935 * osf-share/cma_mutex.h: Ditto.
1936 * osf-share/cma_stack_int.h: Ditto.
1937 * osf-share/cma_tcb_defs.h: Ditto.
1938 * python/py-auto-load.c: Ditto.
1939 * python/py-breakpoint.c: Ditto.
1940 * python/py-cmd.c: Ditto.
1941 * python/py-frame.c: Ditto.
1942 * python/py-objfile.c: Ditto.
1943 * python/py-param.c: Ditto.
1944 * python/py-progspace.c: Ditto.
1945 * python/py-symbol.c: Ditto.
1946 * python/py-value.c: Ditto.
1947 * python/python-internal.h: Ditto.
1948 * python/python.c: Ditto.
1949 * tui/tui-data.c: Ditto.
1950 * tui/tui-disasm.c: Ditto.
1951 * tui/tui-hooks.c: Ditto.
1952 * tui/tui-io.c: Ditto.
1953 * tui/tui-layout.c: Ditto.
1954 * tui/tui-regs.c: Ditto.
1955 * tui/tui-source.c: Ditto.
1956 * tui/tui-stack.c: Ditto.
1957 * tui/tui-win.c: Ditto.
1958 * tui/tui-windata.c: Ditto.
1959 * tui/tui-winsource.c: Ditto.
1961 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1963 * configure.ac, gdb.1: Copyright year update.
1965 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1967 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1968 this_pc_in_block, morestack_msym and morestack_name. Check for
1969 "__morestack" minimal symbol there.
1971 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1973 * symfile.c (find_sym_fns): Add call to dont_repeat.
1975 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1977 Copyright year update in most files (performed by copyright.sh).
1979 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1981 * top.c (print_gdb_version): Update copyright year in version output.
1983 For older changes see ChangeLog-2010.
1989 version-control: never