1 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3 * target.h (struct traceframe_info): Forward declare.
4 (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
5 (struct target_ops) <to_traceframe_info>: New field.
6 (target_traceframe_info): New.
7 * target.c (update_current_target): Inherit and default
9 * remote.c (PACKET_qXfer_traceframe_info): New.
10 (remote_protocol_features): Register qXfer:traceframe-info:read.
11 (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
12 (remote_traceframe_info): New.
13 (init_remote_ops): Install it.
14 (_initialize_remote): Install "set/show remote traceframe-info"
16 * tracepoint.h (parse_traceframe_info): Declare.
17 * tracepoint.c (struct mem_range): New.
18 (mem_range_s): New typedef.
19 (struct traceframe_info): New.
20 (traceframe_info): New global.
21 (free_traceframe_info): New function.
22 (clear_traceframe_info): New function.
23 (start_tracing, tfind_1, set_traceframe_number): Clear traceframe
25 (build_traceframe_info): New function.
26 (tfile_traceframe_info): New function.
27 (init_tfile_ops): Install tfile_traceframe_info.
28 (traceframe_info_start_memory, free_result): New functions.
29 (memory_attributes, traceframe_info_elements): New globals.
30 (parse_traceframe_info, get_traceframe_info): New functions.
31 * features/traceframe-info.dtd: New file.
32 * Makefile.in (XMLFILES): Add traceframe-info.dtd.
34 2011-02-14 Pedro Alves <pedro@codesourcery.com>
36 Base support for <unavailable> value contents.
38 * value.h (value_bytes_available): Declare.
39 (mark_value_bytes_unavailable): Declare.
40 * value.c (struct range): New struct.
41 (range_s): New typedef.
42 (ranges_overlap): New function.
43 (range_lessthan): New function.
44 (ranges_contain_p): New function.
45 (struct value) <unavailable>: New field.
46 (value_bytes_available): New function.
47 (mark_value_bytes_unavailable): New function.
48 (require_not_optimized_out): Constify parameter.
49 (require_available): New function.
50 (value_contents_all, value_contents): Require all bytes be
52 (value_free): Free `unavailable'.
53 (value_copy): Copy `unavailable'.
54 * valprint.h (val_print_unavailable): Declare.
55 * valprint.c (valprint_check_validity): Rename `offset' parameter
56 to `embedded_offset'. If printing a scalar, check whether the
57 value chunk is available.
58 (val_print_unavailable): New.
59 (val_print_scalar_formatted): Check whether the value is
61 * python/py-prettyprint.c (apply_val_pretty_printer): Refuse
62 pretty-printing unavailable values.
64 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
66 Fix const/volatile qualifiers of C++ types, PR c++/12328.
67 * c-typeprint.c (c_type_print_args): Update the function comment. New
68 variable param_type, initialize it. Remove const/volatile qualifiers
69 for language_cplus and !show_artificial. Use param_type.
71 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
73 * symtab.c (find_pc_sect_line): New variable objfile, initialize it
74 from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S.
75 * symtab.h (struct symtab) <next>: Comment extension.
77 2011-02-12 Yao Qi <yao@codesourcery.com>
79 * Makefile.in (CLEANDIRS): Remove duplicated common dir.
81 2011-02-11 Pedro Alves <pedro@codesourcery.com>
83 * infrun.c (proceed): Move switching out and in of tfind mode from
85 (fetch_inferior_event): ... to here.
87 2011-02-11 Yao Qi <yao@codesourcery.com>
89 * Makefile.in: Remove signals.o from COMMON_OBS. Link
91 * configure.ac: Add common to sub dir.
92 * configure: Regenerate.
94 2011-02-10 Pedro Alves <pedro@codesourcery.com>
96 * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
97 side of the parenthesis.
100 2010-07-13 Jakub Jelinek <jakub@redhat.com>
101 * vec.h (VEC_block_remove): Fix comment.
103 2011-02-08 Michael Snyder <msnyder@vmware.com>
105 * linux-nat.c (linux_nat_filter_event): Fix typo in comment.
107 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
109 * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
110 in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
113 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
116 * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
118 (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
119 (i386_process_record) <0x0f3807>: Fix the comment to phsubsw.
121 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
123 * dwarf2read.c (read_subroutine_type): Set special calling
124 convention flag for functions compiled by IBM XL C for OpenCL.
125 * ppc-sysv-tdep.c: Include "dwarf2.h"
126 (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
128 (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement
129 IBM OpenCL vector types calling convention.
130 (ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
131 (ppc_sysv_abi_broken_return_value): Likewise.
132 (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
133 types calling convention.
134 (ppc64_sysv_abi_return_value): Likewise.
135 * spu-tdep.c: Include "dwarf2.h"
136 (spu_return_value): Implement IBM OpenCL vector types calling
139 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
141 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
142 correct ABI for AltiVec vector arguments.
144 2011-02-07 Pedro Alves <pedro@codesourcery.com>
146 * valprint.c (val_print): Extend comment.
147 * ada-valprint.c (ada_valprint): Rewrite comment deferring
148 interface explanation to val_print.
149 (ada_val_print_array): Adjust comment to current interface.
150 (print_field_values): Adjust comment to current interface.
151 * c-valprint.c (c_val_print): Rewrite comment deferring interface
152 explanation to val_print.
153 * f-valprint.c (f_val_print): Ditto.
154 * jv-valprint.c (java_val_print): Ditto.
155 * m2-valprint.c (m2_val_print): Ditto.
156 * p-valprint.c (pascal_val_print): Ditto.
158 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
160 * breakpoint.c (parse_breakpoint_sals): Fix description.
162 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
163 Oguz Kayral <oguzkayral@gmail.com>
165 * python/py-inferior.c (python_on_normal_stop): New function.
166 (python_on_resume): New function.
167 (python_inferior_exit): New function.
168 (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
169 inferior_exit observers.
170 * python/py-evtregistry.c: New file.
171 * python/py-threadevent.c : New file.
172 * python/py-event.c: New file.
173 * python/py-evts.c: New file.
174 * python/py-continueevent.c: New file.
175 * python/py-bpevent.c: New file.
176 * python/py-signalevent.c: New file.
177 * python/py-exetiedevent.c: New file.
178 * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
179 Move struct breakpoint_object from here...
180 * python/python-internal.h: ... to here.
181 * python/py-event.h: New file.
182 * python/py-events.h: New file.
183 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
184 py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
185 py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
186 (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
187 py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
188 py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
189 Add build rules for all the above.
191 2011-02-04 Tom Tromey <tromey@redhat.com>
193 * dwarf2read.c (dwarf2_section_empty_p): New function.
194 (dwarf2_read_section): Use dwarf2_section_empty_p.
195 (dwarf2_section_size): New function.
196 (dwarf2_get_section_info): Unconditionally read section.
197 (dwarf2_read_index): Use dwarf2_section_empty_p.
198 (partial_read_comp_unit_head): Use dwarf2_section_size.
199 (dwarf2_symbol_mark_computed): Likewise.
201 2011-02-04 David Daney <ddaney@caviumnetworks.com>
203 * NEWS: Add item for "catch syscall" on mips*-linux* targets.
205 2011-02-04 David Daney <ddaney@caviumnetworks.com>
207 * mips-linux-tdep.c: Include xml-syscall.h.
208 (mips_linux_get_syscall_number): New function.
209 (mips_linux_init_abi): Add calls to
210 mips_linux_get_syscall_number() and set_xml_syscall_file_name().
211 * data-directory/Makefile.in (SYSCALLS_FILES): Add
212 mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
213 * syscalls/mips-n32-linux.xml: New file.
214 * syscalls/mips-n64-linux.xml: New file.
215 * syscalls/mips-o32-linux.xml: New file.
217 2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org>
219 * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
220 Complain about inverted range entries.
221 (dwarf2_record_block_ranges): Likewise.
223 2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
226 * breakpoint.c (update_watchpoint): Fix name of the
227 update_global_location_list function.
228 (print_one_breakpoint): Fix typo.
229 (_initialize_breakpoint): Remove extra space in hbreak help
231 * breakpoint.h (struct bp_location) <length>: Fix field
234 2011-02-04 Pedro Alves <pedro@codesourcery.com>
236 * regcache.c (registers_changed_ptid): Don't explictly always
237 clear `current_regcache'. Only clear current_thread_ptid and
238 current_thread_arch when PTID matches. Only reinit the frame
239 cache if PTID matches the current inferior_ptid. Move alloca(0)
241 (registers_changed): ... here.
243 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org>
245 * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
246 starts with __stack_chk_guard as stack guard symbol.
248 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
250 * disasm.c (compare_lines): Handle the end of sequence markers
251 within the line table to better support disassembling over
252 compilation unit boundaries.
254 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
256 * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
257 arguments. Skip in-prologue calls to glibc __aeabi_read_tp
258 implementation even if no symbols are available.
259 (thumb_analyze_prologue): Update call to skip_prologue_function.
260 (arm_analyze_prologue): Likewise.
262 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
264 * arm-tdep.c: Include "observer.h".
265 (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
266 (arm_exidx_data_key): New static variable.
267 (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
268 (struct arm_exidx_data): Likewise.
269 (arm_exidx_data_free): New function.
270 (arm_compare_exidx_entries): Likewise.
271 (arm_obj_section_from_vma): Likewise.
272 (arm_exidx_new_objfile): Likewise.
273 (arm_find_exidx_entry): Likewise.
274 (arm_exidx_fill_cache): Likewise.
275 (arm_exidx_unwind_sniffer): Likewise.
276 (arm_exidx_unwind): New global variable.
277 (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
278 (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
279 observer. Register arm_exidx_data_key as objfile data.
281 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
283 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
284 due to accessing uninitialized variable. Fix indentation.
286 2011-02-02 Pedro Alves <pedro@codesourcery.com>
288 * c-valprint.c (c_value_print): When doing virtual base pointer
289 adjustment, create a new value with adjusted contents rather than
290 changing the contents of the value being printed (and getting it
293 2011-02-02 Pedro Alves <pedro@codesourcery.com>
295 * xml-support.c (xml_find_attribute): New.
296 (xinclude_start_include): Use it.
297 * xml-support.h (xml_find_attribute): Declare.
298 * memory-map.c (memory_map_start_memory)
299 (memory_map_start_property): Use xml_find_attribute.
300 * osdata.c (osdata_start_osdata, osdata_start_column): Use
302 * remote.c (start_thread): Use xml_find_attribute.
303 * solib-target.c (library_list_start_segment)
304 (library_list_start_section, library_list_start_library)
305 (library_list_start_list): Use xml_find_attribute.
306 * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
307 (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
308 (tdesc_start_field): Use xml_find_attribute.
310 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com>
312 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
313 (BUILD_OCL_VTYPES): Update.
315 2011-02-02 Joel Brobecker <brobecker@adacore.com>
317 * configure.ac: Work around non-GNU sed limitation when computing
318 python version number.
319 * configure: Regenerate.
321 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
323 Fix debug printing of TYPE_INSTANCE.
324 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
325 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
327 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
329 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
330 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
331 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
332 * ada-operator.inc: Rename the file to ...
333 * ada-operator.def: ... here, wrap all the entries by macro OP.
334 * expprint.c (op_name_standard): Remove all the entries. Include
335 "std-operator.def" instead.
336 * expression.h (enum exp_opcode): Include "std-operator.def" and
337 "ada-operator.def". Move all the entries ...
338 * std-operator.def: ... here, wrap all the entries by macro OP.
340 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
342 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
343 * breakpoint.c (remove_jit_event_breakpoints): New function.
344 * jit.c (jit_descriptor_addr): Delete.
345 (registering_code): Delete.
347 (jit_inferior_data): New variable.
348 (struct jit_inferior_data): New type.
349 (get_jit_inferior_data): New function.
350 (jit_inferior_data_cleanup): New function.
351 (jit_read_descriptor): Adjust.
352 (jit_register_code): Adjust.
353 (jit_breakpoint_re_set_internal): New function; move code here ...
354 (jit_inferior_init): ... from here.
355 (jit_breakpoint_re_set): Adjust.
356 (jit_reset_inferior_data_and_breakpoints): New function.
357 (jit_inferior_created_observer): Adjust.
358 (jit_inferior_exit_hook): Adjust.
359 (jit_executable_changed_observer): New function.
360 (jit_event_handler): Adjust.
361 (_initialize_jit): Adjust.
363 2011-01-31 Michael Snyder <msnyder@vmware.com>
365 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
368 2011-01-31 Tom Tromey <tromey@redhat.com>
371 * python/python.c (execute_gdb_command): Call
373 * top.c (suppress_dont_repeat): New global.
374 (dont_repeat): Use it.
375 (prevent_dont_repeat): New function.
376 * command.h (prevent_dont_repeat): Declare.
378 2011-01-31 Tom Tromey <tromey@redhat.com>
380 * infcmd.c (finish_backward): Use breakpoint_set_silent.
381 * python/py-breakpoint.c (bppy_set_silent): Use
382 breakpoint_set_silent.
383 (bppy_set_thread): Use breakpoint_set_thread.
384 (bppy_set_task): Use breakpoint_set_task.
385 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
386 (breakpoint_set_task): Declare.
387 (make_breakpoint_silent): Remove.
388 * breakpoint.c (breakpoint_set_silent): New function.
389 (breakpoint_set_thread): Likewise.
390 (breakpoint_set_task): Likewise.
391 (make_breakpoint_silent): Remove.
393 2011-01-31 Tom Tromey <tromey@redhat.com>
395 * breakpoint.h (user_breakpoint_p): Declare.
396 * breakpoint.c (user_breakpoint_p): New function.
397 (breakpoint_1): Use it.
398 (save_breakpoints): Likewise.
400 2011-01-31 Joel Brobecker <brobecker@adacore.com>
402 * configure.ac: Add handling of Python distribution on Windows.
403 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
404 sysconfig variables are not defined, then do not use them.
405 On Windows, if LIBPL is not defined, then use prefix + '/libs'
406 instead. On Windows, return all paths using forward-slashes
407 rather than backslashes.
409 2011-01-31 Joel Brobecker <brobecker@adacore.com>
411 * configure.ac: Remove fallback behavior for building
412 against Python. Remove tweaking of Python include path.
413 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
414 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
415 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
416 Always restore CPPFLAGS and LIBS after linking test.
417 * configure: Regenerated.
418 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
419 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
420 * python/python-internal.h: Adjust includes of Python .h files.
422 2011-01-31 Joel Brobecker <brobecker@adacore.com>
424 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
427 2011-01-31 Joel Brobecker <brobecker@adacore.com>
429 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
432 2011-01-31 Yao Qi <yao@codesourcery.com>
434 * arm-linux-nat.c: Update calls to regcache_register_status
435 instead of regcache_valid_p.
436 * aix-thread.c: Likewise.
437 * i386gnu-nat.c: Likewise.
439 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
442 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
443 touching TYPE_FIELD_ARTIFICIAL.
445 2011-01-28 Richard Earnshaw <rearnsha@arm.com>
447 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
450 2011-01-28 Pedro Alves <pedro@codesourcery.com>
452 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
453 selected, don't try iterating over the traceframe's blocks.
454 (tfile_has_stack): If there's no traceframe selected, then there's
456 (tfile_has_registers): If there's no traceframe selected, then
457 there's no registers.
459 2011-01-28 Pedro Alves <pedro@codesourcery.com>
461 * target.c (memory_xfer_partial): No need to restore shadows if we
462 haven't read anything.
464 2011-01-28 Pedro Alves <pedro@codesourcery.com>
466 * mips-tdep.c (mips_print_register): Use get_frame_register_value
467 and val_print_scalar_formatted.
469 2011-01-27 Pedro Alves <pedro@codesourcery.com>
471 * tracepoint.c (tfile_read): New.
472 (tfile_open): Use it.
473 (tfile_get_traceframe_address): Use it.
474 (tfile_trace_find): Use it.
475 (walk_blocks_callback_func): New typedef.
476 (match_blocktype): New function.
477 (traceframe_walk_blocks): New function.
478 (traceframe_find_block_type): New function.
479 (tfile_fetch_registers, tfile_xfer_partial)
480 (tfile_get_trace_state_variable_value): Use
481 traceframe_find_block_type and tfile_read.
483 2011-01-26 Kevin Buettner <kevinb@redhat.com>
485 * remote-mips.c: Add internationalization mark ups. Remove
486 trailing \n from already marked up strings.
488 2011-01-26 Tom Tromey <tromey@redhat.com>
490 * python/py-prettyprint.c (print_string_repr): Clear
491 'addressprint' option when calling val_print_string.
492 (print_children): Handle Val_pretty_default. Clear 'addressprint'
493 option when calling val_print_string.
495 2011-01-26 Tom Tromey <tromey@redhat.com>
497 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
499 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
501 (gdb_py_longest, gdb_py_ulongest): New typedefs.
502 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
503 (gdb_py_long_as_ulongest): New defines.
504 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
505 (gdb_py_int_as_long): Declare.
506 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
507 GDB_PY_LL_ARG, gdb_py_object_from_longest.
508 (valpy_long): Add comment.
509 * python/py-utils.c (get_addr_from_python): Use
510 gdb_py_long_as_ulongest. Handle overflow properly.
511 (gdb_py_object_from_longest): New function.
512 (gdb_py_object_from_ulongest): Likewise.
513 (gdb_py_int_as_long): Likewise.
514 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
515 * python/py-symtab.c (salpy_get_pc): Use
516 gdb_py_long_from_ulongest.
517 (salpy_get_line): Use PyInt_FromLong.
518 * python/py-param.c (set_parameter_value): Use
520 * python/py-lazy-string.c (stpy_get_address): Use
521 gdb_py_long_from_ulongest.
522 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
523 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
524 * python/py-breakpoint.c (bppy_set_thread): Use
526 (bppy_set_task): Likewise.
527 (bppy_set_ignore_count): Likewise.
528 (bppy_set_hit_count): Likewise.
529 * python/py-block.c (blpy_get_start): Use
530 gdb_py_object_from_ulongest.
531 (blpy_get_end): Likewise.
532 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
534 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
537 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
538 * gdb/solib.c (solib_read_symbols): Check for addr_low in
539 equality test for objfile, initialize addr_low if needed.
541 2011-01-25 Pedro Alves <pedro@codesourcery.com>
543 * tui/tui-regs.c (tui_register_format): Remove dead code.
545 2011-01-25 Pedro Alves <pedro@codesourcery.com>
547 * printcmd.c (print_formatted): Use val_print_scalar_formatted
548 instead of print_scalar_formatted.
549 (print_scalar_formatted): Don't handle 's' format strings here,
550 and add an assertion that we never see such format here.
551 * valprint.h (val_print_scalar_formatted): Declare.
552 * valprint.c (val_print_scalar_formatted): New.
553 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
554 instead of print_scalar_formatted.
555 * jv-valprint.c (java_val_print): Ditto.
556 * p-valprint.c (pascal_val_print): Ditto.
557 * ada-valprint.c (ada_val_print_1): Ditto.
558 * f-valprint.c (f_val_print): Ditto.
559 * infcmd.c (registers_info): Ditto.
560 * m2-valprint.c (m2_val_print): Ditto.
562 2011-01-25 Pedro Alves <pedro@codesourcery.com>
564 * m2-valprint.c (print_unbounded_array): Pass
565 value_contents_for_printing rather than value_contents, to
566 m2_print_array_contents. Also pass in the value.
568 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
570 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
571 (save_gdb_index_command): Switch to .gdb_index version 4.
573 2011-01-25 Pedro Alves <pedro@codesourcery.com>
575 * mi/mi-main.c (get_register): Use get_frame_register_value rather
576 than frame_register, and always pass a valid value to val_print.
578 2011-01-25 Pedro Alves <pedro@codesourcery.com>
580 Centralize printing "<optimized out>".
582 * valprint.h (val_print_optimized_out): Declare.
583 * cp-valprint.c (cp_print_value_fields): Use
584 val_print_optimized_out.
585 * jv-valprint.c (java_print_value_fields): Ditto.
586 * p-valprint.c (pascal_object_print_value_fields): Ditto.
587 * printcmd.c (print_formatted): Ditto.
588 * valprint.c (valprint_check_validity): Ditto.
589 (value_check_printable): Ditto.
590 (val_print_optimized_out): New.
592 2011-01-25 Pedro Alves <pedro@codesourcery.com>
594 * infcmd.c (default_print_registers_info): Allocate values so to
595 never pass a NULL value to val_print.
597 2011-01-25 Pedro Alves <pedro@codesourcery.com>
599 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
600 boolean. Make sure to always pass a value that matches the
601 contents buffer to callees. Preserve `address' for following
603 * value.c (value_contents_for_printing_const): New.
604 (value_address): Constify value argument.
605 * value.h (value_contents_for_printing_const): Declare.
606 (value_address): Constify value argument.
608 2011-01-25 Pedro Alves <pedro@codesourcery.com>
610 * regcache.c (struct regcache_descr): Rename
611 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
612 and sizeof_cooked_register_valid_p to
613 sizeof_cooked_register_status.
614 (init_regcache_descr): Adjust.
615 (struct regcache): Rename register_valid_p field to
617 (regcache_xmalloc_1, regcache_xfree, regcache_save)
618 (do_cooked_read): Adjust.
619 (regcache_valid_p): Rename to ...
620 (regcache_register_status): ... this. Adjust.
621 (regcache_invalidate): Adjust.
622 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
624 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
625 as unavailable, not valid.
626 (regcache_dump): Adjust.
627 * regcache.h (enum register_status): New.
628 (regcache_register_status): Declare.
629 (regcache_invalidate): Delete declaration.
630 * corelow.c (get_core_registers): Adjust.
631 * tracepoint.c (tfile_fetch_registers): Adjust.
632 * trad-frame.c (REG_VALUE): Rename to ...
633 (TF_REG_VALUE): ... this.
634 (REG_UNKNOWN): Rename to ...
635 (TF_REG_UNKNOWN): ... this.
636 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
637 * mi/mi-main.c (register_changed_p): Adjust.
639 2011-01-25 Pedro Alves <pedro@codesourcery.com>
641 * regcache.c (struct regcache_descr): Remove outdated comment.
642 (init_regcache_descr): Remove sizeof_raw_register_valid_p
644 (regcache_xmalloc): Rename to ...
645 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
646 Allocate the regcache type accordingly.
647 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
648 (regcache_xfree): Asser the source is also readonly. Copy sizeof
649 cooked registers, not raw.
650 (regcache_dup_no_passthrough): Delete.
651 (get_thread_arch_regcache): Use regcache_xmalloc_1.
652 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
653 mention obsolete write_register_bytes.
654 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
656 2011-01-25 Pedro Alves <pedro@codesourcery.com>
658 Stop remote_read_bytes from handling partial reads itself.
660 * remote-fileio.c: Include target.h.
661 (remote_fileio_write_bytes): Delete.
662 (remote_fileio_func_open, remote_fileio_func_write)
663 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
665 (remote_fileio_func_stat): Use target_read_memory and
667 (remote_fileio_func_gettimeofday): Use target_write_memory.
668 (remote_fileio_func_system): Use target_read_memory.
669 * remote.c (remote_write_bytes): Make it static.
670 (remote_read_bytes): Don't handle partial reads here.
671 * remote.h (remote_read_bytes): Delete declaration.
673 2011-01-25 Pedro Alves <pedro@codesourcery.com>
675 Simplify XML parsing a bit.
677 * xml-support.h (gdb_xml_parse_quick): Declare.
678 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
679 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
681 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
682 gdb_xml_create_parser_and_cleanup_1.
683 (gdb_xml_parse_quick): New.
684 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
685 * osdata.c (osdata_parse): Ditto.
686 * remote.c (remote_threads_info): Ditto.
687 * solib-target.c (solib_target_parse_libraries): Ditto.
688 * xml-syscall.c (syscall_parse_xml): Ditto.
689 * xml-tdesc.c (tdesc_parse_xml): Ditto.
691 2011-01-24 Kevin Buettner <kevinb@redhat.com>
693 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
694 with remote-mips.o added to gdb_target_obs.
695 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
697 2011-01-24 Pedro Alves <pedro@codesourcery.com>
699 * ada-valprint.c (val_print_packed_array_elements): Pass the
700 correct struct value to val_print.
701 (ada_val_print_1): Ditto.
703 2011-01-24 Pedro Alves <pedro@codesourcery.com>
705 Don't lose embedded_offset in printing routines throughout.
707 * valprint.h (val_print_array_elements): Change prototype.
708 * valprint.c (val_print_array_elements): Add `embedded_offset'
709 parameter, and adjust to pass it down to val_print, while passing
710 `valaddr' or `address' unmodified. Take embedded_offset into
711 account when checking repetitions.
712 * c-valprint.c (c_val_print): Pass embedded_offset to
713 val_print_array_elements instead of adjusting `valaddr' and
715 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
716 embedded_offset to val_print_array_elements instead of adjusting
718 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
719 * p-valprint.c (pascal_val_print): Pass embedded_offset to
720 val_print_array_elements and pascal_object_print_value_fields
721 instead of adjusting `valaddr'.
722 (pascal_object_print_value_fields): Add `offset' parameter, and
724 (pascal_object_print_value): Add `offset' parameter, and adjust to
726 (pascal_object_print_static_field): Use
727 value_contents_for_printing/value_embedded_offset, rather than
729 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
730 parameter, and adjust to use it. Use
731 value_contents_for_printing/value_embedded_offset, rather than
733 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
734 (ada_val_print_array): Add `offset' parameter, and adjust to use
736 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
737 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
738 Instead work with offsets. Use
739 value_contents_for_printing/value_embedded_offset, rather than
740 value_contents. Change `defer_val_int' local type to CORE_ADDR,
741 and use value_from_pointer to extract a target pointer, rather
742 than value_from_longest.
743 (print_variant_part): Add `offset' parameter. Replace
744 `outer_valaddr' parameter by a new `outer_offset' parameter.
745 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
746 (ada_value_print): Use
747 value_contents_for_printing/value_embedded_offset, rather than
749 (print_record): Add `offset' parameter, and adjust to pass it
751 (print_field_values): Add `offset' parameter. Replace
752 `outer_valaddr' parameter by a new `outer_offset' parameter.
753 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
754 Use value_contents_for_printing/value_embedded_offset, rather than
756 * d-valprint.c (dynamic_array_type): Use
757 value_contents_for_printing/value_embedded_offset, rather than
759 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
760 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
761 (java_print_value_fields): Take `offset' into account. Don't
762 re-adjust `valaddr'. Instead pass down adjusted offsets.
763 (java_val_print): Take `embedded_offset' into account. Pass it to
764 java_print_value_fields.
765 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
766 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
767 down adjusted offsets.
768 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
769 (f_val_print): Take `embedded_offset' into account.
771 2011-01-21 Joel Brobecker <brobecker@adacore.com>
773 * inflow.c: Include "gdbcmd.h".
774 (interactive_mode): New static global, moved here from top.c.
775 (show_interactive_mode): New function, moved here from top.c.
776 use gdb_has_a_terminal instead of input_from_terminal_p to
777 determine the current mode.
778 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
780 (_initialize_inflow): Add the "set/show interactive-mode"
781 commands. Moved here from top.c, after having adjusted slightly
783 * top.c (interactive_mode, show_interactive_mode): Delete, moved
785 (input_from_terminal_p): Remove handling of "interactive-mode"
786 setting, moved to infow.c.
787 (init_main): Remove creation of the "set/show interactive-mode"
788 commands, moved to inflow.c.
790 2011-01-19 Joel Brobecker <brobecker@adacore.com>
792 * NEWS: Add entry for native ia64-hpux support.
794 2011-01-19 Tom Tromey <tromey@redhat.com>
797 * thread.c (free_thread): Free 'name'.
798 (print_thread_info): Emit thread name. Change CLI output.
799 (thread_name_command): New function.
800 (do_captured_thread_select): Emit newline.
801 (_initialize_thread): Register 'thread name' command.
802 * target.h (struct target_ops) <to_thread_name>: New field.
803 (target_thread_name): New macro.
804 * target.c (update_current_target): Handle to_thread_name.
805 * python/py-infthread.c (thpy_get_name): New function.
806 (thpy_set_name): Likewise.
807 (thread_object_getset): Add "name".
808 * linux-nat.c (linux_nat_thread_name): New function.
809 (linux_nat_add_target): Set to_thread_name.
810 * gdbthread.h (struct thread_info) <name>: New field.
812 2011-01-18 Joel Brobecker <brobecker@adacore.com>
814 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
815 (ada_val_print_1): Likewise.
817 2011-01-18 Joel Brobecker <brobecker@adacore.com>
819 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
820 upper limit address is not greater than the function end address
821 when the upper limit could not be computed using the debugging
824 2011-01-17 Tom Tromey <tromey@redhat.com>
826 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
828 * utils.c: Include gdb_regex.h.
829 (do_regfree_cleanup): New function.
830 (make_regfree_cleanup): Likewise.
831 (get_regcomp_error): Likewise.
832 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
834 2011-01-17 Tom Tromey <tromey@redhat.com>
836 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
839 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
841 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
842 for internal variables.
843 (last_was_structop): New static variable.
844 (COMPLETE): New token.
845 (field_exp): New rule to group all '.' suffix handling.
846 Add mark_struct_expression calls when approriate to be able
847 to correctly find fields for completion.
848 (yylex): Adapt to handle field completion and set INTVAR when
851 2011-01-14 Yao Qi <yao@codesourcery.com>
853 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
854 save_reggroup, restore_reggroup and all_reggroup.
856 2011-01-14 Joel Brobecker <brobecker@adacore.com>
858 * ada-valprint. (ada_printchar): Use the correct type length
859 in call to ada_emit_char.
860 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
862 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
864 * solib-som.h (hpux_major_release): Declare variable here.
865 * solib-som.c: Remove <sys/utsname.h> header.
866 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
867 (hpux_major_release): Make global, change default value to
868 DEFAULT_HPUX_MAJOR_RELEASE.
869 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
870 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
871 Add "solib-som.h" header.
872 (set_hpux_major_release): New function.
873 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
875 2011-01-14 Mike Frysinger <vapier@gentoo.org>
877 * configure.tgt (*-*-uclinux*): Match more Linux os targets
879 2011-01-14 Joel Brobecker <brobecker@adacore.com>
881 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
882 new-line at end of warning message.
883 (ia64_hpux_store_register): Remove trailing new-line at end of
885 * ia64-hpux-tdep.c: Rephrase comment.
886 * solib-ia64-hpux.c (struct dld_info): Change type of field
887 dld_flags from "long long" to ULONGEST.
889 2011-01-14 Pedro Alves <pedro@codesourcery.com>
891 * target.h (deprecated_child_ops): Delete declaration.
892 * target.c (deprecated_child_ops): Delete definition.
894 2011-01-14 Pedro Alves <pedro@codesourcery.com>
896 * Makefile.in (hpux-thread.o): Delete rule.
897 * configure.ac: Don't check for HPUX DCE threads support.
898 * configure, config.in: Regenerate.
899 * hppa-hpux-nat.c (child_suppress_run): Delete.
900 (hppa_hpux_child_can_run): Delete.
901 (_initialize_hppa_hpux_nat): Don't override to_can_run.
902 * hpux-thread.c: Delete.
904 2011-01-13 Joel Brobecker <brobecker@adacore.com>
906 * hpux-thread.c (hpux_pid_to_str): Delete.
908 2011-01-13 Joel Brobecker <brobecker@adacore.com>
910 * ada-valprint.c (ada_emit_char): Remove strange code.
911 Check that c is <= UCHAR_MAX before passing it to isascii.
912 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
914 2011-01-13 Joel Brobecker <brobecker@adacore.com>
916 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
917 to the case where instream is stdin.
919 2011-01-13 Joel Brobecker <brobecker@adacore.com>
921 * ia64-tdep.h (struct regcache): Forward declare.
922 (struct ia64_infcall_ops): New struct type.
923 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
925 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
926 Renames ia64_find_global_pointer.
927 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
928 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
929 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
931 (ia64_infcall_ops): New static global constant.
932 (ia64_gdbarch_init): Set tdep->infcall_ops.
933 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
934 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
935 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
936 (ia64_hpux_dummy_code): New static global constant.
937 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
938 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
939 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
941 (ia64_hpux_infcall_ops): New static global constant.
942 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
943 for inferior function calls to work properly on ia64-hpux.
945 2011-01-13 Joel Brobecker <brobecker@adacore.com>
947 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
948 * ia64-tdep.h (struct frame_info): forward declaration.
949 (struct gdbarch_tdep): Add field size_of_register_frame.
950 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
951 to determine the size of the register frame.
952 (ia64_size_of_register_frame): New function.
953 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
954 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
955 (IA64_HPUX_UREG_REASON): New macro.
956 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
958 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
959 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
960 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
963 2011-01-13 Joel Brobecker <brobecker@adacore.com>
965 Add support for ia64-hpux.
966 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
967 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
969 * configure.host: Add handling for ia64-hpux hosts. Add associated
971 * configure.tgt: Add handling for ia64-hpux targets.
972 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
973 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
974 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
976 2011-01-13 Joel Brobecker <brobecker@adacore.com>
978 [ttrace] Compute thread list immediately after attach.
979 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
981 (inf_ttrace_attach): Use it.
983 2011-01-13 Joel Brobecker <brobecker@adacore.com>
985 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
986 if we could not determine the frame's function address. Instead,
987 use the frame's PC, and then continue.
989 2011-01-13 Joel Brobecker <brobecker@adacore.com>
991 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
994 2011-01-13 Joel Brobecker <brobecker@adacore.com>
996 * ia64-tdep.c (ia64_struct_type_p): New function.
997 (ia64_extract_return_value): Handle integral values that are
998 less than 8 bytes long.
999 (ia64_push_dummy_call): Likewise.
1001 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1003 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
1004 floatformat_ia64_ext.
1005 (floatformat_ia64_ext_big): New static const.
1006 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
1008 2011-01-12 Tom Tromey <tromey@redhat.com>
1010 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
1012 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
1013 (mi_cmd_thread_list_ids): Likewise.
1014 (mi_cmd_data_list_changed_registers): Likewise.
1015 (mi_cmd_data_list_register_values): Likewise.
1016 (mi_cmd_data_write_register_values): Likewise.
1017 (mi_cmd_data_evaluate_expression): Likewise.
1018 (mi_cmd_data_read_memory): Likewise.
1019 (mi_cmd_data_read_memory_bytes): Likewise.
1020 (mi_cmd_data_write_memory): Likewise.
1021 (mi_cmd_enable_timings): Likewise.
1022 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
1023 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
1024 (mi_cmd_var_delete): Likewise.
1025 (mi_cmd_var_set_format): Likewise.
1026 (mi_cmd_var_show_format): Likewise.
1027 (mi_cmd_var_info_num_children): Likewise.
1028 (mi_cmd_var_list_children): Likewise.
1029 (mi_cmd_var_info_type): Likewise.
1030 (mi_cmd_var_info_expression): Likewise.
1031 (mi_cmd_var_show_attributes): Likewise.
1032 (mi_cmd_var_assign): Likewise.
1033 (mi_cmd_var_update): Likewise.
1034 (mi_cmd_enable_pretty_printing): Likewise.
1035 (mi_cmd_var_set_update_range): Likewise.
1036 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
1038 (mi_cmd_target_file_put): Likewise.
1039 (mi_cmd_target_file_delete): Likewise.
1040 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
1042 (mi_cmd_stack_info_depth): Likewise.
1043 (mi_cmd_stack_list_locals): Likewise.
1044 (mi_cmd_stack_list_args): Likewise.
1045 (mi_cmd_stack_select_frame): Likewise.
1046 (mi_cmd_stack_select_frame): Likewise.
1047 (mi_cmd_stack_info_frame): Likewise.
1048 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
1050 (mi_cmd_file_list_exec_source_files): Likewise.
1051 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
1052 (mi_cmd_env_cd): Likewise.
1053 (mi_cmd_env_path): Likewise.
1054 (mi_cmd_env_dir): Likewise.
1055 (mi_cmd_inferior_tty_show): Likewise.
1056 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
1057 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
1058 (mi_cmd_break_watch): Likewise.
1060 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
1062 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
1063 (ppc_linux_insert_hw_breakpoint): Likewise.
1064 (ppc_linux_remove_hw_breakpoint): Likewise.
1065 (ppc_linux_insert_watchpoint): Likewise.
1067 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1068 Jan Kratochvil <jan.kratochvil@redhat.com>
1070 PR fortran/11104 and DWARF unbound arrays detection.
1071 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
1072 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
1073 unspecified upper bound.
1074 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
1075 variables array_size_array, tmp_type and offset_item. New variable
1076 array. Remove call to f77_get_upperbound. New variables array_type
1077 and index. Call value_subscripted_rvalue for each dimenasion. Remove
1078 the final call to deprecated_set_value_type.
1080 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1082 Make value allocations more lazy.
1083 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
1084 instead of allocate_value and set_value_lazy when possible.
1085 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
1086 instead of allocate_value and set_value_lazy.
1087 * findvar.c (value_of_register_lazy): Likewise.
1088 (read_var_value): Remove V preallocation, call just check_typedef in
1089 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
1090 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
1091 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
1092 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
1093 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
1094 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
1095 the end, remove set_value_lazy there.
1096 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
1097 instead of allocate_value and set_value_lazy when possible.
1098 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
1099 * value.c (allocate_computed_value): Use allocate_value_lazy instead
1100 of allocate_value and set_value_lazy.
1101 (value_from_contents_and_address): Use allocate_value_lazy instead of
1102 allocate_value and set_value_lazy when possible.
1104 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1106 * disasm.c (dump_insns): Support dumping opcodes for MI.
1107 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
1108 dumping of instruction opcodes.
1110 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
1112 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
1115 2011-01-11 Tom Tromey <tromey@redhat.com>
1117 * thread.c (do_captured_thread_select): Emit newline before
1120 2011-01-11 Michael Snyder <msnyder@vmware.com>
1122 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
1123 * score-tdep.c: Ditto.
1124 * score-tdep.h: Ditto.
1125 * ser-base.c: Ditto.
1126 * ser-go32.c: Ditto.
1129 * ser-mingw.c: Ditto.
1130 * ser-pipe.c: Ditto.
1132 * ser-unix.c: Ditto.
1133 * sh64-tdep.c: Ditto.
1134 * shnbsd-nat.c: Ditto.
1138 * solib-darwin.c: Ditto.
1139 * solib-frv.c: Ditto.
1141 * solib-irix.c: Ditto.
1142 * solib-osf.c: Ditto.
1143 * solib-pa64.c: Ditto.
1144 * solib-som.c: Ditto.
1145 * solib-spu.c: Ditto.
1146 * solib-sunos.c: Ditto.
1147 * solib-svr4.c: Ditto.
1149 * sol-thread.c: Ditto.
1153 * sparc64-linux-tdep.c: Ditto.
1154 * sparc64-tdep.c: Ditto.
1155 * sparc-linux-nat.c: Ditto.
1156 * sparc-linux-tdep.c: Ditto.
1157 * sparc-sol2-nat.c: Ditto.
1158 * sparc-sol2-tdep.c: Ditto.
1159 * sparc-tdep.c: Ditto.
1160 * sparc-tdep.h: Ditto.
1161 * spu-tdep.c: Ditto.
1162 * stabsread.c: Ditto.
1163 * stabsread.h: Ditto.
1171 * target-descriptions.c: Ditto.
1172 * target-descriptions.h: Ditto.
1174 * target-memory.c: Ditto.
1175 * terminal.h: Ditto.
1178 * tracepoint.c: Ditto.
1179 * tracepoint.h: Ditto.
1180 * trad-frame.h: Ditto.
1181 * typeprint.c: Ditto.
1183 2011-01-11 Michael Snyder <msnyder@vmware.com>
1185 * ui-file.c: Comment cleanup, mostly periods and spaces.
1190 * v850-tdep.c: Ditto.
1191 * valarith.c: Ditto.
1193 * valprint.c: Ditto.
1194 * valprint.h: Ditto.
1199 * vax-tdep.c: Ditto.
1203 * windows-nat.c: Ditto.
1204 * windows-tdep.c: Ditto.
1205 * xcoffread.c: Ditto.
1206 * xcoffsolib.c: Ditto.
1207 * xml-support.c: Ditto.
1208 * xstormy16-tdep.c: Ditto.
1209 * xtensa-tdep.c: Ditto.
1210 * xtensa-tdep.h: Ditto.
1212 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1214 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
1215 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
1217 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
1218 Thiago Jung Bauermann <bauerman@br.ibm.com>
1220 Implement support for PowerPC BookE ranged watchpoints.
1222 (struct breakpoint_ops) <resources_needed>: New method.
1223 Initialize to NULL in all existing breakpoint_ops instances.
1224 (struct breakpoint) <exact>: New field.
1225 (target_exact_watchpoints): Declare external global.
1226 * breakpoint.c (target_exact_watchpoints): New global flag.
1227 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
1228 b->enable_state to bp_enabled before calling
1229 hw_watchpoint_used_count.
1230 (hw_watchpoint_used_count): Iterate over all bp_locations in a
1231 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
1233 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
1234 if the watchpoint is exact.
1235 (resources_needed_watchpoint): New function.
1236 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
1237 (watch_command_1): Set b->exact if the user asked for an exact
1238 watchpoint and one can be set.
1239 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
1240 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
1241 the user asks for an exact watchpoint and one can be set. Return
1242 number of needed debug registers to watch the expression.
1243 * gdbtypes.c (is_scalar_type): New function, based on
1244 valprint.c:scalar_type_p.
1245 (is_scalar_type_recursive): New function.
1246 * gdbtypes.h (is_scalar_type_recursive): Declare.
1247 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
1248 handle regions when ranged watchpoints are available.
1249 (create_watchpoint_request): New function.
1250 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
1251 create_watchpoint_request.
1252 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
1253 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
1254 `set powerpc' and `show powerpc' commands.
1255 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1256 Mention documentation comment in the target macro.
1257 (target_region_ok_for_hw_watchpoint): Document return value.
1259 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1261 * breakpoint.c (update_watchpoint): Decide on using a software or
1262 hardware watchpoint after the bp_locations are created.
1264 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1266 Convert hardware watchpoints to use breakpoint_ops.
1267 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
1268 <insert_location>: ... this. Return int instead of void.
1269 Accept pointer to struct bp_location instead of pointer to
1270 struct breakpoint. Adapt all implementations.
1271 (breakpoint_ops) <remove>: Rename to...
1272 <remove_location>: ... this. Accept pointer to struct bp_location
1273 instead of pointer to struct breakpoint. Adapt all implementations.
1274 * breakpoint.c (insert_catchpoint): Delete function.
1275 (insert_bp_location): Call the watchpoint or catchpoint's
1276 breakpoint_ops.insert method.
1277 (remove_breakpoint_1): Call the watchpoint or catchpoint's
1278 breakpoint_ops.remove method.
1279 (insert_watchpoint, remove_watchpoint): New functions.
1280 (watchpoint_breakpoint_ops): New structure.
1281 (watch_command_1): Initialize the OPS field.
1282 * inf-child.c (inf_child_insert_fork_catchpoint)
1283 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
1284 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
1285 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
1287 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
1288 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
1289 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
1290 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
1291 * target.c (update_current_target): Change default implementation of
1292 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
1293 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1294 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
1295 to_set_syscall_catchpoint to return_one.
1296 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
1297 (debug_to_insert_exec_catchpoint): Report return value.
1298 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
1299 (to_insert_exec_catchpoint): Change declaration to return int instead
1302 2011-01-11 Michael Snyder <msnyder@vmware.com>
1304 * arm-tdep.c: Internationalization.
1307 * fork-child.c: Ditto.
1308 * nto-procfs.c: Ditto.
1309 * ppc-sysv-tdep.c: Ditto.
1311 * remote-mips.c: Ditto.
1313 * rs6000-nat.c: Ditto.
1314 * rs6000-tdep.c: Ditto.
1318 * xml-support.c: Ditto.
1319 * mi/mi-cmd-break.c: Ditto.
1320 * mi/mi-cmd-var.c: Ditto.
1321 * mi/mi-interp.c: Ditto.
1322 * mi/mi-main.c: Ditto.
1324 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
1326 * remote-sim.c (gdbsim_store_register): Update API to
1327 sim_store_register to check more error conditions.
1329 2011-01-10 Michael Snyder <msnyder@vmware.com>
1331 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1332 * nto-tdep.c: Ditto.
1333 * nto-tdep.h: Ditto.
1334 * objc-exp.y: Ditto.
1335 * objc-lang.c: Ditto.
1336 * objfiles.c: Ditto.
1337 * objfiles.h: Ditto.
1338 * observer.c: Ditto.
1339 * opencl-lang.c: Ditto.
1342 * parser-defs.h: Ditto.
1345 * posix-hdep.c: Ditto.
1346 * ppcbug-rom.c: Ditto.
1347 * ppc-linux-nat.c: Ditto.
1348 * ppc-linux-tdep.c: Ditto.
1349 * ppc-linux-tdep.h: Ditto.
1350 * ppcnbsd-tdep.c: Ditto.
1351 * ppcobsd-tdep.c: Ditto.
1352 * ppcobsd-tdep.h: Ditto.
1353 * ppc-sysv-tdep.c: Ditto.
1354 * ppc-tdep.h: Ditto.
1355 * printcmd.c: Ditto.
1356 * proc-abi.c: Ditto.
1357 * proc-flags.c: Ditto.
1359 * proc-utils.h: Ditto.
1360 * progspace.h: Ditto.
1361 * prologue-value.c: Ditto.
1362 * prologue-value.h: Ditto.
1363 * psympriv.h: Ditto.
1365 * p-typeprint.c: Ditto.
1366 * p-valprint.c: Ditto.
1367 * ravenscar-sparc-thread.c: Ditto.
1368 * ravenscar-thread.c: Ditto.
1369 * ravenscar-thread.h: Ditto.
1371 * regcache.c: Ditto.
1372 * regcache.h: Ditto.
1374 * remote-fileio.c: Ditto.
1375 * remote-fileio.h: Ditto.
1377 * remote-m32r-sdi.c: Ditto.
1378 * remote-mips.c: Ditto.
1379 * remote-sim.c: Ditto.
1380 * rs6000-aix-tdep.c: Ditto.
1381 * rs6000-nat.c: Ditto.
1382 * rs6000-tdep.c: Ditto.
1384 2011-01-10 Michael Snyder <msnyder@vmware.com>
1386 * charset.c (validate): Internationalization.
1387 * coffread.c (read_one_sym): Ditto.
1388 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1389 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1390 * inflow.c (new_tty): Ditto.
1391 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1392 * m32c-tdep.c (m32c_return_value): Ditto.
1393 * mep-tdep.c (mep_store_return_value): Ditto.
1394 * score-tdep.c (score7_fetch_insn): Ditto.
1395 * ser-mingw.c (pipe_windows_open): Ditto.
1396 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1397 * spu-tdep.c (spu_register_type): Ditto.
1398 * tracepoint.c (trace_find_command): Ditto.
1399 * valarith.c (value_pos): Ditto.
1401 2011-01-10 Joel Brobecker <brobecker@adacore.com>
1403 * ada-valprint.c (printstr): Minor comment reformatting.
1405 2011-01-08 Michael Snyder <msnyder@vmware.com>
1407 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1410 2011-01-08 Michael Snyder <msnyder@vmware.com>
1412 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1413 * hppa-hpux-tdep.c: Ditto.
1414 * hppa-linux-nat.c: Ditto.
1415 * hppa-linux-tdep.c: Ditto.
1416 * hppanbsd-tdep.c: Ditto.
1417 * hppa-tdep.c: Ditto.
1418 * hppa-tdep.h: Ditto.
1419 * hpux-thread.c: Ditto.
1420 * i386-cygwin-tdep.c: Ditto.
1421 * i386-darwin-nat.c: Ditto.
1422 * i386gnu-nat.c: Ditto.
1423 * i386-linux-nat.c: Ditto.
1424 * i386-linux-tdep.c: Ditto.
1425 * i386-nat.c: Ditto.
1426 * i386-nat.h: Ditto.
1427 * i386nbsd-tdep.c: Ditto.
1428 * i386-sol2-nat.c: Ditto.
1429 * i386-stub.c: Ditto.
1430 * i386-tdep.c: Ditto.
1431 * i386-tdep.h: Ditto.
1432 * i387-tdep.c: Ditto.
1433 * ia64-linux-nat.c: Ditto.
1434 * ia64-linux-tdep.c: Ditto.
1435 * ia64-tdep.c: Ditto.
1439 * inferior.c: Ditto.
1440 * inferior.h: Ditto.
1446 * iq2000-tdep.c: Ditto.
1447 * irix5-nat.c: Ditto.
1453 * jv-typeprint.c: Ditto.
1454 * jv-valprint.c: Ditto.
1455 * language.c: Ditto.
1456 * language.h: Ditto.
1457 * linespec.c: Ditto.
1458 * linux-fork.c: Ditto.
1459 * linux-nat.c: Ditto.
1460 * linux-thread-db.c: Ditto.
1461 * lm32-tdep.c: Ditto.
1463 2011-01-08 Michael Snyder <msnyder@vmware.com>
1465 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1467 * m2-typeprint.c: Ditto.
1468 * m2-valprint.c: Ditto.
1469 * m32c-tdep.c: Ditto.
1470 * m32r-linux-nat.c: Ditto.
1471 * m32r-rom.c: Ditto.
1472 * m32r-tdep.c: Ditto.
1473 * m32r-tdep.h: Ditto.
1474 * m68hc11-tdep.c: Ditto.
1475 * m58klinux-nat.c: Ditto.
1476 * m68k-tdep.c: Ditto.
1477 * m88k-tdep.c: Ditto.
1478 * m88k-tdep.h: Ditto.
1479 * machoread.c: Ditto.
1480 * macrocmd.c: Ditto.
1481 * macroexp.c: Ditto.
1482 * macrotab.c: Ditto.
1485 * mdebugread.c: Ditto.
1486 * mdebugread.h: Ditto.
1489 * memory-map.h: Ditto.
1490 * mep-tdep.c: Ditto.
1491 * microblaze-rom.c: Ditto.
1492 * microblaze-tdep.c: Ditto.
1494 * mips-irix-tdep.c: Ditto.
1495 * mips-linux-nat.c: Ditto.
1496 * mips-linux-tdep.c: Ditto.
1497 * mips-linux-tdep.h: Ditto.
1498 * mipsnbsd-nat.c: Ditto.
1499 * mipsnbsd-tdep.c: Ditto.
1500 * mipsread.c: Ditto.
1501 * mips-tdep.c: Ditto.
1502 * mips-tdep.h: Ditto.
1503 * mn10300-linux-tdep.c: Ditto.
1504 * mn10300-tdep.c: Ditto.
1505 * mn10300-tdep.h: Ditto.
1508 * moxie-tdep.c: Ditto.
1509 * moxie-tdep.h: Ditto.
1512 2011-01-08 Mike Frysinger <vapier@gentoo.org>
1514 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1516 2011-01-08 Robert Millan <rmh@gnu.org>
1518 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1520 2011-01-07 Michael Snyder <msnyder@vmware.com>
1522 * charset.c (_initialize_charset): Fix typo in string.
1524 2011-01-07 Michael Snyder <msnyder@vmware.com>
1526 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1528 * tui/tui-layout.c (tui_set_layout_for_display_command):
1529 Split line so that operator goes to beginning of line.
1530 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1531 assignment out of if statement.
1533 2011-01-07 Michael Snyder <msnyder@vmware.com>
1535 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1536 * ada-lang.h: Ditto.
1537 * ada-tasks.c: Ditto.
1538 * ada-valprint.c: Ditto.
1539 * aix-threads.c: Ditto.
1540 * alpha-linux-nat.c: Ditto.
1541 * alpha-linux-tdep.c: Ditto.
1542 * alpha-mdebug-tdep.c: Ditto.
1543 * alpha-nat.c: Ditto.
1544 * alpha-osf1-tdep.c: Ditto.
1545 * alpha-tdep.c: Ditto.
1546 * alphabsd-nat.c: Ditto.
1547 * alphabsd-tdep.c: Ditto.
1548 * amd64-darwin-tdep.c: Ditto.
1549 * amd64-linux-nat.c: Ditto.
1550 * amd64-linux-tdep.c: Ditto.
1551 * amd64-sol2-tdep.c: Ditto.
1552 * amd64-tdep.c: Ditto.
1553 * amd64-fbsd-tdep.c: Ditto.
1554 * amd64-nbsd-tdep.c: Ditto.
1555 * amd64-obsd-tdep.c: Ditto.
1556 * amd64-linux-nat.c: Ditto.
1557 * amd64-linux-tdep.c: Ditto.
1558 * arm-tdep.c: Ditto.
1559 * arm-tdep.h: Ditto.
1560 * armnbsd-nat.c: Ditto.
1561 * avr-tdep.c: Ditto.
1562 * bfin-tdep.c: Ditto.
1564 * c-typeprintc: Ditto.
1565 * c-valprint.c: Ditto.
1566 * coff-pe-read.h: Ditto.
1567 * coffreead.c: Ditto.
1568 * cris-tdep.c: Ditto.
1570 * darwin-nat-info.c: Ditto.
1571 * darwin-nat.c: Ditto.
1572 * dbug-rom.c: Ditto.
1576 * dec-thread.c: Ditto.
1578 * demangle.c: Ditto.
1579 * dicos-tdep.c: Ditto.
1580 * dictionary.c: Ditto.
1581 * dictionary.h: Ditto.
1582 * dink32-rom.c: Ditto.
1584 * doublest.c: Ditto.
1586 * dummy-frame.c: Ditto.
1587 * dwarf2-frame.c: Ditto.
1588 * dwarf2expr.c: Ditto.
1589 * dwarf2loc.c: Ditto.
1590 * dwarf2read.c: Ditto.
1594 * event-top.h: Ditto.
1595 * exceptions.c: Ditto.
1596 * exceptions.h: Ditto.
1598 * expprint.c: Ditto.
1599 * expression.h: Ditto.
1603 * f-typeprint.c: Ditto.
1604 * f-valprint.c: Ditto.
1605 * fbsd-nat.c: Ditto.
1607 * fork-child.c: Ditto.
1610 * frv-linux-tdep.c: Ditto.
1611 * frv-tdep.c: Ditto.
1613 * gdb-stabs.h: Ditto.
1614 * gdb_assert.h: Ditto.
1615 * gdb_string.h: Ditto.
1616 * gdb_thread_db.h: Ditto.
1617 * gdb_wait.h: Ditto.
1618 * gdbarch.sh: Ditto.
1620 * gdbthread.h: Ditto.
1621 * gdbtypes.c: Ditto.
1622 * gdbtypes.h: Ditto.
1625 * gnu-v2-abi.c: Ditto.
1626 * gnu-v3-abi.c: Ditto.
1627 * go32-nat.c: Ditto.
1628 * gdbarch.c: Regenerate.
1629 * gdbarch.h: Regenerate.
1631 2011-01-07 Michael Snyder <msnyder@vmware.com>
1633 * ax-gdb.c: Adjust some long output strings.
1634 * breakpoint.c: Ditto.
1639 * linux-nat.c: Ditto.
1640 * solib-pa64.c: Ditto.
1641 * solib-som.c: Ditto.
1643 2011-01-06 Tom Tromey <tromey@redhat.com>
1647 * python/python.c (GdbMethods): Add "newest_frame" method.
1648 * python/python-internal.h (gdbpy_newest_frame): Declare.
1649 * python/py-frame.c (gdbpy_newest_frame): New function.
1651 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1653 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1654 * jit.c (jit_debug): New variable.
1655 (show_jit_debug): New function.
1656 (struct target_buffer): Use ULONGEST.
1657 (bfd_open_from_target_memory): Likewise.
1658 (jit_register_code, jit_inferior_init): Add debug output.
1659 (_initialize_jit): Register "debug jit" command.
1661 2011-01-06 Tom Tromey <tromey@redhat.com>
1663 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1664 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1667 2011-01-06 Tom Tromey <tromey@redhat.com>
1669 * python/py-frame.c (frapy_block): Use get_frame_block.
1671 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1673 Do not stop on SIGPRIO signals by default
1674 * infrun.c (_initialize_infrun): Unset signal_stop and
1675 signal_print for TARGET_SIGNAL_PRIO.
1677 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1679 * ada-tasks.c: Fix style violation in comment.
1681 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1683 * linespec.c (decode_compound, find_method): Remove trailing \n
1684 at end of error string.
1685 * solib-irix.c (irix_current_sos): Likewise.
1686 * varobj.c (uninstall_variable): Likewise.
1688 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1690 * copyright.py: New script.
1691 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1692 Launch emacs without exec'ing. Call copyright.py afterwards.
1694 2011-01-05 Michael Snyder <msnyder@vmware.com>
1696 * addrmap.c: Shorten lines of >= 80 columns.
1697 * arch-utils.c: Ditto.
1698 * arch-utils.h: Ditto.
1700 * ax-general.c: Ditto.
1702 * blockframe.c: Ditto.
1703 * breakpoint.c: Ditto.
1704 * buildsym.c: Ditto.
1706 * c-typeprint.c: Ditto.
1708 * coffread.c: Ditto.
1712 * cp-namespace.c: Ditto.
1713 * cp-support.c: Ditto.
1714 * dbug-rom.c: Ditto.
1719 * dictionary.c: Ditto.
1721 * doublest.c: Ditto.
1722 * dwarf2-frame.c: Ditto.
1723 * dwarf2expr.c: Ditto.
1724 * dwarf2loc.c: Ditto.
1725 * dwarf2read.c: Ditto.
1728 * event-loop.c: Ditto.
1729 * event-loop.h: Ditto.
1730 * exceptions.h: Ditto.
1732 * expprint.c: Ditto.
1733 * expression.h: Ditto.
1735 * f-valprint.c: Ditto.
1737 * frame-base.c: Ditto.
1738 * frame-unwind.c: Ditto.
1739 * frame-unwind.h: Ditto.
1743 * gdb-stabs.h: Ditto.
1744 * gdb_assert.h: Ditto.
1745 * gdb_dirent.h: Ditto.
1746 * gdb_obstack.h: Ditto.
1748 * gdbtypes.c: Ditto.
1749 * gdbtypes.h: Ditto.
1750 * inf-ttrace.c: Ditto.
1755 * inline-frame.h: Ditto.
1756 * language.c: Ditto.
1757 * language.h: Ditto.
1758 * libunwind-frame.c: Ditto.
1759 * libunwind-frame.h: Ditto.
1760 * linespec.c: Ditto.
1761 * linux-nat.c: Ditto.
1762 * linux-nat.h: Ditto.
1763 * linux-thread-db.c: Ditto.
1764 * machoread.c: Ditto.
1765 * macroexp.c: Ditto.
1766 * macrotab.c: Ditto.
1769 * mdebugread.c: Ditto.
1774 * objfiles.c: Ditto.
1775 * objfiles.h: Ditto.
1777 * p-typeprint.c: Ditto.
1778 * p-valprint.c: Ditto.
1780 * printcmd.c: Ditto.
1781 * proc-events.c: Ditto.
1783 * progspace.c: Ditto.
1784 * progspace.h: Ditto.
1785 * psympriv.h: Ditto.
1788 * regcache.c: Ditto.
1789 * regcache.h: Ditto.
1790 * remote-fileio.c: Ditto.
1792 * ser-mingw.c: Ditto.
1794 * ser-unix.c: Ditto.
1797 * solib-frv.c: Ditto.
1798 * solib-irix.c: Ditto.
1799 * solib-osf.c: Ditto.
1800 * solib-pa64.c: Ditto.
1801 * solib-som.c: Ditto.
1802 * solib-sunos.c: Ditto.
1803 * solib-svr4.c: Ditto.
1804 * solib-target.c: Ditto.
1808 * stabsread.c: Ditto.
1809 * stabsread.c: Ditto.
1812 * symfile-mem.c: Ditto.
1818 * target-descriptions.c: Ditto.
1819 * target-memory.c: Ditto.
1822 * terminal.h: Ditto.
1825 * tracepoint.c: Ditto.
1826 * tracepoint.h: Ditto.
1830 * user-regs.c: Ditto.
1831 * user-regs.h: Ditto.
1833 * valarith.c: Ditto.
1835 * valprint.c: Ditto.
1836 * valprint.h: Ditto.
1841 * xcoffread.c: Ditto.
1842 * xcoffsolib.c: Ditto.
1843 * xcoffsolib.h: Ditto.
1844 * xml-syscall.c: Ditto.
1845 * xml-tdesc.c: Ditto.
1847 2011-01-05 Michael Snyder <msnyder@vmware.com>
1849 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1850 * cli/cli-decode.c: Ditto.
1851 * cli/cli-dump.c: Ditto.
1852 * cli/cli-logging.c: Ditto.
1853 * cli/cli-script.c: Ditto.
1854 * cli/cli-setshow.c: Ditto.
1855 * common/signals.c: Ditto.
1856 * mi/mi-cmd-break.c: Ditto.
1857 * mi/mi-cmd-disas.c: Ditto.
1858 * mi/mi-cmd-stack.c: Ditto.
1859 * mi/mi-cmd-var.c: Ditto.
1860 * mi/mi-cmds.c: Ditto.
1861 * mi/mi-common.h: Ditto.
1862 * mi/mi-console.c: Ditto.
1863 * mi/mi-interp.c: Ditto.
1864 * mi/mi-main.c: Ditto.
1865 * osf-share/cma_attr.c: Ditto.
1866 * osf-share/cma_deb_core.h: Ditto.
1867 * osf-share/cma_debug_client.h: Ditto.
1868 * osf-share/cma_handle.h: Ditto.
1869 * osf-share/cma_mutex.h: Ditto.
1870 * osf-share/cma_stack_int.h: Ditto.
1871 * osf-share/cma_tcb_defs.h: Ditto.
1872 * python/py-auto-load.c: Ditto.
1873 * python/py-breakpoint.c: Ditto.
1874 * python/py-cmd.c: Ditto.
1875 * python/py-frame.c: Ditto.
1876 * python/py-objfile.c: Ditto.
1877 * python/py-param.c: Ditto.
1878 * python/py-progspace.c: Ditto.
1879 * python/py-symbol.c: Ditto.
1880 * python/py-value.c: Ditto.
1881 * python/python-internal.h: Ditto.
1882 * python/python.c: Ditto.
1883 * tui/tui-data.c: Ditto.
1884 * tui/tui-disasm.c: Ditto.
1885 * tui/tui-hooks.c: Ditto.
1886 * tui/tui-io.c: Ditto.
1887 * tui/tui-layout.c: Ditto.
1888 * tui/tui-regs.c: Ditto.
1889 * tui/tui-source.c: Ditto.
1890 * tui/tui-stack.c: Ditto.
1891 * tui/tui-win.c: Ditto.
1892 * tui/tui-windata.c: Ditto.
1893 * tui/tui-winsource.c: Ditto.
1895 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1897 * configure.ac, gdb.1: Copyright year update.
1899 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1901 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1902 this_pc_in_block, morestack_msym and morestack_name. Check for
1903 "__morestack" minimal symbol there.
1905 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1907 * symfile.c (find_sym_fns): Add call to dont_repeat.
1909 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1911 Copyright year update in most files (performed by copyright.sh).
1913 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1915 * top.c (print_gdb_version): Update copyright year in version output.
1917 For older changes see ChangeLog-2010.
1923 version-control: never