1 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3 * value.h (unpack_bits_as_long): Delete declaration.
4 (unpack_value_bits_as_long): Declare.
5 (unpack_value_field_as_long): Declare.
6 (value_field_bitfield): Declare.
7 * value.c (unpack_bits_as_long): Rename to...
8 (unpack_value_bits_as_long_1): ... this. Add embedded_offset and
9 value parameters. Return the extracted result in a new output
10 parameter. If the value contents are unavailable, return false,
11 otherwise return true.
12 (unpack_value_bits_as_long): New.
13 (unpack_field_as_long): Rename to...
14 (unpack_value_field_as_long_1): ... this. Add embedded_offset and
15 Add embedded_offset and value parameters. Return the extracted
16 result in a new output parameter. If the value contents are
17 unavailable, return false, otherwise return true.
18 (unpack_value_field_as_long): New.
19 (unpack_field_as_long_1): New.
20 (unpack_field_as_long): Reimplement as wrapper around
21 unpack_value_field_as_long_1.
22 (value_field_bitfield): New function.
23 * valops.c (value_fetch_lazy): When fetching a bitfield, use
24 unpack_value_bits_as_long. Mark the value as unavailable, if it
26 * jv-valprint.c (java_print_value_fields): Use
28 * p-valprint.c (pascal_object_print_value_fields): Use
30 * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield.
32 2011-02-14 Pedro Alves <pedro@codesourcery.com>
34 * value.c (get_internalvar_integer): Also return the int value of
35 TYPE_CODE_INT INTERNALVAR_VALUE values.
36 (set_internalvar): Don't special case TYPE_CODE_INT.
38 2011-02-14 Pedro Alves <pedro@codesourcery.com>
40 * value.c (struct internalvar) <enum internalvar_kind>: Remove
43 (value_of_internalvar): Remove INTERNALVAR_POINTER handling.
44 (set_internalvar): Remove special TYPE_CODE_PTR handling.
45 (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling.
47 2011-02-14 Pedro Alves <pedro@codesourcery.com>
49 * value.h (value_available_contents_eq): Declare.
50 * value.c (find_first_range_overlap): New function.
51 (value_available_contents_eq): New function.
52 * valprint.c (val_print_array_elements): Use
53 value_available_contents_eq.
54 * ada-valprint.c (val_print_packed_array_elements): Use
55 value_available_contents_eq.
56 * jv-valprint.c (java_value_print): Use
57 value_available_contents_eq.
59 2011-02-14 Pedro Alves <pedro@codesourcery.com>
61 * target.c (target_read_live_memory): New function.
62 (memory_xfer_live_readonly_partial): New.
63 (memory_xfer_partial): If reading from a traceframe, fallback to
64 reading unavailable read-only memory from read-only regions of
66 * tracepoint.c (disconnect_tracing): Adjust.
67 (set_current_traceframe): New, factored out from
68 set_traceframe_number.
69 (set_traceframe_number): Reimplement to only change the traceframe
70 number on the GDB side.
71 (do_restore_current_traceframe_cleanup): Adjust.
72 (make_cleanup_restore_traceframe_number): New.
73 (cur_traceframe_number): New global.
74 (tfile_open): Set cur_traceframe_number to no traceframe.
75 (set_tfile_traceframe): New function.
76 (tfile_trace_find): If looking up a traceframe using any method
77 other than by number, make sure the current tfile traceframe
78 matches gdb's current traceframe. Update the current tfile
79 traceframe if the lookup succeeded.
80 (tfile_fetch_registers, tfile_xfer_partial)
81 (tfile_get_trace_state_variable_value): Make sure the remote
82 traceframe matches gdb's current traceframe.
83 * remote.c (remote_traceframe_number): New global.
84 (remote_open_1): Set it to -1.
85 (set_remote_traceframe): New function.
86 (remote_fetch_registers, remote_store_registers)
87 (remote_xfer_memory, remote_xfer_partial)
88 (remote_get_trace_state_variable_value): Make sure the remote
89 traceframe matches gdb's current traceframe.
90 (remote_trace_find): If looking up a traceframe using any method
91 other than by number, make sure the current remote traceframe
92 matches gdb's current traceframe. Update the current remote
93 traceframe if the lookup succeeded.
94 * infrun.c (fetch_inferior_event): Adjust.
95 * tracepoint.h (set_current_traceframe): Declare.
96 (get_traceframe_number, set_traceframe_number): Add describing
99 2011-02-14 Pedro Alves <pedro@codesourcery.com>
101 Mark pieces of values as unavailable if the corresponding memory
104 * valops.c: Include tracepoint.h.
105 (value_fetch_lazy): Use read_value_memory.
106 (read_value_memory): New.
107 * value.h (read_value_memory): Declare.
108 * dwarf2loc.c (read_pieced_value): Use read_value_memory.
109 * exec.c (section_table_available_memory): New function.
110 * exec.h (section_table_available_memory): Declare.
112 2011-02-14 Pedro Alves <pedro@codesourcery.com>
114 * Makefile.in (SFILES): Add memrange.c.
115 (HFILES_NO_SRCDIR): Add memrange.h.
116 (COMMON_OBS): Add memrange.o.
117 * memrange.c: New file.
118 * memrange.h: New file.
119 * tracepoint.c: Include memrange.h.
120 (struct mem_range): Delete.
121 (mem_range_s): Delete.
122 (traceframe_available_memory): New function.
123 * tracepoint.h (traceframe_available_memory): Declare.
125 2011-02-14 Pedro Alves <pedro@codesourcery.com>
127 * target.h (struct traceframe_info): Forward declare.
128 (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
129 (struct target_ops) <to_traceframe_info>: New field.
130 (target_traceframe_info): New.
131 * target.c (update_current_target): Inherit and default
133 * remote.c (PACKET_qXfer_traceframe_info): New.
134 (remote_protocol_features): Register qXfer:traceframe-info:read.
135 (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
136 (remote_traceframe_info): New.
137 (init_remote_ops): Install it.
138 (_initialize_remote): Install "set/show remote traceframe-info"
140 * tracepoint.h (parse_traceframe_info): Declare.
141 * tracepoint.c (struct mem_range): New.
142 (mem_range_s): New typedef.
143 (struct traceframe_info): New.
144 (traceframe_info): New global.
145 (free_traceframe_info): New function.
146 (clear_traceframe_info): New function.
147 (start_tracing, tfind_1, set_traceframe_number): Clear traceframe
149 (build_traceframe_info): New function.
150 (tfile_traceframe_info): New function.
151 (init_tfile_ops): Install tfile_traceframe_info.
152 (traceframe_info_start_memory, free_result): New functions.
153 (memory_attributes, traceframe_info_elements): New globals.
154 (parse_traceframe_info, get_traceframe_info): New functions.
155 * features/traceframe-info.dtd: New file.
156 * Makefile.in (XMLFILES): Add traceframe-info.dtd.
158 2011-02-14 Pedro Alves <pedro@codesourcery.com>
160 Base support for <unavailable> value contents.
162 * value.h (value_bytes_available): Declare.
163 (mark_value_bytes_unavailable): Declare.
164 * value.c (struct range): New struct.
165 (range_s): New typedef.
166 (ranges_overlap): New function.
167 (range_lessthan): New function.
168 (ranges_contain_p): New function.
169 (struct value) <unavailable>: New field.
170 (value_bytes_available): New function.
171 (mark_value_bytes_unavailable): New function.
172 (require_not_optimized_out): Constify parameter.
173 (require_available): New function.
174 (value_contents_all, value_contents): Require all bytes be
176 (value_free): Free `unavailable'.
177 (value_copy): Copy `unavailable'.
178 * valprint.h (val_print_unavailable): Declare.
179 * valprint.c (valprint_check_validity): Rename `offset' parameter
180 to `embedded_offset'. If printing a scalar, check whether the
181 value chunk is available.
182 (val_print_unavailable): New.
183 (val_print_scalar_formatted): Check whether the value is
185 * python/py-prettyprint.c (apply_val_pretty_printer): Refuse
186 pretty-printing unavailable values.
188 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
190 Fix const/volatile qualifiers of C++ types, PR c++/12328.
191 * c-typeprint.c (c_type_print_args): Update the function comment. New
192 variable param_type, initialize it. Remove const/volatile qualifiers
193 for language_cplus and !show_artificial. Use param_type.
195 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
197 * symtab.c (find_pc_sect_line): New variable objfile, initialize it
198 from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S.
199 * symtab.h (struct symtab) <next>: Comment extension.
201 2011-02-12 Yao Qi <yao@codesourcery.com>
203 * Makefile.in (CLEANDIRS): Remove duplicated common dir.
205 2011-02-11 Pedro Alves <pedro@codesourcery.com>
207 * infrun.c (proceed): Move switching out and in of tfind mode from
209 (fetch_inferior_event): ... to here.
211 2011-02-11 Yao Qi <yao@codesourcery.com>
213 * Makefile.in: Remove signals.o from COMMON_OBS. Link
215 * configure.ac: Add common to sub dir.
216 * configure: Regenerate.
218 2011-02-10 Pedro Alves <pedro@codesourcery.com>
220 * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
221 side of the parenthesis.
224 2010-07-13 Jakub Jelinek <jakub@redhat.com>
225 * vec.h (VEC_block_remove): Fix comment.
227 2011-02-08 Michael Snyder <msnyder@vmware.com>
229 * linux-nat.c (linux_nat_filter_event): Fix typo in comment.
231 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
233 * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
234 in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
237 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
240 * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
242 (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
243 (i386_process_record) <0x0f3807>: Fix the comment to phsubsw.
245 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
247 * dwarf2read.c (read_subroutine_type): Set special calling
248 convention flag for functions compiled by IBM XL C for OpenCL.
249 * ppc-sysv-tdep.c: Include "dwarf2.h"
250 (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
252 (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement
253 IBM OpenCL vector types calling convention.
254 (ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
255 (ppc_sysv_abi_broken_return_value): Likewise.
256 (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
257 types calling convention.
258 (ppc64_sysv_abi_return_value): Likewise.
259 * spu-tdep.c: Include "dwarf2.h"
260 (spu_return_value): Implement IBM OpenCL vector types calling
263 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
265 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
266 correct ABI for AltiVec vector arguments.
268 2011-02-07 Pedro Alves <pedro@codesourcery.com>
270 * valprint.c (val_print): Extend comment.
271 * ada-valprint.c (ada_valprint): Rewrite comment deferring
272 interface explanation to val_print.
273 (ada_val_print_array): Adjust comment to current interface.
274 (print_field_values): Adjust comment to current interface.
275 * c-valprint.c (c_val_print): Rewrite comment deferring interface
276 explanation to val_print.
277 * f-valprint.c (f_val_print): Ditto.
278 * jv-valprint.c (java_val_print): Ditto.
279 * m2-valprint.c (m2_val_print): Ditto.
280 * p-valprint.c (pascal_val_print): Ditto.
282 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
284 * breakpoint.c (parse_breakpoint_sals): Fix description.
286 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
287 Oguz Kayral <oguzkayral@gmail.com>
289 * python/py-inferior.c (python_on_normal_stop): New function.
290 (python_on_resume): New function.
291 (python_inferior_exit): New function.
292 (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
293 inferior_exit observers.
294 * python/py-evtregistry.c: New file.
295 * python/py-threadevent.c : New file.
296 * python/py-event.c: New file.
297 * python/py-evts.c: New file.
298 * python/py-continueevent.c: New file.
299 * python/py-bpevent.c: New file.
300 * python/py-signalevent.c: New file.
301 * python/py-exetiedevent.c: New file.
302 * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
303 Move struct breakpoint_object from here...
304 * python/python-internal.h: ... to here.
305 * python/py-event.h: New file.
306 * python/py-events.h: New file.
307 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
308 py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
309 py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
310 (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
311 py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
312 py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
313 Add build rules for all the above.
315 2011-02-04 Tom Tromey <tromey@redhat.com>
317 * dwarf2read.c (dwarf2_section_empty_p): New function.
318 (dwarf2_read_section): Use dwarf2_section_empty_p.
319 (dwarf2_section_size): New function.
320 (dwarf2_get_section_info): Unconditionally read section.
321 (dwarf2_read_index): Use dwarf2_section_empty_p.
322 (partial_read_comp_unit_head): Use dwarf2_section_size.
323 (dwarf2_symbol_mark_computed): Likewise.
325 2011-02-04 David Daney <ddaney@caviumnetworks.com>
327 * NEWS: Add item for "catch syscall" on mips*-linux* targets.
329 2011-02-04 David Daney <ddaney@caviumnetworks.com>
331 * mips-linux-tdep.c: Include xml-syscall.h.
332 (mips_linux_get_syscall_number): New function.
333 (mips_linux_init_abi): Add calls to
334 mips_linux_get_syscall_number() and set_xml_syscall_file_name().
335 * data-directory/Makefile.in (SYSCALLS_FILES): Add
336 mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
337 * syscalls/mips-n32-linux.xml: New file.
338 * syscalls/mips-n64-linux.xml: New file.
339 * syscalls/mips-o32-linux.xml: New file.
341 2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org>
343 * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
344 Complain about inverted range entries.
345 (dwarf2_record_block_ranges): Likewise.
347 2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
350 * breakpoint.c (update_watchpoint): Fix name of the
351 update_global_location_list function.
352 (print_one_breakpoint): Fix typo.
353 (_initialize_breakpoint): Remove extra space in hbreak help
355 * breakpoint.h (struct bp_location) <length>: Fix field
358 2011-02-04 Pedro Alves <pedro@codesourcery.com>
360 * regcache.c (registers_changed_ptid): Don't explictly always
361 clear `current_regcache'. Only clear current_thread_ptid and
362 current_thread_arch when PTID matches. Only reinit the frame
363 cache if PTID matches the current inferior_ptid. Move alloca(0)
365 (registers_changed): ... here.
367 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org>
369 * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
370 starts with __stack_chk_guard as stack guard symbol.
372 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
374 * disasm.c (compare_lines): Handle the end of sequence markers
375 within the line table to better support disassembling over
376 compilation unit boundaries.
378 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
380 * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
381 arguments. Skip in-prologue calls to glibc __aeabi_read_tp
382 implementation even if no symbols are available.
383 (thumb_analyze_prologue): Update call to skip_prologue_function.
384 (arm_analyze_prologue): Likewise.
386 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
388 * arm-tdep.c: Include "observer.h".
389 (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
390 (arm_exidx_data_key): New static variable.
391 (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
392 (struct arm_exidx_data): Likewise.
393 (arm_exidx_data_free): New function.
394 (arm_compare_exidx_entries): Likewise.
395 (arm_obj_section_from_vma): Likewise.
396 (arm_exidx_new_objfile): Likewise.
397 (arm_find_exidx_entry): Likewise.
398 (arm_exidx_fill_cache): Likewise.
399 (arm_exidx_unwind_sniffer): Likewise.
400 (arm_exidx_unwind): New global variable.
401 (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
402 (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
403 observer. Register arm_exidx_data_key as objfile data.
405 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
407 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
408 due to accessing uninitialized variable. Fix indentation.
410 2011-02-02 Pedro Alves <pedro@codesourcery.com>
412 * c-valprint.c (c_value_print): When doing virtual base pointer
413 adjustment, create a new value with adjusted contents rather than
414 changing the contents of the value being printed (and getting it
417 2011-02-02 Pedro Alves <pedro@codesourcery.com>
419 * xml-support.c (xml_find_attribute): New.
420 (xinclude_start_include): Use it.
421 * xml-support.h (xml_find_attribute): Declare.
422 * memory-map.c (memory_map_start_memory)
423 (memory_map_start_property): Use xml_find_attribute.
424 * osdata.c (osdata_start_osdata, osdata_start_column): Use
426 * remote.c (start_thread): Use xml_find_attribute.
427 * solib-target.c (library_list_start_segment)
428 (library_list_start_section, library_list_start_library)
429 (library_list_start_list): Use xml_find_attribute.
430 * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
431 (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
432 (tdesc_start_field): Use xml_find_attribute.
434 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com>
436 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
437 (BUILD_OCL_VTYPES): Update.
439 2011-02-02 Joel Brobecker <brobecker@adacore.com>
441 * configure.ac: Work around non-GNU sed limitation when computing
442 python version number.
443 * configure: Regenerate.
445 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
447 Fix debug printing of TYPE_INSTANCE.
448 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
449 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
451 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
453 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
454 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
455 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
456 * ada-operator.inc: Rename the file to ...
457 * ada-operator.def: ... here, wrap all the entries by macro OP.
458 * expprint.c (op_name_standard): Remove all the entries. Include
459 "std-operator.def" instead.
460 * expression.h (enum exp_opcode): Include "std-operator.def" and
461 "ada-operator.def". Move all the entries ...
462 * std-operator.def: ... here, wrap all the entries by macro OP.
464 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
466 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
467 * breakpoint.c (remove_jit_event_breakpoints): New function.
468 * jit.c (jit_descriptor_addr): Delete.
469 (registering_code): Delete.
471 (jit_inferior_data): New variable.
472 (struct jit_inferior_data): New type.
473 (get_jit_inferior_data): New function.
474 (jit_inferior_data_cleanup): New function.
475 (jit_read_descriptor): Adjust.
476 (jit_register_code): Adjust.
477 (jit_breakpoint_re_set_internal): New function; move code here ...
478 (jit_inferior_init): ... from here.
479 (jit_breakpoint_re_set): Adjust.
480 (jit_reset_inferior_data_and_breakpoints): New function.
481 (jit_inferior_created_observer): Adjust.
482 (jit_inferior_exit_hook): Adjust.
483 (jit_executable_changed_observer): New function.
484 (jit_event_handler): Adjust.
485 (_initialize_jit): Adjust.
487 2011-01-31 Michael Snyder <msnyder@vmware.com>
489 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
492 2011-01-31 Tom Tromey <tromey@redhat.com>
495 * python/python.c (execute_gdb_command): Call
497 * top.c (suppress_dont_repeat): New global.
498 (dont_repeat): Use it.
499 (prevent_dont_repeat): New function.
500 * command.h (prevent_dont_repeat): Declare.
502 2011-01-31 Tom Tromey <tromey@redhat.com>
504 * infcmd.c (finish_backward): Use breakpoint_set_silent.
505 * python/py-breakpoint.c (bppy_set_silent): Use
506 breakpoint_set_silent.
507 (bppy_set_thread): Use breakpoint_set_thread.
508 (bppy_set_task): Use breakpoint_set_task.
509 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
510 (breakpoint_set_task): Declare.
511 (make_breakpoint_silent): Remove.
512 * breakpoint.c (breakpoint_set_silent): New function.
513 (breakpoint_set_thread): Likewise.
514 (breakpoint_set_task): Likewise.
515 (make_breakpoint_silent): Remove.
517 2011-01-31 Tom Tromey <tromey@redhat.com>
519 * breakpoint.h (user_breakpoint_p): Declare.
520 * breakpoint.c (user_breakpoint_p): New function.
521 (breakpoint_1): Use it.
522 (save_breakpoints): Likewise.
524 2011-01-31 Joel Brobecker <brobecker@adacore.com>
526 * configure.ac: Add handling of Python distribution on Windows.
527 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
528 sysconfig variables are not defined, then do not use them.
529 On Windows, if LIBPL is not defined, then use prefix + '/libs'
530 instead. On Windows, return all paths using forward-slashes
531 rather than backslashes.
533 2011-01-31 Joel Brobecker <brobecker@adacore.com>
535 * configure.ac: Remove fallback behavior for building
536 against Python. Remove tweaking of Python include path.
537 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
538 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
539 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
540 Always restore CPPFLAGS and LIBS after linking test.
541 * configure: Regenerated.
542 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
543 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
544 * python/python-internal.h: Adjust includes of Python .h files.
546 2011-01-31 Joel Brobecker <brobecker@adacore.com>
548 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
551 2011-01-31 Joel Brobecker <brobecker@adacore.com>
553 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
556 2011-01-31 Yao Qi <yao@codesourcery.com>
558 * arm-linux-nat.c: Update calls to regcache_register_status
559 instead of regcache_valid_p.
560 * aix-thread.c: Likewise.
561 * i386gnu-nat.c: Likewise.
563 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
566 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
567 touching TYPE_FIELD_ARTIFICIAL.
569 2011-01-28 Richard Earnshaw <rearnsha@arm.com>
571 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
574 2011-01-28 Pedro Alves <pedro@codesourcery.com>
576 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
577 selected, don't try iterating over the traceframe's blocks.
578 (tfile_has_stack): If there's no traceframe selected, then there's
580 (tfile_has_registers): If there's no traceframe selected, then
581 there's no registers.
583 2011-01-28 Pedro Alves <pedro@codesourcery.com>
585 * target.c (memory_xfer_partial): No need to restore shadows if we
586 haven't read anything.
588 2011-01-28 Pedro Alves <pedro@codesourcery.com>
590 * mips-tdep.c (mips_print_register): Use get_frame_register_value
591 and val_print_scalar_formatted.
593 2011-01-27 Pedro Alves <pedro@codesourcery.com>
595 * tracepoint.c (tfile_read): New.
596 (tfile_open): Use it.
597 (tfile_get_traceframe_address): Use it.
598 (tfile_trace_find): Use it.
599 (walk_blocks_callback_func): New typedef.
600 (match_blocktype): New function.
601 (traceframe_walk_blocks): New function.
602 (traceframe_find_block_type): New function.
603 (tfile_fetch_registers, tfile_xfer_partial)
604 (tfile_get_trace_state_variable_value): Use
605 traceframe_find_block_type and tfile_read.
607 2011-01-26 Kevin Buettner <kevinb@redhat.com>
609 * remote-mips.c: Add internationalization mark ups. Remove
610 trailing \n from already marked up strings.
612 2011-01-26 Tom Tromey <tromey@redhat.com>
614 * python/py-prettyprint.c (print_string_repr): Clear
615 'addressprint' option when calling val_print_string.
616 (print_children): Handle Val_pretty_default. Clear 'addressprint'
617 option when calling val_print_string.
619 2011-01-26 Tom Tromey <tromey@redhat.com>
621 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
623 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
625 (gdb_py_longest, gdb_py_ulongest): New typedefs.
626 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
627 (gdb_py_long_as_ulongest): New defines.
628 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
629 (gdb_py_int_as_long): Declare.
630 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
631 GDB_PY_LL_ARG, gdb_py_object_from_longest.
632 (valpy_long): Add comment.
633 * python/py-utils.c (get_addr_from_python): Use
634 gdb_py_long_as_ulongest. Handle overflow properly.
635 (gdb_py_object_from_longest): New function.
636 (gdb_py_object_from_ulongest): Likewise.
637 (gdb_py_int_as_long): Likewise.
638 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
639 * python/py-symtab.c (salpy_get_pc): Use
640 gdb_py_long_from_ulongest.
641 (salpy_get_line): Use PyInt_FromLong.
642 * python/py-param.c (set_parameter_value): Use
644 * python/py-lazy-string.c (stpy_get_address): Use
645 gdb_py_long_from_ulongest.
646 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
647 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
648 * python/py-breakpoint.c (bppy_set_thread): Use
650 (bppy_set_task): Likewise.
651 (bppy_set_ignore_count): Likewise.
652 (bppy_set_hit_count): Likewise.
653 * python/py-block.c (blpy_get_start): Use
654 gdb_py_object_from_ulongest.
655 (blpy_get_end): Likewise.
656 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
658 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
661 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
662 * gdb/solib.c (solib_read_symbols): Check for addr_low in
663 equality test for objfile, initialize addr_low if needed.
665 2011-01-25 Pedro Alves <pedro@codesourcery.com>
667 * tui/tui-regs.c (tui_register_format): Remove dead code.
669 2011-01-25 Pedro Alves <pedro@codesourcery.com>
671 * printcmd.c (print_formatted): Use val_print_scalar_formatted
672 instead of print_scalar_formatted.
673 (print_scalar_formatted): Don't handle 's' format strings here,
674 and add an assertion that we never see such format here.
675 * valprint.h (val_print_scalar_formatted): Declare.
676 * valprint.c (val_print_scalar_formatted): New.
677 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
678 instead of print_scalar_formatted.
679 * jv-valprint.c (java_val_print): Ditto.
680 * p-valprint.c (pascal_val_print): Ditto.
681 * ada-valprint.c (ada_val_print_1): Ditto.
682 * f-valprint.c (f_val_print): Ditto.
683 * infcmd.c (registers_info): Ditto.
684 * m2-valprint.c (m2_val_print): Ditto.
686 2011-01-25 Pedro Alves <pedro@codesourcery.com>
688 * m2-valprint.c (print_unbounded_array): Pass
689 value_contents_for_printing rather than value_contents, to
690 m2_print_array_contents. Also pass in the value.
692 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
694 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
695 (save_gdb_index_command): Switch to .gdb_index version 4.
697 2011-01-25 Pedro Alves <pedro@codesourcery.com>
699 * mi/mi-main.c (get_register): Use get_frame_register_value rather
700 than frame_register, and always pass a valid value to val_print.
702 2011-01-25 Pedro Alves <pedro@codesourcery.com>
704 Centralize printing "<optimized out>".
706 * valprint.h (val_print_optimized_out): Declare.
707 * cp-valprint.c (cp_print_value_fields): Use
708 val_print_optimized_out.
709 * jv-valprint.c (java_print_value_fields): Ditto.
710 * p-valprint.c (pascal_object_print_value_fields): Ditto.
711 * printcmd.c (print_formatted): Ditto.
712 * valprint.c (valprint_check_validity): Ditto.
713 (value_check_printable): Ditto.
714 (val_print_optimized_out): New.
716 2011-01-25 Pedro Alves <pedro@codesourcery.com>
718 * infcmd.c (default_print_registers_info): Allocate values so to
719 never pass a NULL value to val_print.
721 2011-01-25 Pedro Alves <pedro@codesourcery.com>
723 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
724 boolean. Make sure to always pass a value that matches the
725 contents buffer to callees. Preserve `address' for following
727 * value.c (value_contents_for_printing_const): New.
728 (value_address): Constify value argument.
729 * value.h (value_contents_for_printing_const): Declare.
730 (value_address): Constify value argument.
732 2011-01-25 Pedro Alves <pedro@codesourcery.com>
734 * regcache.c (struct regcache_descr): Rename
735 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
736 and sizeof_cooked_register_valid_p to
737 sizeof_cooked_register_status.
738 (init_regcache_descr): Adjust.
739 (struct regcache): Rename register_valid_p field to
741 (regcache_xmalloc_1, regcache_xfree, regcache_save)
742 (do_cooked_read): Adjust.
743 (regcache_valid_p): Rename to ...
744 (regcache_register_status): ... this. Adjust.
745 (regcache_invalidate): Adjust.
746 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
748 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
749 as unavailable, not valid.
750 (regcache_dump): Adjust.
751 * regcache.h (enum register_status): New.
752 (regcache_register_status): Declare.
753 (regcache_invalidate): Delete declaration.
754 * corelow.c (get_core_registers): Adjust.
755 * tracepoint.c (tfile_fetch_registers): Adjust.
756 * trad-frame.c (REG_VALUE): Rename to ...
757 (TF_REG_VALUE): ... this.
758 (REG_UNKNOWN): Rename to ...
759 (TF_REG_UNKNOWN): ... this.
760 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
761 * mi/mi-main.c (register_changed_p): Adjust.
763 2011-01-25 Pedro Alves <pedro@codesourcery.com>
765 * regcache.c (struct regcache_descr): Remove outdated comment.
766 (init_regcache_descr): Remove sizeof_raw_register_valid_p
768 (regcache_xmalloc): Rename to ...
769 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
770 Allocate the regcache type accordingly.
771 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
772 (regcache_xfree): Asser the source is also readonly. Copy sizeof
773 cooked registers, not raw.
774 (regcache_dup_no_passthrough): Delete.
775 (get_thread_arch_regcache): Use regcache_xmalloc_1.
776 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
777 mention obsolete write_register_bytes.
778 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
780 2011-01-25 Pedro Alves <pedro@codesourcery.com>
782 Stop remote_read_bytes from handling partial reads itself.
784 * remote-fileio.c: Include target.h.
785 (remote_fileio_write_bytes): Delete.
786 (remote_fileio_func_open, remote_fileio_func_write)
787 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
789 (remote_fileio_func_stat): Use target_read_memory and
791 (remote_fileio_func_gettimeofday): Use target_write_memory.
792 (remote_fileio_func_system): Use target_read_memory.
793 * remote.c (remote_write_bytes): Make it static.
794 (remote_read_bytes): Don't handle partial reads here.
795 * remote.h (remote_read_bytes): Delete declaration.
797 2011-01-25 Pedro Alves <pedro@codesourcery.com>
799 Simplify XML parsing a bit.
801 * xml-support.h (gdb_xml_parse_quick): Declare.
802 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
803 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
805 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
806 gdb_xml_create_parser_and_cleanup_1.
807 (gdb_xml_parse_quick): New.
808 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
809 * osdata.c (osdata_parse): Ditto.
810 * remote.c (remote_threads_info): Ditto.
811 * solib-target.c (solib_target_parse_libraries): Ditto.
812 * xml-syscall.c (syscall_parse_xml): Ditto.
813 * xml-tdesc.c (tdesc_parse_xml): Ditto.
815 2011-01-24 Kevin Buettner <kevinb@redhat.com>
817 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
818 with remote-mips.o added to gdb_target_obs.
819 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
821 2011-01-24 Pedro Alves <pedro@codesourcery.com>
823 * ada-valprint.c (val_print_packed_array_elements): Pass the
824 correct struct value to val_print.
825 (ada_val_print_1): Ditto.
827 2011-01-24 Pedro Alves <pedro@codesourcery.com>
829 Don't lose embedded_offset in printing routines throughout.
831 * valprint.h (val_print_array_elements): Change prototype.
832 * valprint.c (val_print_array_elements): Add `embedded_offset'
833 parameter, and adjust to pass it down to val_print, while passing
834 `valaddr' or `address' unmodified. Take embedded_offset into
835 account when checking repetitions.
836 * c-valprint.c (c_val_print): Pass embedded_offset to
837 val_print_array_elements instead of adjusting `valaddr' and
839 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
840 embedded_offset to val_print_array_elements instead of adjusting
842 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
843 * p-valprint.c (pascal_val_print): Pass embedded_offset to
844 val_print_array_elements and pascal_object_print_value_fields
845 instead of adjusting `valaddr'.
846 (pascal_object_print_value_fields): Add `offset' parameter, and
848 (pascal_object_print_value): Add `offset' parameter, and adjust to
850 (pascal_object_print_static_field): Use
851 value_contents_for_printing/value_embedded_offset, rather than
853 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
854 parameter, and adjust to use it. Use
855 value_contents_for_printing/value_embedded_offset, rather than
857 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
858 (ada_val_print_array): Add `offset' parameter, and adjust to use
860 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
861 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
862 Instead work with offsets. Use
863 value_contents_for_printing/value_embedded_offset, rather than
864 value_contents. Change `defer_val_int' local type to CORE_ADDR,
865 and use value_from_pointer to extract a target pointer, rather
866 than value_from_longest.
867 (print_variant_part): Add `offset' parameter. Replace
868 `outer_valaddr' parameter by a new `outer_offset' parameter.
869 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
870 (ada_value_print): Use
871 value_contents_for_printing/value_embedded_offset, rather than
873 (print_record): Add `offset' parameter, and adjust to pass it
875 (print_field_values): Add `offset' parameter. Replace
876 `outer_valaddr' parameter by a new `outer_offset' parameter.
877 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
878 Use value_contents_for_printing/value_embedded_offset, rather than
880 * d-valprint.c (dynamic_array_type): Use
881 value_contents_for_printing/value_embedded_offset, rather than
883 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
884 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
885 (java_print_value_fields): Take `offset' into account. Don't
886 re-adjust `valaddr'. Instead pass down adjusted offsets.
887 (java_val_print): Take `embedded_offset' into account. Pass it to
888 java_print_value_fields.
889 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
890 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
891 down adjusted offsets.
892 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
893 (f_val_print): Take `embedded_offset' into account.
895 2011-01-21 Joel Brobecker <brobecker@adacore.com>
897 * inflow.c: Include "gdbcmd.h".
898 (interactive_mode): New static global, moved here from top.c.
899 (show_interactive_mode): New function, moved here from top.c.
900 use gdb_has_a_terminal instead of input_from_terminal_p to
901 determine the current mode.
902 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
904 (_initialize_inflow): Add the "set/show interactive-mode"
905 commands. Moved here from top.c, after having adjusted slightly
907 * top.c (interactive_mode, show_interactive_mode): Delete, moved
909 (input_from_terminal_p): Remove handling of "interactive-mode"
910 setting, moved to infow.c.
911 (init_main): Remove creation of the "set/show interactive-mode"
912 commands, moved to inflow.c.
914 2011-01-19 Joel Brobecker <brobecker@adacore.com>
916 * NEWS: Add entry for native ia64-hpux support.
918 2011-01-19 Tom Tromey <tromey@redhat.com>
921 * thread.c (free_thread): Free 'name'.
922 (print_thread_info): Emit thread name. Change CLI output.
923 (thread_name_command): New function.
924 (do_captured_thread_select): Emit newline.
925 (_initialize_thread): Register 'thread name' command.
926 * target.h (struct target_ops) <to_thread_name>: New field.
927 (target_thread_name): New macro.
928 * target.c (update_current_target): Handle to_thread_name.
929 * python/py-infthread.c (thpy_get_name): New function.
930 (thpy_set_name): Likewise.
931 (thread_object_getset): Add "name".
932 * linux-nat.c (linux_nat_thread_name): New function.
933 (linux_nat_add_target): Set to_thread_name.
934 * gdbthread.h (struct thread_info) <name>: New field.
936 2011-01-18 Joel Brobecker <brobecker@adacore.com>
938 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
939 (ada_val_print_1): Likewise.
941 2011-01-18 Joel Brobecker <brobecker@adacore.com>
943 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
944 upper limit address is not greater than the function end address
945 when the upper limit could not be computed using the debugging
948 2011-01-17 Tom Tromey <tromey@redhat.com>
950 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
952 * utils.c: Include gdb_regex.h.
953 (do_regfree_cleanup): New function.
954 (make_regfree_cleanup): Likewise.
955 (get_regcomp_error): Likewise.
956 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
958 2011-01-17 Tom Tromey <tromey@redhat.com>
960 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
963 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
965 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
966 for internal variables.
967 (last_was_structop): New static variable.
968 (COMPLETE): New token.
969 (field_exp): New rule to group all '.' suffix handling.
970 Add mark_struct_expression calls when approriate to be able
971 to correctly find fields for completion.
972 (yylex): Adapt to handle field completion and set INTVAR when
975 2011-01-14 Yao Qi <yao@codesourcery.com>
977 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
978 save_reggroup, restore_reggroup and all_reggroup.
980 2011-01-14 Joel Brobecker <brobecker@adacore.com>
982 * ada-valprint. (ada_printchar): Use the correct type length
983 in call to ada_emit_char.
984 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
986 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
988 * solib-som.h (hpux_major_release): Declare variable here.
989 * solib-som.c: Remove <sys/utsname.h> header.
990 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
991 (hpux_major_release): Make global, change default value to
992 DEFAULT_HPUX_MAJOR_RELEASE.
993 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
994 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
995 Add "solib-som.h" header.
996 (set_hpux_major_release): New function.
997 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
999 2011-01-14 Mike Frysinger <vapier@gentoo.org>
1001 * configure.tgt (*-*-uclinux*): Match more Linux os targets
1003 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1005 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
1006 new-line at end of warning message.
1007 (ia64_hpux_store_register): Remove trailing new-line at end of
1009 * ia64-hpux-tdep.c: Rephrase comment.
1010 * solib-ia64-hpux.c (struct dld_info): Change type of field
1011 dld_flags from "long long" to ULONGEST.
1013 2011-01-14 Pedro Alves <pedro@codesourcery.com>
1015 * target.h (deprecated_child_ops): Delete declaration.
1016 * target.c (deprecated_child_ops): Delete definition.
1018 2011-01-14 Pedro Alves <pedro@codesourcery.com>
1020 * Makefile.in (hpux-thread.o): Delete rule.
1021 * configure.ac: Don't check for HPUX DCE threads support.
1022 * configure, config.in: Regenerate.
1023 * hppa-hpux-nat.c (child_suppress_run): Delete.
1024 (hppa_hpux_child_can_run): Delete.
1025 (_initialize_hppa_hpux_nat): Don't override to_can_run.
1026 * hpux-thread.c: Delete.
1028 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1030 * hpux-thread.c (hpux_pid_to_str): Delete.
1032 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1034 * ada-valprint.c (ada_emit_char): Remove strange code.
1035 Check that c is <= UCHAR_MAX before passing it to isascii.
1036 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
1038 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1040 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
1041 to the case where instream is stdin.
1043 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1045 * ia64-tdep.h (struct regcache): Forward declare.
1046 (struct ia64_infcall_ops): New struct type.
1047 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
1049 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
1050 Renames ia64_find_global_pointer.
1051 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
1052 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
1053 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
1055 (ia64_infcall_ops): New static global constant.
1056 (ia64_gdbarch_init): Set tdep->infcall_ops.
1057 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
1058 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
1059 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
1060 (ia64_hpux_dummy_code): New static global constant.
1061 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
1062 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
1063 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
1065 (ia64_hpux_infcall_ops): New static global constant.
1066 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
1067 for inferior function calls to work properly on ia64-hpux.
1069 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1071 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
1072 * ia64-tdep.h (struct frame_info): forward declaration.
1073 (struct gdbarch_tdep): Add field size_of_register_frame.
1074 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
1075 to determine the size of the register frame.
1076 (ia64_size_of_register_frame): New function.
1077 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
1078 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
1079 (IA64_HPUX_UREG_REASON): New macro.
1080 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
1082 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
1083 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
1084 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
1087 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1089 Add support for ia64-hpux.
1090 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
1091 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
1093 * configure.host: Add handling for ia64-hpux hosts. Add associated
1095 * configure.tgt: Add handling for ia64-hpux targets.
1096 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
1097 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
1098 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
1100 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1102 [ttrace] Compute thread list immediately after attach.
1103 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
1105 (inf_ttrace_attach): Use it.
1107 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1109 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
1110 if we could not determine the frame's function address. Instead,
1111 use the frame's PC, and then continue.
1113 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1115 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
1116 not already defined.
1118 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1120 * ia64-tdep.c (ia64_struct_type_p): New function.
1121 (ia64_extract_return_value): Handle integral values that are
1122 less than 8 bytes long.
1123 (ia64_push_dummy_call): Likewise.
1125 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1127 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
1128 floatformat_ia64_ext.
1129 (floatformat_ia64_ext_big): New static const.
1130 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
1132 2011-01-12 Tom Tromey <tromey@redhat.com>
1134 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
1136 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
1137 (mi_cmd_thread_list_ids): Likewise.
1138 (mi_cmd_data_list_changed_registers): Likewise.
1139 (mi_cmd_data_list_register_values): Likewise.
1140 (mi_cmd_data_write_register_values): Likewise.
1141 (mi_cmd_data_evaluate_expression): Likewise.
1142 (mi_cmd_data_read_memory): Likewise.
1143 (mi_cmd_data_read_memory_bytes): Likewise.
1144 (mi_cmd_data_write_memory): Likewise.
1145 (mi_cmd_enable_timings): Likewise.
1146 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
1147 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
1148 (mi_cmd_var_delete): Likewise.
1149 (mi_cmd_var_set_format): Likewise.
1150 (mi_cmd_var_show_format): Likewise.
1151 (mi_cmd_var_info_num_children): Likewise.
1152 (mi_cmd_var_list_children): Likewise.
1153 (mi_cmd_var_info_type): Likewise.
1154 (mi_cmd_var_info_expression): Likewise.
1155 (mi_cmd_var_show_attributes): Likewise.
1156 (mi_cmd_var_assign): Likewise.
1157 (mi_cmd_var_update): Likewise.
1158 (mi_cmd_enable_pretty_printing): Likewise.
1159 (mi_cmd_var_set_update_range): Likewise.
1160 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
1162 (mi_cmd_target_file_put): Likewise.
1163 (mi_cmd_target_file_delete): Likewise.
1164 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
1166 (mi_cmd_stack_info_depth): Likewise.
1167 (mi_cmd_stack_list_locals): Likewise.
1168 (mi_cmd_stack_list_args): Likewise.
1169 (mi_cmd_stack_select_frame): Likewise.
1170 (mi_cmd_stack_select_frame): Likewise.
1171 (mi_cmd_stack_info_frame): Likewise.
1172 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
1174 (mi_cmd_file_list_exec_source_files): Likewise.
1175 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
1176 (mi_cmd_env_cd): Likewise.
1177 (mi_cmd_env_path): Likewise.
1178 (mi_cmd_env_dir): Likewise.
1179 (mi_cmd_inferior_tty_show): Likewise.
1180 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
1181 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
1182 (mi_cmd_break_watch): Likewise.
1184 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
1186 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
1187 (ppc_linux_insert_hw_breakpoint): Likewise.
1188 (ppc_linux_remove_hw_breakpoint): Likewise.
1189 (ppc_linux_insert_watchpoint): Likewise.
1191 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1192 Jan Kratochvil <jan.kratochvil@redhat.com>
1194 PR fortran/11104 and DWARF unbound arrays detection.
1195 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
1196 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
1197 unspecified upper bound.
1198 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
1199 variables array_size_array, tmp_type and offset_item. New variable
1200 array. Remove call to f77_get_upperbound. New variables array_type
1201 and index. Call value_subscripted_rvalue for each dimenasion. Remove
1202 the final call to deprecated_set_value_type.
1204 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1206 Make value allocations more lazy.
1207 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
1208 instead of allocate_value and set_value_lazy when possible.
1209 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
1210 instead of allocate_value and set_value_lazy.
1211 * findvar.c (value_of_register_lazy): Likewise.
1212 (read_var_value): Remove V preallocation, call just check_typedef in
1213 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
1214 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
1215 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
1216 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
1217 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
1218 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
1219 the end, remove set_value_lazy there.
1220 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
1221 instead of allocate_value and set_value_lazy when possible.
1222 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
1223 * value.c (allocate_computed_value): Use allocate_value_lazy instead
1224 of allocate_value and set_value_lazy.
1225 (value_from_contents_and_address): Use allocate_value_lazy instead of
1226 allocate_value and set_value_lazy when possible.
1228 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1230 * disasm.c (dump_insns): Support dumping opcodes for MI.
1231 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
1232 dumping of instruction opcodes.
1234 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
1236 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
1239 2011-01-11 Tom Tromey <tromey@redhat.com>
1241 * thread.c (do_captured_thread_select): Emit newline before
1244 2011-01-11 Michael Snyder <msnyder@vmware.com>
1246 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
1247 * score-tdep.c: Ditto.
1248 * score-tdep.h: Ditto.
1249 * ser-base.c: Ditto.
1250 * ser-go32.c: Ditto.
1253 * ser-mingw.c: Ditto.
1254 * ser-pipe.c: Ditto.
1256 * ser-unix.c: Ditto.
1257 * sh64-tdep.c: Ditto.
1258 * shnbsd-nat.c: Ditto.
1262 * solib-darwin.c: Ditto.
1263 * solib-frv.c: Ditto.
1265 * solib-irix.c: Ditto.
1266 * solib-osf.c: Ditto.
1267 * solib-pa64.c: Ditto.
1268 * solib-som.c: Ditto.
1269 * solib-spu.c: Ditto.
1270 * solib-sunos.c: Ditto.
1271 * solib-svr4.c: Ditto.
1273 * sol-thread.c: Ditto.
1277 * sparc64-linux-tdep.c: Ditto.
1278 * sparc64-tdep.c: Ditto.
1279 * sparc-linux-nat.c: Ditto.
1280 * sparc-linux-tdep.c: Ditto.
1281 * sparc-sol2-nat.c: Ditto.
1282 * sparc-sol2-tdep.c: Ditto.
1283 * sparc-tdep.c: Ditto.
1284 * sparc-tdep.h: Ditto.
1285 * spu-tdep.c: Ditto.
1286 * stabsread.c: Ditto.
1287 * stabsread.h: Ditto.
1295 * target-descriptions.c: Ditto.
1296 * target-descriptions.h: Ditto.
1298 * target-memory.c: Ditto.
1299 * terminal.h: Ditto.
1302 * tracepoint.c: Ditto.
1303 * tracepoint.h: Ditto.
1304 * trad-frame.h: Ditto.
1305 * typeprint.c: Ditto.
1307 2011-01-11 Michael Snyder <msnyder@vmware.com>
1309 * ui-file.c: Comment cleanup, mostly periods and spaces.
1314 * v850-tdep.c: Ditto.
1315 * valarith.c: Ditto.
1317 * valprint.c: Ditto.
1318 * valprint.h: Ditto.
1323 * vax-tdep.c: Ditto.
1327 * windows-nat.c: Ditto.
1328 * windows-tdep.c: Ditto.
1329 * xcoffread.c: Ditto.
1330 * xcoffsolib.c: Ditto.
1331 * xml-support.c: Ditto.
1332 * xstormy16-tdep.c: Ditto.
1333 * xtensa-tdep.c: Ditto.
1334 * xtensa-tdep.h: Ditto.
1336 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1338 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
1339 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
1341 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
1342 Thiago Jung Bauermann <bauerman@br.ibm.com>
1344 Implement support for PowerPC BookE ranged watchpoints.
1346 (struct breakpoint_ops) <resources_needed>: New method.
1347 Initialize to NULL in all existing breakpoint_ops instances.
1348 (struct breakpoint) <exact>: New field.
1349 (target_exact_watchpoints): Declare external global.
1350 * breakpoint.c (target_exact_watchpoints): New global flag.
1351 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
1352 b->enable_state to bp_enabled before calling
1353 hw_watchpoint_used_count.
1354 (hw_watchpoint_used_count): Iterate over all bp_locations in a
1355 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
1357 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
1358 if the watchpoint is exact.
1359 (resources_needed_watchpoint): New function.
1360 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
1361 (watch_command_1): Set b->exact if the user asked for an exact
1362 watchpoint and one can be set.
1363 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
1364 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
1365 the user asks for an exact watchpoint and one can be set. Return
1366 number of needed debug registers to watch the expression.
1367 * gdbtypes.c (is_scalar_type): New function, based on
1368 valprint.c:scalar_type_p.
1369 (is_scalar_type_recursive): New function.
1370 * gdbtypes.h (is_scalar_type_recursive): Declare.
1371 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
1372 handle regions when ranged watchpoints are available.
1373 (create_watchpoint_request): New function.
1374 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
1375 create_watchpoint_request.
1376 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
1377 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
1378 `set powerpc' and `show powerpc' commands.
1379 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1380 Mention documentation comment in the target macro.
1381 (target_region_ok_for_hw_watchpoint): Document return value.
1383 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1385 * breakpoint.c (update_watchpoint): Decide on using a software or
1386 hardware watchpoint after the bp_locations are created.
1388 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1390 Convert hardware watchpoints to use breakpoint_ops.
1391 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
1392 <insert_location>: ... this. Return int instead of void.
1393 Accept pointer to struct bp_location instead of pointer to
1394 struct breakpoint. Adapt all implementations.
1395 (breakpoint_ops) <remove>: Rename to...
1396 <remove_location>: ... this. Accept pointer to struct bp_location
1397 instead of pointer to struct breakpoint. Adapt all implementations.
1398 * breakpoint.c (insert_catchpoint): Delete function.
1399 (insert_bp_location): Call the watchpoint or catchpoint's
1400 breakpoint_ops.insert method.
1401 (remove_breakpoint_1): Call the watchpoint or catchpoint's
1402 breakpoint_ops.remove method.
1403 (insert_watchpoint, remove_watchpoint): New functions.
1404 (watchpoint_breakpoint_ops): New structure.
1405 (watch_command_1): Initialize the OPS field.
1406 * inf-child.c (inf_child_insert_fork_catchpoint)
1407 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
1408 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
1409 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
1411 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
1412 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
1413 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
1414 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
1415 * target.c (update_current_target): Change default implementation of
1416 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
1417 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1418 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
1419 to_set_syscall_catchpoint to return_one.
1420 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
1421 (debug_to_insert_exec_catchpoint): Report return value.
1422 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
1423 (to_insert_exec_catchpoint): Change declaration to return int instead
1426 2011-01-11 Michael Snyder <msnyder@vmware.com>
1428 * arm-tdep.c: Internationalization.
1431 * fork-child.c: Ditto.
1432 * nto-procfs.c: Ditto.
1433 * ppc-sysv-tdep.c: Ditto.
1435 * remote-mips.c: Ditto.
1437 * rs6000-nat.c: Ditto.
1438 * rs6000-tdep.c: Ditto.
1442 * xml-support.c: Ditto.
1443 * mi/mi-cmd-break.c: Ditto.
1444 * mi/mi-cmd-var.c: Ditto.
1445 * mi/mi-interp.c: Ditto.
1446 * mi/mi-main.c: Ditto.
1448 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
1450 * remote-sim.c (gdbsim_store_register): Update API to
1451 sim_store_register to check more error conditions.
1453 2011-01-10 Michael Snyder <msnyder@vmware.com>
1455 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1456 * nto-tdep.c: Ditto.
1457 * nto-tdep.h: Ditto.
1458 * objc-exp.y: Ditto.
1459 * objc-lang.c: Ditto.
1460 * objfiles.c: Ditto.
1461 * objfiles.h: Ditto.
1462 * observer.c: Ditto.
1463 * opencl-lang.c: Ditto.
1466 * parser-defs.h: Ditto.
1469 * posix-hdep.c: Ditto.
1470 * ppcbug-rom.c: Ditto.
1471 * ppc-linux-nat.c: Ditto.
1472 * ppc-linux-tdep.c: Ditto.
1473 * ppc-linux-tdep.h: Ditto.
1474 * ppcnbsd-tdep.c: Ditto.
1475 * ppcobsd-tdep.c: Ditto.
1476 * ppcobsd-tdep.h: Ditto.
1477 * ppc-sysv-tdep.c: Ditto.
1478 * ppc-tdep.h: Ditto.
1479 * printcmd.c: Ditto.
1480 * proc-abi.c: Ditto.
1481 * proc-flags.c: Ditto.
1483 * proc-utils.h: Ditto.
1484 * progspace.h: Ditto.
1485 * prologue-value.c: Ditto.
1486 * prologue-value.h: Ditto.
1487 * psympriv.h: Ditto.
1489 * p-typeprint.c: Ditto.
1490 * p-valprint.c: Ditto.
1491 * ravenscar-sparc-thread.c: Ditto.
1492 * ravenscar-thread.c: Ditto.
1493 * ravenscar-thread.h: Ditto.
1495 * regcache.c: Ditto.
1496 * regcache.h: Ditto.
1498 * remote-fileio.c: Ditto.
1499 * remote-fileio.h: Ditto.
1501 * remote-m32r-sdi.c: Ditto.
1502 * remote-mips.c: Ditto.
1503 * remote-sim.c: Ditto.
1504 * rs6000-aix-tdep.c: Ditto.
1505 * rs6000-nat.c: Ditto.
1506 * rs6000-tdep.c: Ditto.
1508 2011-01-10 Michael Snyder <msnyder@vmware.com>
1510 * charset.c (validate): Internationalization.
1511 * coffread.c (read_one_sym): Ditto.
1512 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1513 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1514 * inflow.c (new_tty): Ditto.
1515 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1516 * m32c-tdep.c (m32c_return_value): Ditto.
1517 * mep-tdep.c (mep_store_return_value): Ditto.
1518 * score-tdep.c (score7_fetch_insn): Ditto.
1519 * ser-mingw.c (pipe_windows_open): Ditto.
1520 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1521 * spu-tdep.c (spu_register_type): Ditto.
1522 * tracepoint.c (trace_find_command): Ditto.
1523 * valarith.c (value_pos): Ditto.
1525 2011-01-10 Joel Brobecker <brobecker@adacore.com>
1527 * ada-valprint.c (printstr): Minor comment reformatting.
1529 2011-01-08 Michael Snyder <msnyder@vmware.com>
1531 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1534 2011-01-08 Michael Snyder <msnyder@vmware.com>
1536 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1537 * hppa-hpux-tdep.c: Ditto.
1538 * hppa-linux-nat.c: Ditto.
1539 * hppa-linux-tdep.c: Ditto.
1540 * hppanbsd-tdep.c: Ditto.
1541 * hppa-tdep.c: Ditto.
1542 * hppa-tdep.h: Ditto.
1543 * hpux-thread.c: Ditto.
1544 * i386-cygwin-tdep.c: Ditto.
1545 * i386-darwin-nat.c: Ditto.
1546 * i386gnu-nat.c: Ditto.
1547 * i386-linux-nat.c: Ditto.
1548 * i386-linux-tdep.c: Ditto.
1549 * i386-nat.c: Ditto.
1550 * i386-nat.h: Ditto.
1551 * i386nbsd-tdep.c: Ditto.
1552 * i386-sol2-nat.c: Ditto.
1553 * i386-stub.c: Ditto.
1554 * i386-tdep.c: Ditto.
1555 * i386-tdep.h: Ditto.
1556 * i387-tdep.c: Ditto.
1557 * ia64-linux-nat.c: Ditto.
1558 * ia64-linux-tdep.c: Ditto.
1559 * ia64-tdep.c: Ditto.
1563 * inferior.c: Ditto.
1564 * inferior.h: Ditto.
1570 * iq2000-tdep.c: Ditto.
1571 * irix5-nat.c: Ditto.
1577 * jv-typeprint.c: Ditto.
1578 * jv-valprint.c: Ditto.
1579 * language.c: Ditto.
1580 * language.h: Ditto.
1581 * linespec.c: Ditto.
1582 * linux-fork.c: Ditto.
1583 * linux-nat.c: Ditto.
1584 * linux-thread-db.c: Ditto.
1585 * lm32-tdep.c: Ditto.
1587 2011-01-08 Michael Snyder <msnyder@vmware.com>
1589 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1591 * m2-typeprint.c: Ditto.
1592 * m2-valprint.c: Ditto.
1593 * m32c-tdep.c: Ditto.
1594 * m32r-linux-nat.c: Ditto.
1595 * m32r-rom.c: Ditto.
1596 * m32r-tdep.c: Ditto.
1597 * m32r-tdep.h: Ditto.
1598 * m68hc11-tdep.c: Ditto.
1599 * m58klinux-nat.c: Ditto.
1600 * m68k-tdep.c: Ditto.
1601 * m88k-tdep.c: Ditto.
1602 * m88k-tdep.h: Ditto.
1603 * machoread.c: Ditto.
1604 * macrocmd.c: Ditto.
1605 * macroexp.c: Ditto.
1606 * macrotab.c: Ditto.
1609 * mdebugread.c: Ditto.
1610 * mdebugread.h: Ditto.
1613 * memory-map.h: Ditto.
1614 * mep-tdep.c: Ditto.
1615 * microblaze-rom.c: Ditto.
1616 * microblaze-tdep.c: Ditto.
1618 * mips-irix-tdep.c: Ditto.
1619 * mips-linux-nat.c: Ditto.
1620 * mips-linux-tdep.c: Ditto.
1621 * mips-linux-tdep.h: Ditto.
1622 * mipsnbsd-nat.c: Ditto.
1623 * mipsnbsd-tdep.c: Ditto.
1624 * mipsread.c: Ditto.
1625 * mips-tdep.c: Ditto.
1626 * mips-tdep.h: Ditto.
1627 * mn10300-linux-tdep.c: Ditto.
1628 * mn10300-tdep.c: Ditto.
1629 * mn10300-tdep.h: Ditto.
1632 * moxie-tdep.c: Ditto.
1633 * moxie-tdep.h: Ditto.
1636 2011-01-08 Mike Frysinger <vapier@gentoo.org>
1638 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1640 2011-01-08 Robert Millan <rmh@gnu.org>
1642 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1644 2011-01-07 Michael Snyder <msnyder@vmware.com>
1646 * charset.c (_initialize_charset): Fix typo in string.
1648 2011-01-07 Michael Snyder <msnyder@vmware.com>
1650 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1652 * tui/tui-layout.c (tui_set_layout_for_display_command):
1653 Split line so that operator goes to beginning of line.
1654 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1655 assignment out of if statement.
1657 2011-01-07 Michael Snyder <msnyder@vmware.com>
1659 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1660 * ada-lang.h: Ditto.
1661 * ada-tasks.c: Ditto.
1662 * ada-valprint.c: Ditto.
1663 * aix-threads.c: Ditto.
1664 * alpha-linux-nat.c: Ditto.
1665 * alpha-linux-tdep.c: Ditto.
1666 * alpha-mdebug-tdep.c: Ditto.
1667 * alpha-nat.c: Ditto.
1668 * alpha-osf1-tdep.c: Ditto.
1669 * alpha-tdep.c: Ditto.
1670 * alphabsd-nat.c: Ditto.
1671 * alphabsd-tdep.c: Ditto.
1672 * amd64-darwin-tdep.c: Ditto.
1673 * amd64-linux-nat.c: Ditto.
1674 * amd64-linux-tdep.c: Ditto.
1675 * amd64-sol2-tdep.c: Ditto.
1676 * amd64-tdep.c: Ditto.
1677 * amd64-fbsd-tdep.c: Ditto.
1678 * amd64-nbsd-tdep.c: Ditto.
1679 * amd64-obsd-tdep.c: Ditto.
1680 * amd64-linux-nat.c: Ditto.
1681 * amd64-linux-tdep.c: Ditto.
1682 * arm-tdep.c: Ditto.
1683 * arm-tdep.h: Ditto.
1684 * armnbsd-nat.c: Ditto.
1685 * avr-tdep.c: Ditto.
1686 * bfin-tdep.c: Ditto.
1688 * c-typeprintc: Ditto.
1689 * c-valprint.c: Ditto.
1690 * coff-pe-read.h: Ditto.
1691 * coffreead.c: Ditto.
1692 * cris-tdep.c: Ditto.
1694 * darwin-nat-info.c: Ditto.
1695 * darwin-nat.c: Ditto.
1696 * dbug-rom.c: Ditto.
1700 * dec-thread.c: Ditto.
1702 * demangle.c: Ditto.
1703 * dicos-tdep.c: Ditto.
1704 * dictionary.c: Ditto.
1705 * dictionary.h: Ditto.
1706 * dink32-rom.c: Ditto.
1708 * doublest.c: Ditto.
1710 * dummy-frame.c: Ditto.
1711 * dwarf2-frame.c: Ditto.
1712 * dwarf2expr.c: Ditto.
1713 * dwarf2loc.c: Ditto.
1714 * dwarf2read.c: Ditto.
1718 * event-top.h: Ditto.
1719 * exceptions.c: Ditto.
1720 * exceptions.h: Ditto.
1722 * expprint.c: Ditto.
1723 * expression.h: Ditto.
1727 * f-typeprint.c: Ditto.
1728 * f-valprint.c: Ditto.
1729 * fbsd-nat.c: Ditto.
1731 * fork-child.c: Ditto.
1734 * frv-linux-tdep.c: Ditto.
1735 * frv-tdep.c: Ditto.
1737 * gdb-stabs.h: Ditto.
1738 * gdb_assert.h: Ditto.
1739 * gdb_string.h: Ditto.
1740 * gdb_thread_db.h: Ditto.
1741 * gdb_wait.h: Ditto.
1742 * gdbarch.sh: Ditto.
1744 * gdbthread.h: Ditto.
1745 * gdbtypes.c: Ditto.
1746 * gdbtypes.h: Ditto.
1749 * gnu-v2-abi.c: Ditto.
1750 * gnu-v3-abi.c: Ditto.
1751 * go32-nat.c: Ditto.
1752 * gdbarch.c: Regenerate.
1753 * gdbarch.h: Regenerate.
1755 2011-01-07 Michael Snyder <msnyder@vmware.com>
1757 * ax-gdb.c: Adjust some long output strings.
1758 * breakpoint.c: Ditto.
1763 * linux-nat.c: Ditto.
1764 * solib-pa64.c: Ditto.
1765 * solib-som.c: Ditto.
1767 2011-01-06 Tom Tromey <tromey@redhat.com>
1771 * python/python.c (GdbMethods): Add "newest_frame" method.
1772 * python/python-internal.h (gdbpy_newest_frame): Declare.
1773 * python/py-frame.c (gdbpy_newest_frame): New function.
1775 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1777 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1778 * jit.c (jit_debug): New variable.
1779 (show_jit_debug): New function.
1780 (struct target_buffer): Use ULONGEST.
1781 (bfd_open_from_target_memory): Likewise.
1782 (jit_register_code, jit_inferior_init): Add debug output.
1783 (_initialize_jit): Register "debug jit" command.
1785 2011-01-06 Tom Tromey <tromey@redhat.com>
1787 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1788 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1791 2011-01-06 Tom Tromey <tromey@redhat.com>
1793 * python/py-frame.c (frapy_block): Use get_frame_block.
1795 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1797 Do not stop on SIGPRIO signals by default
1798 * infrun.c (_initialize_infrun): Unset signal_stop and
1799 signal_print for TARGET_SIGNAL_PRIO.
1801 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1803 * ada-tasks.c: Fix style violation in comment.
1805 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1807 * linespec.c (decode_compound, find_method): Remove trailing \n
1808 at end of error string.
1809 * solib-irix.c (irix_current_sos): Likewise.
1810 * varobj.c (uninstall_variable): Likewise.
1812 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1814 * copyright.py: New script.
1815 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1816 Launch emacs without exec'ing. Call copyright.py afterwards.
1818 2011-01-05 Michael Snyder <msnyder@vmware.com>
1820 * addrmap.c: Shorten lines of >= 80 columns.
1821 * arch-utils.c: Ditto.
1822 * arch-utils.h: Ditto.
1824 * ax-general.c: Ditto.
1826 * blockframe.c: Ditto.
1827 * breakpoint.c: Ditto.
1828 * buildsym.c: Ditto.
1830 * c-typeprint.c: Ditto.
1832 * coffread.c: Ditto.
1836 * cp-namespace.c: Ditto.
1837 * cp-support.c: Ditto.
1838 * dbug-rom.c: Ditto.
1843 * dictionary.c: Ditto.
1845 * doublest.c: Ditto.
1846 * dwarf2-frame.c: Ditto.
1847 * dwarf2expr.c: Ditto.
1848 * dwarf2loc.c: Ditto.
1849 * dwarf2read.c: Ditto.
1852 * event-loop.c: Ditto.
1853 * event-loop.h: Ditto.
1854 * exceptions.h: Ditto.
1856 * expprint.c: Ditto.
1857 * expression.h: Ditto.
1859 * f-valprint.c: Ditto.
1861 * frame-base.c: Ditto.
1862 * frame-unwind.c: Ditto.
1863 * frame-unwind.h: Ditto.
1867 * gdb-stabs.h: Ditto.
1868 * gdb_assert.h: Ditto.
1869 * gdb_dirent.h: Ditto.
1870 * gdb_obstack.h: Ditto.
1872 * gdbtypes.c: Ditto.
1873 * gdbtypes.h: Ditto.
1874 * inf-ttrace.c: Ditto.
1879 * inline-frame.h: Ditto.
1880 * language.c: Ditto.
1881 * language.h: Ditto.
1882 * libunwind-frame.c: Ditto.
1883 * libunwind-frame.h: Ditto.
1884 * linespec.c: Ditto.
1885 * linux-nat.c: Ditto.
1886 * linux-nat.h: Ditto.
1887 * linux-thread-db.c: Ditto.
1888 * machoread.c: Ditto.
1889 * macroexp.c: Ditto.
1890 * macrotab.c: Ditto.
1893 * mdebugread.c: Ditto.
1898 * objfiles.c: Ditto.
1899 * objfiles.h: Ditto.
1901 * p-typeprint.c: Ditto.
1902 * p-valprint.c: Ditto.
1904 * printcmd.c: Ditto.
1905 * proc-events.c: Ditto.
1907 * progspace.c: Ditto.
1908 * progspace.h: Ditto.
1909 * psympriv.h: Ditto.
1912 * regcache.c: Ditto.
1913 * regcache.h: Ditto.
1914 * remote-fileio.c: Ditto.
1916 * ser-mingw.c: Ditto.
1918 * ser-unix.c: Ditto.
1921 * solib-frv.c: Ditto.
1922 * solib-irix.c: Ditto.
1923 * solib-osf.c: Ditto.
1924 * solib-pa64.c: Ditto.
1925 * solib-som.c: Ditto.
1926 * solib-sunos.c: Ditto.
1927 * solib-svr4.c: Ditto.
1928 * solib-target.c: Ditto.
1932 * stabsread.c: Ditto.
1933 * stabsread.c: Ditto.
1936 * symfile-mem.c: Ditto.
1942 * target-descriptions.c: Ditto.
1943 * target-memory.c: Ditto.
1946 * terminal.h: Ditto.
1949 * tracepoint.c: Ditto.
1950 * tracepoint.h: Ditto.
1954 * user-regs.c: Ditto.
1955 * user-regs.h: Ditto.
1957 * valarith.c: Ditto.
1959 * valprint.c: Ditto.
1960 * valprint.h: Ditto.
1965 * xcoffread.c: Ditto.
1966 * xcoffsolib.c: Ditto.
1967 * xcoffsolib.h: Ditto.
1968 * xml-syscall.c: Ditto.
1969 * xml-tdesc.c: Ditto.
1971 2011-01-05 Michael Snyder <msnyder@vmware.com>
1973 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1974 * cli/cli-decode.c: Ditto.
1975 * cli/cli-dump.c: Ditto.
1976 * cli/cli-logging.c: Ditto.
1977 * cli/cli-script.c: Ditto.
1978 * cli/cli-setshow.c: Ditto.
1979 * common/signals.c: Ditto.
1980 * mi/mi-cmd-break.c: Ditto.
1981 * mi/mi-cmd-disas.c: Ditto.
1982 * mi/mi-cmd-stack.c: Ditto.
1983 * mi/mi-cmd-var.c: Ditto.
1984 * mi/mi-cmds.c: Ditto.
1985 * mi/mi-common.h: Ditto.
1986 * mi/mi-console.c: Ditto.
1987 * mi/mi-interp.c: Ditto.
1988 * mi/mi-main.c: Ditto.
1989 * osf-share/cma_attr.c: Ditto.
1990 * osf-share/cma_deb_core.h: Ditto.
1991 * osf-share/cma_debug_client.h: Ditto.
1992 * osf-share/cma_handle.h: Ditto.
1993 * osf-share/cma_mutex.h: Ditto.
1994 * osf-share/cma_stack_int.h: Ditto.
1995 * osf-share/cma_tcb_defs.h: Ditto.
1996 * python/py-auto-load.c: Ditto.
1997 * python/py-breakpoint.c: Ditto.
1998 * python/py-cmd.c: Ditto.
1999 * python/py-frame.c: Ditto.
2000 * python/py-objfile.c: Ditto.
2001 * python/py-param.c: Ditto.
2002 * python/py-progspace.c: Ditto.
2003 * python/py-symbol.c: Ditto.
2004 * python/py-value.c: Ditto.
2005 * python/python-internal.h: Ditto.
2006 * python/python.c: Ditto.
2007 * tui/tui-data.c: Ditto.
2008 * tui/tui-disasm.c: Ditto.
2009 * tui/tui-hooks.c: Ditto.
2010 * tui/tui-io.c: Ditto.
2011 * tui/tui-layout.c: Ditto.
2012 * tui/tui-regs.c: Ditto.
2013 * tui/tui-source.c: Ditto.
2014 * tui/tui-stack.c: Ditto.
2015 * tui/tui-win.c: Ditto.
2016 * tui/tui-windata.c: Ditto.
2017 * tui/tui-winsource.c: Ditto.
2019 2011-01-05 Joel Brobecker <brobecker@adacore.com>
2021 * configure.ac, gdb.1: Copyright year update.
2023 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2025 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
2026 this_pc_in_block, morestack_msym and morestack_name. Check for
2027 "__morestack" minimal symbol there.
2029 2011-01-03 Joel Brobecker <brobecker@adacore.com>
2031 * symfile.c (find_sym_fns): Add call to dont_repeat.
2033 2011-01-01 Joel Brobecker <brobecker@adacore.com>
2035 Copyright year update in most files (performed by copyright.sh).
2037 2011-01-01 Joel Brobecker <brobecker@adacore.com>
2039 * top.c (print_gdb_version): Update copyright year in version output.
2041 For older changes see ChangeLog-2010.
2047 version-control: never