1 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3 Mark pieces of values as unavailable if the corresponding memory
6 * valops.c: Include tracepoint.h.
7 (value_fetch_lazy): Use read_value_memory.
8 (read_value_memory): New.
9 * value.h (read_value_memory): Declare.
10 * dwarf2loc.c (read_pieced_value): Use read_value_memory.
11 * exec.c (section_table_available_memory): New function.
12 * exec.h (section_table_available_memory): Declare.
14 2011-02-14 Pedro Alves <pedro@codesourcery.com>
16 * Makefile.in (SFILES): Add memrange.c.
17 (HFILES_NO_SRCDIR): Add memrange.h.
18 (COMMON_OBS): Add memrange.o.
19 * memrange.c: New file.
20 * memrange.h: New file.
21 * tracepoint.c: Include memrange.h.
22 (struct mem_range): Delete.
23 (mem_range_s): Delete.
24 (traceframe_available_memory): New function.
25 * tracepoint.h (traceframe_available_memory): Declare.
27 2011-02-14 Pedro Alves <pedro@codesourcery.com>
29 * target.h (struct traceframe_info): Forward declare.
30 (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
31 (struct target_ops) <to_traceframe_info>: New field.
32 (target_traceframe_info): New.
33 * target.c (update_current_target): Inherit and default
35 * remote.c (PACKET_qXfer_traceframe_info): New.
36 (remote_protocol_features): Register qXfer:traceframe-info:read.
37 (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
38 (remote_traceframe_info): New.
39 (init_remote_ops): Install it.
40 (_initialize_remote): Install "set/show remote traceframe-info"
42 * tracepoint.h (parse_traceframe_info): Declare.
43 * tracepoint.c (struct mem_range): New.
44 (mem_range_s): New typedef.
45 (struct traceframe_info): New.
46 (traceframe_info): New global.
47 (free_traceframe_info): New function.
48 (clear_traceframe_info): New function.
49 (start_tracing, tfind_1, set_traceframe_number): Clear traceframe
51 (build_traceframe_info): New function.
52 (tfile_traceframe_info): New function.
53 (init_tfile_ops): Install tfile_traceframe_info.
54 (traceframe_info_start_memory, free_result): New functions.
55 (memory_attributes, traceframe_info_elements): New globals.
56 (parse_traceframe_info, get_traceframe_info): New functions.
57 * features/traceframe-info.dtd: New file.
58 * Makefile.in (XMLFILES): Add traceframe-info.dtd.
60 2011-02-14 Pedro Alves <pedro@codesourcery.com>
62 Base support for <unavailable> value contents.
64 * value.h (value_bytes_available): Declare.
65 (mark_value_bytes_unavailable): Declare.
66 * value.c (struct range): New struct.
67 (range_s): New typedef.
68 (ranges_overlap): New function.
69 (range_lessthan): New function.
70 (ranges_contain_p): New function.
71 (struct value) <unavailable>: New field.
72 (value_bytes_available): New function.
73 (mark_value_bytes_unavailable): New function.
74 (require_not_optimized_out): Constify parameter.
75 (require_available): New function.
76 (value_contents_all, value_contents): Require all bytes be
78 (value_free): Free `unavailable'.
79 (value_copy): Copy `unavailable'.
80 * valprint.h (val_print_unavailable): Declare.
81 * valprint.c (valprint_check_validity): Rename `offset' parameter
82 to `embedded_offset'. If printing a scalar, check whether the
83 value chunk is available.
84 (val_print_unavailable): New.
85 (val_print_scalar_formatted): Check whether the value is
87 * python/py-prettyprint.c (apply_val_pretty_printer): Refuse
88 pretty-printing unavailable values.
90 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
92 Fix const/volatile qualifiers of C++ types, PR c++/12328.
93 * c-typeprint.c (c_type_print_args): Update the function comment. New
94 variable param_type, initialize it. Remove const/volatile qualifiers
95 for language_cplus and !show_artificial. Use param_type.
97 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
99 * symtab.c (find_pc_sect_line): New variable objfile, initialize it
100 from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S.
101 * symtab.h (struct symtab) <next>: Comment extension.
103 2011-02-12 Yao Qi <yao@codesourcery.com>
105 * Makefile.in (CLEANDIRS): Remove duplicated common dir.
107 2011-02-11 Pedro Alves <pedro@codesourcery.com>
109 * infrun.c (proceed): Move switching out and in of tfind mode from
111 (fetch_inferior_event): ... to here.
113 2011-02-11 Yao Qi <yao@codesourcery.com>
115 * Makefile.in: Remove signals.o from COMMON_OBS. Link
117 * configure.ac: Add common to sub dir.
118 * configure: Regenerate.
120 2011-02-10 Pedro Alves <pedro@codesourcery.com>
122 * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
123 side of the parenthesis.
126 2010-07-13 Jakub Jelinek <jakub@redhat.com>
127 * vec.h (VEC_block_remove): Fix comment.
129 2011-02-08 Michael Snyder <msnyder@vmware.com>
131 * linux-nat.c (linux_nat_filter_event): Fix typo in comment.
133 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
135 * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
136 in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
139 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
142 * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
144 (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
145 (i386_process_record) <0x0f3807>: Fix the comment to phsubsw.
147 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
149 * dwarf2read.c (read_subroutine_type): Set special calling
150 convention flag for functions compiled by IBM XL C for OpenCL.
151 * ppc-sysv-tdep.c: Include "dwarf2.h"
152 (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
154 (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement
155 IBM OpenCL vector types calling convention.
156 (ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
157 (ppc_sysv_abi_broken_return_value): Likewise.
158 (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
159 types calling convention.
160 (ppc64_sysv_abi_return_value): Likewise.
161 * spu-tdep.c: Include "dwarf2.h"
162 (spu_return_value): Implement IBM OpenCL vector types calling
165 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
167 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
168 correct ABI for AltiVec vector arguments.
170 2011-02-07 Pedro Alves <pedro@codesourcery.com>
172 * valprint.c (val_print): Extend comment.
173 * ada-valprint.c (ada_valprint): Rewrite comment deferring
174 interface explanation to val_print.
175 (ada_val_print_array): Adjust comment to current interface.
176 (print_field_values): Adjust comment to current interface.
177 * c-valprint.c (c_val_print): Rewrite comment deferring interface
178 explanation to val_print.
179 * f-valprint.c (f_val_print): Ditto.
180 * jv-valprint.c (java_val_print): Ditto.
181 * m2-valprint.c (m2_val_print): Ditto.
182 * p-valprint.c (pascal_val_print): Ditto.
184 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
186 * breakpoint.c (parse_breakpoint_sals): Fix description.
188 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
189 Oguz Kayral <oguzkayral@gmail.com>
191 * python/py-inferior.c (python_on_normal_stop): New function.
192 (python_on_resume): New function.
193 (python_inferior_exit): New function.
194 (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
195 inferior_exit observers.
196 * python/py-evtregistry.c: New file.
197 * python/py-threadevent.c : New file.
198 * python/py-event.c: New file.
199 * python/py-evts.c: New file.
200 * python/py-continueevent.c: New file.
201 * python/py-bpevent.c: New file.
202 * python/py-signalevent.c: New file.
203 * python/py-exetiedevent.c: New file.
204 * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
205 Move struct breakpoint_object from here...
206 * python/python-internal.h: ... to here.
207 * python/py-event.h: New file.
208 * python/py-events.h: New file.
209 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
210 py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
211 py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
212 (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
213 py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
214 py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
215 Add build rules for all the above.
217 2011-02-04 Tom Tromey <tromey@redhat.com>
219 * dwarf2read.c (dwarf2_section_empty_p): New function.
220 (dwarf2_read_section): Use dwarf2_section_empty_p.
221 (dwarf2_section_size): New function.
222 (dwarf2_get_section_info): Unconditionally read section.
223 (dwarf2_read_index): Use dwarf2_section_empty_p.
224 (partial_read_comp_unit_head): Use dwarf2_section_size.
225 (dwarf2_symbol_mark_computed): Likewise.
227 2011-02-04 David Daney <ddaney@caviumnetworks.com>
229 * NEWS: Add item for "catch syscall" on mips*-linux* targets.
231 2011-02-04 David Daney <ddaney@caviumnetworks.com>
233 * mips-linux-tdep.c: Include xml-syscall.h.
234 (mips_linux_get_syscall_number): New function.
235 (mips_linux_init_abi): Add calls to
236 mips_linux_get_syscall_number() and set_xml_syscall_file_name().
237 * data-directory/Makefile.in (SYSCALLS_FILES): Add
238 mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
239 * syscalls/mips-n32-linux.xml: New file.
240 * syscalls/mips-n64-linux.xml: New file.
241 * syscalls/mips-o32-linux.xml: New file.
243 2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org>
245 * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
246 Complain about inverted range entries.
247 (dwarf2_record_block_ranges): Likewise.
249 2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
252 * breakpoint.c (update_watchpoint): Fix name of the
253 update_global_location_list function.
254 (print_one_breakpoint): Fix typo.
255 (_initialize_breakpoint): Remove extra space in hbreak help
257 * breakpoint.h (struct bp_location) <length>: Fix field
260 2011-02-04 Pedro Alves <pedro@codesourcery.com>
262 * regcache.c (registers_changed_ptid): Don't explictly always
263 clear `current_regcache'. Only clear current_thread_ptid and
264 current_thread_arch when PTID matches. Only reinit the frame
265 cache if PTID matches the current inferior_ptid. Move alloca(0)
267 (registers_changed): ... here.
269 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org>
271 * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
272 starts with __stack_chk_guard as stack guard symbol.
274 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
276 * disasm.c (compare_lines): Handle the end of sequence markers
277 within the line table to better support disassembling over
278 compilation unit boundaries.
280 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
282 * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
283 arguments. Skip in-prologue calls to glibc __aeabi_read_tp
284 implementation even if no symbols are available.
285 (thumb_analyze_prologue): Update call to skip_prologue_function.
286 (arm_analyze_prologue): Likewise.
288 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
290 * arm-tdep.c: Include "observer.h".
291 (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
292 (arm_exidx_data_key): New static variable.
293 (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
294 (struct arm_exidx_data): Likewise.
295 (arm_exidx_data_free): New function.
296 (arm_compare_exidx_entries): Likewise.
297 (arm_obj_section_from_vma): Likewise.
298 (arm_exidx_new_objfile): Likewise.
299 (arm_find_exidx_entry): Likewise.
300 (arm_exidx_fill_cache): Likewise.
301 (arm_exidx_unwind_sniffer): Likewise.
302 (arm_exidx_unwind): New global variable.
303 (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
304 (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
305 observer. Register arm_exidx_data_key as objfile data.
307 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
309 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
310 due to accessing uninitialized variable. Fix indentation.
312 2011-02-02 Pedro Alves <pedro@codesourcery.com>
314 * c-valprint.c (c_value_print): When doing virtual base pointer
315 adjustment, create a new value with adjusted contents rather than
316 changing the contents of the value being printed (and getting it
319 2011-02-02 Pedro Alves <pedro@codesourcery.com>
321 * xml-support.c (xml_find_attribute): New.
322 (xinclude_start_include): Use it.
323 * xml-support.h (xml_find_attribute): Declare.
324 * memory-map.c (memory_map_start_memory)
325 (memory_map_start_property): Use xml_find_attribute.
326 * osdata.c (osdata_start_osdata, osdata_start_column): Use
328 * remote.c (start_thread): Use xml_find_attribute.
329 * solib-target.c (library_list_start_segment)
330 (library_list_start_section, library_list_start_library)
331 (library_list_start_list): Use xml_find_attribute.
332 * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
333 (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
334 (tdesc_start_field): Use xml_find_attribute.
336 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com>
338 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
339 (BUILD_OCL_VTYPES): Update.
341 2011-02-02 Joel Brobecker <brobecker@adacore.com>
343 * configure.ac: Work around non-GNU sed limitation when computing
344 python version number.
345 * configure: Regenerate.
347 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
349 Fix debug printing of TYPE_INSTANCE.
350 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
351 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
353 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
355 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
356 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
357 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
358 * ada-operator.inc: Rename the file to ...
359 * ada-operator.def: ... here, wrap all the entries by macro OP.
360 * expprint.c (op_name_standard): Remove all the entries. Include
361 "std-operator.def" instead.
362 * expression.h (enum exp_opcode): Include "std-operator.def" and
363 "ada-operator.def". Move all the entries ...
364 * std-operator.def: ... here, wrap all the entries by macro OP.
366 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
368 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
369 * breakpoint.c (remove_jit_event_breakpoints): New function.
370 * jit.c (jit_descriptor_addr): Delete.
371 (registering_code): Delete.
373 (jit_inferior_data): New variable.
374 (struct jit_inferior_data): New type.
375 (get_jit_inferior_data): New function.
376 (jit_inferior_data_cleanup): New function.
377 (jit_read_descriptor): Adjust.
378 (jit_register_code): Adjust.
379 (jit_breakpoint_re_set_internal): New function; move code here ...
380 (jit_inferior_init): ... from here.
381 (jit_breakpoint_re_set): Adjust.
382 (jit_reset_inferior_data_and_breakpoints): New function.
383 (jit_inferior_created_observer): Adjust.
384 (jit_inferior_exit_hook): Adjust.
385 (jit_executable_changed_observer): New function.
386 (jit_event_handler): Adjust.
387 (_initialize_jit): Adjust.
389 2011-01-31 Michael Snyder <msnyder@vmware.com>
391 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
394 2011-01-31 Tom Tromey <tromey@redhat.com>
397 * python/python.c (execute_gdb_command): Call
399 * top.c (suppress_dont_repeat): New global.
400 (dont_repeat): Use it.
401 (prevent_dont_repeat): New function.
402 * command.h (prevent_dont_repeat): Declare.
404 2011-01-31 Tom Tromey <tromey@redhat.com>
406 * infcmd.c (finish_backward): Use breakpoint_set_silent.
407 * python/py-breakpoint.c (bppy_set_silent): Use
408 breakpoint_set_silent.
409 (bppy_set_thread): Use breakpoint_set_thread.
410 (bppy_set_task): Use breakpoint_set_task.
411 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
412 (breakpoint_set_task): Declare.
413 (make_breakpoint_silent): Remove.
414 * breakpoint.c (breakpoint_set_silent): New function.
415 (breakpoint_set_thread): Likewise.
416 (breakpoint_set_task): Likewise.
417 (make_breakpoint_silent): Remove.
419 2011-01-31 Tom Tromey <tromey@redhat.com>
421 * breakpoint.h (user_breakpoint_p): Declare.
422 * breakpoint.c (user_breakpoint_p): New function.
423 (breakpoint_1): Use it.
424 (save_breakpoints): Likewise.
426 2011-01-31 Joel Brobecker <brobecker@adacore.com>
428 * configure.ac: Add handling of Python distribution on Windows.
429 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
430 sysconfig variables are not defined, then do not use them.
431 On Windows, if LIBPL is not defined, then use prefix + '/libs'
432 instead. On Windows, return all paths using forward-slashes
433 rather than backslashes.
435 2011-01-31 Joel Brobecker <brobecker@adacore.com>
437 * configure.ac: Remove fallback behavior for building
438 against Python. Remove tweaking of Python include path.
439 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
440 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
441 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
442 Always restore CPPFLAGS and LIBS after linking test.
443 * configure: Regenerated.
444 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
445 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
446 * python/python-internal.h: Adjust includes of Python .h files.
448 2011-01-31 Joel Brobecker <brobecker@adacore.com>
450 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
453 2011-01-31 Joel Brobecker <brobecker@adacore.com>
455 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
458 2011-01-31 Yao Qi <yao@codesourcery.com>
460 * arm-linux-nat.c: Update calls to regcache_register_status
461 instead of regcache_valid_p.
462 * aix-thread.c: Likewise.
463 * i386gnu-nat.c: Likewise.
465 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
468 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
469 touching TYPE_FIELD_ARTIFICIAL.
471 2011-01-28 Richard Earnshaw <rearnsha@arm.com>
473 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
476 2011-01-28 Pedro Alves <pedro@codesourcery.com>
478 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
479 selected, don't try iterating over the traceframe's blocks.
480 (tfile_has_stack): If there's no traceframe selected, then there's
482 (tfile_has_registers): If there's no traceframe selected, then
483 there's no registers.
485 2011-01-28 Pedro Alves <pedro@codesourcery.com>
487 * target.c (memory_xfer_partial): No need to restore shadows if we
488 haven't read anything.
490 2011-01-28 Pedro Alves <pedro@codesourcery.com>
492 * mips-tdep.c (mips_print_register): Use get_frame_register_value
493 and val_print_scalar_formatted.
495 2011-01-27 Pedro Alves <pedro@codesourcery.com>
497 * tracepoint.c (tfile_read): New.
498 (tfile_open): Use it.
499 (tfile_get_traceframe_address): Use it.
500 (tfile_trace_find): Use it.
501 (walk_blocks_callback_func): New typedef.
502 (match_blocktype): New function.
503 (traceframe_walk_blocks): New function.
504 (traceframe_find_block_type): New function.
505 (tfile_fetch_registers, tfile_xfer_partial)
506 (tfile_get_trace_state_variable_value): Use
507 traceframe_find_block_type and tfile_read.
509 2011-01-26 Kevin Buettner <kevinb@redhat.com>
511 * remote-mips.c: Add internationalization mark ups. Remove
512 trailing \n from already marked up strings.
514 2011-01-26 Tom Tromey <tromey@redhat.com>
516 * python/py-prettyprint.c (print_string_repr): Clear
517 'addressprint' option when calling val_print_string.
518 (print_children): Handle Val_pretty_default. Clear 'addressprint'
519 option when calling val_print_string.
521 2011-01-26 Tom Tromey <tromey@redhat.com>
523 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
525 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
527 (gdb_py_longest, gdb_py_ulongest): New typedefs.
528 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
529 (gdb_py_long_as_ulongest): New defines.
530 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
531 (gdb_py_int_as_long): Declare.
532 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
533 GDB_PY_LL_ARG, gdb_py_object_from_longest.
534 (valpy_long): Add comment.
535 * python/py-utils.c (get_addr_from_python): Use
536 gdb_py_long_as_ulongest. Handle overflow properly.
537 (gdb_py_object_from_longest): New function.
538 (gdb_py_object_from_ulongest): Likewise.
539 (gdb_py_int_as_long): Likewise.
540 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
541 * python/py-symtab.c (salpy_get_pc): Use
542 gdb_py_long_from_ulongest.
543 (salpy_get_line): Use PyInt_FromLong.
544 * python/py-param.c (set_parameter_value): Use
546 * python/py-lazy-string.c (stpy_get_address): Use
547 gdb_py_long_from_ulongest.
548 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
549 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
550 * python/py-breakpoint.c (bppy_set_thread): Use
552 (bppy_set_task): Likewise.
553 (bppy_set_ignore_count): Likewise.
554 (bppy_set_hit_count): Likewise.
555 * python/py-block.c (blpy_get_start): Use
556 gdb_py_object_from_ulongest.
557 (blpy_get_end): Likewise.
558 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
560 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
563 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
564 * gdb/solib.c (solib_read_symbols): Check for addr_low in
565 equality test for objfile, initialize addr_low if needed.
567 2011-01-25 Pedro Alves <pedro@codesourcery.com>
569 * tui/tui-regs.c (tui_register_format): Remove dead code.
571 2011-01-25 Pedro Alves <pedro@codesourcery.com>
573 * printcmd.c (print_formatted): Use val_print_scalar_formatted
574 instead of print_scalar_formatted.
575 (print_scalar_formatted): Don't handle 's' format strings here,
576 and add an assertion that we never see such format here.
577 * valprint.h (val_print_scalar_formatted): Declare.
578 * valprint.c (val_print_scalar_formatted): New.
579 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
580 instead of print_scalar_formatted.
581 * jv-valprint.c (java_val_print): Ditto.
582 * p-valprint.c (pascal_val_print): Ditto.
583 * ada-valprint.c (ada_val_print_1): Ditto.
584 * f-valprint.c (f_val_print): Ditto.
585 * infcmd.c (registers_info): Ditto.
586 * m2-valprint.c (m2_val_print): Ditto.
588 2011-01-25 Pedro Alves <pedro@codesourcery.com>
590 * m2-valprint.c (print_unbounded_array): Pass
591 value_contents_for_printing rather than value_contents, to
592 m2_print_array_contents. Also pass in the value.
594 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
596 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
597 (save_gdb_index_command): Switch to .gdb_index version 4.
599 2011-01-25 Pedro Alves <pedro@codesourcery.com>
601 * mi/mi-main.c (get_register): Use get_frame_register_value rather
602 than frame_register, and always pass a valid value to val_print.
604 2011-01-25 Pedro Alves <pedro@codesourcery.com>
606 Centralize printing "<optimized out>".
608 * valprint.h (val_print_optimized_out): Declare.
609 * cp-valprint.c (cp_print_value_fields): Use
610 val_print_optimized_out.
611 * jv-valprint.c (java_print_value_fields): Ditto.
612 * p-valprint.c (pascal_object_print_value_fields): Ditto.
613 * printcmd.c (print_formatted): Ditto.
614 * valprint.c (valprint_check_validity): Ditto.
615 (value_check_printable): Ditto.
616 (val_print_optimized_out): New.
618 2011-01-25 Pedro Alves <pedro@codesourcery.com>
620 * infcmd.c (default_print_registers_info): Allocate values so to
621 never pass a NULL value to val_print.
623 2011-01-25 Pedro Alves <pedro@codesourcery.com>
625 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
626 boolean. Make sure to always pass a value that matches the
627 contents buffer to callees. Preserve `address' for following
629 * value.c (value_contents_for_printing_const): New.
630 (value_address): Constify value argument.
631 * value.h (value_contents_for_printing_const): Declare.
632 (value_address): Constify value argument.
634 2011-01-25 Pedro Alves <pedro@codesourcery.com>
636 * regcache.c (struct regcache_descr): Rename
637 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
638 and sizeof_cooked_register_valid_p to
639 sizeof_cooked_register_status.
640 (init_regcache_descr): Adjust.
641 (struct regcache): Rename register_valid_p field to
643 (regcache_xmalloc_1, regcache_xfree, regcache_save)
644 (do_cooked_read): Adjust.
645 (regcache_valid_p): Rename to ...
646 (regcache_register_status): ... this. Adjust.
647 (regcache_invalidate): Adjust.
648 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
650 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
651 as unavailable, not valid.
652 (regcache_dump): Adjust.
653 * regcache.h (enum register_status): New.
654 (regcache_register_status): Declare.
655 (regcache_invalidate): Delete declaration.
656 * corelow.c (get_core_registers): Adjust.
657 * tracepoint.c (tfile_fetch_registers): Adjust.
658 * trad-frame.c (REG_VALUE): Rename to ...
659 (TF_REG_VALUE): ... this.
660 (REG_UNKNOWN): Rename to ...
661 (TF_REG_UNKNOWN): ... this.
662 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
663 * mi/mi-main.c (register_changed_p): Adjust.
665 2011-01-25 Pedro Alves <pedro@codesourcery.com>
667 * regcache.c (struct regcache_descr): Remove outdated comment.
668 (init_regcache_descr): Remove sizeof_raw_register_valid_p
670 (regcache_xmalloc): Rename to ...
671 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
672 Allocate the regcache type accordingly.
673 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
674 (regcache_xfree): Asser the source is also readonly. Copy sizeof
675 cooked registers, not raw.
676 (regcache_dup_no_passthrough): Delete.
677 (get_thread_arch_regcache): Use regcache_xmalloc_1.
678 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
679 mention obsolete write_register_bytes.
680 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
682 2011-01-25 Pedro Alves <pedro@codesourcery.com>
684 Stop remote_read_bytes from handling partial reads itself.
686 * remote-fileio.c: Include target.h.
687 (remote_fileio_write_bytes): Delete.
688 (remote_fileio_func_open, remote_fileio_func_write)
689 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
691 (remote_fileio_func_stat): Use target_read_memory and
693 (remote_fileio_func_gettimeofday): Use target_write_memory.
694 (remote_fileio_func_system): Use target_read_memory.
695 * remote.c (remote_write_bytes): Make it static.
696 (remote_read_bytes): Don't handle partial reads here.
697 * remote.h (remote_read_bytes): Delete declaration.
699 2011-01-25 Pedro Alves <pedro@codesourcery.com>
701 Simplify XML parsing a bit.
703 * xml-support.h (gdb_xml_parse_quick): Declare.
704 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
705 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
707 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
708 gdb_xml_create_parser_and_cleanup_1.
709 (gdb_xml_parse_quick): New.
710 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
711 * osdata.c (osdata_parse): Ditto.
712 * remote.c (remote_threads_info): Ditto.
713 * solib-target.c (solib_target_parse_libraries): Ditto.
714 * xml-syscall.c (syscall_parse_xml): Ditto.
715 * xml-tdesc.c (tdesc_parse_xml): Ditto.
717 2011-01-24 Kevin Buettner <kevinb@redhat.com>
719 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
720 with remote-mips.o added to gdb_target_obs.
721 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
723 2011-01-24 Pedro Alves <pedro@codesourcery.com>
725 * ada-valprint.c (val_print_packed_array_elements): Pass the
726 correct struct value to val_print.
727 (ada_val_print_1): Ditto.
729 2011-01-24 Pedro Alves <pedro@codesourcery.com>
731 Don't lose embedded_offset in printing routines throughout.
733 * valprint.h (val_print_array_elements): Change prototype.
734 * valprint.c (val_print_array_elements): Add `embedded_offset'
735 parameter, and adjust to pass it down to val_print, while passing
736 `valaddr' or `address' unmodified. Take embedded_offset into
737 account when checking repetitions.
738 * c-valprint.c (c_val_print): Pass embedded_offset to
739 val_print_array_elements instead of adjusting `valaddr' and
741 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
742 embedded_offset to val_print_array_elements instead of adjusting
744 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
745 * p-valprint.c (pascal_val_print): Pass embedded_offset to
746 val_print_array_elements and pascal_object_print_value_fields
747 instead of adjusting `valaddr'.
748 (pascal_object_print_value_fields): Add `offset' parameter, and
750 (pascal_object_print_value): Add `offset' parameter, and adjust to
752 (pascal_object_print_static_field): Use
753 value_contents_for_printing/value_embedded_offset, rather than
755 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
756 parameter, and adjust to use it. Use
757 value_contents_for_printing/value_embedded_offset, rather than
759 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
760 (ada_val_print_array): Add `offset' parameter, and adjust to use
762 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
763 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
764 Instead work with offsets. Use
765 value_contents_for_printing/value_embedded_offset, rather than
766 value_contents. Change `defer_val_int' local type to CORE_ADDR,
767 and use value_from_pointer to extract a target pointer, rather
768 than value_from_longest.
769 (print_variant_part): Add `offset' parameter. Replace
770 `outer_valaddr' parameter by a new `outer_offset' parameter.
771 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
772 (ada_value_print): Use
773 value_contents_for_printing/value_embedded_offset, rather than
775 (print_record): Add `offset' parameter, and adjust to pass it
777 (print_field_values): Add `offset' parameter. Replace
778 `outer_valaddr' parameter by a new `outer_offset' parameter.
779 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
780 Use value_contents_for_printing/value_embedded_offset, rather than
782 * d-valprint.c (dynamic_array_type): Use
783 value_contents_for_printing/value_embedded_offset, rather than
785 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
786 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
787 (java_print_value_fields): Take `offset' into account. Don't
788 re-adjust `valaddr'. Instead pass down adjusted offsets.
789 (java_val_print): Take `embedded_offset' into account. Pass it to
790 java_print_value_fields.
791 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
792 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
793 down adjusted offsets.
794 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
795 (f_val_print): Take `embedded_offset' into account.
797 2011-01-21 Joel Brobecker <brobecker@adacore.com>
799 * inflow.c: Include "gdbcmd.h".
800 (interactive_mode): New static global, moved here from top.c.
801 (show_interactive_mode): New function, moved here from top.c.
802 use gdb_has_a_terminal instead of input_from_terminal_p to
803 determine the current mode.
804 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
806 (_initialize_inflow): Add the "set/show interactive-mode"
807 commands. Moved here from top.c, after having adjusted slightly
809 * top.c (interactive_mode, show_interactive_mode): Delete, moved
811 (input_from_terminal_p): Remove handling of "interactive-mode"
812 setting, moved to infow.c.
813 (init_main): Remove creation of the "set/show interactive-mode"
814 commands, moved to inflow.c.
816 2011-01-19 Joel Brobecker <brobecker@adacore.com>
818 * NEWS: Add entry for native ia64-hpux support.
820 2011-01-19 Tom Tromey <tromey@redhat.com>
823 * thread.c (free_thread): Free 'name'.
824 (print_thread_info): Emit thread name. Change CLI output.
825 (thread_name_command): New function.
826 (do_captured_thread_select): Emit newline.
827 (_initialize_thread): Register 'thread name' command.
828 * target.h (struct target_ops) <to_thread_name>: New field.
829 (target_thread_name): New macro.
830 * target.c (update_current_target): Handle to_thread_name.
831 * python/py-infthread.c (thpy_get_name): New function.
832 (thpy_set_name): Likewise.
833 (thread_object_getset): Add "name".
834 * linux-nat.c (linux_nat_thread_name): New function.
835 (linux_nat_add_target): Set to_thread_name.
836 * gdbthread.h (struct thread_info) <name>: New field.
838 2011-01-18 Joel Brobecker <brobecker@adacore.com>
840 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
841 (ada_val_print_1): Likewise.
843 2011-01-18 Joel Brobecker <brobecker@adacore.com>
845 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
846 upper limit address is not greater than the function end address
847 when the upper limit could not be computed using the debugging
850 2011-01-17 Tom Tromey <tromey@redhat.com>
852 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
854 * utils.c: Include gdb_regex.h.
855 (do_regfree_cleanup): New function.
856 (make_regfree_cleanup): Likewise.
857 (get_regcomp_error): Likewise.
858 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
860 2011-01-17 Tom Tromey <tromey@redhat.com>
862 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
865 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
867 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
868 for internal variables.
869 (last_was_structop): New static variable.
870 (COMPLETE): New token.
871 (field_exp): New rule to group all '.' suffix handling.
872 Add mark_struct_expression calls when approriate to be able
873 to correctly find fields for completion.
874 (yylex): Adapt to handle field completion and set INTVAR when
877 2011-01-14 Yao Qi <yao@codesourcery.com>
879 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
880 save_reggroup, restore_reggroup and all_reggroup.
882 2011-01-14 Joel Brobecker <brobecker@adacore.com>
884 * ada-valprint. (ada_printchar): Use the correct type length
885 in call to ada_emit_char.
886 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
888 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
890 * solib-som.h (hpux_major_release): Declare variable here.
891 * solib-som.c: Remove <sys/utsname.h> header.
892 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
893 (hpux_major_release): Make global, change default value to
894 DEFAULT_HPUX_MAJOR_RELEASE.
895 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
896 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
897 Add "solib-som.h" header.
898 (set_hpux_major_release): New function.
899 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
901 2011-01-14 Mike Frysinger <vapier@gentoo.org>
903 * configure.tgt (*-*-uclinux*): Match more Linux os targets
905 2011-01-14 Joel Brobecker <brobecker@adacore.com>
907 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
908 new-line at end of warning message.
909 (ia64_hpux_store_register): Remove trailing new-line at end of
911 * ia64-hpux-tdep.c: Rephrase comment.
912 * solib-ia64-hpux.c (struct dld_info): Change type of field
913 dld_flags from "long long" to ULONGEST.
915 2011-01-14 Pedro Alves <pedro@codesourcery.com>
917 * target.h (deprecated_child_ops): Delete declaration.
918 * target.c (deprecated_child_ops): Delete definition.
920 2011-01-14 Pedro Alves <pedro@codesourcery.com>
922 * Makefile.in (hpux-thread.o): Delete rule.
923 * configure.ac: Don't check for HPUX DCE threads support.
924 * configure, config.in: Regenerate.
925 * hppa-hpux-nat.c (child_suppress_run): Delete.
926 (hppa_hpux_child_can_run): Delete.
927 (_initialize_hppa_hpux_nat): Don't override to_can_run.
928 * hpux-thread.c: Delete.
930 2011-01-13 Joel Brobecker <brobecker@adacore.com>
932 * hpux-thread.c (hpux_pid_to_str): Delete.
934 2011-01-13 Joel Brobecker <brobecker@adacore.com>
936 * ada-valprint.c (ada_emit_char): Remove strange code.
937 Check that c is <= UCHAR_MAX before passing it to isascii.
938 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
940 2011-01-13 Joel Brobecker <brobecker@adacore.com>
942 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
943 to the case where instream is stdin.
945 2011-01-13 Joel Brobecker <brobecker@adacore.com>
947 * ia64-tdep.h (struct regcache): Forward declare.
948 (struct ia64_infcall_ops): New struct type.
949 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
951 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
952 Renames ia64_find_global_pointer.
953 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
954 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
955 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
957 (ia64_infcall_ops): New static global constant.
958 (ia64_gdbarch_init): Set tdep->infcall_ops.
959 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
960 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
961 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
962 (ia64_hpux_dummy_code): New static global constant.
963 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
964 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
965 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
967 (ia64_hpux_infcall_ops): New static global constant.
968 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
969 for inferior function calls to work properly on ia64-hpux.
971 2011-01-13 Joel Brobecker <brobecker@adacore.com>
973 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
974 * ia64-tdep.h (struct frame_info): forward declaration.
975 (struct gdbarch_tdep): Add field size_of_register_frame.
976 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
977 to determine the size of the register frame.
978 (ia64_size_of_register_frame): New function.
979 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
980 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
981 (IA64_HPUX_UREG_REASON): New macro.
982 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
984 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
985 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
986 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
989 2011-01-13 Joel Brobecker <brobecker@adacore.com>
991 Add support for ia64-hpux.
992 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
993 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
995 * configure.host: Add handling for ia64-hpux hosts. Add associated
997 * configure.tgt: Add handling for ia64-hpux targets.
998 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
999 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
1000 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
1002 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1004 [ttrace] Compute thread list immediately after attach.
1005 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
1007 (inf_ttrace_attach): Use it.
1009 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1011 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
1012 if we could not determine the frame's function address. Instead,
1013 use the frame's PC, and then continue.
1015 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1017 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
1018 not already defined.
1020 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1022 * ia64-tdep.c (ia64_struct_type_p): New function.
1023 (ia64_extract_return_value): Handle integral values that are
1024 less than 8 bytes long.
1025 (ia64_push_dummy_call): Likewise.
1027 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1029 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
1030 floatformat_ia64_ext.
1031 (floatformat_ia64_ext_big): New static const.
1032 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
1034 2011-01-12 Tom Tromey <tromey@redhat.com>
1036 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
1038 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
1039 (mi_cmd_thread_list_ids): Likewise.
1040 (mi_cmd_data_list_changed_registers): Likewise.
1041 (mi_cmd_data_list_register_values): Likewise.
1042 (mi_cmd_data_write_register_values): Likewise.
1043 (mi_cmd_data_evaluate_expression): Likewise.
1044 (mi_cmd_data_read_memory): Likewise.
1045 (mi_cmd_data_read_memory_bytes): Likewise.
1046 (mi_cmd_data_write_memory): Likewise.
1047 (mi_cmd_enable_timings): Likewise.
1048 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
1049 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
1050 (mi_cmd_var_delete): Likewise.
1051 (mi_cmd_var_set_format): Likewise.
1052 (mi_cmd_var_show_format): Likewise.
1053 (mi_cmd_var_info_num_children): Likewise.
1054 (mi_cmd_var_list_children): Likewise.
1055 (mi_cmd_var_info_type): Likewise.
1056 (mi_cmd_var_info_expression): Likewise.
1057 (mi_cmd_var_show_attributes): Likewise.
1058 (mi_cmd_var_assign): Likewise.
1059 (mi_cmd_var_update): Likewise.
1060 (mi_cmd_enable_pretty_printing): Likewise.
1061 (mi_cmd_var_set_update_range): Likewise.
1062 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
1064 (mi_cmd_target_file_put): Likewise.
1065 (mi_cmd_target_file_delete): Likewise.
1066 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
1068 (mi_cmd_stack_info_depth): Likewise.
1069 (mi_cmd_stack_list_locals): Likewise.
1070 (mi_cmd_stack_list_args): Likewise.
1071 (mi_cmd_stack_select_frame): Likewise.
1072 (mi_cmd_stack_select_frame): Likewise.
1073 (mi_cmd_stack_info_frame): Likewise.
1074 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
1076 (mi_cmd_file_list_exec_source_files): Likewise.
1077 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
1078 (mi_cmd_env_cd): Likewise.
1079 (mi_cmd_env_path): Likewise.
1080 (mi_cmd_env_dir): Likewise.
1081 (mi_cmd_inferior_tty_show): Likewise.
1082 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
1083 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
1084 (mi_cmd_break_watch): Likewise.
1086 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
1088 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
1089 (ppc_linux_insert_hw_breakpoint): Likewise.
1090 (ppc_linux_remove_hw_breakpoint): Likewise.
1091 (ppc_linux_insert_watchpoint): Likewise.
1093 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1094 Jan Kratochvil <jan.kratochvil@redhat.com>
1096 PR fortran/11104 and DWARF unbound arrays detection.
1097 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
1098 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
1099 unspecified upper bound.
1100 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
1101 variables array_size_array, tmp_type and offset_item. New variable
1102 array. Remove call to f77_get_upperbound. New variables array_type
1103 and index. Call value_subscripted_rvalue for each dimenasion. Remove
1104 the final call to deprecated_set_value_type.
1106 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1108 Make value allocations more lazy.
1109 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
1110 instead of allocate_value and set_value_lazy when possible.
1111 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
1112 instead of allocate_value and set_value_lazy.
1113 * findvar.c (value_of_register_lazy): Likewise.
1114 (read_var_value): Remove V preallocation, call just check_typedef in
1115 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
1116 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
1117 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
1118 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
1119 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
1120 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
1121 the end, remove set_value_lazy there.
1122 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
1123 instead of allocate_value and set_value_lazy when possible.
1124 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
1125 * value.c (allocate_computed_value): Use allocate_value_lazy instead
1126 of allocate_value and set_value_lazy.
1127 (value_from_contents_and_address): Use allocate_value_lazy instead of
1128 allocate_value and set_value_lazy when possible.
1130 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1132 * disasm.c (dump_insns): Support dumping opcodes for MI.
1133 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
1134 dumping of instruction opcodes.
1136 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
1138 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
1141 2011-01-11 Tom Tromey <tromey@redhat.com>
1143 * thread.c (do_captured_thread_select): Emit newline before
1146 2011-01-11 Michael Snyder <msnyder@vmware.com>
1148 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
1149 * score-tdep.c: Ditto.
1150 * score-tdep.h: Ditto.
1151 * ser-base.c: Ditto.
1152 * ser-go32.c: Ditto.
1155 * ser-mingw.c: Ditto.
1156 * ser-pipe.c: Ditto.
1158 * ser-unix.c: Ditto.
1159 * sh64-tdep.c: Ditto.
1160 * shnbsd-nat.c: Ditto.
1164 * solib-darwin.c: Ditto.
1165 * solib-frv.c: Ditto.
1167 * solib-irix.c: Ditto.
1168 * solib-osf.c: Ditto.
1169 * solib-pa64.c: Ditto.
1170 * solib-som.c: Ditto.
1171 * solib-spu.c: Ditto.
1172 * solib-sunos.c: Ditto.
1173 * solib-svr4.c: Ditto.
1175 * sol-thread.c: Ditto.
1179 * sparc64-linux-tdep.c: Ditto.
1180 * sparc64-tdep.c: Ditto.
1181 * sparc-linux-nat.c: Ditto.
1182 * sparc-linux-tdep.c: Ditto.
1183 * sparc-sol2-nat.c: Ditto.
1184 * sparc-sol2-tdep.c: Ditto.
1185 * sparc-tdep.c: Ditto.
1186 * sparc-tdep.h: Ditto.
1187 * spu-tdep.c: Ditto.
1188 * stabsread.c: Ditto.
1189 * stabsread.h: Ditto.
1197 * target-descriptions.c: Ditto.
1198 * target-descriptions.h: Ditto.
1200 * target-memory.c: Ditto.
1201 * terminal.h: Ditto.
1204 * tracepoint.c: Ditto.
1205 * tracepoint.h: Ditto.
1206 * trad-frame.h: Ditto.
1207 * typeprint.c: Ditto.
1209 2011-01-11 Michael Snyder <msnyder@vmware.com>
1211 * ui-file.c: Comment cleanup, mostly periods and spaces.
1216 * v850-tdep.c: Ditto.
1217 * valarith.c: Ditto.
1219 * valprint.c: Ditto.
1220 * valprint.h: Ditto.
1225 * vax-tdep.c: Ditto.
1229 * windows-nat.c: Ditto.
1230 * windows-tdep.c: Ditto.
1231 * xcoffread.c: Ditto.
1232 * xcoffsolib.c: Ditto.
1233 * xml-support.c: Ditto.
1234 * xstormy16-tdep.c: Ditto.
1235 * xtensa-tdep.c: Ditto.
1236 * xtensa-tdep.h: Ditto.
1238 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1240 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
1241 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
1243 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
1244 Thiago Jung Bauermann <bauerman@br.ibm.com>
1246 Implement support for PowerPC BookE ranged watchpoints.
1248 (struct breakpoint_ops) <resources_needed>: New method.
1249 Initialize to NULL in all existing breakpoint_ops instances.
1250 (struct breakpoint) <exact>: New field.
1251 (target_exact_watchpoints): Declare external global.
1252 * breakpoint.c (target_exact_watchpoints): New global flag.
1253 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
1254 b->enable_state to bp_enabled before calling
1255 hw_watchpoint_used_count.
1256 (hw_watchpoint_used_count): Iterate over all bp_locations in a
1257 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
1259 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
1260 if the watchpoint is exact.
1261 (resources_needed_watchpoint): New function.
1262 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
1263 (watch_command_1): Set b->exact if the user asked for an exact
1264 watchpoint and one can be set.
1265 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
1266 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
1267 the user asks for an exact watchpoint and one can be set. Return
1268 number of needed debug registers to watch the expression.
1269 * gdbtypes.c (is_scalar_type): New function, based on
1270 valprint.c:scalar_type_p.
1271 (is_scalar_type_recursive): New function.
1272 * gdbtypes.h (is_scalar_type_recursive): Declare.
1273 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
1274 handle regions when ranged watchpoints are available.
1275 (create_watchpoint_request): New function.
1276 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
1277 create_watchpoint_request.
1278 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
1279 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
1280 `set powerpc' and `show powerpc' commands.
1281 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1282 Mention documentation comment in the target macro.
1283 (target_region_ok_for_hw_watchpoint): Document return value.
1285 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1287 * breakpoint.c (update_watchpoint): Decide on using a software or
1288 hardware watchpoint after the bp_locations are created.
1290 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1292 Convert hardware watchpoints to use breakpoint_ops.
1293 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
1294 <insert_location>: ... this. Return int instead of void.
1295 Accept pointer to struct bp_location instead of pointer to
1296 struct breakpoint. Adapt all implementations.
1297 (breakpoint_ops) <remove>: Rename to...
1298 <remove_location>: ... this. Accept pointer to struct bp_location
1299 instead of pointer to struct breakpoint. Adapt all implementations.
1300 * breakpoint.c (insert_catchpoint): Delete function.
1301 (insert_bp_location): Call the watchpoint or catchpoint's
1302 breakpoint_ops.insert method.
1303 (remove_breakpoint_1): Call the watchpoint or catchpoint's
1304 breakpoint_ops.remove method.
1305 (insert_watchpoint, remove_watchpoint): New functions.
1306 (watchpoint_breakpoint_ops): New structure.
1307 (watch_command_1): Initialize the OPS field.
1308 * inf-child.c (inf_child_insert_fork_catchpoint)
1309 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
1310 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
1311 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
1313 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
1314 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
1315 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
1316 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
1317 * target.c (update_current_target): Change default implementation of
1318 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
1319 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1320 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
1321 to_set_syscall_catchpoint to return_one.
1322 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
1323 (debug_to_insert_exec_catchpoint): Report return value.
1324 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
1325 (to_insert_exec_catchpoint): Change declaration to return int instead
1328 2011-01-11 Michael Snyder <msnyder@vmware.com>
1330 * arm-tdep.c: Internationalization.
1333 * fork-child.c: Ditto.
1334 * nto-procfs.c: Ditto.
1335 * ppc-sysv-tdep.c: Ditto.
1337 * remote-mips.c: Ditto.
1339 * rs6000-nat.c: Ditto.
1340 * rs6000-tdep.c: Ditto.
1344 * xml-support.c: Ditto.
1345 * mi/mi-cmd-break.c: Ditto.
1346 * mi/mi-cmd-var.c: Ditto.
1347 * mi/mi-interp.c: Ditto.
1348 * mi/mi-main.c: Ditto.
1350 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
1352 * remote-sim.c (gdbsim_store_register): Update API to
1353 sim_store_register to check more error conditions.
1355 2011-01-10 Michael Snyder <msnyder@vmware.com>
1357 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1358 * nto-tdep.c: Ditto.
1359 * nto-tdep.h: Ditto.
1360 * objc-exp.y: Ditto.
1361 * objc-lang.c: Ditto.
1362 * objfiles.c: Ditto.
1363 * objfiles.h: Ditto.
1364 * observer.c: Ditto.
1365 * opencl-lang.c: Ditto.
1368 * parser-defs.h: Ditto.
1371 * posix-hdep.c: Ditto.
1372 * ppcbug-rom.c: Ditto.
1373 * ppc-linux-nat.c: Ditto.
1374 * ppc-linux-tdep.c: Ditto.
1375 * ppc-linux-tdep.h: Ditto.
1376 * ppcnbsd-tdep.c: Ditto.
1377 * ppcobsd-tdep.c: Ditto.
1378 * ppcobsd-tdep.h: Ditto.
1379 * ppc-sysv-tdep.c: Ditto.
1380 * ppc-tdep.h: Ditto.
1381 * printcmd.c: Ditto.
1382 * proc-abi.c: Ditto.
1383 * proc-flags.c: Ditto.
1385 * proc-utils.h: Ditto.
1386 * progspace.h: Ditto.
1387 * prologue-value.c: Ditto.
1388 * prologue-value.h: Ditto.
1389 * psympriv.h: Ditto.
1391 * p-typeprint.c: Ditto.
1392 * p-valprint.c: Ditto.
1393 * ravenscar-sparc-thread.c: Ditto.
1394 * ravenscar-thread.c: Ditto.
1395 * ravenscar-thread.h: Ditto.
1397 * regcache.c: Ditto.
1398 * regcache.h: Ditto.
1400 * remote-fileio.c: Ditto.
1401 * remote-fileio.h: Ditto.
1403 * remote-m32r-sdi.c: Ditto.
1404 * remote-mips.c: Ditto.
1405 * remote-sim.c: Ditto.
1406 * rs6000-aix-tdep.c: Ditto.
1407 * rs6000-nat.c: Ditto.
1408 * rs6000-tdep.c: Ditto.
1410 2011-01-10 Michael Snyder <msnyder@vmware.com>
1412 * charset.c (validate): Internationalization.
1413 * coffread.c (read_one_sym): Ditto.
1414 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1415 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1416 * inflow.c (new_tty): Ditto.
1417 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1418 * m32c-tdep.c (m32c_return_value): Ditto.
1419 * mep-tdep.c (mep_store_return_value): Ditto.
1420 * score-tdep.c (score7_fetch_insn): Ditto.
1421 * ser-mingw.c (pipe_windows_open): Ditto.
1422 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1423 * spu-tdep.c (spu_register_type): Ditto.
1424 * tracepoint.c (trace_find_command): Ditto.
1425 * valarith.c (value_pos): Ditto.
1427 2011-01-10 Joel Brobecker <brobecker@adacore.com>
1429 * ada-valprint.c (printstr): Minor comment reformatting.
1431 2011-01-08 Michael Snyder <msnyder@vmware.com>
1433 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1436 2011-01-08 Michael Snyder <msnyder@vmware.com>
1438 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1439 * hppa-hpux-tdep.c: Ditto.
1440 * hppa-linux-nat.c: Ditto.
1441 * hppa-linux-tdep.c: Ditto.
1442 * hppanbsd-tdep.c: Ditto.
1443 * hppa-tdep.c: Ditto.
1444 * hppa-tdep.h: Ditto.
1445 * hpux-thread.c: Ditto.
1446 * i386-cygwin-tdep.c: Ditto.
1447 * i386-darwin-nat.c: Ditto.
1448 * i386gnu-nat.c: Ditto.
1449 * i386-linux-nat.c: Ditto.
1450 * i386-linux-tdep.c: Ditto.
1451 * i386-nat.c: Ditto.
1452 * i386-nat.h: Ditto.
1453 * i386nbsd-tdep.c: Ditto.
1454 * i386-sol2-nat.c: Ditto.
1455 * i386-stub.c: Ditto.
1456 * i386-tdep.c: Ditto.
1457 * i386-tdep.h: Ditto.
1458 * i387-tdep.c: Ditto.
1459 * ia64-linux-nat.c: Ditto.
1460 * ia64-linux-tdep.c: Ditto.
1461 * ia64-tdep.c: Ditto.
1465 * inferior.c: Ditto.
1466 * inferior.h: Ditto.
1472 * iq2000-tdep.c: Ditto.
1473 * irix5-nat.c: Ditto.
1479 * jv-typeprint.c: Ditto.
1480 * jv-valprint.c: Ditto.
1481 * language.c: Ditto.
1482 * language.h: Ditto.
1483 * linespec.c: Ditto.
1484 * linux-fork.c: Ditto.
1485 * linux-nat.c: Ditto.
1486 * linux-thread-db.c: Ditto.
1487 * lm32-tdep.c: Ditto.
1489 2011-01-08 Michael Snyder <msnyder@vmware.com>
1491 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1493 * m2-typeprint.c: Ditto.
1494 * m2-valprint.c: Ditto.
1495 * m32c-tdep.c: Ditto.
1496 * m32r-linux-nat.c: Ditto.
1497 * m32r-rom.c: Ditto.
1498 * m32r-tdep.c: Ditto.
1499 * m32r-tdep.h: Ditto.
1500 * m68hc11-tdep.c: Ditto.
1501 * m58klinux-nat.c: Ditto.
1502 * m68k-tdep.c: Ditto.
1503 * m88k-tdep.c: Ditto.
1504 * m88k-tdep.h: Ditto.
1505 * machoread.c: Ditto.
1506 * macrocmd.c: Ditto.
1507 * macroexp.c: Ditto.
1508 * macrotab.c: Ditto.
1511 * mdebugread.c: Ditto.
1512 * mdebugread.h: Ditto.
1515 * memory-map.h: Ditto.
1516 * mep-tdep.c: Ditto.
1517 * microblaze-rom.c: Ditto.
1518 * microblaze-tdep.c: Ditto.
1520 * mips-irix-tdep.c: Ditto.
1521 * mips-linux-nat.c: Ditto.
1522 * mips-linux-tdep.c: Ditto.
1523 * mips-linux-tdep.h: Ditto.
1524 * mipsnbsd-nat.c: Ditto.
1525 * mipsnbsd-tdep.c: Ditto.
1526 * mipsread.c: Ditto.
1527 * mips-tdep.c: Ditto.
1528 * mips-tdep.h: Ditto.
1529 * mn10300-linux-tdep.c: Ditto.
1530 * mn10300-tdep.c: Ditto.
1531 * mn10300-tdep.h: Ditto.
1534 * moxie-tdep.c: Ditto.
1535 * moxie-tdep.h: Ditto.
1538 2011-01-08 Mike Frysinger <vapier@gentoo.org>
1540 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1542 2011-01-08 Robert Millan <rmh@gnu.org>
1544 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1546 2011-01-07 Michael Snyder <msnyder@vmware.com>
1548 * charset.c (_initialize_charset): Fix typo in string.
1550 2011-01-07 Michael Snyder <msnyder@vmware.com>
1552 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1554 * tui/tui-layout.c (tui_set_layout_for_display_command):
1555 Split line so that operator goes to beginning of line.
1556 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1557 assignment out of if statement.
1559 2011-01-07 Michael Snyder <msnyder@vmware.com>
1561 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1562 * ada-lang.h: Ditto.
1563 * ada-tasks.c: Ditto.
1564 * ada-valprint.c: Ditto.
1565 * aix-threads.c: Ditto.
1566 * alpha-linux-nat.c: Ditto.
1567 * alpha-linux-tdep.c: Ditto.
1568 * alpha-mdebug-tdep.c: Ditto.
1569 * alpha-nat.c: Ditto.
1570 * alpha-osf1-tdep.c: Ditto.
1571 * alpha-tdep.c: Ditto.
1572 * alphabsd-nat.c: Ditto.
1573 * alphabsd-tdep.c: Ditto.
1574 * amd64-darwin-tdep.c: Ditto.
1575 * amd64-linux-nat.c: Ditto.
1576 * amd64-linux-tdep.c: Ditto.
1577 * amd64-sol2-tdep.c: Ditto.
1578 * amd64-tdep.c: Ditto.
1579 * amd64-fbsd-tdep.c: Ditto.
1580 * amd64-nbsd-tdep.c: Ditto.
1581 * amd64-obsd-tdep.c: Ditto.
1582 * amd64-linux-nat.c: Ditto.
1583 * amd64-linux-tdep.c: Ditto.
1584 * arm-tdep.c: Ditto.
1585 * arm-tdep.h: Ditto.
1586 * armnbsd-nat.c: Ditto.
1587 * avr-tdep.c: Ditto.
1588 * bfin-tdep.c: Ditto.
1590 * c-typeprintc: Ditto.
1591 * c-valprint.c: Ditto.
1592 * coff-pe-read.h: Ditto.
1593 * coffreead.c: Ditto.
1594 * cris-tdep.c: Ditto.
1596 * darwin-nat-info.c: Ditto.
1597 * darwin-nat.c: Ditto.
1598 * dbug-rom.c: Ditto.
1602 * dec-thread.c: Ditto.
1604 * demangle.c: Ditto.
1605 * dicos-tdep.c: Ditto.
1606 * dictionary.c: Ditto.
1607 * dictionary.h: Ditto.
1608 * dink32-rom.c: Ditto.
1610 * doublest.c: Ditto.
1612 * dummy-frame.c: Ditto.
1613 * dwarf2-frame.c: Ditto.
1614 * dwarf2expr.c: Ditto.
1615 * dwarf2loc.c: Ditto.
1616 * dwarf2read.c: Ditto.
1620 * event-top.h: Ditto.
1621 * exceptions.c: Ditto.
1622 * exceptions.h: Ditto.
1624 * expprint.c: Ditto.
1625 * expression.h: Ditto.
1629 * f-typeprint.c: Ditto.
1630 * f-valprint.c: Ditto.
1631 * fbsd-nat.c: Ditto.
1633 * fork-child.c: Ditto.
1636 * frv-linux-tdep.c: Ditto.
1637 * frv-tdep.c: Ditto.
1639 * gdb-stabs.h: Ditto.
1640 * gdb_assert.h: Ditto.
1641 * gdb_string.h: Ditto.
1642 * gdb_thread_db.h: Ditto.
1643 * gdb_wait.h: Ditto.
1644 * gdbarch.sh: Ditto.
1646 * gdbthread.h: Ditto.
1647 * gdbtypes.c: Ditto.
1648 * gdbtypes.h: Ditto.
1651 * gnu-v2-abi.c: Ditto.
1652 * gnu-v3-abi.c: Ditto.
1653 * go32-nat.c: Ditto.
1654 * gdbarch.c: Regenerate.
1655 * gdbarch.h: Regenerate.
1657 2011-01-07 Michael Snyder <msnyder@vmware.com>
1659 * ax-gdb.c: Adjust some long output strings.
1660 * breakpoint.c: Ditto.
1665 * linux-nat.c: Ditto.
1666 * solib-pa64.c: Ditto.
1667 * solib-som.c: Ditto.
1669 2011-01-06 Tom Tromey <tromey@redhat.com>
1673 * python/python.c (GdbMethods): Add "newest_frame" method.
1674 * python/python-internal.h (gdbpy_newest_frame): Declare.
1675 * python/py-frame.c (gdbpy_newest_frame): New function.
1677 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1679 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1680 * jit.c (jit_debug): New variable.
1681 (show_jit_debug): New function.
1682 (struct target_buffer): Use ULONGEST.
1683 (bfd_open_from_target_memory): Likewise.
1684 (jit_register_code, jit_inferior_init): Add debug output.
1685 (_initialize_jit): Register "debug jit" command.
1687 2011-01-06 Tom Tromey <tromey@redhat.com>
1689 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1690 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1693 2011-01-06 Tom Tromey <tromey@redhat.com>
1695 * python/py-frame.c (frapy_block): Use get_frame_block.
1697 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1699 Do not stop on SIGPRIO signals by default
1700 * infrun.c (_initialize_infrun): Unset signal_stop and
1701 signal_print for TARGET_SIGNAL_PRIO.
1703 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1705 * ada-tasks.c: Fix style violation in comment.
1707 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1709 * linespec.c (decode_compound, find_method): Remove trailing \n
1710 at end of error string.
1711 * solib-irix.c (irix_current_sos): Likewise.
1712 * varobj.c (uninstall_variable): Likewise.
1714 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1716 * copyright.py: New script.
1717 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1718 Launch emacs without exec'ing. Call copyright.py afterwards.
1720 2011-01-05 Michael Snyder <msnyder@vmware.com>
1722 * addrmap.c: Shorten lines of >= 80 columns.
1723 * arch-utils.c: Ditto.
1724 * arch-utils.h: Ditto.
1726 * ax-general.c: Ditto.
1728 * blockframe.c: Ditto.
1729 * breakpoint.c: Ditto.
1730 * buildsym.c: Ditto.
1732 * c-typeprint.c: Ditto.
1734 * coffread.c: Ditto.
1738 * cp-namespace.c: Ditto.
1739 * cp-support.c: Ditto.
1740 * dbug-rom.c: Ditto.
1745 * dictionary.c: Ditto.
1747 * doublest.c: Ditto.
1748 * dwarf2-frame.c: Ditto.
1749 * dwarf2expr.c: Ditto.
1750 * dwarf2loc.c: Ditto.
1751 * dwarf2read.c: Ditto.
1754 * event-loop.c: Ditto.
1755 * event-loop.h: Ditto.
1756 * exceptions.h: Ditto.
1758 * expprint.c: Ditto.
1759 * expression.h: Ditto.
1761 * f-valprint.c: Ditto.
1763 * frame-base.c: Ditto.
1764 * frame-unwind.c: Ditto.
1765 * frame-unwind.h: Ditto.
1769 * gdb-stabs.h: Ditto.
1770 * gdb_assert.h: Ditto.
1771 * gdb_dirent.h: Ditto.
1772 * gdb_obstack.h: Ditto.
1774 * gdbtypes.c: Ditto.
1775 * gdbtypes.h: Ditto.
1776 * inf-ttrace.c: Ditto.
1781 * inline-frame.h: Ditto.
1782 * language.c: Ditto.
1783 * language.h: Ditto.
1784 * libunwind-frame.c: Ditto.
1785 * libunwind-frame.h: Ditto.
1786 * linespec.c: Ditto.
1787 * linux-nat.c: Ditto.
1788 * linux-nat.h: Ditto.
1789 * linux-thread-db.c: Ditto.
1790 * machoread.c: Ditto.
1791 * macroexp.c: Ditto.
1792 * macrotab.c: Ditto.
1795 * mdebugread.c: Ditto.
1800 * objfiles.c: Ditto.
1801 * objfiles.h: Ditto.
1803 * p-typeprint.c: Ditto.
1804 * p-valprint.c: Ditto.
1806 * printcmd.c: Ditto.
1807 * proc-events.c: Ditto.
1809 * progspace.c: Ditto.
1810 * progspace.h: Ditto.
1811 * psympriv.h: Ditto.
1814 * regcache.c: Ditto.
1815 * regcache.h: Ditto.
1816 * remote-fileio.c: Ditto.
1818 * ser-mingw.c: Ditto.
1820 * ser-unix.c: Ditto.
1823 * solib-frv.c: Ditto.
1824 * solib-irix.c: Ditto.
1825 * solib-osf.c: Ditto.
1826 * solib-pa64.c: Ditto.
1827 * solib-som.c: Ditto.
1828 * solib-sunos.c: Ditto.
1829 * solib-svr4.c: Ditto.
1830 * solib-target.c: Ditto.
1834 * stabsread.c: Ditto.
1835 * stabsread.c: Ditto.
1838 * symfile-mem.c: Ditto.
1844 * target-descriptions.c: Ditto.
1845 * target-memory.c: Ditto.
1848 * terminal.h: Ditto.
1851 * tracepoint.c: Ditto.
1852 * tracepoint.h: Ditto.
1856 * user-regs.c: Ditto.
1857 * user-regs.h: Ditto.
1859 * valarith.c: Ditto.
1861 * valprint.c: Ditto.
1862 * valprint.h: Ditto.
1867 * xcoffread.c: Ditto.
1868 * xcoffsolib.c: Ditto.
1869 * xcoffsolib.h: Ditto.
1870 * xml-syscall.c: Ditto.
1871 * xml-tdesc.c: Ditto.
1873 2011-01-05 Michael Snyder <msnyder@vmware.com>
1875 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1876 * cli/cli-decode.c: Ditto.
1877 * cli/cli-dump.c: Ditto.
1878 * cli/cli-logging.c: Ditto.
1879 * cli/cli-script.c: Ditto.
1880 * cli/cli-setshow.c: Ditto.
1881 * common/signals.c: Ditto.
1882 * mi/mi-cmd-break.c: Ditto.
1883 * mi/mi-cmd-disas.c: Ditto.
1884 * mi/mi-cmd-stack.c: Ditto.
1885 * mi/mi-cmd-var.c: Ditto.
1886 * mi/mi-cmds.c: Ditto.
1887 * mi/mi-common.h: Ditto.
1888 * mi/mi-console.c: Ditto.
1889 * mi/mi-interp.c: Ditto.
1890 * mi/mi-main.c: Ditto.
1891 * osf-share/cma_attr.c: Ditto.
1892 * osf-share/cma_deb_core.h: Ditto.
1893 * osf-share/cma_debug_client.h: Ditto.
1894 * osf-share/cma_handle.h: Ditto.
1895 * osf-share/cma_mutex.h: Ditto.
1896 * osf-share/cma_stack_int.h: Ditto.
1897 * osf-share/cma_tcb_defs.h: Ditto.
1898 * python/py-auto-load.c: Ditto.
1899 * python/py-breakpoint.c: Ditto.
1900 * python/py-cmd.c: Ditto.
1901 * python/py-frame.c: Ditto.
1902 * python/py-objfile.c: Ditto.
1903 * python/py-param.c: Ditto.
1904 * python/py-progspace.c: Ditto.
1905 * python/py-symbol.c: Ditto.
1906 * python/py-value.c: Ditto.
1907 * python/python-internal.h: Ditto.
1908 * python/python.c: Ditto.
1909 * tui/tui-data.c: Ditto.
1910 * tui/tui-disasm.c: Ditto.
1911 * tui/tui-hooks.c: Ditto.
1912 * tui/tui-io.c: Ditto.
1913 * tui/tui-layout.c: Ditto.
1914 * tui/tui-regs.c: Ditto.
1915 * tui/tui-source.c: Ditto.
1916 * tui/tui-stack.c: Ditto.
1917 * tui/tui-win.c: Ditto.
1918 * tui/tui-windata.c: Ditto.
1919 * tui/tui-winsource.c: Ditto.
1921 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1923 * configure.ac, gdb.1: Copyright year update.
1925 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1927 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1928 this_pc_in_block, morestack_msym and morestack_name. Check for
1929 "__morestack" minimal symbol there.
1931 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1933 * symfile.c (find_sym_fns): Add call to dont_repeat.
1935 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1937 Copyright year update in most files (performed by copyright.sh).
1939 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1941 * top.c (print_gdb_version): Update copyright year in version output.
1943 For older changes see ChangeLog-2010.
1949 version-control: never