1 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3 * value.h (value_available_contents_eq): Declare.
4 * value.c (find_first_range_overlap): New function.
5 (value_available_contents_eq): New function.
6 * valprint.c (val_print_array_elements): Use
7 value_available_contents_eq.
8 * ada-valprint.c (val_print_packed_array_elements): Use
9 value_available_contents_eq.
10 * jv-valprint.c (java_value_print): Use
11 value_available_contents_eq.
13 2011-02-14 Pedro Alves <pedro@codesourcery.com>
15 * target.c (target_read_live_memory): New function.
16 (memory_xfer_live_readonly_partial): New.
17 (memory_xfer_partial): If reading from a traceframe, fallback to
18 reading unavailable read-only memory from read-only regions of
20 * tracepoint.c (disconnect_tracing): Adjust.
21 (set_current_traceframe): New, factored out from
22 set_traceframe_number.
23 (set_traceframe_number): Reimplement to only change the traceframe
24 number on the GDB side.
25 (do_restore_current_traceframe_cleanup): Adjust.
26 (make_cleanup_restore_traceframe_number): New.
27 (cur_traceframe_number): New global.
28 (tfile_open): Set cur_traceframe_number to no traceframe.
29 (set_tfile_traceframe): New function.
30 (tfile_trace_find): If looking up a traceframe using any method
31 other than by number, make sure the current tfile traceframe
32 matches gdb's current traceframe. Update the current tfile
33 traceframe if the lookup succeeded.
34 (tfile_fetch_registers, tfile_xfer_partial)
35 (tfile_get_trace_state_variable_value): Make sure the remote
36 traceframe matches gdb's current traceframe.
37 * remote.c (remote_traceframe_number): New global.
38 (remote_open_1): Set it to -1.
39 (set_remote_traceframe): New function.
40 (remote_fetch_registers, remote_store_registers)
41 (remote_xfer_memory, remote_xfer_partial)
42 (remote_get_trace_state_variable_value): Make sure the remote
43 traceframe matches gdb's current traceframe.
44 (remote_trace_find): If looking up a traceframe using any method
45 other than by number, make sure the current remote traceframe
46 matches gdb's current traceframe. Update the current remote
47 traceframe if the lookup succeeded.
48 * infrun.c (fetch_inferior_event): Adjust.
49 * tracepoint.h (set_current_traceframe): Declare.
50 (get_traceframe_number, set_traceframe_number): Add describing
53 2011-02-14 Pedro Alves <pedro@codesourcery.com>
55 Mark pieces of values as unavailable if the corresponding memory
58 * valops.c: Include tracepoint.h.
59 (value_fetch_lazy): Use read_value_memory.
60 (read_value_memory): New.
61 * value.h (read_value_memory): Declare.
62 * dwarf2loc.c (read_pieced_value): Use read_value_memory.
63 * exec.c (section_table_available_memory): New function.
64 * exec.h (section_table_available_memory): Declare.
66 2011-02-14 Pedro Alves <pedro@codesourcery.com>
68 * Makefile.in (SFILES): Add memrange.c.
69 (HFILES_NO_SRCDIR): Add memrange.h.
70 (COMMON_OBS): Add memrange.o.
71 * memrange.c: New file.
72 * memrange.h: New file.
73 * tracepoint.c: Include memrange.h.
74 (struct mem_range): Delete.
75 (mem_range_s): Delete.
76 (traceframe_available_memory): New function.
77 * tracepoint.h (traceframe_available_memory): Declare.
79 2011-02-14 Pedro Alves <pedro@codesourcery.com>
81 * target.h (struct traceframe_info): Forward declare.
82 (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
83 (struct target_ops) <to_traceframe_info>: New field.
84 (target_traceframe_info): New.
85 * target.c (update_current_target): Inherit and default
87 * remote.c (PACKET_qXfer_traceframe_info): New.
88 (remote_protocol_features): Register qXfer:traceframe-info:read.
89 (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
90 (remote_traceframe_info): New.
91 (init_remote_ops): Install it.
92 (_initialize_remote): Install "set/show remote traceframe-info"
94 * tracepoint.h (parse_traceframe_info): Declare.
95 * tracepoint.c (struct mem_range): New.
96 (mem_range_s): New typedef.
97 (struct traceframe_info): New.
98 (traceframe_info): New global.
99 (free_traceframe_info): New function.
100 (clear_traceframe_info): New function.
101 (start_tracing, tfind_1, set_traceframe_number): Clear traceframe
103 (build_traceframe_info): New function.
104 (tfile_traceframe_info): New function.
105 (init_tfile_ops): Install tfile_traceframe_info.
106 (traceframe_info_start_memory, free_result): New functions.
107 (memory_attributes, traceframe_info_elements): New globals.
108 (parse_traceframe_info, get_traceframe_info): New functions.
109 * features/traceframe-info.dtd: New file.
110 * Makefile.in (XMLFILES): Add traceframe-info.dtd.
112 2011-02-14 Pedro Alves <pedro@codesourcery.com>
114 Base support for <unavailable> value contents.
116 * value.h (value_bytes_available): Declare.
117 (mark_value_bytes_unavailable): Declare.
118 * value.c (struct range): New struct.
119 (range_s): New typedef.
120 (ranges_overlap): New function.
121 (range_lessthan): New function.
122 (ranges_contain_p): New function.
123 (struct value) <unavailable>: New field.
124 (value_bytes_available): New function.
125 (mark_value_bytes_unavailable): New function.
126 (require_not_optimized_out): Constify parameter.
127 (require_available): New function.
128 (value_contents_all, value_contents): Require all bytes be
130 (value_free): Free `unavailable'.
131 (value_copy): Copy `unavailable'.
132 * valprint.h (val_print_unavailable): Declare.
133 * valprint.c (valprint_check_validity): Rename `offset' parameter
134 to `embedded_offset'. If printing a scalar, check whether the
135 value chunk is available.
136 (val_print_unavailable): New.
137 (val_print_scalar_formatted): Check whether the value is
139 * python/py-prettyprint.c (apply_val_pretty_printer): Refuse
140 pretty-printing unavailable values.
142 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
144 Fix const/volatile qualifiers of C++ types, PR c++/12328.
145 * c-typeprint.c (c_type_print_args): Update the function comment. New
146 variable param_type, initialize it. Remove const/volatile qualifiers
147 for language_cplus and !show_artificial. Use param_type.
149 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
151 * symtab.c (find_pc_sect_line): New variable objfile, initialize it
152 from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S.
153 * symtab.h (struct symtab) <next>: Comment extension.
155 2011-02-12 Yao Qi <yao@codesourcery.com>
157 * Makefile.in (CLEANDIRS): Remove duplicated common dir.
159 2011-02-11 Pedro Alves <pedro@codesourcery.com>
161 * infrun.c (proceed): Move switching out and in of tfind mode from
163 (fetch_inferior_event): ... to here.
165 2011-02-11 Yao Qi <yao@codesourcery.com>
167 * Makefile.in: Remove signals.o from COMMON_OBS. Link
169 * configure.ac: Add common to sub dir.
170 * configure: Regenerate.
172 2011-02-10 Pedro Alves <pedro@codesourcery.com>
174 * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
175 side of the parenthesis.
178 2010-07-13 Jakub Jelinek <jakub@redhat.com>
179 * vec.h (VEC_block_remove): Fix comment.
181 2011-02-08 Michael Snyder <msnyder@vmware.com>
183 * linux-nat.c (linux_nat_filter_event): Fix typo in comment.
185 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
187 * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
188 in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
191 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
194 * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
196 (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
197 (i386_process_record) <0x0f3807>: Fix the comment to phsubsw.
199 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
201 * dwarf2read.c (read_subroutine_type): Set special calling
202 convention flag for functions compiled by IBM XL C for OpenCL.
203 * ppc-sysv-tdep.c: Include "dwarf2.h"
204 (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
206 (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement
207 IBM OpenCL vector types calling convention.
208 (ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
209 (ppc_sysv_abi_broken_return_value): Likewise.
210 (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
211 types calling convention.
212 (ppc64_sysv_abi_return_value): Likewise.
213 * spu-tdep.c: Include "dwarf2.h"
214 (spu_return_value): Implement IBM OpenCL vector types calling
217 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
219 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
220 correct ABI for AltiVec vector arguments.
222 2011-02-07 Pedro Alves <pedro@codesourcery.com>
224 * valprint.c (val_print): Extend comment.
225 * ada-valprint.c (ada_valprint): Rewrite comment deferring
226 interface explanation to val_print.
227 (ada_val_print_array): Adjust comment to current interface.
228 (print_field_values): Adjust comment to current interface.
229 * c-valprint.c (c_val_print): Rewrite comment deferring interface
230 explanation to val_print.
231 * f-valprint.c (f_val_print): Ditto.
232 * jv-valprint.c (java_val_print): Ditto.
233 * m2-valprint.c (m2_val_print): Ditto.
234 * p-valprint.c (pascal_val_print): Ditto.
236 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
238 * breakpoint.c (parse_breakpoint_sals): Fix description.
240 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
241 Oguz Kayral <oguzkayral@gmail.com>
243 * python/py-inferior.c (python_on_normal_stop): New function.
244 (python_on_resume): New function.
245 (python_inferior_exit): New function.
246 (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
247 inferior_exit observers.
248 * python/py-evtregistry.c: New file.
249 * python/py-threadevent.c : New file.
250 * python/py-event.c: New file.
251 * python/py-evts.c: New file.
252 * python/py-continueevent.c: New file.
253 * python/py-bpevent.c: New file.
254 * python/py-signalevent.c: New file.
255 * python/py-exetiedevent.c: New file.
256 * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
257 Move struct breakpoint_object from here...
258 * python/python-internal.h: ... to here.
259 * python/py-event.h: New file.
260 * python/py-events.h: New file.
261 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
262 py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
263 py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
264 (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
265 py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
266 py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
267 Add build rules for all the above.
269 2011-02-04 Tom Tromey <tromey@redhat.com>
271 * dwarf2read.c (dwarf2_section_empty_p): New function.
272 (dwarf2_read_section): Use dwarf2_section_empty_p.
273 (dwarf2_section_size): New function.
274 (dwarf2_get_section_info): Unconditionally read section.
275 (dwarf2_read_index): Use dwarf2_section_empty_p.
276 (partial_read_comp_unit_head): Use dwarf2_section_size.
277 (dwarf2_symbol_mark_computed): Likewise.
279 2011-02-04 David Daney <ddaney@caviumnetworks.com>
281 * NEWS: Add item for "catch syscall" on mips*-linux* targets.
283 2011-02-04 David Daney <ddaney@caviumnetworks.com>
285 * mips-linux-tdep.c: Include xml-syscall.h.
286 (mips_linux_get_syscall_number): New function.
287 (mips_linux_init_abi): Add calls to
288 mips_linux_get_syscall_number() and set_xml_syscall_file_name().
289 * data-directory/Makefile.in (SYSCALLS_FILES): Add
290 mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
291 * syscalls/mips-n32-linux.xml: New file.
292 * syscalls/mips-n64-linux.xml: New file.
293 * syscalls/mips-o32-linux.xml: New file.
295 2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org>
297 * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
298 Complain about inverted range entries.
299 (dwarf2_record_block_ranges): Likewise.
301 2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
304 * breakpoint.c (update_watchpoint): Fix name of the
305 update_global_location_list function.
306 (print_one_breakpoint): Fix typo.
307 (_initialize_breakpoint): Remove extra space in hbreak help
309 * breakpoint.h (struct bp_location) <length>: Fix field
312 2011-02-04 Pedro Alves <pedro@codesourcery.com>
314 * regcache.c (registers_changed_ptid): Don't explictly always
315 clear `current_regcache'. Only clear current_thread_ptid and
316 current_thread_arch when PTID matches. Only reinit the frame
317 cache if PTID matches the current inferior_ptid. Move alloca(0)
319 (registers_changed): ... here.
321 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org>
323 * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
324 starts with __stack_chk_guard as stack guard symbol.
326 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
328 * disasm.c (compare_lines): Handle the end of sequence markers
329 within the line table to better support disassembling over
330 compilation unit boundaries.
332 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
334 * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
335 arguments. Skip in-prologue calls to glibc __aeabi_read_tp
336 implementation even if no symbols are available.
337 (thumb_analyze_prologue): Update call to skip_prologue_function.
338 (arm_analyze_prologue): Likewise.
340 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
342 * arm-tdep.c: Include "observer.h".
343 (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
344 (arm_exidx_data_key): New static variable.
345 (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
346 (struct arm_exidx_data): Likewise.
347 (arm_exidx_data_free): New function.
348 (arm_compare_exidx_entries): Likewise.
349 (arm_obj_section_from_vma): Likewise.
350 (arm_exidx_new_objfile): Likewise.
351 (arm_find_exidx_entry): Likewise.
352 (arm_exidx_fill_cache): Likewise.
353 (arm_exidx_unwind_sniffer): Likewise.
354 (arm_exidx_unwind): New global variable.
355 (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
356 (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
357 observer. Register arm_exidx_data_key as objfile data.
359 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
361 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
362 due to accessing uninitialized variable. Fix indentation.
364 2011-02-02 Pedro Alves <pedro@codesourcery.com>
366 * c-valprint.c (c_value_print): When doing virtual base pointer
367 adjustment, create a new value with adjusted contents rather than
368 changing the contents of the value being printed (and getting it
371 2011-02-02 Pedro Alves <pedro@codesourcery.com>
373 * xml-support.c (xml_find_attribute): New.
374 (xinclude_start_include): Use it.
375 * xml-support.h (xml_find_attribute): Declare.
376 * memory-map.c (memory_map_start_memory)
377 (memory_map_start_property): Use xml_find_attribute.
378 * osdata.c (osdata_start_osdata, osdata_start_column): Use
380 * remote.c (start_thread): Use xml_find_attribute.
381 * solib-target.c (library_list_start_segment)
382 (library_list_start_section, library_list_start_library)
383 (library_list_start_list): Use xml_find_attribute.
384 * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
385 (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
386 (tdesc_start_field): Use xml_find_attribute.
388 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com>
390 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
391 (BUILD_OCL_VTYPES): Update.
393 2011-02-02 Joel Brobecker <brobecker@adacore.com>
395 * configure.ac: Work around non-GNU sed limitation when computing
396 python version number.
397 * configure: Regenerate.
399 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
401 Fix debug printing of TYPE_INSTANCE.
402 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
403 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
405 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
407 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
408 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
409 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
410 * ada-operator.inc: Rename the file to ...
411 * ada-operator.def: ... here, wrap all the entries by macro OP.
412 * expprint.c (op_name_standard): Remove all the entries. Include
413 "std-operator.def" instead.
414 * expression.h (enum exp_opcode): Include "std-operator.def" and
415 "ada-operator.def". Move all the entries ...
416 * std-operator.def: ... here, wrap all the entries by macro OP.
418 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
420 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
421 * breakpoint.c (remove_jit_event_breakpoints): New function.
422 * jit.c (jit_descriptor_addr): Delete.
423 (registering_code): Delete.
425 (jit_inferior_data): New variable.
426 (struct jit_inferior_data): New type.
427 (get_jit_inferior_data): New function.
428 (jit_inferior_data_cleanup): New function.
429 (jit_read_descriptor): Adjust.
430 (jit_register_code): Adjust.
431 (jit_breakpoint_re_set_internal): New function; move code here ...
432 (jit_inferior_init): ... from here.
433 (jit_breakpoint_re_set): Adjust.
434 (jit_reset_inferior_data_and_breakpoints): New function.
435 (jit_inferior_created_observer): Adjust.
436 (jit_inferior_exit_hook): Adjust.
437 (jit_executable_changed_observer): New function.
438 (jit_event_handler): Adjust.
439 (_initialize_jit): Adjust.
441 2011-01-31 Michael Snyder <msnyder@vmware.com>
443 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
446 2011-01-31 Tom Tromey <tromey@redhat.com>
449 * python/python.c (execute_gdb_command): Call
451 * top.c (suppress_dont_repeat): New global.
452 (dont_repeat): Use it.
453 (prevent_dont_repeat): New function.
454 * command.h (prevent_dont_repeat): Declare.
456 2011-01-31 Tom Tromey <tromey@redhat.com>
458 * infcmd.c (finish_backward): Use breakpoint_set_silent.
459 * python/py-breakpoint.c (bppy_set_silent): Use
460 breakpoint_set_silent.
461 (bppy_set_thread): Use breakpoint_set_thread.
462 (bppy_set_task): Use breakpoint_set_task.
463 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
464 (breakpoint_set_task): Declare.
465 (make_breakpoint_silent): Remove.
466 * breakpoint.c (breakpoint_set_silent): New function.
467 (breakpoint_set_thread): Likewise.
468 (breakpoint_set_task): Likewise.
469 (make_breakpoint_silent): Remove.
471 2011-01-31 Tom Tromey <tromey@redhat.com>
473 * breakpoint.h (user_breakpoint_p): Declare.
474 * breakpoint.c (user_breakpoint_p): New function.
475 (breakpoint_1): Use it.
476 (save_breakpoints): Likewise.
478 2011-01-31 Joel Brobecker <brobecker@adacore.com>
480 * configure.ac: Add handling of Python distribution on Windows.
481 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
482 sysconfig variables are not defined, then do not use them.
483 On Windows, if LIBPL is not defined, then use prefix + '/libs'
484 instead. On Windows, return all paths using forward-slashes
485 rather than backslashes.
487 2011-01-31 Joel Brobecker <brobecker@adacore.com>
489 * configure.ac: Remove fallback behavior for building
490 against Python. Remove tweaking of Python include path.
491 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
492 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
493 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
494 Always restore CPPFLAGS and LIBS after linking test.
495 * configure: Regenerated.
496 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
497 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
498 * python/python-internal.h: Adjust includes of Python .h files.
500 2011-01-31 Joel Brobecker <brobecker@adacore.com>
502 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
505 2011-01-31 Joel Brobecker <brobecker@adacore.com>
507 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
510 2011-01-31 Yao Qi <yao@codesourcery.com>
512 * arm-linux-nat.c: Update calls to regcache_register_status
513 instead of regcache_valid_p.
514 * aix-thread.c: Likewise.
515 * i386gnu-nat.c: Likewise.
517 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
520 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
521 touching TYPE_FIELD_ARTIFICIAL.
523 2011-01-28 Richard Earnshaw <rearnsha@arm.com>
525 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
528 2011-01-28 Pedro Alves <pedro@codesourcery.com>
530 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
531 selected, don't try iterating over the traceframe's blocks.
532 (tfile_has_stack): If there's no traceframe selected, then there's
534 (tfile_has_registers): If there's no traceframe selected, then
535 there's no registers.
537 2011-01-28 Pedro Alves <pedro@codesourcery.com>
539 * target.c (memory_xfer_partial): No need to restore shadows if we
540 haven't read anything.
542 2011-01-28 Pedro Alves <pedro@codesourcery.com>
544 * mips-tdep.c (mips_print_register): Use get_frame_register_value
545 and val_print_scalar_formatted.
547 2011-01-27 Pedro Alves <pedro@codesourcery.com>
549 * tracepoint.c (tfile_read): New.
550 (tfile_open): Use it.
551 (tfile_get_traceframe_address): Use it.
552 (tfile_trace_find): Use it.
553 (walk_blocks_callback_func): New typedef.
554 (match_blocktype): New function.
555 (traceframe_walk_blocks): New function.
556 (traceframe_find_block_type): New function.
557 (tfile_fetch_registers, tfile_xfer_partial)
558 (tfile_get_trace_state_variable_value): Use
559 traceframe_find_block_type and tfile_read.
561 2011-01-26 Kevin Buettner <kevinb@redhat.com>
563 * remote-mips.c: Add internationalization mark ups. Remove
564 trailing \n from already marked up strings.
566 2011-01-26 Tom Tromey <tromey@redhat.com>
568 * python/py-prettyprint.c (print_string_repr): Clear
569 'addressprint' option when calling val_print_string.
570 (print_children): Handle Val_pretty_default. Clear 'addressprint'
571 option when calling val_print_string.
573 2011-01-26 Tom Tromey <tromey@redhat.com>
575 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
577 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
579 (gdb_py_longest, gdb_py_ulongest): New typedefs.
580 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
581 (gdb_py_long_as_ulongest): New defines.
582 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
583 (gdb_py_int_as_long): Declare.
584 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
585 GDB_PY_LL_ARG, gdb_py_object_from_longest.
586 (valpy_long): Add comment.
587 * python/py-utils.c (get_addr_from_python): Use
588 gdb_py_long_as_ulongest. Handle overflow properly.
589 (gdb_py_object_from_longest): New function.
590 (gdb_py_object_from_ulongest): Likewise.
591 (gdb_py_int_as_long): Likewise.
592 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
593 * python/py-symtab.c (salpy_get_pc): Use
594 gdb_py_long_from_ulongest.
595 (salpy_get_line): Use PyInt_FromLong.
596 * python/py-param.c (set_parameter_value): Use
598 * python/py-lazy-string.c (stpy_get_address): Use
599 gdb_py_long_from_ulongest.
600 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
601 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
602 * python/py-breakpoint.c (bppy_set_thread): Use
604 (bppy_set_task): Likewise.
605 (bppy_set_ignore_count): Likewise.
606 (bppy_set_hit_count): Likewise.
607 * python/py-block.c (blpy_get_start): Use
608 gdb_py_object_from_ulongest.
609 (blpy_get_end): Likewise.
610 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
612 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
615 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
616 * gdb/solib.c (solib_read_symbols): Check for addr_low in
617 equality test for objfile, initialize addr_low if needed.
619 2011-01-25 Pedro Alves <pedro@codesourcery.com>
621 * tui/tui-regs.c (tui_register_format): Remove dead code.
623 2011-01-25 Pedro Alves <pedro@codesourcery.com>
625 * printcmd.c (print_formatted): Use val_print_scalar_formatted
626 instead of print_scalar_formatted.
627 (print_scalar_formatted): Don't handle 's' format strings here,
628 and add an assertion that we never see such format here.
629 * valprint.h (val_print_scalar_formatted): Declare.
630 * valprint.c (val_print_scalar_formatted): New.
631 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
632 instead of print_scalar_formatted.
633 * jv-valprint.c (java_val_print): Ditto.
634 * p-valprint.c (pascal_val_print): Ditto.
635 * ada-valprint.c (ada_val_print_1): Ditto.
636 * f-valprint.c (f_val_print): Ditto.
637 * infcmd.c (registers_info): Ditto.
638 * m2-valprint.c (m2_val_print): Ditto.
640 2011-01-25 Pedro Alves <pedro@codesourcery.com>
642 * m2-valprint.c (print_unbounded_array): Pass
643 value_contents_for_printing rather than value_contents, to
644 m2_print_array_contents. Also pass in the value.
646 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
648 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
649 (save_gdb_index_command): Switch to .gdb_index version 4.
651 2011-01-25 Pedro Alves <pedro@codesourcery.com>
653 * mi/mi-main.c (get_register): Use get_frame_register_value rather
654 than frame_register, and always pass a valid value to val_print.
656 2011-01-25 Pedro Alves <pedro@codesourcery.com>
658 Centralize printing "<optimized out>".
660 * valprint.h (val_print_optimized_out): Declare.
661 * cp-valprint.c (cp_print_value_fields): Use
662 val_print_optimized_out.
663 * jv-valprint.c (java_print_value_fields): Ditto.
664 * p-valprint.c (pascal_object_print_value_fields): Ditto.
665 * printcmd.c (print_formatted): Ditto.
666 * valprint.c (valprint_check_validity): Ditto.
667 (value_check_printable): Ditto.
668 (val_print_optimized_out): New.
670 2011-01-25 Pedro Alves <pedro@codesourcery.com>
672 * infcmd.c (default_print_registers_info): Allocate values so to
673 never pass a NULL value to val_print.
675 2011-01-25 Pedro Alves <pedro@codesourcery.com>
677 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
678 boolean. Make sure to always pass a value that matches the
679 contents buffer to callees. Preserve `address' for following
681 * value.c (value_contents_for_printing_const): New.
682 (value_address): Constify value argument.
683 * value.h (value_contents_for_printing_const): Declare.
684 (value_address): Constify value argument.
686 2011-01-25 Pedro Alves <pedro@codesourcery.com>
688 * regcache.c (struct regcache_descr): Rename
689 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
690 and sizeof_cooked_register_valid_p to
691 sizeof_cooked_register_status.
692 (init_regcache_descr): Adjust.
693 (struct regcache): Rename register_valid_p field to
695 (regcache_xmalloc_1, regcache_xfree, regcache_save)
696 (do_cooked_read): Adjust.
697 (regcache_valid_p): Rename to ...
698 (regcache_register_status): ... this. Adjust.
699 (regcache_invalidate): Adjust.
700 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
702 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
703 as unavailable, not valid.
704 (regcache_dump): Adjust.
705 * regcache.h (enum register_status): New.
706 (regcache_register_status): Declare.
707 (regcache_invalidate): Delete declaration.
708 * corelow.c (get_core_registers): Adjust.
709 * tracepoint.c (tfile_fetch_registers): Adjust.
710 * trad-frame.c (REG_VALUE): Rename to ...
711 (TF_REG_VALUE): ... this.
712 (REG_UNKNOWN): Rename to ...
713 (TF_REG_UNKNOWN): ... this.
714 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
715 * mi/mi-main.c (register_changed_p): Adjust.
717 2011-01-25 Pedro Alves <pedro@codesourcery.com>
719 * regcache.c (struct regcache_descr): Remove outdated comment.
720 (init_regcache_descr): Remove sizeof_raw_register_valid_p
722 (regcache_xmalloc): Rename to ...
723 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
724 Allocate the regcache type accordingly.
725 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
726 (regcache_xfree): Asser the source is also readonly. Copy sizeof
727 cooked registers, not raw.
728 (regcache_dup_no_passthrough): Delete.
729 (get_thread_arch_regcache): Use regcache_xmalloc_1.
730 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
731 mention obsolete write_register_bytes.
732 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
734 2011-01-25 Pedro Alves <pedro@codesourcery.com>
736 Stop remote_read_bytes from handling partial reads itself.
738 * remote-fileio.c: Include target.h.
739 (remote_fileio_write_bytes): Delete.
740 (remote_fileio_func_open, remote_fileio_func_write)
741 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
743 (remote_fileio_func_stat): Use target_read_memory and
745 (remote_fileio_func_gettimeofday): Use target_write_memory.
746 (remote_fileio_func_system): Use target_read_memory.
747 * remote.c (remote_write_bytes): Make it static.
748 (remote_read_bytes): Don't handle partial reads here.
749 * remote.h (remote_read_bytes): Delete declaration.
751 2011-01-25 Pedro Alves <pedro@codesourcery.com>
753 Simplify XML parsing a bit.
755 * xml-support.h (gdb_xml_parse_quick): Declare.
756 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
757 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
759 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
760 gdb_xml_create_parser_and_cleanup_1.
761 (gdb_xml_parse_quick): New.
762 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
763 * osdata.c (osdata_parse): Ditto.
764 * remote.c (remote_threads_info): Ditto.
765 * solib-target.c (solib_target_parse_libraries): Ditto.
766 * xml-syscall.c (syscall_parse_xml): Ditto.
767 * xml-tdesc.c (tdesc_parse_xml): Ditto.
769 2011-01-24 Kevin Buettner <kevinb@redhat.com>
771 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
772 with remote-mips.o added to gdb_target_obs.
773 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
775 2011-01-24 Pedro Alves <pedro@codesourcery.com>
777 * ada-valprint.c (val_print_packed_array_elements): Pass the
778 correct struct value to val_print.
779 (ada_val_print_1): Ditto.
781 2011-01-24 Pedro Alves <pedro@codesourcery.com>
783 Don't lose embedded_offset in printing routines throughout.
785 * valprint.h (val_print_array_elements): Change prototype.
786 * valprint.c (val_print_array_elements): Add `embedded_offset'
787 parameter, and adjust to pass it down to val_print, while passing
788 `valaddr' or `address' unmodified. Take embedded_offset into
789 account when checking repetitions.
790 * c-valprint.c (c_val_print): Pass embedded_offset to
791 val_print_array_elements instead of adjusting `valaddr' and
793 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
794 embedded_offset to val_print_array_elements instead of adjusting
796 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
797 * p-valprint.c (pascal_val_print): Pass embedded_offset to
798 val_print_array_elements and pascal_object_print_value_fields
799 instead of adjusting `valaddr'.
800 (pascal_object_print_value_fields): Add `offset' parameter, and
802 (pascal_object_print_value): Add `offset' parameter, and adjust to
804 (pascal_object_print_static_field): Use
805 value_contents_for_printing/value_embedded_offset, rather than
807 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
808 parameter, and adjust to use it. Use
809 value_contents_for_printing/value_embedded_offset, rather than
811 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
812 (ada_val_print_array): Add `offset' parameter, and adjust to use
814 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
815 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
816 Instead work with offsets. Use
817 value_contents_for_printing/value_embedded_offset, rather than
818 value_contents. Change `defer_val_int' local type to CORE_ADDR,
819 and use value_from_pointer to extract a target pointer, rather
820 than value_from_longest.
821 (print_variant_part): Add `offset' parameter. Replace
822 `outer_valaddr' parameter by a new `outer_offset' parameter.
823 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
824 (ada_value_print): Use
825 value_contents_for_printing/value_embedded_offset, rather than
827 (print_record): Add `offset' parameter, and adjust to pass it
829 (print_field_values): Add `offset' parameter. Replace
830 `outer_valaddr' parameter by a new `outer_offset' parameter.
831 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
832 Use value_contents_for_printing/value_embedded_offset, rather than
834 * d-valprint.c (dynamic_array_type): Use
835 value_contents_for_printing/value_embedded_offset, rather than
837 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
838 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
839 (java_print_value_fields): Take `offset' into account. Don't
840 re-adjust `valaddr'. Instead pass down adjusted offsets.
841 (java_val_print): Take `embedded_offset' into account. Pass it to
842 java_print_value_fields.
843 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
844 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
845 down adjusted offsets.
846 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
847 (f_val_print): Take `embedded_offset' into account.
849 2011-01-21 Joel Brobecker <brobecker@adacore.com>
851 * inflow.c: Include "gdbcmd.h".
852 (interactive_mode): New static global, moved here from top.c.
853 (show_interactive_mode): New function, moved here from top.c.
854 use gdb_has_a_terminal instead of input_from_terminal_p to
855 determine the current mode.
856 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
858 (_initialize_inflow): Add the "set/show interactive-mode"
859 commands. Moved here from top.c, after having adjusted slightly
861 * top.c (interactive_mode, show_interactive_mode): Delete, moved
863 (input_from_terminal_p): Remove handling of "interactive-mode"
864 setting, moved to infow.c.
865 (init_main): Remove creation of the "set/show interactive-mode"
866 commands, moved to inflow.c.
868 2011-01-19 Joel Brobecker <brobecker@adacore.com>
870 * NEWS: Add entry for native ia64-hpux support.
872 2011-01-19 Tom Tromey <tromey@redhat.com>
875 * thread.c (free_thread): Free 'name'.
876 (print_thread_info): Emit thread name. Change CLI output.
877 (thread_name_command): New function.
878 (do_captured_thread_select): Emit newline.
879 (_initialize_thread): Register 'thread name' command.
880 * target.h (struct target_ops) <to_thread_name>: New field.
881 (target_thread_name): New macro.
882 * target.c (update_current_target): Handle to_thread_name.
883 * python/py-infthread.c (thpy_get_name): New function.
884 (thpy_set_name): Likewise.
885 (thread_object_getset): Add "name".
886 * linux-nat.c (linux_nat_thread_name): New function.
887 (linux_nat_add_target): Set to_thread_name.
888 * gdbthread.h (struct thread_info) <name>: New field.
890 2011-01-18 Joel Brobecker <brobecker@adacore.com>
892 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
893 (ada_val_print_1): Likewise.
895 2011-01-18 Joel Brobecker <brobecker@adacore.com>
897 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
898 upper limit address is not greater than the function end address
899 when the upper limit could not be computed using the debugging
902 2011-01-17 Tom Tromey <tromey@redhat.com>
904 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
906 * utils.c: Include gdb_regex.h.
907 (do_regfree_cleanup): New function.
908 (make_regfree_cleanup): Likewise.
909 (get_regcomp_error): Likewise.
910 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
912 2011-01-17 Tom Tromey <tromey@redhat.com>
914 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
917 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
919 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
920 for internal variables.
921 (last_was_structop): New static variable.
922 (COMPLETE): New token.
923 (field_exp): New rule to group all '.' suffix handling.
924 Add mark_struct_expression calls when approriate to be able
925 to correctly find fields for completion.
926 (yylex): Adapt to handle field completion and set INTVAR when
929 2011-01-14 Yao Qi <yao@codesourcery.com>
931 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
932 save_reggroup, restore_reggroup and all_reggroup.
934 2011-01-14 Joel Brobecker <brobecker@adacore.com>
936 * ada-valprint. (ada_printchar): Use the correct type length
937 in call to ada_emit_char.
938 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
940 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
942 * solib-som.h (hpux_major_release): Declare variable here.
943 * solib-som.c: Remove <sys/utsname.h> header.
944 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
945 (hpux_major_release): Make global, change default value to
946 DEFAULT_HPUX_MAJOR_RELEASE.
947 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
948 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
949 Add "solib-som.h" header.
950 (set_hpux_major_release): New function.
951 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
953 2011-01-14 Mike Frysinger <vapier@gentoo.org>
955 * configure.tgt (*-*-uclinux*): Match more Linux os targets
957 2011-01-14 Joel Brobecker <brobecker@adacore.com>
959 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
960 new-line at end of warning message.
961 (ia64_hpux_store_register): Remove trailing new-line at end of
963 * ia64-hpux-tdep.c: Rephrase comment.
964 * solib-ia64-hpux.c (struct dld_info): Change type of field
965 dld_flags from "long long" to ULONGEST.
967 2011-01-14 Pedro Alves <pedro@codesourcery.com>
969 * target.h (deprecated_child_ops): Delete declaration.
970 * target.c (deprecated_child_ops): Delete definition.
972 2011-01-14 Pedro Alves <pedro@codesourcery.com>
974 * Makefile.in (hpux-thread.o): Delete rule.
975 * configure.ac: Don't check for HPUX DCE threads support.
976 * configure, config.in: Regenerate.
977 * hppa-hpux-nat.c (child_suppress_run): Delete.
978 (hppa_hpux_child_can_run): Delete.
979 (_initialize_hppa_hpux_nat): Don't override to_can_run.
980 * hpux-thread.c: Delete.
982 2011-01-13 Joel Brobecker <brobecker@adacore.com>
984 * hpux-thread.c (hpux_pid_to_str): Delete.
986 2011-01-13 Joel Brobecker <brobecker@adacore.com>
988 * ada-valprint.c (ada_emit_char): Remove strange code.
989 Check that c is <= UCHAR_MAX before passing it to isascii.
990 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
992 2011-01-13 Joel Brobecker <brobecker@adacore.com>
994 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
995 to the case where instream is stdin.
997 2011-01-13 Joel Brobecker <brobecker@adacore.com>
999 * ia64-tdep.h (struct regcache): Forward declare.
1000 (struct ia64_infcall_ops): New struct type.
1001 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
1003 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
1004 Renames ia64_find_global_pointer.
1005 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
1006 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
1007 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
1009 (ia64_infcall_ops): New static global constant.
1010 (ia64_gdbarch_init): Set tdep->infcall_ops.
1011 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
1012 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
1013 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
1014 (ia64_hpux_dummy_code): New static global constant.
1015 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
1016 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
1017 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
1019 (ia64_hpux_infcall_ops): New static global constant.
1020 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
1021 for inferior function calls to work properly on ia64-hpux.
1023 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1025 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
1026 * ia64-tdep.h (struct frame_info): forward declaration.
1027 (struct gdbarch_tdep): Add field size_of_register_frame.
1028 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
1029 to determine the size of the register frame.
1030 (ia64_size_of_register_frame): New function.
1031 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
1032 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
1033 (IA64_HPUX_UREG_REASON): New macro.
1034 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
1036 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
1037 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
1038 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
1041 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1043 Add support for ia64-hpux.
1044 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
1045 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
1047 * configure.host: Add handling for ia64-hpux hosts. Add associated
1049 * configure.tgt: Add handling for ia64-hpux targets.
1050 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
1051 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
1052 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
1054 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1056 [ttrace] Compute thread list immediately after attach.
1057 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
1059 (inf_ttrace_attach): Use it.
1061 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1063 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
1064 if we could not determine the frame's function address. Instead,
1065 use the frame's PC, and then continue.
1067 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1069 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
1070 not already defined.
1072 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1074 * ia64-tdep.c (ia64_struct_type_p): New function.
1075 (ia64_extract_return_value): Handle integral values that are
1076 less than 8 bytes long.
1077 (ia64_push_dummy_call): Likewise.
1079 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1081 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
1082 floatformat_ia64_ext.
1083 (floatformat_ia64_ext_big): New static const.
1084 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
1086 2011-01-12 Tom Tromey <tromey@redhat.com>
1088 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
1090 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
1091 (mi_cmd_thread_list_ids): Likewise.
1092 (mi_cmd_data_list_changed_registers): Likewise.
1093 (mi_cmd_data_list_register_values): Likewise.
1094 (mi_cmd_data_write_register_values): Likewise.
1095 (mi_cmd_data_evaluate_expression): Likewise.
1096 (mi_cmd_data_read_memory): Likewise.
1097 (mi_cmd_data_read_memory_bytes): Likewise.
1098 (mi_cmd_data_write_memory): Likewise.
1099 (mi_cmd_enable_timings): Likewise.
1100 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
1101 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
1102 (mi_cmd_var_delete): Likewise.
1103 (mi_cmd_var_set_format): Likewise.
1104 (mi_cmd_var_show_format): Likewise.
1105 (mi_cmd_var_info_num_children): Likewise.
1106 (mi_cmd_var_list_children): Likewise.
1107 (mi_cmd_var_info_type): Likewise.
1108 (mi_cmd_var_info_expression): Likewise.
1109 (mi_cmd_var_show_attributes): Likewise.
1110 (mi_cmd_var_assign): Likewise.
1111 (mi_cmd_var_update): Likewise.
1112 (mi_cmd_enable_pretty_printing): Likewise.
1113 (mi_cmd_var_set_update_range): Likewise.
1114 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
1116 (mi_cmd_target_file_put): Likewise.
1117 (mi_cmd_target_file_delete): Likewise.
1118 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
1120 (mi_cmd_stack_info_depth): Likewise.
1121 (mi_cmd_stack_list_locals): Likewise.
1122 (mi_cmd_stack_list_args): Likewise.
1123 (mi_cmd_stack_select_frame): Likewise.
1124 (mi_cmd_stack_select_frame): Likewise.
1125 (mi_cmd_stack_info_frame): Likewise.
1126 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
1128 (mi_cmd_file_list_exec_source_files): Likewise.
1129 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
1130 (mi_cmd_env_cd): Likewise.
1131 (mi_cmd_env_path): Likewise.
1132 (mi_cmd_env_dir): Likewise.
1133 (mi_cmd_inferior_tty_show): Likewise.
1134 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
1135 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
1136 (mi_cmd_break_watch): Likewise.
1138 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
1140 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
1141 (ppc_linux_insert_hw_breakpoint): Likewise.
1142 (ppc_linux_remove_hw_breakpoint): Likewise.
1143 (ppc_linux_insert_watchpoint): Likewise.
1145 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1146 Jan Kratochvil <jan.kratochvil@redhat.com>
1148 PR fortran/11104 and DWARF unbound arrays detection.
1149 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
1150 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
1151 unspecified upper bound.
1152 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
1153 variables array_size_array, tmp_type and offset_item. New variable
1154 array. Remove call to f77_get_upperbound. New variables array_type
1155 and index. Call value_subscripted_rvalue for each dimenasion. Remove
1156 the final call to deprecated_set_value_type.
1158 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1160 Make value allocations more lazy.
1161 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
1162 instead of allocate_value and set_value_lazy when possible.
1163 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
1164 instead of allocate_value and set_value_lazy.
1165 * findvar.c (value_of_register_lazy): Likewise.
1166 (read_var_value): Remove V preallocation, call just check_typedef in
1167 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
1168 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
1169 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
1170 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
1171 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
1172 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
1173 the end, remove set_value_lazy there.
1174 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
1175 instead of allocate_value and set_value_lazy when possible.
1176 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
1177 * value.c (allocate_computed_value): Use allocate_value_lazy instead
1178 of allocate_value and set_value_lazy.
1179 (value_from_contents_and_address): Use allocate_value_lazy instead of
1180 allocate_value and set_value_lazy when possible.
1182 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1184 * disasm.c (dump_insns): Support dumping opcodes for MI.
1185 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
1186 dumping of instruction opcodes.
1188 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
1190 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
1193 2011-01-11 Tom Tromey <tromey@redhat.com>
1195 * thread.c (do_captured_thread_select): Emit newline before
1198 2011-01-11 Michael Snyder <msnyder@vmware.com>
1200 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
1201 * score-tdep.c: Ditto.
1202 * score-tdep.h: Ditto.
1203 * ser-base.c: Ditto.
1204 * ser-go32.c: Ditto.
1207 * ser-mingw.c: Ditto.
1208 * ser-pipe.c: Ditto.
1210 * ser-unix.c: Ditto.
1211 * sh64-tdep.c: Ditto.
1212 * shnbsd-nat.c: Ditto.
1216 * solib-darwin.c: Ditto.
1217 * solib-frv.c: Ditto.
1219 * solib-irix.c: Ditto.
1220 * solib-osf.c: Ditto.
1221 * solib-pa64.c: Ditto.
1222 * solib-som.c: Ditto.
1223 * solib-spu.c: Ditto.
1224 * solib-sunos.c: Ditto.
1225 * solib-svr4.c: Ditto.
1227 * sol-thread.c: Ditto.
1231 * sparc64-linux-tdep.c: Ditto.
1232 * sparc64-tdep.c: Ditto.
1233 * sparc-linux-nat.c: Ditto.
1234 * sparc-linux-tdep.c: Ditto.
1235 * sparc-sol2-nat.c: Ditto.
1236 * sparc-sol2-tdep.c: Ditto.
1237 * sparc-tdep.c: Ditto.
1238 * sparc-tdep.h: Ditto.
1239 * spu-tdep.c: Ditto.
1240 * stabsread.c: Ditto.
1241 * stabsread.h: Ditto.
1249 * target-descriptions.c: Ditto.
1250 * target-descriptions.h: Ditto.
1252 * target-memory.c: Ditto.
1253 * terminal.h: Ditto.
1256 * tracepoint.c: Ditto.
1257 * tracepoint.h: Ditto.
1258 * trad-frame.h: Ditto.
1259 * typeprint.c: Ditto.
1261 2011-01-11 Michael Snyder <msnyder@vmware.com>
1263 * ui-file.c: Comment cleanup, mostly periods and spaces.
1268 * v850-tdep.c: Ditto.
1269 * valarith.c: Ditto.
1271 * valprint.c: Ditto.
1272 * valprint.h: Ditto.
1277 * vax-tdep.c: Ditto.
1281 * windows-nat.c: Ditto.
1282 * windows-tdep.c: Ditto.
1283 * xcoffread.c: Ditto.
1284 * xcoffsolib.c: Ditto.
1285 * xml-support.c: Ditto.
1286 * xstormy16-tdep.c: Ditto.
1287 * xtensa-tdep.c: Ditto.
1288 * xtensa-tdep.h: Ditto.
1290 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1292 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
1293 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
1295 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
1296 Thiago Jung Bauermann <bauerman@br.ibm.com>
1298 Implement support for PowerPC BookE ranged watchpoints.
1300 (struct breakpoint_ops) <resources_needed>: New method.
1301 Initialize to NULL in all existing breakpoint_ops instances.
1302 (struct breakpoint) <exact>: New field.
1303 (target_exact_watchpoints): Declare external global.
1304 * breakpoint.c (target_exact_watchpoints): New global flag.
1305 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
1306 b->enable_state to bp_enabled before calling
1307 hw_watchpoint_used_count.
1308 (hw_watchpoint_used_count): Iterate over all bp_locations in a
1309 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
1311 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
1312 if the watchpoint is exact.
1313 (resources_needed_watchpoint): New function.
1314 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
1315 (watch_command_1): Set b->exact if the user asked for an exact
1316 watchpoint and one can be set.
1317 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
1318 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
1319 the user asks for an exact watchpoint and one can be set. Return
1320 number of needed debug registers to watch the expression.
1321 * gdbtypes.c (is_scalar_type): New function, based on
1322 valprint.c:scalar_type_p.
1323 (is_scalar_type_recursive): New function.
1324 * gdbtypes.h (is_scalar_type_recursive): Declare.
1325 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
1326 handle regions when ranged watchpoints are available.
1327 (create_watchpoint_request): New function.
1328 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
1329 create_watchpoint_request.
1330 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
1331 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
1332 `set powerpc' and `show powerpc' commands.
1333 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1334 Mention documentation comment in the target macro.
1335 (target_region_ok_for_hw_watchpoint): Document return value.
1337 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1339 * breakpoint.c (update_watchpoint): Decide on using a software or
1340 hardware watchpoint after the bp_locations are created.
1342 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1344 Convert hardware watchpoints to use breakpoint_ops.
1345 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
1346 <insert_location>: ... this. Return int instead of void.
1347 Accept pointer to struct bp_location instead of pointer to
1348 struct breakpoint. Adapt all implementations.
1349 (breakpoint_ops) <remove>: Rename to...
1350 <remove_location>: ... this. Accept pointer to struct bp_location
1351 instead of pointer to struct breakpoint. Adapt all implementations.
1352 * breakpoint.c (insert_catchpoint): Delete function.
1353 (insert_bp_location): Call the watchpoint or catchpoint's
1354 breakpoint_ops.insert method.
1355 (remove_breakpoint_1): Call the watchpoint or catchpoint's
1356 breakpoint_ops.remove method.
1357 (insert_watchpoint, remove_watchpoint): New functions.
1358 (watchpoint_breakpoint_ops): New structure.
1359 (watch_command_1): Initialize the OPS field.
1360 * inf-child.c (inf_child_insert_fork_catchpoint)
1361 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
1362 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
1363 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
1365 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
1366 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
1367 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
1368 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
1369 * target.c (update_current_target): Change default implementation of
1370 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
1371 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1372 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
1373 to_set_syscall_catchpoint to return_one.
1374 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
1375 (debug_to_insert_exec_catchpoint): Report return value.
1376 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
1377 (to_insert_exec_catchpoint): Change declaration to return int instead
1380 2011-01-11 Michael Snyder <msnyder@vmware.com>
1382 * arm-tdep.c: Internationalization.
1385 * fork-child.c: Ditto.
1386 * nto-procfs.c: Ditto.
1387 * ppc-sysv-tdep.c: Ditto.
1389 * remote-mips.c: Ditto.
1391 * rs6000-nat.c: Ditto.
1392 * rs6000-tdep.c: Ditto.
1396 * xml-support.c: Ditto.
1397 * mi/mi-cmd-break.c: Ditto.
1398 * mi/mi-cmd-var.c: Ditto.
1399 * mi/mi-interp.c: Ditto.
1400 * mi/mi-main.c: Ditto.
1402 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
1404 * remote-sim.c (gdbsim_store_register): Update API to
1405 sim_store_register to check more error conditions.
1407 2011-01-10 Michael Snyder <msnyder@vmware.com>
1409 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1410 * nto-tdep.c: Ditto.
1411 * nto-tdep.h: Ditto.
1412 * objc-exp.y: Ditto.
1413 * objc-lang.c: Ditto.
1414 * objfiles.c: Ditto.
1415 * objfiles.h: Ditto.
1416 * observer.c: Ditto.
1417 * opencl-lang.c: Ditto.
1420 * parser-defs.h: Ditto.
1423 * posix-hdep.c: Ditto.
1424 * ppcbug-rom.c: Ditto.
1425 * ppc-linux-nat.c: Ditto.
1426 * ppc-linux-tdep.c: Ditto.
1427 * ppc-linux-tdep.h: Ditto.
1428 * ppcnbsd-tdep.c: Ditto.
1429 * ppcobsd-tdep.c: Ditto.
1430 * ppcobsd-tdep.h: Ditto.
1431 * ppc-sysv-tdep.c: Ditto.
1432 * ppc-tdep.h: Ditto.
1433 * printcmd.c: Ditto.
1434 * proc-abi.c: Ditto.
1435 * proc-flags.c: Ditto.
1437 * proc-utils.h: Ditto.
1438 * progspace.h: Ditto.
1439 * prologue-value.c: Ditto.
1440 * prologue-value.h: Ditto.
1441 * psympriv.h: Ditto.
1443 * p-typeprint.c: Ditto.
1444 * p-valprint.c: Ditto.
1445 * ravenscar-sparc-thread.c: Ditto.
1446 * ravenscar-thread.c: Ditto.
1447 * ravenscar-thread.h: Ditto.
1449 * regcache.c: Ditto.
1450 * regcache.h: Ditto.
1452 * remote-fileio.c: Ditto.
1453 * remote-fileio.h: Ditto.
1455 * remote-m32r-sdi.c: Ditto.
1456 * remote-mips.c: Ditto.
1457 * remote-sim.c: Ditto.
1458 * rs6000-aix-tdep.c: Ditto.
1459 * rs6000-nat.c: Ditto.
1460 * rs6000-tdep.c: Ditto.
1462 2011-01-10 Michael Snyder <msnyder@vmware.com>
1464 * charset.c (validate): Internationalization.
1465 * coffread.c (read_one_sym): Ditto.
1466 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1467 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1468 * inflow.c (new_tty): Ditto.
1469 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1470 * m32c-tdep.c (m32c_return_value): Ditto.
1471 * mep-tdep.c (mep_store_return_value): Ditto.
1472 * score-tdep.c (score7_fetch_insn): Ditto.
1473 * ser-mingw.c (pipe_windows_open): Ditto.
1474 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1475 * spu-tdep.c (spu_register_type): Ditto.
1476 * tracepoint.c (trace_find_command): Ditto.
1477 * valarith.c (value_pos): Ditto.
1479 2011-01-10 Joel Brobecker <brobecker@adacore.com>
1481 * ada-valprint.c (printstr): Minor comment reformatting.
1483 2011-01-08 Michael Snyder <msnyder@vmware.com>
1485 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1488 2011-01-08 Michael Snyder <msnyder@vmware.com>
1490 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1491 * hppa-hpux-tdep.c: Ditto.
1492 * hppa-linux-nat.c: Ditto.
1493 * hppa-linux-tdep.c: Ditto.
1494 * hppanbsd-tdep.c: Ditto.
1495 * hppa-tdep.c: Ditto.
1496 * hppa-tdep.h: Ditto.
1497 * hpux-thread.c: Ditto.
1498 * i386-cygwin-tdep.c: Ditto.
1499 * i386-darwin-nat.c: Ditto.
1500 * i386gnu-nat.c: Ditto.
1501 * i386-linux-nat.c: Ditto.
1502 * i386-linux-tdep.c: Ditto.
1503 * i386-nat.c: Ditto.
1504 * i386-nat.h: Ditto.
1505 * i386nbsd-tdep.c: Ditto.
1506 * i386-sol2-nat.c: Ditto.
1507 * i386-stub.c: Ditto.
1508 * i386-tdep.c: Ditto.
1509 * i386-tdep.h: Ditto.
1510 * i387-tdep.c: Ditto.
1511 * ia64-linux-nat.c: Ditto.
1512 * ia64-linux-tdep.c: Ditto.
1513 * ia64-tdep.c: Ditto.
1517 * inferior.c: Ditto.
1518 * inferior.h: Ditto.
1524 * iq2000-tdep.c: Ditto.
1525 * irix5-nat.c: Ditto.
1531 * jv-typeprint.c: Ditto.
1532 * jv-valprint.c: Ditto.
1533 * language.c: Ditto.
1534 * language.h: Ditto.
1535 * linespec.c: Ditto.
1536 * linux-fork.c: Ditto.
1537 * linux-nat.c: Ditto.
1538 * linux-thread-db.c: Ditto.
1539 * lm32-tdep.c: Ditto.
1541 2011-01-08 Michael Snyder <msnyder@vmware.com>
1543 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1545 * m2-typeprint.c: Ditto.
1546 * m2-valprint.c: Ditto.
1547 * m32c-tdep.c: Ditto.
1548 * m32r-linux-nat.c: Ditto.
1549 * m32r-rom.c: Ditto.
1550 * m32r-tdep.c: Ditto.
1551 * m32r-tdep.h: Ditto.
1552 * m68hc11-tdep.c: Ditto.
1553 * m58klinux-nat.c: Ditto.
1554 * m68k-tdep.c: Ditto.
1555 * m88k-tdep.c: Ditto.
1556 * m88k-tdep.h: Ditto.
1557 * machoread.c: Ditto.
1558 * macrocmd.c: Ditto.
1559 * macroexp.c: Ditto.
1560 * macrotab.c: Ditto.
1563 * mdebugread.c: Ditto.
1564 * mdebugread.h: Ditto.
1567 * memory-map.h: Ditto.
1568 * mep-tdep.c: Ditto.
1569 * microblaze-rom.c: Ditto.
1570 * microblaze-tdep.c: Ditto.
1572 * mips-irix-tdep.c: Ditto.
1573 * mips-linux-nat.c: Ditto.
1574 * mips-linux-tdep.c: Ditto.
1575 * mips-linux-tdep.h: Ditto.
1576 * mipsnbsd-nat.c: Ditto.
1577 * mipsnbsd-tdep.c: Ditto.
1578 * mipsread.c: Ditto.
1579 * mips-tdep.c: Ditto.
1580 * mips-tdep.h: Ditto.
1581 * mn10300-linux-tdep.c: Ditto.
1582 * mn10300-tdep.c: Ditto.
1583 * mn10300-tdep.h: Ditto.
1586 * moxie-tdep.c: Ditto.
1587 * moxie-tdep.h: Ditto.
1590 2011-01-08 Mike Frysinger <vapier@gentoo.org>
1592 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1594 2011-01-08 Robert Millan <rmh@gnu.org>
1596 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1598 2011-01-07 Michael Snyder <msnyder@vmware.com>
1600 * charset.c (_initialize_charset): Fix typo in string.
1602 2011-01-07 Michael Snyder <msnyder@vmware.com>
1604 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1606 * tui/tui-layout.c (tui_set_layout_for_display_command):
1607 Split line so that operator goes to beginning of line.
1608 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1609 assignment out of if statement.
1611 2011-01-07 Michael Snyder <msnyder@vmware.com>
1613 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1614 * ada-lang.h: Ditto.
1615 * ada-tasks.c: Ditto.
1616 * ada-valprint.c: Ditto.
1617 * aix-threads.c: Ditto.
1618 * alpha-linux-nat.c: Ditto.
1619 * alpha-linux-tdep.c: Ditto.
1620 * alpha-mdebug-tdep.c: Ditto.
1621 * alpha-nat.c: Ditto.
1622 * alpha-osf1-tdep.c: Ditto.
1623 * alpha-tdep.c: Ditto.
1624 * alphabsd-nat.c: Ditto.
1625 * alphabsd-tdep.c: Ditto.
1626 * amd64-darwin-tdep.c: Ditto.
1627 * amd64-linux-nat.c: Ditto.
1628 * amd64-linux-tdep.c: Ditto.
1629 * amd64-sol2-tdep.c: Ditto.
1630 * amd64-tdep.c: Ditto.
1631 * amd64-fbsd-tdep.c: Ditto.
1632 * amd64-nbsd-tdep.c: Ditto.
1633 * amd64-obsd-tdep.c: Ditto.
1634 * amd64-linux-nat.c: Ditto.
1635 * amd64-linux-tdep.c: Ditto.
1636 * arm-tdep.c: Ditto.
1637 * arm-tdep.h: Ditto.
1638 * armnbsd-nat.c: Ditto.
1639 * avr-tdep.c: Ditto.
1640 * bfin-tdep.c: Ditto.
1642 * c-typeprintc: Ditto.
1643 * c-valprint.c: Ditto.
1644 * coff-pe-read.h: Ditto.
1645 * coffreead.c: Ditto.
1646 * cris-tdep.c: Ditto.
1648 * darwin-nat-info.c: Ditto.
1649 * darwin-nat.c: Ditto.
1650 * dbug-rom.c: Ditto.
1654 * dec-thread.c: Ditto.
1656 * demangle.c: Ditto.
1657 * dicos-tdep.c: Ditto.
1658 * dictionary.c: Ditto.
1659 * dictionary.h: Ditto.
1660 * dink32-rom.c: Ditto.
1662 * doublest.c: Ditto.
1664 * dummy-frame.c: Ditto.
1665 * dwarf2-frame.c: Ditto.
1666 * dwarf2expr.c: Ditto.
1667 * dwarf2loc.c: Ditto.
1668 * dwarf2read.c: Ditto.
1672 * event-top.h: Ditto.
1673 * exceptions.c: Ditto.
1674 * exceptions.h: Ditto.
1676 * expprint.c: Ditto.
1677 * expression.h: Ditto.
1681 * f-typeprint.c: Ditto.
1682 * f-valprint.c: Ditto.
1683 * fbsd-nat.c: Ditto.
1685 * fork-child.c: Ditto.
1688 * frv-linux-tdep.c: Ditto.
1689 * frv-tdep.c: Ditto.
1691 * gdb-stabs.h: Ditto.
1692 * gdb_assert.h: Ditto.
1693 * gdb_string.h: Ditto.
1694 * gdb_thread_db.h: Ditto.
1695 * gdb_wait.h: Ditto.
1696 * gdbarch.sh: Ditto.
1698 * gdbthread.h: Ditto.
1699 * gdbtypes.c: Ditto.
1700 * gdbtypes.h: Ditto.
1703 * gnu-v2-abi.c: Ditto.
1704 * gnu-v3-abi.c: Ditto.
1705 * go32-nat.c: Ditto.
1706 * gdbarch.c: Regenerate.
1707 * gdbarch.h: Regenerate.
1709 2011-01-07 Michael Snyder <msnyder@vmware.com>
1711 * ax-gdb.c: Adjust some long output strings.
1712 * breakpoint.c: Ditto.
1717 * linux-nat.c: Ditto.
1718 * solib-pa64.c: Ditto.
1719 * solib-som.c: Ditto.
1721 2011-01-06 Tom Tromey <tromey@redhat.com>
1725 * python/python.c (GdbMethods): Add "newest_frame" method.
1726 * python/python-internal.h (gdbpy_newest_frame): Declare.
1727 * python/py-frame.c (gdbpy_newest_frame): New function.
1729 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1731 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1732 * jit.c (jit_debug): New variable.
1733 (show_jit_debug): New function.
1734 (struct target_buffer): Use ULONGEST.
1735 (bfd_open_from_target_memory): Likewise.
1736 (jit_register_code, jit_inferior_init): Add debug output.
1737 (_initialize_jit): Register "debug jit" command.
1739 2011-01-06 Tom Tromey <tromey@redhat.com>
1741 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1742 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1745 2011-01-06 Tom Tromey <tromey@redhat.com>
1747 * python/py-frame.c (frapy_block): Use get_frame_block.
1749 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1751 Do not stop on SIGPRIO signals by default
1752 * infrun.c (_initialize_infrun): Unset signal_stop and
1753 signal_print for TARGET_SIGNAL_PRIO.
1755 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1757 * ada-tasks.c: Fix style violation in comment.
1759 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1761 * linespec.c (decode_compound, find_method): Remove trailing \n
1762 at end of error string.
1763 * solib-irix.c (irix_current_sos): Likewise.
1764 * varobj.c (uninstall_variable): Likewise.
1766 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1768 * copyright.py: New script.
1769 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1770 Launch emacs without exec'ing. Call copyright.py afterwards.
1772 2011-01-05 Michael Snyder <msnyder@vmware.com>
1774 * addrmap.c: Shorten lines of >= 80 columns.
1775 * arch-utils.c: Ditto.
1776 * arch-utils.h: Ditto.
1778 * ax-general.c: Ditto.
1780 * blockframe.c: Ditto.
1781 * breakpoint.c: Ditto.
1782 * buildsym.c: Ditto.
1784 * c-typeprint.c: Ditto.
1786 * coffread.c: Ditto.
1790 * cp-namespace.c: Ditto.
1791 * cp-support.c: Ditto.
1792 * dbug-rom.c: Ditto.
1797 * dictionary.c: Ditto.
1799 * doublest.c: Ditto.
1800 * dwarf2-frame.c: Ditto.
1801 * dwarf2expr.c: Ditto.
1802 * dwarf2loc.c: Ditto.
1803 * dwarf2read.c: Ditto.
1806 * event-loop.c: Ditto.
1807 * event-loop.h: Ditto.
1808 * exceptions.h: Ditto.
1810 * expprint.c: Ditto.
1811 * expression.h: Ditto.
1813 * f-valprint.c: Ditto.
1815 * frame-base.c: Ditto.
1816 * frame-unwind.c: Ditto.
1817 * frame-unwind.h: Ditto.
1821 * gdb-stabs.h: Ditto.
1822 * gdb_assert.h: Ditto.
1823 * gdb_dirent.h: Ditto.
1824 * gdb_obstack.h: Ditto.
1826 * gdbtypes.c: Ditto.
1827 * gdbtypes.h: Ditto.
1828 * inf-ttrace.c: Ditto.
1833 * inline-frame.h: Ditto.
1834 * language.c: Ditto.
1835 * language.h: Ditto.
1836 * libunwind-frame.c: Ditto.
1837 * libunwind-frame.h: Ditto.
1838 * linespec.c: Ditto.
1839 * linux-nat.c: Ditto.
1840 * linux-nat.h: Ditto.
1841 * linux-thread-db.c: Ditto.
1842 * machoread.c: Ditto.
1843 * macroexp.c: Ditto.
1844 * macrotab.c: Ditto.
1847 * mdebugread.c: Ditto.
1852 * objfiles.c: Ditto.
1853 * objfiles.h: Ditto.
1855 * p-typeprint.c: Ditto.
1856 * p-valprint.c: Ditto.
1858 * printcmd.c: Ditto.
1859 * proc-events.c: Ditto.
1861 * progspace.c: Ditto.
1862 * progspace.h: Ditto.
1863 * psympriv.h: Ditto.
1866 * regcache.c: Ditto.
1867 * regcache.h: Ditto.
1868 * remote-fileio.c: Ditto.
1870 * ser-mingw.c: Ditto.
1872 * ser-unix.c: Ditto.
1875 * solib-frv.c: Ditto.
1876 * solib-irix.c: Ditto.
1877 * solib-osf.c: Ditto.
1878 * solib-pa64.c: Ditto.
1879 * solib-som.c: Ditto.
1880 * solib-sunos.c: Ditto.
1881 * solib-svr4.c: Ditto.
1882 * solib-target.c: Ditto.
1886 * stabsread.c: Ditto.
1887 * stabsread.c: Ditto.
1890 * symfile-mem.c: Ditto.
1896 * target-descriptions.c: Ditto.
1897 * target-memory.c: Ditto.
1900 * terminal.h: Ditto.
1903 * tracepoint.c: Ditto.
1904 * tracepoint.h: Ditto.
1908 * user-regs.c: Ditto.
1909 * user-regs.h: Ditto.
1911 * valarith.c: Ditto.
1913 * valprint.c: Ditto.
1914 * valprint.h: Ditto.
1919 * xcoffread.c: Ditto.
1920 * xcoffsolib.c: Ditto.
1921 * xcoffsolib.h: Ditto.
1922 * xml-syscall.c: Ditto.
1923 * xml-tdesc.c: Ditto.
1925 2011-01-05 Michael Snyder <msnyder@vmware.com>
1927 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1928 * cli/cli-decode.c: Ditto.
1929 * cli/cli-dump.c: Ditto.
1930 * cli/cli-logging.c: Ditto.
1931 * cli/cli-script.c: Ditto.
1932 * cli/cli-setshow.c: Ditto.
1933 * common/signals.c: Ditto.
1934 * mi/mi-cmd-break.c: Ditto.
1935 * mi/mi-cmd-disas.c: Ditto.
1936 * mi/mi-cmd-stack.c: Ditto.
1937 * mi/mi-cmd-var.c: Ditto.
1938 * mi/mi-cmds.c: Ditto.
1939 * mi/mi-common.h: Ditto.
1940 * mi/mi-console.c: Ditto.
1941 * mi/mi-interp.c: Ditto.
1942 * mi/mi-main.c: Ditto.
1943 * osf-share/cma_attr.c: Ditto.
1944 * osf-share/cma_deb_core.h: Ditto.
1945 * osf-share/cma_debug_client.h: Ditto.
1946 * osf-share/cma_handle.h: Ditto.
1947 * osf-share/cma_mutex.h: Ditto.
1948 * osf-share/cma_stack_int.h: Ditto.
1949 * osf-share/cma_tcb_defs.h: Ditto.
1950 * python/py-auto-load.c: Ditto.
1951 * python/py-breakpoint.c: Ditto.
1952 * python/py-cmd.c: Ditto.
1953 * python/py-frame.c: Ditto.
1954 * python/py-objfile.c: Ditto.
1955 * python/py-param.c: Ditto.
1956 * python/py-progspace.c: Ditto.
1957 * python/py-symbol.c: Ditto.
1958 * python/py-value.c: Ditto.
1959 * python/python-internal.h: Ditto.
1960 * python/python.c: Ditto.
1961 * tui/tui-data.c: Ditto.
1962 * tui/tui-disasm.c: Ditto.
1963 * tui/tui-hooks.c: Ditto.
1964 * tui/tui-io.c: Ditto.
1965 * tui/tui-layout.c: Ditto.
1966 * tui/tui-regs.c: Ditto.
1967 * tui/tui-source.c: Ditto.
1968 * tui/tui-stack.c: Ditto.
1969 * tui/tui-win.c: Ditto.
1970 * tui/tui-windata.c: Ditto.
1971 * tui/tui-winsource.c: Ditto.
1973 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1975 * configure.ac, gdb.1: Copyright year update.
1977 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1979 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1980 this_pc_in_block, morestack_msym and morestack_name. Check for
1981 "__morestack" minimal symbol there.
1983 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1985 * symfile.c (find_sym_fns): Add call to dont_repeat.
1987 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1989 Copyright year update in most files (performed by copyright.sh).
1991 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1993 * top.c (print_gdb_version): Update copyright year in version output.
1995 For older changes see ChangeLog-2010.
2001 version-control: never