1 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org>
3 * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
4 starts with __stack_chk_guard as stack guard symbol.
6 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
8 * disasm.c (compare_lines): Handle the end of sequence markers
9 within the line table to better support disassembling over
10 compilation unit boundaries.
12 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
14 * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
15 arguments. Skip in-prologue calls to glibc __aeabi_read_tp
16 implementation even if no symbols are available.
17 (thumb_analyze_prologue): Update call to skip_prologue_function.
18 (arm_analyze_prologue): Likewise.
20 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
22 * arm-tdep.c: Include "observer.h".
23 (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
24 (arm_exidx_data_key): New static variable.
25 (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
26 (struct arm_exidx_data): Likewise.
27 (arm_exidx_data_free): New function.
28 (arm_compare_exidx_entries): Likewise.
29 (arm_obj_section_from_vma): Likewise.
30 (arm_exidx_new_objfile): Likewise.
31 (arm_find_exidx_entry): Likewise.
32 (arm_exidx_fill_cache): Likewise.
33 (arm_exidx_unwind_sniffer): Likewise.
34 (arm_exidx_unwind): New global variable.
35 (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
36 (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
37 observer. Register arm_exidx_data_key as objfile data.
39 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
41 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
42 due to accessing uninitialized variable. Fix indentation.
44 2011-02-02 Pedro Alves <pedro@codesourcery.com>
46 * c-valprint.c (c_value_print): When doing virtual base pointer
47 adjustment, create a new value with adjusted contents rather than
48 changing the contents of the value being printed (and getting it
51 2011-02-02 Pedro Alves <pedro@codesourcery.com>
53 * xml-support.c (xml_find_attribute): New.
54 (xinclude_start_include): Use it.
55 * xml-support.h (xml_find_attribute): Declare.
56 * memory-map.c (memory_map_start_memory)
57 (memory_map_start_property): Use xml_find_attribute.
58 * osdata.c (osdata_start_osdata, osdata_start_column): Use
60 * remote.c (start_thread): Use xml_find_attribute.
61 * solib-target.c (library_list_start_segment)
62 (library_list_start_section, library_list_start_library)
63 (library_list_start_list): Use xml_find_attribute.
64 * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
65 (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
66 (tdesc_start_field): Use xml_find_attribute.
68 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com>
70 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
71 (BUILD_OCL_VTYPES): Update.
73 2011-02-02 Joel Brobecker <brobecker@adacore.com>
75 * configure.ac: Work around non-GNU sed limitation when computing
76 python version number.
77 * configure: Regenerate.
79 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
81 Fix debug printing of TYPE_INSTANCE.
82 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
83 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
85 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
87 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
88 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
89 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
90 * ada-operator.inc: Rename the file to ...
91 * ada-operator.def: ... here, wrap all the entries by macro OP.
92 * expprint.c (op_name_standard): Remove all the entries. Include
93 "std-operator.def" instead.
94 * expression.h (enum exp_opcode): Include "std-operator.def" and
95 "ada-operator.def". Move all the entries ...
96 * std-operator.def: ... here, wrap all the entries by macro OP.
98 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
100 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
101 * breakpoint.c (remove_jit_event_breakpoints): New function.
102 * jit.c (jit_descriptor_addr): Delete.
103 (registering_code): Delete.
105 (jit_inferior_data): New variable.
106 (struct jit_inferior_data): New type.
107 (get_jit_inferior_data): New function.
108 (jit_inferior_data_cleanup): New function.
109 (jit_read_descriptor): Adjust.
110 (jit_register_code): Adjust.
111 (jit_breakpoint_re_set_internal): New function; move code here ...
112 (jit_inferior_init): ... from here.
113 (jit_breakpoint_re_set): Adjust.
114 (jit_reset_inferior_data_and_breakpoints): New function.
115 (jit_inferior_created_observer): Adjust.
116 (jit_inferior_exit_hook): Adjust.
117 (jit_executable_changed_observer): New function.
118 (jit_event_handler): Adjust.
119 (_initialize_jit): Adjust.
121 2011-01-31 Michael Snyder <msnyder@vmware.com>
123 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
126 2011-01-31 Tom Tromey <tromey@redhat.com>
129 * python/python.c (execute_gdb_command): Call
131 * top.c (suppress_dont_repeat): New global.
132 (dont_repeat): Use it.
133 (prevent_dont_repeat): New function.
134 * command.h (prevent_dont_repeat): Declare.
136 2011-01-31 Tom Tromey <tromey@redhat.com>
138 * infcmd.c (finish_backward): Use breakpoint_set_silent.
139 * python/py-breakpoint.c (bppy_set_silent): Use
140 breakpoint_set_silent.
141 (bppy_set_thread): Use breakpoint_set_thread.
142 (bppy_set_task): Use breakpoint_set_task.
143 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
144 (breakpoint_set_task): Declare.
145 (make_breakpoint_silent): Remove.
146 * breakpoint.c (breakpoint_set_silent): New function.
147 (breakpoint_set_thread): Likewise.
148 (breakpoint_set_task): Likewise.
149 (make_breakpoint_silent): Remove.
151 2011-01-31 Tom Tromey <tromey@redhat.com>
153 * breakpoint.h (user_breakpoint_p): Declare.
154 * breakpoint.c (user_breakpoint_p): New function.
155 (breakpoint_1): Use it.
156 (save_breakpoints): Likewise.
158 2011-01-31 Joel Brobecker <brobecker@adacore.com>
160 * configure.ac: Add handling of Python distribution on Windows.
161 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
162 sysconfig variables are not defined, then do not use them.
163 On Windows, if LIBPL is not defined, then use prefix + '/libs'
164 instead. On Windows, return all paths using forward-slashes
165 rather than backslashes.
167 2011-01-31 Joel Brobecker <brobecker@adacore.com>
169 * configure.ac: Remove fallback behavior for building
170 against Python. Remove tweaking of Python include path.
171 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
172 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
173 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
174 Always restore CPPFLAGS and LIBS after linking test.
175 * configure: Regenerated.
176 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
177 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
178 * python/python-internal.h: Adjust includes of Python .h files.
180 2011-01-31 Joel Brobecker <brobecker@adacore.com>
182 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
185 2011-01-31 Joel Brobecker <brobecker@adacore.com>
187 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
190 2011-01-31 Yao Qi <yao@codesourcery.com>
192 * arm-linux-nat.c: Update calls to regcache_register_status
193 instead of regcache_valid_p.
194 * aix-thread.c: Likewise.
195 * i386gnu-nat.c: Likewise.
197 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
200 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
201 touching TYPE_FIELD_ARTIFICIAL.
203 2011-01-28 Richard Earnshaw <rearnsha@arm.com>
205 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
208 2011-01-28 Pedro Alves <pedro@codesourcery.com>
210 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
211 selected, don't try iterating over the traceframe's blocks.
212 (tfile_has_stack): If there's no traceframe selected, then there's
214 (tfile_has_registers): If there's no traceframe selected, then
215 there's no registers.
217 2011-01-28 Pedro Alves <pedro@codesourcery.com>
219 * target.c (memory_xfer_partial): No need to restore shadows if we
220 haven't read anything.
222 2011-01-28 Pedro Alves <pedro@codesourcery.com>
224 * mips-tdep.c (mips_print_register): Use get_frame_register_value
225 and val_print_scalar_formatted.
227 2011-01-27 Pedro Alves <pedro@codesourcery.com>
229 * tracepoint.c (tfile_read): New.
230 (tfile_open): Use it.
231 (tfile_get_traceframe_address): Use it.
232 (tfile_trace_find): Use it.
233 (walk_blocks_callback_func): New typedef.
234 (match_blocktype): New function.
235 (traceframe_walk_blocks): New function.
236 (traceframe_find_block_type): New function.
237 (tfile_fetch_registers, tfile_xfer_partial)
238 (tfile_get_trace_state_variable_value): Use
239 traceframe_find_block_type and tfile_read.
241 2011-01-26 Kevin Buettner <kevinb@redhat.com>
243 * remote-mips.c: Add internationalization mark ups. Remove
244 trailing \n from already marked up strings.
246 2011-01-26 Tom Tromey <tromey@redhat.com>
248 * python/py-prettyprint.c (print_string_repr): Clear
249 'addressprint' option when calling val_print_string.
250 (print_children): Handle Val_pretty_default. Clear 'addressprint'
251 option when calling val_print_string.
253 2011-01-26 Tom Tromey <tromey@redhat.com>
255 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
257 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
259 (gdb_py_longest, gdb_py_ulongest): New typedefs.
260 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
261 (gdb_py_long_as_ulongest): New defines.
262 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
263 (gdb_py_int_as_long): Declare.
264 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
265 GDB_PY_LL_ARG, gdb_py_object_from_longest.
266 (valpy_long): Add comment.
267 * python/py-utils.c (get_addr_from_python): Use
268 gdb_py_long_as_ulongest. Handle overflow properly.
269 (gdb_py_object_from_longest): New function.
270 (gdb_py_object_from_ulongest): Likewise.
271 (gdb_py_int_as_long): Likewise.
272 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
273 * python/py-symtab.c (salpy_get_pc): Use
274 gdb_py_long_from_ulongest.
275 (salpy_get_line): Use PyInt_FromLong.
276 * python/py-param.c (set_parameter_value): Use
278 * python/py-lazy-string.c (stpy_get_address): Use
279 gdb_py_long_from_ulongest.
280 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
281 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
282 * python/py-breakpoint.c (bppy_set_thread): Use
284 (bppy_set_task): Likewise.
285 (bppy_set_ignore_count): Likewise.
286 (bppy_set_hit_count): Likewise.
287 * python/py-block.c (blpy_get_start): Use
288 gdb_py_object_from_ulongest.
289 (blpy_get_end): Likewise.
290 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
292 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
295 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
296 * gdb/solib.c (solib_read_symbols): Check for addr_low in
297 equality test for objfile, initialize addr_low if needed.
299 2011-01-25 Pedro Alves <pedro@codesourcery.com>
301 * tui/tui-regs.c (tui_register_format): Remove dead code.
303 2011-01-25 Pedro Alves <pedro@codesourcery.com>
305 * printcmd.c (print_formatted): Use val_print_scalar_formatted
306 instead of print_scalar_formatted.
307 (print_scalar_formatted): Don't handle 's' format strings here,
308 and add an assertion that we never see such format here.
309 * valprint.h (val_print_scalar_formatted): Declare.
310 * valprint.c (val_print_scalar_formatted): New.
311 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
312 instead of print_scalar_formatted.
313 * jv-valprint.c (java_val_print): Ditto.
314 * p-valprint.c (pascal_val_print): Ditto.
315 * ada-valprint.c (ada_val_print_1): Ditto.
316 * f-valprint.c (f_val_print): Ditto.
317 * infcmd.c (registers_info): Ditto.
318 * m2-valprint.c (m2_val_print): Ditto.
320 2011-01-25 Pedro Alves <pedro@codesourcery.com>
322 * m2-valprint.c (print_unbounded_array): Pass
323 value_contents_for_printing rather than value_contents, to
324 m2_print_array_contents. Also pass in the value.
326 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
328 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
329 (save_gdb_index_command): Switch to .gdb_index version 4.
331 2011-01-25 Pedro Alves <pedro@codesourcery.com>
333 * mi/mi-main.c (get_register): Use get_frame_register_value rather
334 than frame_register, and always pass a valid value to val_print.
336 2011-01-25 Pedro Alves <pedro@codesourcery.com>
338 Centralize printing "<optimized out>".
340 * valprint.h (val_print_optimized_out): Declare.
341 * cp-valprint.c (cp_print_value_fields): Use
342 val_print_optimized_out.
343 * jv-valprint.c (java_print_value_fields): Ditto.
344 * p-valprint.c (pascal_object_print_value_fields): Ditto.
345 * printcmd.c (print_formatted): Ditto.
346 * valprint.c (valprint_check_validity): Ditto.
347 (value_check_printable): Ditto.
348 (val_print_optimized_out): New.
350 2011-01-25 Pedro Alves <pedro@codesourcery.com>
352 * infcmd.c (default_print_registers_info): Allocate values so to
353 never pass a NULL value to val_print.
355 2011-01-25 Pedro Alves <pedro@codesourcery.com>
357 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
358 boolean. Make sure to always pass a value that matches the
359 contents buffer to callees. Preserve `address' for following
361 * value.c (value_contents_for_printing_const): New.
362 (value_address): Constify value argument.
363 * value.h (value_contents_for_printing_const): Declare.
364 (value_address): Constify value argument.
366 2011-01-25 Pedro Alves <pedro@codesourcery.com>
368 * regcache.c (struct regcache_descr): Rename
369 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
370 and sizeof_cooked_register_valid_p to
371 sizeof_cooked_register_status.
372 (init_regcache_descr): Adjust.
373 (struct regcache): Rename register_valid_p field to
375 (regcache_xmalloc_1, regcache_xfree, regcache_save)
376 (do_cooked_read): Adjust.
377 (regcache_valid_p): Rename to ...
378 (regcache_register_status): ... this. Adjust.
379 (regcache_invalidate): Adjust.
380 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
382 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
383 as unavailable, not valid.
384 (regcache_dump): Adjust.
385 * regcache.h (enum register_status): New.
386 (regcache_register_status): Declare.
387 (regcache_invalidate): Delete declaration.
388 * corelow.c (get_core_registers): Adjust.
389 * tracepoint.c (tfile_fetch_registers): Adjust.
390 * trad-frame.c (REG_VALUE): Rename to ...
391 (TF_REG_VALUE): ... this.
392 (REG_UNKNOWN): Rename to ...
393 (TF_REG_UNKNOWN): ... this.
394 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
395 * mi/mi-main.c (register_changed_p): Adjust.
397 2011-01-25 Pedro Alves <pedro@codesourcery.com>
399 * regcache.c (struct regcache_descr): Remove outdated comment.
400 (init_regcache_descr): Remove sizeof_raw_register_valid_p
402 (regcache_xmalloc): Rename to ...
403 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
404 Allocate the regcache type accordingly.
405 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
406 (regcache_xfree): Asser the source is also readonly. Copy sizeof
407 cooked registers, not raw.
408 (regcache_dup_no_passthrough): Delete.
409 (get_thread_arch_regcache): Use regcache_xmalloc_1.
410 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
411 mention obsolete write_register_bytes.
412 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
414 2011-01-25 Pedro Alves <pedro@codesourcery.com>
416 Stop remote_read_bytes from handling partial reads itself.
418 * remote-fileio.c: Include target.h.
419 (remote_fileio_write_bytes): Delete.
420 (remote_fileio_func_open, remote_fileio_func_write)
421 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
423 (remote_fileio_func_stat): Use target_read_memory and
425 (remote_fileio_func_gettimeofday): Use target_write_memory.
426 (remote_fileio_func_system): Use target_read_memory.
427 * remote.c (remote_write_bytes): Make it static.
428 (remote_read_bytes): Don't handle partial reads here.
429 * remote.h (remote_read_bytes): Delete declaration.
431 2011-01-25 Pedro Alves <pedro@codesourcery.com>
433 Simplify XML parsing a bit.
435 * xml-support.h (gdb_xml_parse_quick): Declare.
436 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
437 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
439 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
440 gdb_xml_create_parser_and_cleanup_1.
441 (gdb_xml_parse_quick): New.
442 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
443 * osdata.c (osdata_parse): Ditto.
444 * remote.c (remote_threads_info): Ditto.
445 * solib-target.c (solib_target_parse_libraries): Ditto.
446 * xml-syscall.c (syscall_parse_xml): Ditto.
447 * xml-tdesc.c (tdesc_parse_xml): Ditto.
449 2011-01-24 Kevin Buettner <kevinb@redhat.com>
451 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
452 with remote-mips.o added to gdb_target_obs.
453 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
455 2011-01-24 Pedro Alves <pedro@codesourcery.com>
457 * ada-valprint.c (val_print_packed_array_elements): Pass the
458 correct struct value to val_print.
459 (ada_val_print_1): Ditto.
461 2011-01-24 Pedro Alves <pedro@codesourcery.com>
463 Don't lose embedded_offset in printing routines throughout.
465 * valprint.h (val_print_array_elements): Change prototype.
466 * valprint.c (val_print_array_elements): Add `embedded_offset'
467 parameter, and adjust to pass it down to val_print, while passing
468 `valaddr' or `address' unmodified. Take embedded_offset into
469 account when checking repetitions.
470 * c-valprint.c (c_val_print): Pass embedded_offset to
471 val_print_array_elements instead of adjusting `valaddr' and
473 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
474 embedded_offset to val_print_array_elements instead of adjusting
476 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
477 * p-valprint.c (pascal_val_print): Pass embedded_offset to
478 val_print_array_elements and pascal_object_print_value_fields
479 instead of adjusting `valaddr'.
480 (pascal_object_print_value_fields): Add `offset' parameter, and
482 (pascal_object_print_value): Add `offset' parameter, and adjust to
484 (pascal_object_print_static_field): Use
485 value_contents_for_printing/value_embedded_offset, rather than
487 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
488 parameter, and adjust to use it. Use
489 value_contents_for_printing/value_embedded_offset, rather than
491 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
492 (ada_val_print_array): Add `offset' parameter, and adjust to use
494 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
495 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
496 Instead work with offsets. Use
497 value_contents_for_printing/value_embedded_offset, rather than
498 value_contents. Change `defer_val_int' local type to CORE_ADDR,
499 and use value_from_pointer to extract a target pointer, rather
500 than value_from_longest.
501 (print_variant_part): Add `offset' parameter. Replace
502 `outer_valaddr' parameter by a new `outer_offset' parameter.
503 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
504 (ada_value_print): Use
505 value_contents_for_printing/value_embedded_offset, rather than
507 (print_record): Add `offset' parameter, and adjust to pass it
509 (print_field_values): Add `offset' parameter. Replace
510 `outer_valaddr' parameter by a new `outer_offset' parameter.
511 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
512 Use value_contents_for_printing/value_embedded_offset, rather than
514 * d-valprint.c (dynamic_array_type): Use
515 value_contents_for_printing/value_embedded_offset, rather than
517 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
518 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
519 (java_print_value_fields): Take `offset' into account. Don't
520 re-adjust `valaddr'. Instead pass down adjusted offsets.
521 (java_val_print): Take `embedded_offset' into account. Pass it to
522 java_print_value_fields.
523 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
524 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
525 down adjusted offsets.
526 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
527 (f_val_print): Take `embedded_offset' into account.
529 2011-01-21 Joel Brobecker <brobecker@adacore.com>
531 * inflow.c: Include "gdbcmd.h".
532 (interactive_mode): New static global, moved here from top.c.
533 (show_interactive_mode): New function, moved here from top.c.
534 use gdb_has_a_terminal instead of input_from_terminal_p to
535 determine the current mode.
536 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
538 (_initialize_inflow): Add the "set/show interactive-mode"
539 commands. Moved here from top.c, after having adjusted slightly
541 * top.c (interactive_mode, show_interactive_mode): Delete, moved
543 (input_from_terminal_p): Remove handling of "interactive-mode"
544 setting, moved to infow.c.
545 (init_main): Remove creation of the "set/show interactive-mode"
546 commands, moved to inflow.c.
548 2011-01-19 Joel Brobecker <brobecker@adacore.com>
550 * NEWS: Add entry for native ia64-hpux support.
552 2011-01-19 Tom Tromey <tromey@redhat.com>
555 * thread.c (free_thread): Free 'name'.
556 (print_thread_info): Emit thread name. Change CLI output.
557 (thread_name_command): New function.
558 (do_captured_thread_select): Emit newline.
559 (_initialize_thread): Register 'thread name' command.
560 * target.h (struct target_ops) <to_thread_name>: New field.
561 (target_thread_name): New macro.
562 * target.c (update_current_target): Handle to_thread_name.
563 * python/py-infthread.c (thpy_get_name): New function.
564 (thpy_set_name): Likewise.
565 (thread_object_getset): Add "name".
566 * linux-nat.c (linux_nat_thread_name): New function.
567 (linux_nat_add_target): Set to_thread_name.
568 * gdbthread.h (struct thread_info) <name>: New field.
570 2011-01-18 Joel Brobecker <brobecker@adacore.com>
572 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
573 (ada_val_print_1): Likewise.
575 2011-01-18 Joel Brobecker <brobecker@adacore.com>
577 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
578 upper limit address is not greater than the function end address
579 when the upper limit could not be computed using the debugging
582 2011-01-17 Tom Tromey <tromey@redhat.com>
584 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
586 * utils.c: Include gdb_regex.h.
587 (do_regfree_cleanup): New function.
588 (make_regfree_cleanup): Likewise.
589 (get_regcomp_error): Likewise.
590 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
592 2011-01-17 Tom Tromey <tromey@redhat.com>
594 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
597 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
599 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
600 for internal variables.
601 (last_was_structop): New static variable.
602 (COMPLETE): New token.
603 (field_exp): New rule to group all '.' suffix handling.
604 Add mark_struct_expression calls when approriate to be able
605 to correctly find fields for completion.
606 (yylex): Adapt to handle field completion and set INTVAR when
609 2011-01-14 Yao Qi <yao@codesourcery.com>
611 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
612 save_reggroup, restore_reggroup and all_reggroup.
614 2011-01-14 Joel Brobecker <brobecker@adacore.com>
616 * ada-valprint. (ada_printchar): Use the correct type length
617 in call to ada_emit_char.
618 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
620 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
622 * solib-som.h (hpux_major_release): Declare variable here.
623 * solib-som.c: Remove <sys/utsname.h> header.
624 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
625 (hpux_major_release): Make global, change default value to
626 DEFAULT_HPUX_MAJOR_RELEASE.
627 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
628 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
629 Add "solib-som.h" header.
630 (set_hpux_major_release): New function.
631 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
633 2011-01-14 Mike Frysinger <vapier@gentoo.org>
635 * configure.tgt (*-*-uclinux*): Match more Linux os targets
637 2011-01-14 Joel Brobecker <brobecker@adacore.com>
639 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
640 new-line at end of warning message.
641 (ia64_hpux_store_register): Remove trailing new-line at end of
643 * ia64-hpux-tdep.c: Rephrase comment.
644 * solib-ia64-hpux.c (struct dld_info): Change type of field
645 dld_flags from "long long" to ULONGEST.
647 2011-01-14 Pedro Alves <pedro@codesourcery.com>
649 * target.h (deprecated_child_ops): Delete declaration.
650 * target.c (deprecated_child_ops): Delete definition.
652 2011-01-14 Pedro Alves <pedro@codesourcery.com>
654 * Makefile.in (hpux-thread.o): Delete rule.
655 * configure.ac: Don't check for HPUX DCE threads support.
656 * configure, config.in: Regenerate.
657 * hppa-hpux-nat.c (child_suppress_run): Delete.
658 (hppa_hpux_child_can_run): Delete.
659 (_initialize_hppa_hpux_nat): Don't override to_can_run.
660 * hpux-thread.c: Delete.
662 2011-01-13 Joel Brobecker <brobecker@adacore.com>
664 * hpux-thread.c (hpux_pid_to_str): Delete.
666 2011-01-13 Joel Brobecker <brobecker@adacore.com>
668 * ada-valprint.c (ada_emit_char): Remove strange code.
669 Check that c is <= UCHAR_MAX before passing it to isascii.
670 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
672 2011-01-13 Joel Brobecker <brobecker@adacore.com>
674 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
675 to the case where instream is stdin.
677 2011-01-13 Joel Brobecker <brobecker@adacore.com>
679 * ia64-tdep.h (struct regcache): Forward declare.
680 (struct ia64_infcall_ops): New struct type.
681 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
683 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
684 Renames ia64_find_global_pointer.
685 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
686 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
687 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
689 (ia64_infcall_ops): New static global constant.
690 (ia64_gdbarch_init): Set tdep->infcall_ops.
691 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
692 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
693 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
694 (ia64_hpux_dummy_code): New static global constant.
695 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
696 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
697 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
699 (ia64_hpux_infcall_ops): New static global constant.
700 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
701 for inferior function calls to work properly on ia64-hpux.
703 2011-01-13 Joel Brobecker <brobecker@adacore.com>
705 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
706 * ia64-tdep.h (struct frame_info): forward declaration.
707 (struct gdbarch_tdep): Add field size_of_register_frame.
708 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
709 to determine the size of the register frame.
710 (ia64_size_of_register_frame): New function.
711 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
712 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
713 (IA64_HPUX_UREG_REASON): New macro.
714 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
716 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
717 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
718 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
721 2011-01-13 Joel Brobecker <brobecker@adacore.com>
723 Add support for ia64-hpux.
724 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
725 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
727 * configure.host: Add handling for ia64-hpux hosts. Add associated
729 * configure.tgt: Add handling for ia64-hpux targets.
730 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
731 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
732 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
734 2011-01-13 Joel Brobecker <brobecker@adacore.com>
736 [ttrace] Compute thread list immediately after attach.
737 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
739 (inf_ttrace_attach): Use it.
741 2011-01-13 Joel Brobecker <brobecker@adacore.com>
743 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
744 if we could not determine the frame's function address. Instead,
745 use the frame's PC, and then continue.
747 2011-01-13 Joel Brobecker <brobecker@adacore.com>
749 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
752 2011-01-13 Joel Brobecker <brobecker@adacore.com>
754 * ia64-tdep.c (ia64_struct_type_p): New function.
755 (ia64_extract_return_value): Handle integral values that are
756 less than 8 bytes long.
757 (ia64_push_dummy_call): Likewise.
759 2011-01-13 Joel Brobecker <brobecker@adacore.com>
761 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
762 floatformat_ia64_ext.
763 (floatformat_ia64_ext_big): New static const.
764 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
766 2011-01-12 Tom Tromey <tromey@redhat.com>
768 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
770 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
771 (mi_cmd_thread_list_ids): Likewise.
772 (mi_cmd_data_list_changed_registers): Likewise.
773 (mi_cmd_data_list_register_values): Likewise.
774 (mi_cmd_data_write_register_values): Likewise.
775 (mi_cmd_data_evaluate_expression): Likewise.
776 (mi_cmd_data_read_memory): Likewise.
777 (mi_cmd_data_read_memory_bytes): Likewise.
778 (mi_cmd_data_write_memory): Likewise.
779 (mi_cmd_enable_timings): Likewise.
780 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
781 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
782 (mi_cmd_var_delete): Likewise.
783 (mi_cmd_var_set_format): Likewise.
784 (mi_cmd_var_show_format): Likewise.
785 (mi_cmd_var_info_num_children): Likewise.
786 (mi_cmd_var_list_children): Likewise.
787 (mi_cmd_var_info_type): Likewise.
788 (mi_cmd_var_info_expression): Likewise.
789 (mi_cmd_var_show_attributes): Likewise.
790 (mi_cmd_var_assign): Likewise.
791 (mi_cmd_var_update): Likewise.
792 (mi_cmd_enable_pretty_printing): Likewise.
793 (mi_cmd_var_set_update_range): Likewise.
794 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
796 (mi_cmd_target_file_put): Likewise.
797 (mi_cmd_target_file_delete): Likewise.
798 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
800 (mi_cmd_stack_info_depth): Likewise.
801 (mi_cmd_stack_list_locals): Likewise.
802 (mi_cmd_stack_list_args): Likewise.
803 (mi_cmd_stack_select_frame): Likewise.
804 (mi_cmd_stack_select_frame): Likewise.
805 (mi_cmd_stack_info_frame): Likewise.
806 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
808 (mi_cmd_file_list_exec_source_files): Likewise.
809 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
810 (mi_cmd_env_cd): Likewise.
811 (mi_cmd_env_path): Likewise.
812 (mi_cmd_env_dir): Likewise.
813 (mi_cmd_inferior_tty_show): Likewise.
814 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
815 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
816 (mi_cmd_break_watch): Likewise.
818 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
820 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
821 (ppc_linux_insert_hw_breakpoint): Likewise.
822 (ppc_linux_remove_hw_breakpoint): Likewise.
823 (ppc_linux_insert_watchpoint): Likewise.
825 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
826 Jan Kratochvil <jan.kratochvil@redhat.com>
828 PR fortran/11104 and DWARF unbound arrays detection.
829 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
830 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
831 unspecified upper bound.
832 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
833 variables array_size_array, tmp_type and offset_item. New variable
834 array. Remove call to f77_get_upperbound. New variables array_type
835 and index. Call value_subscripted_rvalue for each dimenasion. Remove
836 the final call to deprecated_set_value_type.
838 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
840 Make value allocations more lazy.
841 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
842 instead of allocate_value and set_value_lazy when possible.
843 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
844 instead of allocate_value and set_value_lazy.
845 * findvar.c (value_of_register_lazy): Likewise.
846 (read_var_value): Remove V preallocation, call just check_typedef in
847 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
848 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
849 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
850 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
851 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
852 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
853 the end, remove set_value_lazy there.
854 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
855 instead of allocate_value and set_value_lazy when possible.
856 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
857 * value.c (allocate_computed_value): Use allocate_value_lazy instead
858 of allocate_value and set_value_lazy.
859 (value_from_contents_and_address): Use allocate_value_lazy instead of
860 allocate_value and set_value_lazy when possible.
862 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
864 * disasm.c (dump_insns): Support dumping opcodes for MI.
865 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
866 dumping of instruction opcodes.
868 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
870 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
873 2011-01-11 Tom Tromey <tromey@redhat.com>
875 * thread.c (do_captured_thread_select): Emit newline before
878 2011-01-11 Michael Snyder <msnyder@vmware.com>
880 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
881 * score-tdep.c: Ditto.
882 * score-tdep.h: Ditto.
887 * ser-mingw.c: Ditto.
891 * sh64-tdep.c: Ditto.
892 * shnbsd-nat.c: Ditto.
896 * solib-darwin.c: Ditto.
897 * solib-frv.c: Ditto.
899 * solib-irix.c: Ditto.
900 * solib-osf.c: Ditto.
901 * solib-pa64.c: Ditto.
902 * solib-som.c: Ditto.
903 * solib-spu.c: Ditto.
904 * solib-sunos.c: Ditto.
905 * solib-svr4.c: Ditto.
907 * sol-thread.c: Ditto.
911 * sparc64-linux-tdep.c: Ditto.
912 * sparc64-tdep.c: Ditto.
913 * sparc-linux-nat.c: Ditto.
914 * sparc-linux-tdep.c: Ditto.
915 * sparc-sol2-nat.c: Ditto.
916 * sparc-sol2-tdep.c: Ditto.
917 * sparc-tdep.c: Ditto.
918 * sparc-tdep.h: Ditto.
920 * stabsread.c: Ditto.
921 * stabsread.h: Ditto.
929 * target-descriptions.c: Ditto.
930 * target-descriptions.h: Ditto.
932 * target-memory.c: Ditto.
936 * tracepoint.c: Ditto.
937 * tracepoint.h: Ditto.
938 * trad-frame.h: Ditto.
939 * typeprint.c: Ditto.
941 2011-01-11 Michael Snyder <msnyder@vmware.com>
943 * ui-file.c: Comment cleanup, mostly periods and spaces.
948 * v850-tdep.c: Ditto.
961 * windows-nat.c: Ditto.
962 * windows-tdep.c: Ditto.
963 * xcoffread.c: Ditto.
964 * xcoffsolib.c: Ditto.
965 * xml-support.c: Ditto.
966 * xstormy16-tdep.c: Ditto.
967 * xtensa-tdep.c: Ditto.
968 * xtensa-tdep.h: Ditto.
970 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
972 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
973 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
975 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
976 Thiago Jung Bauermann <bauerman@br.ibm.com>
978 Implement support for PowerPC BookE ranged watchpoints.
980 (struct breakpoint_ops) <resources_needed>: New method.
981 Initialize to NULL in all existing breakpoint_ops instances.
982 (struct breakpoint) <exact>: New field.
983 (target_exact_watchpoints): Declare external global.
984 * breakpoint.c (target_exact_watchpoints): New global flag.
985 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
986 b->enable_state to bp_enabled before calling
987 hw_watchpoint_used_count.
988 (hw_watchpoint_used_count): Iterate over all bp_locations in a
989 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
991 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
992 if the watchpoint is exact.
993 (resources_needed_watchpoint): New function.
994 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
995 (watch_command_1): Set b->exact if the user asked for an exact
996 watchpoint and one can be set.
997 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
998 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
999 the user asks for an exact watchpoint and one can be set. Return
1000 number of needed debug registers to watch the expression.
1001 * gdbtypes.c (is_scalar_type): New function, based on
1002 valprint.c:scalar_type_p.
1003 (is_scalar_type_recursive): New function.
1004 * gdbtypes.h (is_scalar_type_recursive): Declare.
1005 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
1006 handle regions when ranged watchpoints are available.
1007 (create_watchpoint_request): New function.
1008 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
1009 create_watchpoint_request.
1010 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
1011 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
1012 `set powerpc' and `show powerpc' commands.
1013 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1014 Mention documentation comment in the target macro.
1015 (target_region_ok_for_hw_watchpoint): Document return value.
1017 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1019 * breakpoint.c (update_watchpoint): Decide on using a software or
1020 hardware watchpoint after the bp_locations are created.
1022 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1024 Convert hardware watchpoints to use breakpoint_ops.
1025 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
1026 <insert_location>: ... this. Return int instead of void.
1027 Accept pointer to struct bp_location instead of pointer to
1028 struct breakpoint. Adapt all implementations.
1029 (breakpoint_ops) <remove>: Rename to...
1030 <remove_location>: ... this. Accept pointer to struct bp_location
1031 instead of pointer to struct breakpoint. Adapt all implementations.
1032 * breakpoint.c (insert_catchpoint): Delete function.
1033 (insert_bp_location): Call the watchpoint or catchpoint's
1034 breakpoint_ops.insert method.
1035 (remove_breakpoint_1): Call the watchpoint or catchpoint's
1036 breakpoint_ops.remove method.
1037 (insert_watchpoint, remove_watchpoint): New functions.
1038 (watchpoint_breakpoint_ops): New structure.
1039 (watch_command_1): Initialize the OPS field.
1040 * inf-child.c (inf_child_insert_fork_catchpoint)
1041 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
1042 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
1043 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
1045 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
1046 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
1047 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
1048 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
1049 * target.c (update_current_target): Change default implementation of
1050 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
1051 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1052 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
1053 to_set_syscall_catchpoint to return_one.
1054 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
1055 (debug_to_insert_exec_catchpoint): Report return value.
1056 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
1057 (to_insert_exec_catchpoint): Change declaration to return int instead
1060 2011-01-11 Michael Snyder <msnyder@vmware.com>
1062 * arm-tdep.c: Internationalization.
1065 * fork-child.c: Ditto.
1066 * nto-procfs.c: Ditto.
1067 * ppc-sysv-tdep.c: Ditto.
1069 * remote-mips.c: Ditto.
1071 * rs6000-nat.c: Ditto.
1072 * rs6000-tdep.c: Ditto.
1076 * xml-support.c: Ditto.
1077 * mi/mi-cmd-break.c: Ditto.
1078 * mi/mi-cmd-var.c: Ditto.
1079 * mi/mi-interp.c: Ditto.
1080 * mi/mi-main.c: Ditto.
1082 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
1084 * remote-sim.c (gdbsim_store_register): Update API to
1085 sim_store_register to check more error conditions.
1087 2011-01-10 Michael Snyder <msnyder@vmware.com>
1089 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1090 * nto-tdep.c: Ditto.
1091 * nto-tdep.h: Ditto.
1092 * objc-exp.y: Ditto.
1093 * objc-lang.c: Ditto.
1094 * objfiles.c: Ditto.
1095 * objfiles.h: Ditto.
1096 * observer.c: Ditto.
1097 * opencl-lang.c: Ditto.
1100 * parser-defs.h: Ditto.
1103 * posix-hdep.c: Ditto.
1104 * ppcbug-rom.c: Ditto.
1105 * ppc-linux-nat.c: Ditto.
1106 * ppc-linux-tdep.c: Ditto.
1107 * ppc-linux-tdep.h: Ditto.
1108 * ppcnbsd-tdep.c: Ditto.
1109 * ppcobsd-tdep.c: Ditto.
1110 * ppcobsd-tdep.h: Ditto.
1111 * ppc-sysv-tdep.c: Ditto.
1112 * ppc-tdep.h: Ditto.
1113 * printcmd.c: Ditto.
1114 * proc-abi.c: Ditto.
1115 * proc-flags.c: Ditto.
1117 * proc-utils.h: Ditto.
1118 * progspace.h: Ditto.
1119 * prologue-value.c: Ditto.
1120 * prologue-value.h: Ditto.
1121 * psympriv.h: Ditto.
1123 * p-typeprint.c: Ditto.
1124 * p-valprint.c: Ditto.
1125 * ravenscar-sparc-thread.c: Ditto.
1126 * ravenscar-thread.c: Ditto.
1127 * ravenscar-thread.h: Ditto.
1129 * regcache.c: Ditto.
1130 * regcache.h: Ditto.
1132 * remote-fileio.c: Ditto.
1133 * remote-fileio.h: Ditto.
1135 * remote-m32r-sdi.c: Ditto.
1136 * remote-mips.c: Ditto.
1137 * remote-sim.c: Ditto.
1138 * rs6000-aix-tdep.c: Ditto.
1139 * rs6000-nat.c: Ditto.
1140 * rs6000-tdep.c: Ditto.
1142 2011-01-10 Michael Snyder <msnyder@vmware.com>
1144 * charset.c (validate): Internationalization.
1145 * coffread.c (read_one_sym): Ditto.
1146 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1147 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1148 * inflow.c (new_tty): Ditto.
1149 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1150 * m32c-tdep.c (m32c_return_value): Ditto.
1151 * mep-tdep.c (mep_store_return_value): Ditto.
1152 * score-tdep.c (score7_fetch_insn): Ditto.
1153 * ser-mingw.c (pipe_windows_open): Ditto.
1154 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1155 * spu-tdep.c (spu_register_type): Ditto.
1156 * tracepoint.c (trace_find_command): Ditto.
1157 * valarith.c (value_pos): Ditto.
1159 2011-01-10 Joel Brobecker <brobecker@adacore.com>
1161 * ada-valprint.c (printstr): Minor comment reformatting.
1163 2011-01-08 Michael Snyder <msnyder@vmware.com>
1165 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1168 2011-01-08 Michael Snyder <msnyder@vmware.com>
1170 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1171 * hppa-hpux-tdep.c: Ditto.
1172 * hppa-linux-nat.c: Ditto.
1173 * hppa-linux-tdep.c: Ditto.
1174 * hppanbsd-tdep.c: Ditto.
1175 * hppa-tdep.c: Ditto.
1176 * hppa-tdep.h: Ditto.
1177 * hpux-thread.c: Ditto.
1178 * i386-cygwin-tdep.c: Ditto.
1179 * i386-darwin-nat.c: Ditto.
1180 * i386gnu-nat.c: Ditto.
1181 * i386-linux-nat.c: Ditto.
1182 * i386-linux-tdep.c: Ditto.
1183 * i386-nat.c: Ditto.
1184 * i386-nat.h: Ditto.
1185 * i386nbsd-tdep.c: Ditto.
1186 * i386-sol2-nat.c: Ditto.
1187 * i386-stub.c: Ditto.
1188 * i386-tdep.c: Ditto.
1189 * i386-tdep.h: Ditto.
1190 * i387-tdep.c: Ditto.
1191 * ia64-linux-nat.c: Ditto.
1192 * ia64-linux-tdep.c: Ditto.
1193 * ia64-tdep.c: Ditto.
1197 * inferior.c: Ditto.
1198 * inferior.h: Ditto.
1204 * iq2000-tdep.c: Ditto.
1205 * irix5-nat.c: Ditto.
1211 * jv-typeprint.c: Ditto.
1212 * jv-valprint.c: Ditto.
1213 * language.c: Ditto.
1214 * language.h: Ditto.
1215 * linespec.c: Ditto.
1216 * linux-fork.c: Ditto.
1217 * linux-nat.c: Ditto.
1218 * linux-thread-db.c: Ditto.
1219 * lm32-tdep.c: Ditto.
1221 2011-01-08 Michael Snyder <msnyder@vmware.com>
1223 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1225 * m2-typeprint.c: Ditto.
1226 * m2-valprint.c: Ditto.
1227 * m32c-tdep.c: Ditto.
1228 * m32r-linux-nat.c: Ditto.
1229 * m32r-rom.c: Ditto.
1230 * m32r-tdep.c: Ditto.
1231 * m32r-tdep.h: Ditto.
1232 * m68hc11-tdep.c: Ditto.
1233 * m58klinux-nat.c: Ditto.
1234 * m68k-tdep.c: Ditto.
1235 * m88k-tdep.c: Ditto.
1236 * m88k-tdep.h: Ditto.
1237 * machoread.c: Ditto.
1238 * macrocmd.c: Ditto.
1239 * macroexp.c: Ditto.
1240 * macrotab.c: Ditto.
1243 * mdebugread.c: Ditto.
1244 * mdebugread.h: Ditto.
1247 * memory-map.h: Ditto.
1248 * mep-tdep.c: Ditto.
1249 * microblaze-rom.c: Ditto.
1250 * microblaze-tdep.c: Ditto.
1252 * mips-irix-tdep.c: Ditto.
1253 * mips-linux-nat.c: Ditto.
1254 * mips-linux-tdep.c: Ditto.
1255 * mips-linux-tdep.h: Ditto.
1256 * mipsnbsd-nat.c: Ditto.
1257 * mipsnbsd-tdep.c: Ditto.
1258 * mipsread.c: Ditto.
1259 * mips-tdep.c: Ditto.
1260 * mips-tdep.h: Ditto.
1261 * mn10300-linux-tdep.c: Ditto.
1262 * mn10300-tdep.c: Ditto.
1263 * mn10300-tdep.h: Ditto.
1266 * moxie-tdep.c: Ditto.
1267 * moxie-tdep.h: Ditto.
1270 2011-01-08 Mike Frysinger <vapier@gentoo.org>
1272 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1274 2011-01-08 Robert Millan <rmh@gnu.org>
1276 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1278 2011-01-07 Michael Snyder <msnyder@vmware.com>
1280 * charset.c (_initialize_charset): Fix typo in string.
1282 2011-01-07 Michael Snyder <msnyder@vmware.com>
1284 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1286 * tui/tui-layout.c (tui_set_layout_for_display_command):
1287 Split line so that operator goes to beginning of line.
1288 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1289 assignment out of if statement.
1291 2011-01-07 Michael Snyder <msnyder@vmware.com>
1293 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1294 * ada-lang.h: Ditto.
1295 * ada-tasks.c: Ditto.
1296 * ada-valprint.c: Ditto.
1297 * aix-threads.c: Ditto.
1298 * alpha-linux-nat.c: Ditto.
1299 * alpha-linux-tdep.c: Ditto.
1300 * alpha-mdebug-tdep.c: Ditto.
1301 * alpha-nat.c: Ditto.
1302 * alpha-osf1-tdep.c: Ditto.
1303 * alpha-tdep.c: Ditto.
1304 * alphabsd-nat.c: Ditto.
1305 * alphabsd-tdep.c: Ditto.
1306 * amd64-darwin-tdep.c: Ditto.
1307 * amd64-linux-nat.c: Ditto.
1308 * amd64-linux-tdep.c: Ditto.
1309 * amd64-sol2-tdep.c: Ditto.
1310 * amd64-tdep.c: Ditto.
1311 * amd64-fbsd-tdep.c: Ditto.
1312 * amd64-nbsd-tdep.c: Ditto.
1313 * amd64-obsd-tdep.c: Ditto.
1314 * amd64-linux-nat.c: Ditto.
1315 * amd64-linux-tdep.c: Ditto.
1316 * arm-tdep.c: Ditto.
1317 * arm-tdep.h: Ditto.
1318 * armnbsd-nat.c: Ditto.
1319 * avr-tdep.c: Ditto.
1320 * bfin-tdep.c: Ditto.
1322 * c-typeprintc: Ditto.
1323 * c-valprint.c: Ditto.
1324 * coff-pe-read.h: Ditto.
1325 * coffreead.c: Ditto.
1326 * cris-tdep.c: Ditto.
1328 * darwin-nat-info.c: Ditto.
1329 * darwin-nat.c: Ditto.
1330 * dbug-rom.c: Ditto.
1334 * dec-thread.c: Ditto.
1336 * demangle.c: Ditto.
1337 * dicos-tdep.c: Ditto.
1338 * dictionary.c: Ditto.
1339 * dictionary.h: Ditto.
1340 * dink32-rom.c: Ditto.
1342 * doublest.c: Ditto.
1344 * dummy-frame.c: Ditto.
1345 * dwarf2-frame.c: Ditto.
1346 * dwarf2expr.c: Ditto.
1347 * dwarf2loc.c: Ditto.
1348 * dwarf2read.c: Ditto.
1352 * event-top.h: Ditto.
1353 * exceptions.c: Ditto.
1354 * exceptions.h: Ditto.
1356 * expprint.c: Ditto.
1357 * expression.h: Ditto.
1361 * f-typeprint.c: Ditto.
1362 * f-valprint.c: Ditto.
1363 * fbsd-nat.c: Ditto.
1365 * fork-child.c: Ditto.
1368 * frv-linux-tdep.c: Ditto.
1369 * frv-tdep.c: Ditto.
1371 * gdb-stabs.h: Ditto.
1372 * gdb_assert.h: Ditto.
1373 * gdb_string.h: Ditto.
1374 * gdb_thread_db.h: Ditto.
1375 * gdb_wait.h: Ditto.
1376 * gdbarch.sh: Ditto.
1378 * gdbthread.h: Ditto.
1379 * gdbtypes.c: Ditto.
1380 * gdbtypes.h: Ditto.
1383 * gnu-v2-abi.c: Ditto.
1384 * gnu-v3-abi.c: Ditto.
1385 * go32-nat.c: Ditto.
1386 * gdbarch.c: Regenerate.
1387 * gdbarch.h: Regenerate.
1389 2011-01-07 Michael Snyder <msnyder@vmware.com>
1391 * ax-gdb.c: Adjust some long output strings.
1392 * breakpoint.c: Ditto.
1397 * linux-nat.c: Ditto.
1398 * solib-pa64.c: Ditto.
1399 * solib-som.c: Ditto.
1401 2011-01-06 Tom Tromey <tromey@redhat.com>
1405 * python/python.c (GdbMethods): Add "newest_frame" method.
1406 * python/python-internal.h (gdbpy_newest_frame): Declare.
1407 * python/py-frame.c (gdbpy_newest_frame): New function.
1409 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1411 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1412 * jit.c (jit_debug): New variable.
1413 (show_jit_debug): New function.
1414 (struct target_buffer): Use ULONGEST.
1415 (bfd_open_from_target_memory): Likewise.
1416 (jit_register_code, jit_inferior_init): Add debug output.
1417 (_initialize_jit): Register "debug jit" command.
1419 2011-01-06 Tom Tromey <tromey@redhat.com>
1421 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1422 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1425 2011-01-06 Tom Tromey <tromey@redhat.com>
1427 * python/py-frame.c (frapy_block): Use get_frame_block.
1429 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1431 Do not stop on SIGPRIO signals by default
1432 * infrun.c (_initialize_infrun): Unset signal_stop and
1433 signal_print for TARGET_SIGNAL_PRIO.
1435 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1437 * ada-tasks.c: Fix style violation in comment.
1439 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1441 * linespec.c (decode_compound, find_method): Remove trailing \n
1442 at end of error string.
1443 * solib-irix.c (irix_current_sos): Likewise.
1444 * varobj.c (uninstall_variable): Likewise.
1446 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1448 * copyright.py: New script.
1449 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1450 Launch emacs without exec'ing. Call copyright.py afterwards.
1452 2011-01-05 Michael Snyder <msnyder@vmware.com>
1454 * addrmap.c: Shorten lines of >= 80 columns.
1455 * arch-utils.c: Ditto.
1456 * arch-utils.h: Ditto.
1458 * ax-general.c: Ditto.
1460 * blockframe.c: Ditto.
1461 * breakpoint.c: Ditto.
1462 * buildsym.c: Ditto.
1464 * c-typeprint.c: Ditto.
1466 * coffread.c: Ditto.
1470 * cp-namespace.c: Ditto.
1471 * cp-support.c: Ditto.
1472 * dbug-rom.c: Ditto.
1477 * dictionary.c: Ditto.
1479 * doublest.c: Ditto.
1480 * dwarf2-frame.c: Ditto.
1481 * dwarf2expr.c: Ditto.
1482 * dwarf2loc.c: Ditto.
1483 * dwarf2read.c: Ditto.
1486 * event-loop.c: Ditto.
1487 * event-loop.h: Ditto.
1488 * exceptions.h: Ditto.
1490 * expprint.c: Ditto.
1491 * expression.h: Ditto.
1493 * f-valprint.c: Ditto.
1495 * frame-base.c: Ditto.
1496 * frame-unwind.c: Ditto.
1497 * frame-unwind.h: Ditto.
1501 * gdb-stabs.h: Ditto.
1502 * gdb_assert.h: Ditto.
1503 * gdb_dirent.h: Ditto.
1504 * gdb_obstack.h: Ditto.
1506 * gdbtypes.c: Ditto.
1507 * gdbtypes.h: Ditto.
1508 * inf-ttrace.c: Ditto.
1513 * inline-frame.h: Ditto.
1514 * language.c: Ditto.
1515 * language.h: Ditto.
1516 * libunwind-frame.c: Ditto.
1517 * libunwind-frame.h: Ditto.
1518 * linespec.c: Ditto.
1519 * linux-nat.c: Ditto.
1520 * linux-nat.h: Ditto.
1521 * linux-thread-db.c: Ditto.
1522 * machoread.c: Ditto.
1523 * macroexp.c: Ditto.
1524 * macrotab.c: Ditto.
1527 * mdebugread.c: Ditto.
1532 * objfiles.c: Ditto.
1533 * objfiles.h: Ditto.
1535 * p-typeprint.c: Ditto.
1536 * p-valprint.c: Ditto.
1538 * printcmd.c: Ditto.
1539 * proc-events.c: Ditto.
1541 * progspace.c: Ditto.
1542 * progspace.h: Ditto.
1543 * psympriv.h: Ditto.
1546 * regcache.c: Ditto.
1547 * regcache.h: Ditto.
1548 * remote-fileio.c: Ditto.
1550 * ser-mingw.c: Ditto.
1552 * ser-unix.c: Ditto.
1555 * solib-frv.c: Ditto.
1556 * solib-irix.c: Ditto.
1557 * solib-osf.c: Ditto.
1558 * solib-pa64.c: Ditto.
1559 * solib-som.c: Ditto.
1560 * solib-sunos.c: Ditto.
1561 * solib-svr4.c: Ditto.
1562 * solib-target.c: Ditto.
1566 * stabsread.c: Ditto.
1567 * stabsread.c: Ditto.
1570 * symfile-mem.c: Ditto.
1576 * target-descriptions.c: Ditto.
1577 * target-memory.c: Ditto.
1580 * terminal.h: Ditto.
1583 * tracepoint.c: Ditto.
1584 * tracepoint.h: Ditto.
1588 * user-regs.c: Ditto.
1589 * user-regs.h: Ditto.
1591 * valarith.c: Ditto.
1593 * valprint.c: Ditto.
1594 * valprint.h: Ditto.
1599 * xcoffread.c: Ditto.
1600 * xcoffsolib.c: Ditto.
1601 * xcoffsolib.h: Ditto.
1602 * xml-syscall.c: Ditto.
1603 * xml-tdesc.c: Ditto.
1605 2011-01-05 Michael Snyder <msnyder@vmware.com>
1607 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1608 * cli/cli-decode.c: Ditto.
1609 * cli/cli-dump.c: Ditto.
1610 * cli/cli-logging.c: Ditto.
1611 * cli/cli-script.c: Ditto.
1612 * cli/cli-setshow.c: Ditto.
1613 * common/signals.c: Ditto.
1614 * mi/mi-cmd-break.c: Ditto.
1615 * mi/mi-cmd-disas.c: Ditto.
1616 * mi/mi-cmd-stack.c: Ditto.
1617 * mi/mi-cmd-var.c: Ditto.
1618 * mi/mi-cmds.c: Ditto.
1619 * mi/mi-common.h: Ditto.
1620 * mi/mi-console.c: Ditto.
1621 * mi/mi-interp.c: Ditto.
1622 * mi/mi-main.c: Ditto.
1623 * osf-share/cma_attr.c: Ditto.
1624 * osf-share/cma_deb_core.h: Ditto.
1625 * osf-share/cma_debug_client.h: Ditto.
1626 * osf-share/cma_handle.h: Ditto.
1627 * osf-share/cma_mutex.h: Ditto.
1628 * osf-share/cma_stack_int.h: Ditto.
1629 * osf-share/cma_tcb_defs.h: Ditto.
1630 * python/py-auto-load.c: Ditto.
1631 * python/py-breakpoint.c: Ditto.
1632 * python/py-cmd.c: Ditto.
1633 * python/py-frame.c: Ditto.
1634 * python/py-objfile.c: Ditto.
1635 * python/py-param.c: Ditto.
1636 * python/py-progspace.c: Ditto.
1637 * python/py-symbol.c: Ditto.
1638 * python/py-value.c: Ditto.
1639 * python/python-internal.h: Ditto.
1640 * python/python.c: Ditto.
1641 * tui/tui-data.c: Ditto.
1642 * tui/tui-disasm.c: Ditto.
1643 * tui/tui-hooks.c: Ditto.
1644 * tui/tui-io.c: Ditto.
1645 * tui/tui-layout.c: Ditto.
1646 * tui/tui-regs.c: Ditto.
1647 * tui/tui-source.c: Ditto.
1648 * tui/tui-stack.c: Ditto.
1649 * tui/tui-win.c: Ditto.
1650 * tui/tui-windata.c: Ditto.
1651 * tui/tui-winsource.c: Ditto.
1653 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1655 * configure.ac, gdb.1: Copyright year update.
1657 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1659 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1660 this_pc_in_block, morestack_msym and morestack_name. Check for
1661 "__morestack" minimal symbol there.
1663 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1665 * symfile.c (find_sym_fns): Add call to dont_repeat.
1667 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1669 Copyright year update in most files (performed by copyright.sh).
1671 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1673 * top.c (print_gdb_version): Update copyright year in version output.
1675 For older changes see ChangeLog-2010.
1681 version-control: never