1 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3 <unavailable> references.
5 * valops.c (get_value_at): Use value_from_contents_and_address,
8 2011-02-14 Pedro Alves <pedro@codesourcery.com>
10 * c-valprint.c (c_val_print): Print a string with unavailable
13 2011-02-14 Pedro Alves <pedro@codesourcery.com>
15 * value.h (unpack_bits_as_long): Delete declaration.
16 (unpack_value_bits_as_long): Declare.
17 (unpack_value_field_as_long): Declare.
18 (value_field_bitfield): Declare.
19 * value.c (unpack_bits_as_long): Rename to...
20 (unpack_value_bits_as_long_1): ... this. Add embedded_offset and
21 value parameters. Return the extracted result in a new output
22 parameter. If the value contents are unavailable, return false,
23 otherwise return true.
24 (unpack_value_bits_as_long): New.
25 (unpack_field_as_long): Rename to...
26 (unpack_value_field_as_long_1): ... this. Add embedded_offset and
27 Add embedded_offset and value parameters. Return the extracted
28 result in a new output parameter. If the value contents are
29 unavailable, return false, otherwise return true.
30 (unpack_value_field_as_long): New.
31 (unpack_field_as_long_1): New.
32 (unpack_field_as_long): Reimplement as wrapper around
33 unpack_value_field_as_long_1.
34 (value_field_bitfield): New function.
35 * valops.c (value_fetch_lazy): When fetching a bitfield, use
36 unpack_value_bits_as_long. Mark the value as unavailable, if it
38 * jv-valprint.c (java_print_value_fields): Use
40 * p-valprint.c (pascal_object_print_value_fields): Use
42 * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield.
44 2011-02-14 Pedro Alves <pedro@codesourcery.com>
46 * value.c (get_internalvar_integer): Also return the int value of
47 TYPE_CODE_INT INTERNALVAR_VALUE values.
48 (set_internalvar): Don't special case TYPE_CODE_INT.
50 2011-02-14 Pedro Alves <pedro@codesourcery.com>
52 * value.c (struct internalvar) <enum internalvar_kind>: Remove
55 (value_of_internalvar): Remove INTERNALVAR_POINTER handling.
56 (set_internalvar): Remove special TYPE_CODE_PTR handling.
57 (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling.
59 2011-02-14 Pedro Alves <pedro@codesourcery.com>
61 * value.h (value_available_contents_eq): Declare.
62 * value.c (find_first_range_overlap): New function.
63 (value_available_contents_eq): New function.
64 * valprint.c (val_print_array_elements): Use
65 value_available_contents_eq.
66 * ada-valprint.c (val_print_packed_array_elements): Use
67 value_available_contents_eq.
68 * jv-valprint.c (java_value_print): Use
69 value_available_contents_eq.
71 2011-02-14 Pedro Alves <pedro@codesourcery.com>
73 * target.c (target_read_live_memory): New function.
74 (memory_xfer_live_readonly_partial): New.
75 (memory_xfer_partial): If reading from a traceframe, fallback to
76 reading unavailable read-only memory from read-only regions of
78 * tracepoint.c (disconnect_tracing): Adjust.
79 (set_current_traceframe): New, factored out from
80 set_traceframe_number.
81 (set_traceframe_number): Reimplement to only change the traceframe
82 number on the GDB side.
83 (do_restore_current_traceframe_cleanup): Adjust.
84 (make_cleanup_restore_traceframe_number): New.
85 (cur_traceframe_number): New global.
86 (tfile_open): Set cur_traceframe_number to no traceframe.
87 (set_tfile_traceframe): New function.
88 (tfile_trace_find): If looking up a traceframe using any method
89 other than by number, make sure the current tfile traceframe
90 matches gdb's current traceframe. Update the current tfile
91 traceframe if the lookup succeeded.
92 (tfile_fetch_registers, tfile_xfer_partial)
93 (tfile_get_trace_state_variable_value): Make sure the remote
94 traceframe matches gdb's current traceframe.
95 * remote.c (remote_traceframe_number): New global.
96 (remote_open_1): Set it to -1.
97 (set_remote_traceframe): New function.
98 (remote_fetch_registers, remote_store_registers)
99 (remote_xfer_memory, remote_xfer_partial)
100 (remote_get_trace_state_variable_value): Make sure the remote
101 traceframe matches gdb's current traceframe.
102 (remote_trace_find): If looking up a traceframe using any method
103 other than by number, make sure the current remote traceframe
104 matches gdb's current traceframe. Update the current remote
105 traceframe if the lookup succeeded.
106 * infrun.c (fetch_inferior_event): Adjust.
107 * tracepoint.h (set_current_traceframe): Declare.
108 (get_traceframe_number, set_traceframe_number): Add describing
111 2011-02-14 Pedro Alves <pedro@codesourcery.com>
113 Mark pieces of values as unavailable if the corresponding memory
116 * valops.c: Include tracepoint.h.
117 (value_fetch_lazy): Use read_value_memory.
118 (read_value_memory): New.
119 * value.h (read_value_memory): Declare.
120 * dwarf2loc.c (read_pieced_value): Use read_value_memory.
121 * exec.c (section_table_available_memory): New function.
122 * exec.h (section_table_available_memory): Declare.
124 2011-02-14 Pedro Alves <pedro@codesourcery.com>
126 * Makefile.in (SFILES): Add memrange.c.
127 (HFILES_NO_SRCDIR): Add memrange.h.
128 (COMMON_OBS): Add memrange.o.
129 * memrange.c: New file.
130 * memrange.h: New file.
131 * tracepoint.c: Include memrange.h.
132 (struct mem_range): Delete.
133 (mem_range_s): Delete.
134 (traceframe_available_memory): New function.
135 * tracepoint.h (traceframe_available_memory): Declare.
137 2011-02-14 Pedro Alves <pedro@codesourcery.com>
139 * target.h (struct traceframe_info): Forward declare.
140 (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
141 (struct target_ops) <to_traceframe_info>: New field.
142 (target_traceframe_info): New.
143 * target.c (update_current_target): Inherit and default
145 * remote.c (PACKET_qXfer_traceframe_info): New.
146 (remote_protocol_features): Register qXfer:traceframe-info:read.
147 (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
148 (remote_traceframe_info): New.
149 (init_remote_ops): Install it.
150 (_initialize_remote): Install "set/show remote traceframe-info"
152 * tracepoint.h (parse_traceframe_info): Declare.
153 * tracepoint.c (struct mem_range): New.
154 (mem_range_s): New typedef.
155 (struct traceframe_info): New.
156 (traceframe_info): New global.
157 (free_traceframe_info): New function.
158 (clear_traceframe_info): New function.
159 (start_tracing, tfind_1, set_traceframe_number): Clear traceframe
161 (build_traceframe_info): New function.
162 (tfile_traceframe_info): New function.
163 (init_tfile_ops): Install tfile_traceframe_info.
164 (traceframe_info_start_memory, free_result): New functions.
165 (memory_attributes, traceframe_info_elements): New globals.
166 (parse_traceframe_info, get_traceframe_info): New functions.
167 * features/traceframe-info.dtd: New file.
168 * Makefile.in (XMLFILES): Add traceframe-info.dtd.
170 2011-02-14 Pedro Alves <pedro@codesourcery.com>
172 Base support for <unavailable> value contents.
174 * value.h (value_bytes_available): Declare.
175 (mark_value_bytes_unavailable): Declare.
176 * value.c (struct range): New struct.
177 (range_s): New typedef.
178 (ranges_overlap): New function.
179 (range_lessthan): New function.
180 (ranges_contain_p): New function.
181 (struct value) <unavailable>: New field.
182 (value_bytes_available): New function.
183 (mark_value_bytes_unavailable): New function.
184 (require_not_optimized_out): Constify parameter.
185 (require_available): New function.
186 (value_contents_all, value_contents): Require all bytes be
188 (value_free): Free `unavailable'.
189 (value_copy): Copy `unavailable'.
190 * valprint.h (val_print_unavailable): Declare.
191 * valprint.c (valprint_check_validity): Rename `offset' parameter
192 to `embedded_offset'. If printing a scalar, check whether the
193 value chunk is available.
194 (val_print_unavailable): New.
195 (val_print_scalar_formatted): Check whether the value is
197 * python/py-prettyprint.c (apply_val_pretty_printer): Refuse
198 pretty-printing unavailable values.
200 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
202 Fix const/volatile qualifiers of C++ types, PR c++/12328.
203 * c-typeprint.c (c_type_print_args): Update the function comment. New
204 variable param_type, initialize it. Remove const/volatile qualifiers
205 for language_cplus and !show_artificial. Use param_type.
207 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
209 * symtab.c (find_pc_sect_line): New variable objfile, initialize it
210 from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S.
211 * symtab.h (struct symtab) <next>: Comment extension.
213 2011-02-12 Yao Qi <yao@codesourcery.com>
215 * Makefile.in (CLEANDIRS): Remove duplicated common dir.
217 2011-02-11 Pedro Alves <pedro@codesourcery.com>
219 * infrun.c (proceed): Move switching out and in of tfind mode from
221 (fetch_inferior_event): ... to here.
223 2011-02-11 Yao Qi <yao@codesourcery.com>
225 * Makefile.in: Remove signals.o from COMMON_OBS. Link
227 * configure.ac: Add common to sub dir.
228 * configure: Regenerate.
230 2011-02-10 Pedro Alves <pedro@codesourcery.com>
232 * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
233 side of the parenthesis.
236 2010-07-13 Jakub Jelinek <jakub@redhat.com>
237 * vec.h (VEC_block_remove): Fix comment.
239 2011-02-08 Michael Snyder <msnyder@vmware.com>
241 * linux-nat.c (linux_nat_filter_event): Fix typo in comment.
243 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
245 * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
246 in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
249 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
252 * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
254 (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
255 (i386_process_record) <0x0f3807>: Fix the comment to phsubsw.
257 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
259 * dwarf2read.c (read_subroutine_type): Set special calling
260 convention flag for functions compiled by IBM XL C for OpenCL.
261 * ppc-sysv-tdep.c: Include "dwarf2.h"
262 (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
264 (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement
265 IBM OpenCL vector types calling convention.
266 (ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
267 (ppc_sysv_abi_broken_return_value): Likewise.
268 (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
269 types calling convention.
270 (ppc64_sysv_abi_return_value): Likewise.
271 * spu-tdep.c: Include "dwarf2.h"
272 (spu_return_value): Implement IBM OpenCL vector types calling
275 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
277 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
278 correct ABI for AltiVec vector arguments.
280 2011-02-07 Pedro Alves <pedro@codesourcery.com>
282 * valprint.c (val_print): Extend comment.
283 * ada-valprint.c (ada_valprint): Rewrite comment deferring
284 interface explanation to val_print.
285 (ada_val_print_array): Adjust comment to current interface.
286 (print_field_values): Adjust comment to current interface.
287 * c-valprint.c (c_val_print): Rewrite comment deferring interface
288 explanation to val_print.
289 * f-valprint.c (f_val_print): Ditto.
290 * jv-valprint.c (java_val_print): Ditto.
291 * m2-valprint.c (m2_val_print): Ditto.
292 * p-valprint.c (pascal_val_print): Ditto.
294 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
296 * breakpoint.c (parse_breakpoint_sals): Fix description.
298 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
299 Oguz Kayral <oguzkayral@gmail.com>
301 * python/py-inferior.c (python_on_normal_stop): New function.
302 (python_on_resume): New function.
303 (python_inferior_exit): New function.
304 (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
305 inferior_exit observers.
306 * python/py-evtregistry.c: New file.
307 * python/py-threadevent.c : New file.
308 * python/py-event.c: New file.
309 * python/py-evts.c: New file.
310 * python/py-continueevent.c: New file.
311 * python/py-bpevent.c: New file.
312 * python/py-signalevent.c: New file.
313 * python/py-exetiedevent.c: New file.
314 * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
315 Move struct breakpoint_object from here...
316 * python/python-internal.h: ... to here.
317 * python/py-event.h: New file.
318 * python/py-events.h: New file.
319 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
320 py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
321 py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
322 (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
323 py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
324 py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
325 Add build rules for all the above.
327 2011-02-04 Tom Tromey <tromey@redhat.com>
329 * dwarf2read.c (dwarf2_section_empty_p): New function.
330 (dwarf2_read_section): Use dwarf2_section_empty_p.
331 (dwarf2_section_size): New function.
332 (dwarf2_get_section_info): Unconditionally read section.
333 (dwarf2_read_index): Use dwarf2_section_empty_p.
334 (partial_read_comp_unit_head): Use dwarf2_section_size.
335 (dwarf2_symbol_mark_computed): Likewise.
337 2011-02-04 David Daney <ddaney@caviumnetworks.com>
339 * NEWS: Add item for "catch syscall" on mips*-linux* targets.
341 2011-02-04 David Daney <ddaney@caviumnetworks.com>
343 * mips-linux-tdep.c: Include xml-syscall.h.
344 (mips_linux_get_syscall_number): New function.
345 (mips_linux_init_abi): Add calls to
346 mips_linux_get_syscall_number() and set_xml_syscall_file_name().
347 * data-directory/Makefile.in (SYSCALLS_FILES): Add
348 mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
349 * syscalls/mips-n32-linux.xml: New file.
350 * syscalls/mips-n64-linux.xml: New file.
351 * syscalls/mips-o32-linux.xml: New file.
353 2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org>
355 * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
356 Complain about inverted range entries.
357 (dwarf2_record_block_ranges): Likewise.
359 2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
362 * breakpoint.c (update_watchpoint): Fix name of the
363 update_global_location_list function.
364 (print_one_breakpoint): Fix typo.
365 (_initialize_breakpoint): Remove extra space in hbreak help
367 * breakpoint.h (struct bp_location) <length>: Fix field
370 2011-02-04 Pedro Alves <pedro@codesourcery.com>
372 * regcache.c (registers_changed_ptid): Don't explictly always
373 clear `current_regcache'. Only clear current_thread_ptid and
374 current_thread_arch when PTID matches. Only reinit the frame
375 cache if PTID matches the current inferior_ptid. Move alloca(0)
377 (registers_changed): ... here.
379 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org>
381 * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
382 starts with __stack_chk_guard as stack guard symbol.
384 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
386 * disasm.c (compare_lines): Handle the end of sequence markers
387 within the line table to better support disassembling over
388 compilation unit boundaries.
390 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
392 * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
393 arguments. Skip in-prologue calls to glibc __aeabi_read_tp
394 implementation even if no symbols are available.
395 (thumb_analyze_prologue): Update call to skip_prologue_function.
396 (arm_analyze_prologue): Likewise.
398 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
400 * arm-tdep.c: Include "observer.h".
401 (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
402 (arm_exidx_data_key): New static variable.
403 (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
404 (struct arm_exidx_data): Likewise.
405 (arm_exidx_data_free): New function.
406 (arm_compare_exidx_entries): Likewise.
407 (arm_obj_section_from_vma): Likewise.
408 (arm_exidx_new_objfile): Likewise.
409 (arm_find_exidx_entry): Likewise.
410 (arm_exidx_fill_cache): Likewise.
411 (arm_exidx_unwind_sniffer): Likewise.
412 (arm_exidx_unwind): New global variable.
413 (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
414 (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
415 observer. Register arm_exidx_data_key as objfile data.
417 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
419 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
420 due to accessing uninitialized variable. Fix indentation.
422 2011-02-02 Pedro Alves <pedro@codesourcery.com>
424 * c-valprint.c (c_value_print): When doing virtual base pointer
425 adjustment, create a new value with adjusted contents rather than
426 changing the contents of the value being printed (and getting it
429 2011-02-02 Pedro Alves <pedro@codesourcery.com>
431 * xml-support.c (xml_find_attribute): New.
432 (xinclude_start_include): Use it.
433 * xml-support.h (xml_find_attribute): Declare.
434 * memory-map.c (memory_map_start_memory)
435 (memory_map_start_property): Use xml_find_attribute.
436 * osdata.c (osdata_start_osdata, osdata_start_column): Use
438 * remote.c (start_thread): Use xml_find_attribute.
439 * solib-target.c (library_list_start_segment)
440 (library_list_start_section, library_list_start_library)
441 (library_list_start_list): Use xml_find_attribute.
442 * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
443 (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
444 (tdesc_start_field): Use xml_find_attribute.
446 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com>
448 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
449 (BUILD_OCL_VTYPES): Update.
451 2011-02-02 Joel Brobecker <brobecker@adacore.com>
453 * configure.ac: Work around non-GNU sed limitation when computing
454 python version number.
455 * configure: Regenerate.
457 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
459 Fix debug printing of TYPE_INSTANCE.
460 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
461 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
463 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
465 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
466 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
467 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
468 * ada-operator.inc: Rename the file to ...
469 * ada-operator.def: ... here, wrap all the entries by macro OP.
470 * expprint.c (op_name_standard): Remove all the entries. Include
471 "std-operator.def" instead.
472 * expression.h (enum exp_opcode): Include "std-operator.def" and
473 "ada-operator.def". Move all the entries ...
474 * std-operator.def: ... here, wrap all the entries by macro OP.
476 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
478 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
479 * breakpoint.c (remove_jit_event_breakpoints): New function.
480 * jit.c (jit_descriptor_addr): Delete.
481 (registering_code): Delete.
483 (jit_inferior_data): New variable.
484 (struct jit_inferior_data): New type.
485 (get_jit_inferior_data): New function.
486 (jit_inferior_data_cleanup): New function.
487 (jit_read_descriptor): Adjust.
488 (jit_register_code): Adjust.
489 (jit_breakpoint_re_set_internal): New function; move code here ...
490 (jit_inferior_init): ... from here.
491 (jit_breakpoint_re_set): Adjust.
492 (jit_reset_inferior_data_and_breakpoints): New function.
493 (jit_inferior_created_observer): Adjust.
494 (jit_inferior_exit_hook): Adjust.
495 (jit_executable_changed_observer): New function.
496 (jit_event_handler): Adjust.
497 (_initialize_jit): Adjust.
499 2011-01-31 Michael Snyder <msnyder@vmware.com>
501 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
504 2011-01-31 Tom Tromey <tromey@redhat.com>
507 * python/python.c (execute_gdb_command): Call
509 * top.c (suppress_dont_repeat): New global.
510 (dont_repeat): Use it.
511 (prevent_dont_repeat): New function.
512 * command.h (prevent_dont_repeat): Declare.
514 2011-01-31 Tom Tromey <tromey@redhat.com>
516 * infcmd.c (finish_backward): Use breakpoint_set_silent.
517 * python/py-breakpoint.c (bppy_set_silent): Use
518 breakpoint_set_silent.
519 (bppy_set_thread): Use breakpoint_set_thread.
520 (bppy_set_task): Use breakpoint_set_task.
521 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
522 (breakpoint_set_task): Declare.
523 (make_breakpoint_silent): Remove.
524 * breakpoint.c (breakpoint_set_silent): New function.
525 (breakpoint_set_thread): Likewise.
526 (breakpoint_set_task): Likewise.
527 (make_breakpoint_silent): Remove.
529 2011-01-31 Tom Tromey <tromey@redhat.com>
531 * breakpoint.h (user_breakpoint_p): Declare.
532 * breakpoint.c (user_breakpoint_p): New function.
533 (breakpoint_1): Use it.
534 (save_breakpoints): Likewise.
536 2011-01-31 Joel Brobecker <brobecker@adacore.com>
538 * configure.ac: Add handling of Python distribution on Windows.
539 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
540 sysconfig variables are not defined, then do not use them.
541 On Windows, if LIBPL is not defined, then use prefix + '/libs'
542 instead. On Windows, return all paths using forward-slashes
543 rather than backslashes.
545 2011-01-31 Joel Brobecker <brobecker@adacore.com>
547 * configure.ac: Remove fallback behavior for building
548 against Python. Remove tweaking of Python include path.
549 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
550 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
551 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
552 Always restore CPPFLAGS and LIBS after linking test.
553 * configure: Regenerated.
554 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
555 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
556 * python/python-internal.h: Adjust includes of Python .h files.
558 2011-01-31 Joel Brobecker <brobecker@adacore.com>
560 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
563 2011-01-31 Joel Brobecker <brobecker@adacore.com>
565 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
568 2011-01-31 Yao Qi <yao@codesourcery.com>
570 * arm-linux-nat.c: Update calls to regcache_register_status
571 instead of regcache_valid_p.
572 * aix-thread.c: Likewise.
573 * i386gnu-nat.c: Likewise.
575 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
578 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
579 touching TYPE_FIELD_ARTIFICIAL.
581 2011-01-28 Richard Earnshaw <rearnsha@arm.com>
583 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
586 2011-01-28 Pedro Alves <pedro@codesourcery.com>
588 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
589 selected, don't try iterating over the traceframe's blocks.
590 (tfile_has_stack): If there's no traceframe selected, then there's
592 (tfile_has_registers): If there's no traceframe selected, then
593 there's no registers.
595 2011-01-28 Pedro Alves <pedro@codesourcery.com>
597 * target.c (memory_xfer_partial): No need to restore shadows if we
598 haven't read anything.
600 2011-01-28 Pedro Alves <pedro@codesourcery.com>
602 * mips-tdep.c (mips_print_register): Use get_frame_register_value
603 and val_print_scalar_formatted.
605 2011-01-27 Pedro Alves <pedro@codesourcery.com>
607 * tracepoint.c (tfile_read): New.
608 (tfile_open): Use it.
609 (tfile_get_traceframe_address): Use it.
610 (tfile_trace_find): Use it.
611 (walk_blocks_callback_func): New typedef.
612 (match_blocktype): New function.
613 (traceframe_walk_blocks): New function.
614 (traceframe_find_block_type): New function.
615 (tfile_fetch_registers, tfile_xfer_partial)
616 (tfile_get_trace_state_variable_value): Use
617 traceframe_find_block_type and tfile_read.
619 2011-01-26 Kevin Buettner <kevinb@redhat.com>
621 * remote-mips.c: Add internationalization mark ups. Remove
622 trailing \n from already marked up strings.
624 2011-01-26 Tom Tromey <tromey@redhat.com>
626 * python/py-prettyprint.c (print_string_repr): Clear
627 'addressprint' option when calling val_print_string.
628 (print_children): Handle Val_pretty_default. Clear 'addressprint'
629 option when calling val_print_string.
631 2011-01-26 Tom Tromey <tromey@redhat.com>
633 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
635 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
637 (gdb_py_longest, gdb_py_ulongest): New typedefs.
638 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
639 (gdb_py_long_as_ulongest): New defines.
640 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
641 (gdb_py_int_as_long): Declare.
642 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
643 GDB_PY_LL_ARG, gdb_py_object_from_longest.
644 (valpy_long): Add comment.
645 * python/py-utils.c (get_addr_from_python): Use
646 gdb_py_long_as_ulongest. Handle overflow properly.
647 (gdb_py_object_from_longest): New function.
648 (gdb_py_object_from_ulongest): Likewise.
649 (gdb_py_int_as_long): Likewise.
650 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
651 * python/py-symtab.c (salpy_get_pc): Use
652 gdb_py_long_from_ulongest.
653 (salpy_get_line): Use PyInt_FromLong.
654 * python/py-param.c (set_parameter_value): Use
656 * python/py-lazy-string.c (stpy_get_address): Use
657 gdb_py_long_from_ulongest.
658 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
659 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
660 * python/py-breakpoint.c (bppy_set_thread): Use
662 (bppy_set_task): Likewise.
663 (bppy_set_ignore_count): Likewise.
664 (bppy_set_hit_count): Likewise.
665 * python/py-block.c (blpy_get_start): Use
666 gdb_py_object_from_ulongest.
667 (blpy_get_end): Likewise.
668 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
670 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
673 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
674 * gdb/solib.c (solib_read_symbols): Check for addr_low in
675 equality test for objfile, initialize addr_low if needed.
677 2011-01-25 Pedro Alves <pedro@codesourcery.com>
679 * tui/tui-regs.c (tui_register_format): Remove dead code.
681 2011-01-25 Pedro Alves <pedro@codesourcery.com>
683 * printcmd.c (print_formatted): Use val_print_scalar_formatted
684 instead of print_scalar_formatted.
685 (print_scalar_formatted): Don't handle 's' format strings here,
686 and add an assertion that we never see such format here.
687 * valprint.h (val_print_scalar_formatted): Declare.
688 * valprint.c (val_print_scalar_formatted): New.
689 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
690 instead of print_scalar_formatted.
691 * jv-valprint.c (java_val_print): Ditto.
692 * p-valprint.c (pascal_val_print): Ditto.
693 * ada-valprint.c (ada_val_print_1): Ditto.
694 * f-valprint.c (f_val_print): Ditto.
695 * infcmd.c (registers_info): Ditto.
696 * m2-valprint.c (m2_val_print): Ditto.
698 2011-01-25 Pedro Alves <pedro@codesourcery.com>
700 * m2-valprint.c (print_unbounded_array): Pass
701 value_contents_for_printing rather than value_contents, to
702 m2_print_array_contents. Also pass in the value.
704 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
706 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
707 (save_gdb_index_command): Switch to .gdb_index version 4.
709 2011-01-25 Pedro Alves <pedro@codesourcery.com>
711 * mi/mi-main.c (get_register): Use get_frame_register_value rather
712 than frame_register, and always pass a valid value to val_print.
714 2011-01-25 Pedro Alves <pedro@codesourcery.com>
716 Centralize printing "<optimized out>".
718 * valprint.h (val_print_optimized_out): Declare.
719 * cp-valprint.c (cp_print_value_fields): Use
720 val_print_optimized_out.
721 * jv-valprint.c (java_print_value_fields): Ditto.
722 * p-valprint.c (pascal_object_print_value_fields): Ditto.
723 * printcmd.c (print_formatted): Ditto.
724 * valprint.c (valprint_check_validity): Ditto.
725 (value_check_printable): Ditto.
726 (val_print_optimized_out): New.
728 2011-01-25 Pedro Alves <pedro@codesourcery.com>
730 * infcmd.c (default_print_registers_info): Allocate values so to
731 never pass a NULL value to val_print.
733 2011-01-25 Pedro Alves <pedro@codesourcery.com>
735 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
736 boolean. Make sure to always pass a value that matches the
737 contents buffer to callees. Preserve `address' for following
739 * value.c (value_contents_for_printing_const): New.
740 (value_address): Constify value argument.
741 * value.h (value_contents_for_printing_const): Declare.
742 (value_address): Constify value argument.
744 2011-01-25 Pedro Alves <pedro@codesourcery.com>
746 * regcache.c (struct regcache_descr): Rename
747 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
748 and sizeof_cooked_register_valid_p to
749 sizeof_cooked_register_status.
750 (init_regcache_descr): Adjust.
751 (struct regcache): Rename register_valid_p field to
753 (regcache_xmalloc_1, regcache_xfree, regcache_save)
754 (do_cooked_read): Adjust.
755 (regcache_valid_p): Rename to ...
756 (regcache_register_status): ... this. Adjust.
757 (regcache_invalidate): Adjust.
758 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
760 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
761 as unavailable, not valid.
762 (regcache_dump): Adjust.
763 * regcache.h (enum register_status): New.
764 (regcache_register_status): Declare.
765 (regcache_invalidate): Delete declaration.
766 * corelow.c (get_core_registers): Adjust.
767 * tracepoint.c (tfile_fetch_registers): Adjust.
768 * trad-frame.c (REG_VALUE): Rename to ...
769 (TF_REG_VALUE): ... this.
770 (REG_UNKNOWN): Rename to ...
771 (TF_REG_UNKNOWN): ... this.
772 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
773 * mi/mi-main.c (register_changed_p): Adjust.
775 2011-01-25 Pedro Alves <pedro@codesourcery.com>
777 * regcache.c (struct regcache_descr): Remove outdated comment.
778 (init_regcache_descr): Remove sizeof_raw_register_valid_p
780 (regcache_xmalloc): Rename to ...
781 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
782 Allocate the regcache type accordingly.
783 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
784 (regcache_xfree): Asser the source is also readonly. Copy sizeof
785 cooked registers, not raw.
786 (regcache_dup_no_passthrough): Delete.
787 (get_thread_arch_regcache): Use regcache_xmalloc_1.
788 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
789 mention obsolete write_register_bytes.
790 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
792 2011-01-25 Pedro Alves <pedro@codesourcery.com>
794 Stop remote_read_bytes from handling partial reads itself.
796 * remote-fileio.c: Include target.h.
797 (remote_fileio_write_bytes): Delete.
798 (remote_fileio_func_open, remote_fileio_func_write)
799 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
801 (remote_fileio_func_stat): Use target_read_memory and
803 (remote_fileio_func_gettimeofday): Use target_write_memory.
804 (remote_fileio_func_system): Use target_read_memory.
805 * remote.c (remote_write_bytes): Make it static.
806 (remote_read_bytes): Don't handle partial reads here.
807 * remote.h (remote_read_bytes): Delete declaration.
809 2011-01-25 Pedro Alves <pedro@codesourcery.com>
811 Simplify XML parsing a bit.
813 * xml-support.h (gdb_xml_parse_quick): Declare.
814 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
815 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
817 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
818 gdb_xml_create_parser_and_cleanup_1.
819 (gdb_xml_parse_quick): New.
820 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
821 * osdata.c (osdata_parse): Ditto.
822 * remote.c (remote_threads_info): Ditto.
823 * solib-target.c (solib_target_parse_libraries): Ditto.
824 * xml-syscall.c (syscall_parse_xml): Ditto.
825 * xml-tdesc.c (tdesc_parse_xml): Ditto.
827 2011-01-24 Kevin Buettner <kevinb@redhat.com>
829 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
830 with remote-mips.o added to gdb_target_obs.
831 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
833 2011-01-24 Pedro Alves <pedro@codesourcery.com>
835 * ada-valprint.c (val_print_packed_array_elements): Pass the
836 correct struct value to val_print.
837 (ada_val_print_1): Ditto.
839 2011-01-24 Pedro Alves <pedro@codesourcery.com>
841 Don't lose embedded_offset in printing routines throughout.
843 * valprint.h (val_print_array_elements): Change prototype.
844 * valprint.c (val_print_array_elements): Add `embedded_offset'
845 parameter, and adjust to pass it down to val_print, while passing
846 `valaddr' or `address' unmodified. Take embedded_offset into
847 account when checking repetitions.
848 * c-valprint.c (c_val_print): Pass embedded_offset to
849 val_print_array_elements instead of adjusting `valaddr' and
851 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
852 embedded_offset to val_print_array_elements instead of adjusting
854 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
855 * p-valprint.c (pascal_val_print): Pass embedded_offset to
856 val_print_array_elements and pascal_object_print_value_fields
857 instead of adjusting `valaddr'.
858 (pascal_object_print_value_fields): Add `offset' parameter, and
860 (pascal_object_print_value): Add `offset' parameter, and adjust to
862 (pascal_object_print_static_field): Use
863 value_contents_for_printing/value_embedded_offset, rather than
865 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
866 parameter, and adjust to use it. Use
867 value_contents_for_printing/value_embedded_offset, rather than
869 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
870 (ada_val_print_array): Add `offset' parameter, and adjust to use
872 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
873 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
874 Instead work with offsets. Use
875 value_contents_for_printing/value_embedded_offset, rather than
876 value_contents. Change `defer_val_int' local type to CORE_ADDR,
877 and use value_from_pointer to extract a target pointer, rather
878 than value_from_longest.
879 (print_variant_part): Add `offset' parameter. Replace
880 `outer_valaddr' parameter by a new `outer_offset' parameter.
881 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
882 (ada_value_print): Use
883 value_contents_for_printing/value_embedded_offset, rather than
885 (print_record): Add `offset' parameter, and adjust to pass it
887 (print_field_values): Add `offset' parameter. Replace
888 `outer_valaddr' parameter by a new `outer_offset' parameter.
889 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
890 Use value_contents_for_printing/value_embedded_offset, rather than
892 * d-valprint.c (dynamic_array_type): Use
893 value_contents_for_printing/value_embedded_offset, rather than
895 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
896 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
897 (java_print_value_fields): Take `offset' into account. Don't
898 re-adjust `valaddr'. Instead pass down adjusted offsets.
899 (java_val_print): Take `embedded_offset' into account. Pass it to
900 java_print_value_fields.
901 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
902 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
903 down adjusted offsets.
904 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
905 (f_val_print): Take `embedded_offset' into account.
907 2011-01-21 Joel Brobecker <brobecker@adacore.com>
909 * inflow.c: Include "gdbcmd.h".
910 (interactive_mode): New static global, moved here from top.c.
911 (show_interactive_mode): New function, moved here from top.c.
912 use gdb_has_a_terminal instead of input_from_terminal_p to
913 determine the current mode.
914 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
916 (_initialize_inflow): Add the "set/show interactive-mode"
917 commands. Moved here from top.c, after having adjusted slightly
919 * top.c (interactive_mode, show_interactive_mode): Delete, moved
921 (input_from_terminal_p): Remove handling of "interactive-mode"
922 setting, moved to infow.c.
923 (init_main): Remove creation of the "set/show interactive-mode"
924 commands, moved to inflow.c.
926 2011-01-19 Joel Brobecker <brobecker@adacore.com>
928 * NEWS: Add entry for native ia64-hpux support.
930 2011-01-19 Tom Tromey <tromey@redhat.com>
933 * thread.c (free_thread): Free 'name'.
934 (print_thread_info): Emit thread name. Change CLI output.
935 (thread_name_command): New function.
936 (do_captured_thread_select): Emit newline.
937 (_initialize_thread): Register 'thread name' command.
938 * target.h (struct target_ops) <to_thread_name>: New field.
939 (target_thread_name): New macro.
940 * target.c (update_current_target): Handle to_thread_name.
941 * python/py-infthread.c (thpy_get_name): New function.
942 (thpy_set_name): Likewise.
943 (thread_object_getset): Add "name".
944 * linux-nat.c (linux_nat_thread_name): New function.
945 (linux_nat_add_target): Set to_thread_name.
946 * gdbthread.h (struct thread_info) <name>: New field.
948 2011-01-18 Joel Brobecker <brobecker@adacore.com>
950 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
951 (ada_val_print_1): Likewise.
953 2011-01-18 Joel Brobecker <brobecker@adacore.com>
955 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
956 upper limit address is not greater than the function end address
957 when the upper limit could not be computed using the debugging
960 2011-01-17 Tom Tromey <tromey@redhat.com>
962 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
964 * utils.c: Include gdb_regex.h.
965 (do_regfree_cleanup): New function.
966 (make_regfree_cleanup): Likewise.
967 (get_regcomp_error): Likewise.
968 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
970 2011-01-17 Tom Tromey <tromey@redhat.com>
972 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
975 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
977 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
978 for internal variables.
979 (last_was_structop): New static variable.
980 (COMPLETE): New token.
981 (field_exp): New rule to group all '.' suffix handling.
982 Add mark_struct_expression calls when approriate to be able
983 to correctly find fields for completion.
984 (yylex): Adapt to handle field completion and set INTVAR when
987 2011-01-14 Yao Qi <yao@codesourcery.com>
989 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
990 save_reggroup, restore_reggroup and all_reggroup.
992 2011-01-14 Joel Brobecker <brobecker@adacore.com>
994 * ada-valprint. (ada_printchar): Use the correct type length
995 in call to ada_emit_char.
996 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
998 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
1000 * solib-som.h (hpux_major_release): Declare variable here.
1001 * solib-som.c: Remove <sys/utsname.h> header.
1002 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
1003 (hpux_major_release): Make global, change default value to
1004 DEFAULT_HPUX_MAJOR_RELEASE.
1005 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
1006 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
1007 Add "solib-som.h" header.
1008 (set_hpux_major_release): New function.
1009 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
1011 2011-01-14 Mike Frysinger <vapier@gentoo.org>
1013 * configure.tgt (*-*-uclinux*): Match more Linux os targets
1015 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1017 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
1018 new-line at end of warning message.
1019 (ia64_hpux_store_register): Remove trailing new-line at end of
1021 * ia64-hpux-tdep.c: Rephrase comment.
1022 * solib-ia64-hpux.c (struct dld_info): Change type of field
1023 dld_flags from "long long" to ULONGEST.
1025 2011-01-14 Pedro Alves <pedro@codesourcery.com>
1027 * target.h (deprecated_child_ops): Delete declaration.
1028 * target.c (deprecated_child_ops): Delete definition.
1030 2011-01-14 Pedro Alves <pedro@codesourcery.com>
1032 * Makefile.in (hpux-thread.o): Delete rule.
1033 * configure.ac: Don't check for HPUX DCE threads support.
1034 * configure, config.in: Regenerate.
1035 * hppa-hpux-nat.c (child_suppress_run): Delete.
1036 (hppa_hpux_child_can_run): Delete.
1037 (_initialize_hppa_hpux_nat): Don't override to_can_run.
1038 * hpux-thread.c: Delete.
1040 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1042 * hpux-thread.c (hpux_pid_to_str): Delete.
1044 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1046 * ada-valprint.c (ada_emit_char): Remove strange code.
1047 Check that c is <= UCHAR_MAX before passing it to isascii.
1048 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
1050 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1052 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
1053 to the case where instream is stdin.
1055 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1057 * ia64-tdep.h (struct regcache): Forward declare.
1058 (struct ia64_infcall_ops): New struct type.
1059 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
1061 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
1062 Renames ia64_find_global_pointer.
1063 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
1064 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
1065 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
1067 (ia64_infcall_ops): New static global constant.
1068 (ia64_gdbarch_init): Set tdep->infcall_ops.
1069 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
1070 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
1071 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
1072 (ia64_hpux_dummy_code): New static global constant.
1073 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
1074 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
1075 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
1077 (ia64_hpux_infcall_ops): New static global constant.
1078 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
1079 for inferior function calls to work properly on ia64-hpux.
1081 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1083 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
1084 * ia64-tdep.h (struct frame_info): forward declaration.
1085 (struct gdbarch_tdep): Add field size_of_register_frame.
1086 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
1087 to determine the size of the register frame.
1088 (ia64_size_of_register_frame): New function.
1089 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
1090 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
1091 (IA64_HPUX_UREG_REASON): New macro.
1092 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
1094 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
1095 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
1096 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
1099 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1101 Add support for ia64-hpux.
1102 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
1103 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
1105 * configure.host: Add handling for ia64-hpux hosts. Add associated
1107 * configure.tgt: Add handling for ia64-hpux targets.
1108 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
1109 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
1110 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
1112 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1114 [ttrace] Compute thread list immediately after attach.
1115 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
1117 (inf_ttrace_attach): Use it.
1119 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1121 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
1122 if we could not determine the frame's function address. Instead,
1123 use the frame's PC, and then continue.
1125 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1127 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
1128 not already defined.
1130 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1132 * ia64-tdep.c (ia64_struct_type_p): New function.
1133 (ia64_extract_return_value): Handle integral values that are
1134 less than 8 bytes long.
1135 (ia64_push_dummy_call): Likewise.
1137 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1139 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
1140 floatformat_ia64_ext.
1141 (floatformat_ia64_ext_big): New static const.
1142 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
1144 2011-01-12 Tom Tromey <tromey@redhat.com>
1146 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
1148 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
1149 (mi_cmd_thread_list_ids): Likewise.
1150 (mi_cmd_data_list_changed_registers): Likewise.
1151 (mi_cmd_data_list_register_values): Likewise.
1152 (mi_cmd_data_write_register_values): Likewise.
1153 (mi_cmd_data_evaluate_expression): Likewise.
1154 (mi_cmd_data_read_memory): Likewise.
1155 (mi_cmd_data_read_memory_bytes): Likewise.
1156 (mi_cmd_data_write_memory): Likewise.
1157 (mi_cmd_enable_timings): Likewise.
1158 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
1159 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
1160 (mi_cmd_var_delete): Likewise.
1161 (mi_cmd_var_set_format): Likewise.
1162 (mi_cmd_var_show_format): Likewise.
1163 (mi_cmd_var_info_num_children): Likewise.
1164 (mi_cmd_var_list_children): Likewise.
1165 (mi_cmd_var_info_type): Likewise.
1166 (mi_cmd_var_info_expression): Likewise.
1167 (mi_cmd_var_show_attributes): Likewise.
1168 (mi_cmd_var_assign): Likewise.
1169 (mi_cmd_var_update): Likewise.
1170 (mi_cmd_enable_pretty_printing): Likewise.
1171 (mi_cmd_var_set_update_range): Likewise.
1172 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
1174 (mi_cmd_target_file_put): Likewise.
1175 (mi_cmd_target_file_delete): Likewise.
1176 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
1178 (mi_cmd_stack_info_depth): Likewise.
1179 (mi_cmd_stack_list_locals): Likewise.
1180 (mi_cmd_stack_list_args): Likewise.
1181 (mi_cmd_stack_select_frame): Likewise.
1182 (mi_cmd_stack_select_frame): Likewise.
1183 (mi_cmd_stack_info_frame): Likewise.
1184 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
1186 (mi_cmd_file_list_exec_source_files): Likewise.
1187 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
1188 (mi_cmd_env_cd): Likewise.
1189 (mi_cmd_env_path): Likewise.
1190 (mi_cmd_env_dir): Likewise.
1191 (mi_cmd_inferior_tty_show): Likewise.
1192 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
1193 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
1194 (mi_cmd_break_watch): Likewise.
1196 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
1198 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
1199 (ppc_linux_insert_hw_breakpoint): Likewise.
1200 (ppc_linux_remove_hw_breakpoint): Likewise.
1201 (ppc_linux_insert_watchpoint): Likewise.
1203 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1204 Jan Kratochvil <jan.kratochvil@redhat.com>
1206 PR fortran/11104 and DWARF unbound arrays detection.
1207 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
1208 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
1209 unspecified upper bound.
1210 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
1211 variables array_size_array, tmp_type and offset_item. New variable
1212 array. Remove call to f77_get_upperbound. New variables array_type
1213 and index. Call value_subscripted_rvalue for each dimenasion. Remove
1214 the final call to deprecated_set_value_type.
1216 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1218 Make value allocations more lazy.
1219 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
1220 instead of allocate_value and set_value_lazy when possible.
1221 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
1222 instead of allocate_value and set_value_lazy.
1223 * findvar.c (value_of_register_lazy): Likewise.
1224 (read_var_value): Remove V preallocation, call just check_typedef in
1225 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
1226 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
1227 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
1228 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
1229 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
1230 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
1231 the end, remove set_value_lazy there.
1232 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
1233 instead of allocate_value and set_value_lazy when possible.
1234 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
1235 * value.c (allocate_computed_value): Use allocate_value_lazy instead
1236 of allocate_value and set_value_lazy.
1237 (value_from_contents_and_address): Use allocate_value_lazy instead of
1238 allocate_value and set_value_lazy when possible.
1240 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1242 * disasm.c (dump_insns): Support dumping opcodes for MI.
1243 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
1244 dumping of instruction opcodes.
1246 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
1248 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
1251 2011-01-11 Tom Tromey <tromey@redhat.com>
1253 * thread.c (do_captured_thread_select): Emit newline before
1256 2011-01-11 Michael Snyder <msnyder@vmware.com>
1258 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
1259 * score-tdep.c: Ditto.
1260 * score-tdep.h: Ditto.
1261 * ser-base.c: Ditto.
1262 * ser-go32.c: Ditto.
1265 * ser-mingw.c: Ditto.
1266 * ser-pipe.c: Ditto.
1268 * ser-unix.c: Ditto.
1269 * sh64-tdep.c: Ditto.
1270 * shnbsd-nat.c: Ditto.
1274 * solib-darwin.c: Ditto.
1275 * solib-frv.c: Ditto.
1277 * solib-irix.c: Ditto.
1278 * solib-osf.c: Ditto.
1279 * solib-pa64.c: Ditto.
1280 * solib-som.c: Ditto.
1281 * solib-spu.c: Ditto.
1282 * solib-sunos.c: Ditto.
1283 * solib-svr4.c: Ditto.
1285 * sol-thread.c: Ditto.
1289 * sparc64-linux-tdep.c: Ditto.
1290 * sparc64-tdep.c: Ditto.
1291 * sparc-linux-nat.c: Ditto.
1292 * sparc-linux-tdep.c: Ditto.
1293 * sparc-sol2-nat.c: Ditto.
1294 * sparc-sol2-tdep.c: Ditto.
1295 * sparc-tdep.c: Ditto.
1296 * sparc-tdep.h: Ditto.
1297 * spu-tdep.c: Ditto.
1298 * stabsread.c: Ditto.
1299 * stabsread.h: Ditto.
1307 * target-descriptions.c: Ditto.
1308 * target-descriptions.h: Ditto.
1310 * target-memory.c: Ditto.
1311 * terminal.h: Ditto.
1314 * tracepoint.c: Ditto.
1315 * tracepoint.h: Ditto.
1316 * trad-frame.h: Ditto.
1317 * typeprint.c: Ditto.
1319 2011-01-11 Michael Snyder <msnyder@vmware.com>
1321 * ui-file.c: Comment cleanup, mostly periods and spaces.
1326 * v850-tdep.c: Ditto.
1327 * valarith.c: Ditto.
1329 * valprint.c: Ditto.
1330 * valprint.h: Ditto.
1335 * vax-tdep.c: Ditto.
1339 * windows-nat.c: Ditto.
1340 * windows-tdep.c: Ditto.
1341 * xcoffread.c: Ditto.
1342 * xcoffsolib.c: Ditto.
1343 * xml-support.c: Ditto.
1344 * xstormy16-tdep.c: Ditto.
1345 * xtensa-tdep.c: Ditto.
1346 * xtensa-tdep.h: Ditto.
1348 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1350 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
1351 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
1353 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
1354 Thiago Jung Bauermann <bauerman@br.ibm.com>
1356 Implement support for PowerPC BookE ranged watchpoints.
1358 (struct breakpoint_ops) <resources_needed>: New method.
1359 Initialize to NULL in all existing breakpoint_ops instances.
1360 (struct breakpoint) <exact>: New field.
1361 (target_exact_watchpoints): Declare external global.
1362 * breakpoint.c (target_exact_watchpoints): New global flag.
1363 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
1364 b->enable_state to bp_enabled before calling
1365 hw_watchpoint_used_count.
1366 (hw_watchpoint_used_count): Iterate over all bp_locations in a
1367 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
1369 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
1370 if the watchpoint is exact.
1371 (resources_needed_watchpoint): New function.
1372 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
1373 (watch_command_1): Set b->exact if the user asked for an exact
1374 watchpoint and one can be set.
1375 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
1376 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
1377 the user asks for an exact watchpoint and one can be set. Return
1378 number of needed debug registers to watch the expression.
1379 * gdbtypes.c (is_scalar_type): New function, based on
1380 valprint.c:scalar_type_p.
1381 (is_scalar_type_recursive): New function.
1382 * gdbtypes.h (is_scalar_type_recursive): Declare.
1383 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
1384 handle regions when ranged watchpoints are available.
1385 (create_watchpoint_request): New function.
1386 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
1387 create_watchpoint_request.
1388 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
1389 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
1390 `set powerpc' and `show powerpc' commands.
1391 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1392 Mention documentation comment in the target macro.
1393 (target_region_ok_for_hw_watchpoint): Document return value.
1395 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1397 * breakpoint.c (update_watchpoint): Decide on using a software or
1398 hardware watchpoint after the bp_locations are created.
1400 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1402 Convert hardware watchpoints to use breakpoint_ops.
1403 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
1404 <insert_location>: ... this. Return int instead of void.
1405 Accept pointer to struct bp_location instead of pointer to
1406 struct breakpoint. Adapt all implementations.
1407 (breakpoint_ops) <remove>: Rename to...
1408 <remove_location>: ... this. Accept pointer to struct bp_location
1409 instead of pointer to struct breakpoint. Adapt all implementations.
1410 * breakpoint.c (insert_catchpoint): Delete function.
1411 (insert_bp_location): Call the watchpoint or catchpoint's
1412 breakpoint_ops.insert method.
1413 (remove_breakpoint_1): Call the watchpoint or catchpoint's
1414 breakpoint_ops.remove method.
1415 (insert_watchpoint, remove_watchpoint): New functions.
1416 (watchpoint_breakpoint_ops): New structure.
1417 (watch_command_1): Initialize the OPS field.
1418 * inf-child.c (inf_child_insert_fork_catchpoint)
1419 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
1420 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
1421 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
1423 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
1424 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
1425 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
1426 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
1427 * target.c (update_current_target): Change default implementation of
1428 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
1429 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1430 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
1431 to_set_syscall_catchpoint to return_one.
1432 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
1433 (debug_to_insert_exec_catchpoint): Report return value.
1434 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
1435 (to_insert_exec_catchpoint): Change declaration to return int instead
1438 2011-01-11 Michael Snyder <msnyder@vmware.com>
1440 * arm-tdep.c: Internationalization.
1443 * fork-child.c: Ditto.
1444 * nto-procfs.c: Ditto.
1445 * ppc-sysv-tdep.c: Ditto.
1447 * remote-mips.c: Ditto.
1449 * rs6000-nat.c: Ditto.
1450 * rs6000-tdep.c: Ditto.
1454 * xml-support.c: Ditto.
1455 * mi/mi-cmd-break.c: Ditto.
1456 * mi/mi-cmd-var.c: Ditto.
1457 * mi/mi-interp.c: Ditto.
1458 * mi/mi-main.c: Ditto.
1460 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
1462 * remote-sim.c (gdbsim_store_register): Update API to
1463 sim_store_register to check more error conditions.
1465 2011-01-10 Michael Snyder <msnyder@vmware.com>
1467 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1468 * nto-tdep.c: Ditto.
1469 * nto-tdep.h: Ditto.
1470 * objc-exp.y: Ditto.
1471 * objc-lang.c: Ditto.
1472 * objfiles.c: Ditto.
1473 * objfiles.h: Ditto.
1474 * observer.c: Ditto.
1475 * opencl-lang.c: Ditto.
1478 * parser-defs.h: Ditto.
1481 * posix-hdep.c: Ditto.
1482 * ppcbug-rom.c: Ditto.
1483 * ppc-linux-nat.c: Ditto.
1484 * ppc-linux-tdep.c: Ditto.
1485 * ppc-linux-tdep.h: Ditto.
1486 * ppcnbsd-tdep.c: Ditto.
1487 * ppcobsd-tdep.c: Ditto.
1488 * ppcobsd-tdep.h: Ditto.
1489 * ppc-sysv-tdep.c: Ditto.
1490 * ppc-tdep.h: Ditto.
1491 * printcmd.c: Ditto.
1492 * proc-abi.c: Ditto.
1493 * proc-flags.c: Ditto.
1495 * proc-utils.h: Ditto.
1496 * progspace.h: Ditto.
1497 * prologue-value.c: Ditto.
1498 * prologue-value.h: Ditto.
1499 * psympriv.h: Ditto.
1501 * p-typeprint.c: Ditto.
1502 * p-valprint.c: Ditto.
1503 * ravenscar-sparc-thread.c: Ditto.
1504 * ravenscar-thread.c: Ditto.
1505 * ravenscar-thread.h: Ditto.
1507 * regcache.c: Ditto.
1508 * regcache.h: Ditto.
1510 * remote-fileio.c: Ditto.
1511 * remote-fileio.h: Ditto.
1513 * remote-m32r-sdi.c: Ditto.
1514 * remote-mips.c: Ditto.
1515 * remote-sim.c: Ditto.
1516 * rs6000-aix-tdep.c: Ditto.
1517 * rs6000-nat.c: Ditto.
1518 * rs6000-tdep.c: Ditto.
1520 2011-01-10 Michael Snyder <msnyder@vmware.com>
1522 * charset.c (validate): Internationalization.
1523 * coffread.c (read_one_sym): Ditto.
1524 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1525 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1526 * inflow.c (new_tty): Ditto.
1527 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1528 * m32c-tdep.c (m32c_return_value): Ditto.
1529 * mep-tdep.c (mep_store_return_value): Ditto.
1530 * score-tdep.c (score7_fetch_insn): Ditto.
1531 * ser-mingw.c (pipe_windows_open): Ditto.
1532 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1533 * spu-tdep.c (spu_register_type): Ditto.
1534 * tracepoint.c (trace_find_command): Ditto.
1535 * valarith.c (value_pos): Ditto.
1537 2011-01-10 Joel Brobecker <brobecker@adacore.com>
1539 * ada-valprint.c (printstr): Minor comment reformatting.
1541 2011-01-08 Michael Snyder <msnyder@vmware.com>
1543 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1546 2011-01-08 Michael Snyder <msnyder@vmware.com>
1548 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1549 * hppa-hpux-tdep.c: Ditto.
1550 * hppa-linux-nat.c: Ditto.
1551 * hppa-linux-tdep.c: Ditto.
1552 * hppanbsd-tdep.c: Ditto.
1553 * hppa-tdep.c: Ditto.
1554 * hppa-tdep.h: Ditto.
1555 * hpux-thread.c: Ditto.
1556 * i386-cygwin-tdep.c: Ditto.
1557 * i386-darwin-nat.c: Ditto.
1558 * i386gnu-nat.c: Ditto.
1559 * i386-linux-nat.c: Ditto.
1560 * i386-linux-tdep.c: Ditto.
1561 * i386-nat.c: Ditto.
1562 * i386-nat.h: Ditto.
1563 * i386nbsd-tdep.c: Ditto.
1564 * i386-sol2-nat.c: Ditto.
1565 * i386-stub.c: Ditto.
1566 * i386-tdep.c: Ditto.
1567 * i386-tdep.h: Ditto.
1568 * i387-tdep.c: Ditto.
1569 * ia64-linux-nat.c: Ditto.
1570 * ia64-linux-tdep.c: Ditto.
1571 * ia64-tdep.c: Ditto.
1575 * inferior.c: Ditto.
1576 * inferior.h: Ditto.
1582 * iq2000-tdep.c: Ditto.
1583 * irix5-nat.c: Ditto.
1589 * jv-typeprint.c: Ditto.
1590 * jv-valprint.c: Ditto.
1591 * language.c: Ditto.
1592 * language.h: Ditto.
1593 * linespec.c: Ditto.
1594 * linux-fork.c: Ditto.
1595 * linux-nat.c: Ditto.
1596 * linux-thread-db.c: Ditto.
1597 * lm32-tdep.c: Ditto.
1599 2011-01-08 Michael Snyder <msnyder@vmware.com>
1601 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1603 * m2-typeprint.c: Ditto.
1604 * m2-valprint.c: Ditto.
1605 * m32c-tdep.c: Ditto.
1606 * m32r-linux-nat.c: Ditto.
1607 * m32r-rom.c: Ditto.
1608 * m32r-tdep.c: Ditto.
1609 * m32r-tdep.h: Ditto.
1610 * m68hc11-tdep.c: Ditto.
1611 * m58klinux-nat.c: Ditto.
1612 * m68k-tdep.c: Ditto.
1613 * m88k-tdep.c: Ditto.
1614 * m88k-tdep.h: Ditto.
1615 * machoread.c: Ditto.
1616 * macrocmd.c: Ditto.
1617 * macroexp.c: Ditto.
1618 * macrotab.c: Ditto.
1621 * mdebugread.c: Ditto.
1622 * mdebugread.h: Ditto.
1625 * memory-map.h: Ditto.
1626 * mep-tdep.c: Ditto.
1627 * microblaze-rom.c: Ditto.
1628 * microblaze-tdep.c: Ditto.
1630 * mips-irix-tdep.c: Ditto.
1631 * mips-linux-nat.c: Ditto.
1632 * mips-linux-tdep.c: Ditto.
1633 * mips-linux-tdep.h: Ditto.
1634 * mipsnbsd-nat.c: Ditto.
1635 * mipsnbsd-tdep.c: Ditto.
1636 * mipsread.c: Ditto.
1637 * mips-tdep.c: Ditto.
1638 * mips-tdep.h: Ditto.
1639 * mn10300-linux-tdep.c: Ditto.
1640 * mn10300-tdep.c: Ditto.
1641 * mn10300-tdep.h: Ditto.
1644 * moxie-tdep.c: Ditto.
1645 * moxie-tdep.h: Ditto.
1648 2011-01-08 Mike Frysinger <vapier@gentoo.org>
1650 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1652 2011-01-08 Robert Millan <rmh@gnu.org>
1654 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1656 2011-01-07 Michael Snyder <msnyder@vmware.com>
1658 * charset.c (_initialize_charset): Fix typo in string.
1660 2011-01-07 Michael Snyder <msnyder@vmware.com>
1662 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1664 * tui/tui-layout.c (tui_set_layout_for_display_command):
1665 Split line so that operator goes to beginning of line.
1666 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1667 assignment out of if statement.
1669 2011-01-07 Michael Snyder <msnyder@vmware.com>
1671 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1672 * ada-lang.h: Ditto.
1673 * ada-tasks.c: Ditto.
1674 * ada-valprint.c: Ditto.
1675 * aix-threads.c: Ditto.
1676 * alpha-linux-nat.c: Ditto.
1677 * alpha-linux-tdep.c: Ditto.
1678 * alpha-mdebug-tdep.c: Ditto.
1679 * alpha-nat.c: Ditto.
1680 * alpha-osf1-tdep.c: Ditto.
1681 * alpha-tdep.c: Ditto.
1682 * alphabsd-nat.c: Ditto.
1683 * alphabsd-tdep.c: Ditto.
1684 * amd64-darwin-tdep.c: Ditto.
1685 * amd64-linux-nat.c: Ditto.
1686 * amd64-linux-tdep.c: Ditto.
1687 * amd64-sol2-tdep.c: Ditto.
1688 * amd64-tdep.c: Ditto.
1689 * amd64-fbsd-tdep.c: Ditto.
1690 * amd64-nbsd-tdep.c: Ditto.
1691 * amd64-obsd-tdep.c: Ditto.
1692 * amd64-linux-nat.c: Ditto.
1693 * amd64-linux-tdep.c: Ditto.
1694 * arm-tdep.c: Ditto.
1695 * arm-tdep.h: Ditto.
1696 * armnbsd-nat.c: Ditto.
1697 * avr-tdep.c: Ditto.
1698 * bfin-tdep.c: Ditto.
1700 * c-typeprintc: Ditto.
1701 * c-valprint.c: Ditto.
1702 * coff-pe-read.h: Ditto.
1703 * coffreead.c: Ditto.
1704 * cris-tdep.c: Ditto.
1706 * darwin-nat-info.c: Ditto.
1707 * darwin-nat.c: Ditto.
1708 * dbug-rom.c: Ditto.
1712 * dec-thread.c: Ditto.
1714 * demangle.c: Ditto.
1715 * dicos-tdep.c: Ditto.
1716 * dictionary.c: Ditto.
1717 * dictionary.h: Ditto.
1718 * dink32-rom.c: Ditto.
1720 * doublest.c: Ditto.
1722 * dummy-frame.c: Ditto.
1723 * dwarf2-frame.c: Ditto.
1724 * dwarf2expr.c: Ditto.
1725 * dwarf2loc.c: Ditto.
1726 * dwarf2read.c: Ditto.
1730 * event-top.h: Ditto.
1731 * exceptions.c: Ditto.
1732 * exceptions.h: Ditto.
1734 * expprint.c: Ditto.
1735 * expression.h: Ditto.
1739 * f-typeprint.c: Ditto.
1740 * f-valprint.c: Ditto.
1741 * fbsd-nat.c: Ditto.
1743 * fork-child.c: Ditto.
1746 * frv-linux-tdep.c: Ditto.
1747 * frv-tdep.c: Ditto.
1749 * gdb-stabs.h: Ditto.
1750 * gdb_assert.h: Ditto.
1751 * gdb_string.h: Ditto.
1752 * gdb_thread_db.h: Ditto.
1753 * gdb_wait.h: Ditto.
1754 * gdbarch.sh: Ditto.
1756 * gdbthread.h: Ditto.
1757 * gdbtypes.c: Ditto.
1758 * gdbtypes.h: Ditto.
1761 * gnu-v2-abi.c: Ditto.
1762 * gnu-v3-abi.c: Ditto.
1763 * go32-nat.c: Ditto.
1764 * gdbarch.c: Regenerate.
1765 * gdbarch.h: Regenerate.
1767 2011-01-07 Michael Snyder <msnyder@vmware.com>
1769 * ax-gdb.c: Adjust some long output strings.
1770 * breakpoint.c: Ditto.
1775 * linux-nat.c: Ditto.
1776 * solib-pa64.c: Ditto.
1777 * solib-som.c: Ditto.
1779 2011-01-06 Tom Tromey <tromey@redhat.com>
1783 * python/python.c (GdbMethods): Add "newest_frame" method.
1784 * python/python-internal.h (gdbpy_newest_frame): Declare.
1785 * python/py-frame.c (gdbpy_newest_frame): New function.
1787 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1789 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1790 * jit.c (jit_debug): New variable.
1791 (show_jit_debug): New function.
1792 (struct target_buffer): Use ULONGEST.
1793 (bfd_open_from_target_memory): Likewise.
1794 (jit_register_code, jit_inferior_init): Add debug output.
1795 (_initialize_jit): Register "debug jit" command.
1797 2011-01-06 Tom Tromey <tromey@redhat.com>
1799 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1800 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1803 2011-01-06 Tom Tromey <tromey@redhat.com>
1805 * python/py-frame.c (frapy_block): Use get_frame_block.
1807 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1809 Do not stop on SIGPRIO signals by default
1810 * infrun.c (_initialize_infrun): Unset signal_stop and
1811 signal_print for TARGET_SIGNAL_PRIO.
1813 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1815 * ada-tasks.c: Fix style violation in comment.
1817 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1819 * linespec.c (decode_compound, find_method): Remove trailing \n
1820 at end of error string.
1821 * solib-irix.c (irix_current_sos): Likewise.
1822 * varobj.c (uninstall_variable): Likewise.
1824 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1826 * copyright.py: New script.
1827 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1828 Launch emacs without exec'ing. Call copyright.py afterwards.
1830 2011-01-05 Michael Snyder <msnyder@vmware.com>
1832 * addrmap.c: Shorten lines of >= 80 columns.
1833 * arch-utils.c: Ditto.
1834 * arch-utils.h: Ditto.
1836 * ax-general.c: Ditto.
1838 * blockframe.c: Ditto.
1839 * breakpoint.c: Ditto.
1840 * buildsym.c: Ditto.
1842 * c-typeprint.c: Ditto.
1844 * coffread.c: Ditto.
1848 * cp-namespace.c: Ditto.
1849 * cp-support.c: Ditto.
1850 * dbug-rom.c: Ditto.
1855 * dictionary.c: Ditto.
1857 * doublest.c: Ditto.
1858 * dwarf2-frame.c: Ditto.
1859 * dwarf2expr.c: Ditto.
1860 * dwarf2loc.c: Ditto.
1861 * dwarf2read.c: Ditto.
1864 * event-loop.c: Ditto.
1865 * event-loop.h: Ditto.
1866 * exceptions.h: Ditto.
1868 * expprint.c: Ditto.
1869 * expression.h: Ditto.
1871 * f-valprint.c: Ditto.
1873 * frame-base.c: Ditto.
1874 * frame-unwind.c: Ditto.
1875 * frame-unwind.h: Ditto.
1879 * gdb-stabs.h: Ditto.
1880 * gdb_assert.h: Ditto.
1881 * gdb_dirent.h: Ditto.
1882 * gdb_obstack.h: Ditto.
1884 * gdbtypes.c: Ditto.
1885 * gdbtypes.h: Ditto.
1886 * inf-ttrace.c: Ditto.
1891 * inline-frame.h: Ditto.
1892 * language.c: Ditto.
1893 * language.h: Ditto.
1894 * libunwind-frame.c: Ditto.
1895 * libunwind-frame.h: Ditto.
1896 * linespec.c: Ditto.
1897 * linux-nat.c: Ditto.
1898 * linux-nat.h: Ditto.
1899 * linux-thread-db.c: Ditto.
1900 * machoread.c: Ditto.
1901 * macroexp.c: Ditto.
1902 * macrotab.c: Ditto.
1905 * mdebugread.c: Ditto.
1910 * objfiles.c: Ditto.
1911 * objfiles.h: Ditto.
1913 * p-typeprint.c: Ditto.
1914 * p-valprint.c: Ditto.
1916 * printcmd.c: Ditto.
1917 * proc-events.c: Ditto.
1919 * progspace.c: Ditto.
1920 * progspace.h: Ditto.
1921 * psympriv.h: Ditto.
1924 * regcache.c: Ditto.
1925 * regcache.h: Ditto.
1926 * remote-fileio.c: Ditto.
1928 * ser-mingw.c: Ditto.
1930 * ser-unix.c: Ditto.
1933 * solib-frv.c: Ditto.
1934 * solib-irix.c: Ditto.
1935 * solib-osf.c: Ditto.
1936 * solib-pa64.c: Ditto.
1937 * solib-som.c: Ditto.
1938 * solib-sunos.c: Ditto.
1939 * solib-svr4.c: Ditto.
1940 * solib-target.c: Ditto.
1944 * stabsread.c: Ditto.
1945 * stabsread.c: Ditto.
1948 * symfile-mem.c: Ditto.
1954 * target-descriptions.c: Ditto.
1955 * target-memory.c: Ditto.
1958 * terminal.h: Ditto.
1961 * tracepoint.c: Ditto.
1962 * tracepoint.h: Ditto.
1966 * user-regs.c: Ditto.
1967 * user-regs.h: Ditto.
1969 * valarith.c: Ditto.
1971 * valprint.c: Ditto.
1972 * valprint.h: Ditto.
1977 * xcoffread.c: Ditto.
1978 * xcoffsolib.c: Ditto.
1979 * xcoffsolib.h: Ditto.
1980 * xml-syscall.c: Ditto.
1981 * xml-tdesc.c: Ditto.
1983 2011-01-05 Michael Snyder <msnyder@vmware.com>
1985 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1986 * cli/cli-decode.c: Ditto.
1987 * cli/cli-dump.c: Ditto.
1988 * cli/cli-logging.c: Ditto.
1989 * cli/cli-script.c: Ditto.
1990 * cli/cli-setshow.c: Ditto.
1991 * common/signals.c: Ditto.
1992 * mi/mi-cmd-break.c: Ditto.
1993 * mi/mi-cmd-disas.c: Ditto.
1994 * mi/mi-cmd-stack.c: Ditto.
1995 * mi/mi-cmd-var.c: Ditto.
1996 * mi/mi-cmds.c: Ditto.
1997 * mi/mi-common.h: Ditto.
1998 * mi/mi-console.c: Ditto.
1999 * mi/mi-interp.c: Ditto.
2000 * mi/mi-main.c: Ditto.
2001 * osf-share/cma_attr.c: Ditto.
2002 * osf-share/cma_deb_core.h: Ditto.
2003 * osf-share/cma_debug_client.h: Ditto.
2004 * osf-share/cma_handle.h: Ditto.
2005 * osf-share/cma_mutex.h: Ditto.
2006 * osf-share/cma_stack_int.h: Ditto.
2007 * osf-share/cma_tcb_defs.h: Ditto.
2008 * python/py-auto-load.c: Ditto.
2009 * python/py-breakpoint.c: Ditto.
2010 * python/py-cmd.c: Ditto.
2011 * python/py-frame.c: Ditto.
2012 * python/py-objfile.c: Ditto.
2013 * python/py-param.c: Ditto.
2014 * python/py-progspace.c: Ditto.
2015 * python/py-symbol.c: Ditto.
2016 * python/py-value.c: Ditto.
2017 * python/python-internal.h: Ditto.
2018 * python/python.c: Ditto.
2019 * tui/tui-data.c: Ditto.
2020 * tui/tui-disasm.c: Ditto.
2021 * tui/tui-hooks.c: Ditto.
2022 * tui/tui-io.c: Ditto.
2023 * tui/tui-layout.c: Ditto.
2024 * tui/tui-regs.c: Ditto.
2025 * tui/tui-source.c: Ditto.
2026 * tui/tui-stack.c: Ditto.
2027 * tui/tui-win.c: Ditto.
2028 * tui/tui-windata.c: Ditto.
2029 * tui/tui-winsource.c: Ditto.
2031 2011-01-05 Joel Brobecker <brobecker@adacore.com>
2033 * configure.ac, gdb.1: Copyright year update.
2035 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2037 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
2038 this_pc_in_block, morestack_msym and morestack_name. Check for
2039 "__morestack" minimal symbol there.
2041 2011-01-03 Joel Brobecker <brobecker@adacore.com>
2043 * symfile.c (find_sym_fns): Add call to dont_repeat.
2045 2011-01-01 Joel Brobecker <brobecker@adacore.com>
2047 Copyright year update in most files (performed by copyright.sh).
2049 2011-01-01 Joel Brobecker <brobecker@adacore.com>
2051 * top.c (print_gdb_version): Update copyright year in version output.
2053 For older changes see ChangeLog-2010.
2059 version-control: never