1 2011-01-31 Tom Tromey <tromey@redhat.com>
3 * infcmd.c (finish_backward): Use breakpoint_set_silent.
4 * python/py-breakpoint.c (bppy_set_silent): Use
6 (bppy_set_thread): Use breakpoint_set_thread.
7 (bppy_set_task): Use breakpoint_set_task.
8 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
9 (breakpoint_set_task): Declare.
10 (make_breakpoint_silent): Remove.
11 * breakpoint.c (breakpoint_set_silent): New function.
12 (breakpoint_set_thread): Likewise.
13 (breakpoint_set_task): Likewise.
14 (make_breakpoint_silent): Remove.
16 2011-01-31 Tom Tromey <tromey@redhat.com>
18 * breakpoint.h (user_breakpoint_p): Declare.
19 * breakpoint.c (user_breakpoint_p): New function.
20 (breakpoint_1): Use it.
21 (save_breakpoints): Likewise.
23 2011-01-31 Joel Brobecker <brobecker@adacore.com>
25 * configure.ac: Add handling of Python distribution on Windows.
26 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
27 sysconfig variables are not defined, then do not use them.
28 On Windows, if LIBPL is not defined, then use prefix + '/libs'
29 instead. On Windows, return all paths using forward-slashes
30 rather than backslashes.
32 2011-01-31 Joel Brobecker <brobecker@adacore.com>
34 * configure.ac: Remove fallback behavior for building
35 against Python. Remove tweaking of Python include path.
36 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
37 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
38 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
39 Always restore CPPFLAGS and LIBS after linking test.
40 * configure: Regenerated.
41 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
42 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
43 * python/python-internal.h: Adjust includes of Python .h files.
45 2011-01-31 Joel Brobecker <brobecker@adacore.com>
47 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
50 2011-01-31 Joel Brobecker <brobecker@adacore.com>
52 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
55 2011-01-31 Yao Qi <yao@codesourcery.com>
57 * arm-linux-nat.c: Update calls to regcache_register_status
58 instead of regcache_valid_p.
59 * aix-thread.c: Likewise.
60 * i386gnu-nat.c: Likewise.
62 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
65 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
66 touching TYPE_FIELD_ARTIFICIAL.
68 2011-01-28 Richard Earnshaw <rearnsha@arm.com>
70 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
73 2011-01-28 Pedro Alves <pedro@codesourcery.com>
75 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
76 selected, don't try iterating over the traceframe's blocks.
77 (tfile_has_stack): If there's no traceframe selected, then there's
79 (tfile_has_registers): If there's no traceframe selected, then
82 2011-01-28 Pedro Alves <pedro@codesourcery.com>
84 * target.c (memory_xfer_partial): No need to restore shadows if we
85 haven't read anything.
87 2011-01-28 Pedro Alves <pedro@codesourcery.com>
89 * mips-tdep.c (mips_print_register): Use get_frame_register_value
90 and val_print_scalar_formatted.
92 2011-01-27 Pedro Alves <pedro@codesourcery.com>
94 * tracepoint.c (tfile_read): New.
96 (tfile_get_traceframe_address): Use it.
97 (tfile_trace_find): Use it.
98 (walk_blocks_callback_func): New typedef.
99 (match_blocktype): New function.
100 (traceframe_walk_blocks): New function.
101 (traceframe_find_block_type): New function.
102 (tfile_fetch_registers, tfile_xfer_partial)
103 (tfile_get_trace_state_variable_value): Use
104 traceframe_find_block_type and tfile_read.
106 2011-01-26 Kevin Buettner <kevinb@redhat.com>
108 * remote-mips.c: Add internationalization mark ups. Remove
109 trailing \n from already marked up strings.
111 2011-01-26 Tom Tromey <tromey@redhat.com>
113 * python/py-prettyprint.c (print_string_repr): Clear
114 'addressprint' option when calling val_print_string.
115 (print_children): Handle Val_pretty_default. Clear 'addressprint'
116 option when calling val_print_string.
118 2011-01-26 Tom Tromey <tromey@redhat.com>
120 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
122 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
124 (gdb_py_longest, gdb_py_ulongest): New typedefs.
125 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
126 (gdb_py_long_as_ulongest): New defines.
127 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
128 (gdb_py_int_as_long): Declare.
129 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
130 GDB_PY_LL_ARG, gdb_py_object_from_longest.
131 (valpy_long): Add comment.
132 * python/py-utils.c (get_addr_from_python): Use
133 gdb_py_long_as_ulongest. Handle overflow properly.
134 (gdb_py_object_from_longest): New function.
135 (gdb_py_object_from_ulongest): Likewise.
136 (gdb_py_int_as_long): Likewise.
137 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
138 * python/py-symtab.c (salpy_get_pc): Use
139 gdb_py_long_from_ulongest.
140 (salpy_get_line): Use PyInt_FromLong.
141 * python/py-param.c (set_parameter_value): Use
143 * python/py-lazy-string.c (stpy_get_address): Use
144 gdb_py_long_from_ulongest.
145 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
146 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
147 * python/py-breakpoint.c (bppy_set_thread): Use
149 (bppy_set_task): Likewise.
150 (bppy_set_ignore_count): Likewise.
151 (bppy_set_hit_count): Likewise.
152 * python/py-block.c (blpy_get_start): Use
153 gdb_py_object_from_ulongest.
154 (blpy_get_end): Likewise.
155 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
157 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
160 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
161 * gdb/solib.c (solib_read_symbols): Check for addr_low in
162 equality test for objfile, initialize addr_low if needed.
164 2011-01-25 Pedro Alves <pedro@codesourcery.com>
166 * tui/tui-regs.c (tui_register_format): Remove dead code.
168 2011-01-25 Pedro Alves <pedro@codesourcery.com>
170 * printcmd.c (print_formatted): Use val_print_scalar_formatted
171 instead of print_scalar_formatted.
172 (print_scalar_formatted): Don't handle 's' format strings here,
173 and add an assertion that we never see such format here.
174 * valprint.h (val_print_scalar_formatted): Declare.
175 * valprint.c (val_print_scalar_formatted): New.
176 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
177 instead of print_scalar_formatted.
178 * jv-valprint.c (java_val_print): Ditto.
179 * p-valprint.c (pascal_val_print): Ditto.
180 * ada-valprint.c (ada_val_print_1): Ditto.
181 * f-valprint.c (f_val_print): Ditto.
182 * infcmd.c (registers_info): Ditto.
183 * m2-valprint.c (m2_val_print): Ditto.
185 2011-01-25 Pedro Alves <pedro@codesourcery.com>
187 * m2-valprint.c (print_unbounded_array): Pass
188 value_contents_for_printing rather than value_contents, to
189 m2_print_array_contents. Also pass in the value.
191 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
193 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
194 (save_gdb_index_command): Switch to .gdb_index version 4.
196 2011-01-25 Pedro Alves <pedro@codesourcery.com>
198 * mi/mi-main.c (get_register): Use get_frame_register_value rather
199 than frame_register, and always pass a valid value to val_print.
201 2011-01-25 Pedro Alves <pedro@codesourcery.com>
203 Centralize printing "<optimized out>".
205 * valprint.h (val_print_optimized_out): Declare.
206 * cp-valprint.c (cp_print_value_fields): Use
207 val_print_optimized_out.
208 * jv-valprint.c (java_print_value_fields): Ditto.
209 * p-valprint.c (pascal_object_print_value_fields): Ditto.
210 * printcmd.c (print_formatted): Ditto.
211 * valprint.c (valprint_check_validity): Ditto.
212 (value_check_printable): Ditto.
213 (val_print_optimized_out): New.
215 2011-01-25 Pedro Alves <pedro@codesourcery.com>
217 * infcmd.c (default_print_registers_info): Allocate values so to
218 never pass a NULL value to val_print.
220 2011-01-25 Pedro Alves <pedro@codesourcery.com>
222 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
223 boolean. Make sure to always pass a value that matches the
224 contents buffer to callees. Preserve `address' for following
226 * value.c (value_contents_for_printing_const): New.
227 (value_address): Constify value argument.
228 * value.h (value_contents_for_printing_const): Declare.
229 (value_address): Constify value argument.
231 2011-01-25 Pedro Alves <pedro@codesourcery.com>
233 * regcache.c (struct regcache_descr): Rename
234 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
235 and sizeof_cooked_register_valid_p to
236 sizeof_cooked_register_status.
237 (init_regcache_descr): Adjust.
238 (struct regcache): Rename register_valid_p field to
240 (regcache_xmalloc_1, regcache_xfree, regcache_save)
241 (do_cooked_read): Adjust.
242 (regcache_valid_p): Rename to ...
243 (regcache_register_status): ... this. Adjust.
244 (regcache_invalidate): Adjust.
245 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
247 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
248 as unavailable, not valid.
249 (regcache_dump): Adjust.
250 * regcache.h (enum register_status): New.
251 (regcache_register_status): Declare.
252 (regcache_invalidate): Delete declaration.
253 * corelow.c (get_core_registers): Adjust.
254 * tracepoint.c (tfile_fetch_registers): Adjust.
255 * trad-frame.c (REG_VALUE): Rename to ...
256 (TF_REG_VALUE): ... this.
257 (REG_UNKNOWN): Rename to ...
258 (TF_REG_UNKNOWN): ... this.
259 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
260 * mi/mi-main.c (register_changed_p): Adjust.
262 2011-01-25 Pedro Alves <pedro@codesourcery.com>
264 * regcache.c (struct regcache_descr): Remove outdated comment.
265 (init_regcache_descr): Remove sizeof_raw_register_valid_p
267 (regcache_xmalloc): Rename to ...
268 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
269 Allocate the regcache type accordingly.
270 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
271 (regcache_xfree): Asser the source is also readonly. Copy sizeof
272 cooked registers, not raw.
273 (regcache_dup_no_passthrough): Delete.
274 (get_thread_arch_regcache): Use regcache_xmalloc_1.
275 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
276 mention obsolete write_register_bytes.
277 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
279 2011-01-25 Pedro Alves <pedro@codesourcery.com>
281 Stop remote_read_bytes from handling partial reads itself.
283 * remote-fileio.c: Include target.h.
284 (remote_fileio_write_bytes): Delete.
285 (remote_fileio_func_open, remote_fileio_func_write)
286 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
288 (remote_fileio_func_stat): Use target_read_memory and
290 (remote_fileio_func_gettimeofday): Use target_write_memory.
291 (remote_fileio_func_system): Use target_read_memory.
292 * remote.c (remote_write_bytes): Make it static.
293 (remote_read_bytes): Don't handle partial reads here.
294 * remote.h (remote_read_bytes): Delete declaration.
296 2011-01-25 Pedro Alves <pedro@codesourcery.com>
298 Simplify XML parsing a bit.
300 * xml-support.h (gdb_xml_parse_quick): Declare.
301 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
302 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
304 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
305 gdb_xml_create_parser_and_cleanup_1.
306 (gdb_xml_parse_quick): New.
307 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
308 * osdata.c (osdata_parse): Ditto.
309 * remote.c (remote_threads_info): Ditto.
310 * solib-target.c (solib_target_parse_libraries): Ditto.
311 * xml-syscall.c (syscall_parse_xml): Ditto.
312 * xml-tdesc.c (tdesc_parse_xml): Ditto.
314 2011-01-24 Kevin Buettner <kevinb@redhat.com>
316 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
317 with remote-mips.o added to gdb_target_obs.
318 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
320 2011-01-24 Pedro Alves <pedro@codesourcery.com>
322 * ada-valprint.c (val_print_packed_array_elements): Pass the
323 correct struct value to val_print.
324 (ada_val_print_1): Ditto.
326 2011-01-24 Pedro Alves <pedro@codesourcery.com>
328 Don't lose embedded_offset in printing routines throughout.
330 * valprint.h (val_print_array_elements): Change prototype.
331 * valprint.c (val_print_array_elements): Add `embedded_offset'
332 parameter, and adjust to pass it down to val_print, while passing
333 `valaddr' or `address' unmodified. Take embedded_offset into
334 account when checking repetitions.
335 * c-valprint.c (c_val_print): Pass embedded_offset to
336 val_print_array_elements instead of adjusting `valaddr' and
338 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
339 embedded_offset to val_print_array_elements instead of adjusting
341 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
342 * p-valprint.c (pascal_val_print): Pass embedded_offset to
343 val_print_array_elements and pascal_object_print_value_fields
344 instead of adjusting `valaddr'.
345 (pascal_object_print_value_fields): Add `offset' parameter, and
347 (pascal_object_print_value): Add `offset' parameter, and adjust to
349 (pascal_object_print_static_field): Use
350 value_contents_for_printing/value_embedded_offset, rather than
352 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
353 parameter, and adjust to use it. Use
354 value_contents_for_printing/value_embedded_offset, rather than
356 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
357 (ada_val_print_array): Add `offset' parameter, and adjust to use
359 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
360 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
361 Instead work with offsets. Use
362 value_contents_for_printing/value_embedded_offset, rather than
363 value_contents. Change `defer_val_int' local type to CORE_ADDR,
364 and use value_from_pointer to extract a target pointer, rather
365 than value_from_longest.
366 (print_variant_part): Add `offset' parameter. Replace
367 `outer_valaddr' parameter by a new `outer_offset' parameter.
368 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
369 (ada_value_print): Use
370 value_contents_for_printing/value_embedded_offset, rather than
372 (print_record): Add `offset' parameter, and adjust to pass it
374 (print_field_values): Add `offset' parameter. Replace
375 `outer_valaddr' parameter by a new `outer_offset' parameter.
376 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
377 Use value_contents_for_printing/value_embedded_offset, rather than
379 * d-valprint.c (dynamic_array_type): Use
380 value_contents_for_printing/value_embedded_offset, rather than
382 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
383 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
384 (java_print_value_fields): Take `offset' into account. Don't
385 re-adjust `valaddr'. Instead pass down adjusted offsets.
386 (java_val_print): Take `embedded_offset' into account. Pass it to
387 java_print_value_fields.
388 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
389 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
390 down adjusted offsets.
391 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
392 (f_val_print): Take `embedded_offset' into account.
394 2011-01-21 Joel Brobecker <brobecker@adacore.com>
396 * inflow.c: Include "gdbcmd.h".
397 (interactive_mode): New static global, moved here from top.c.
398 (show_interactive_mode): New function, moved here from top.c.
399 use gdb_has_a_terminal instead of input_from_terminal_p to
400 determine the current mode.
401 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
403 (_initialize_inflow): Add the "set/show interactive-mode"
404 commands. Moved here from top.c, after having adjusted slightly
406 * top.c (interactive_mode, show_interactive_mode): Delete, moved
408 (input_from_terminal_p): Remove handling of "interactive-mode"
409 setting, moved to infow.c.
410 (init_main): Remove creation of the "set/show interactive-mode"
411 commands, moved to inflow.c.
413 2011-01-19 Joel Brobecker <brobecker@adacore.com>
415 * NEWS: Add entry for native ia64-hpux support.
417 2011-01-19 Tom Tromey <tromey@redhat.com>
420 * thread.c (free_thread): Free 'name'.
421 (print_thread_info): Emit thread name. Change CLI output.
422 (thread_name_command): New function.
423 (do_captured_thread_select): Emit newline.
424 (_initialize_thread): Register 'thread name' command.
425 * target.h (struct target_ops) <to_thread_name>: New field.
426 (target_thread_name): New macro.
427 * target.c (update_current_target): Handle to_thread_name.
428 * python/py-infthread.c (thpy_get_name): New function.
429 (thpy_set_name): Likewise.
430 (thread_object_getset): Add "name".
431 * linux-nat.c (linux_nat_thread_name): New function.
432 (linux_nat_add_target): Set to_thread_name.
433 * gdbthread.h (struct thread_info) <name>: New field.
435 2011-01-18 Joel Brobecker <brobecker@adacore.com>
437 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
438 (ada_val_print_1): Likewise.
440 2011-01-18 Joel Brobecker <brobecker@adacore.com>
442 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
443 upper limit address is not greater than the function end address
444 when the upper limit could not be computed using the debugging
447 2011-01-17 Tom Tromey <tromey@redhat.com>
449 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
451 * utils.c: Include gdb_regex.h.
452 (do_regfree_cleanup): New function.
453 (make_regfree_cleanup): Likewise.
454 (get_regcomp_error): Likewise.
455 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
457 2011-01-17 Tom Tromey <tromey@redhat.com>
459 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
462 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
464 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
465 for internal variables.
466 (last_was_structop): New static variable.
467 (COMPLETE): New token.
468 (field_exp): New rule to group all '.' suffix handling.
469 Add mark_struct_expression calls when approriate to be able
470 to correctly find fields for completion.
471 (yylex): Adapt to handle field completion and set INTVAR when
474 2011-01-14 Yao Qi <yao@codesourcery.com>
476 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
477 save_reggroup, restore_reggroup and all_reggroup.
479 2011-01-14 Joel Brobecker <brobecker@adacore.com>
481 * ada-valprint. (ada_printchar): Use the correct type length
482 in call to ada_emit_char.
483 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
485 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
487 * solib-som.h (hpux_major_release): Declare variable here.
488 * solib-som.c: Remove <sys/utsname.h> header.
489 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
490 (hpux_major_release): Make global, change default value to
491 DEFAULT_HPUX_MAJOR_RELEASE.
492 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
493 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
494 Add "solib-som.h" header.
495 (set_hpux_major_release): New function.
496 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
498 2011-01-14 Mike Frysinger <vapier@gentoo.org>
500 * configure.tgt (*-*-uclinux*): Match more Linux os targets
502 2011-01-14 Joel Brobecker <brobecker@adacore.com>
504 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
505 new-line at end of warning message.
506 (ia64_hpux_store_register): Remove trailing new-line at end of
508 * ia64-hpux-tdep.c: Rephrase comment.
509 * solib-ia64-hpux.c (struct dld_info): Change type of field
510 dld_flags from "long long" to ULONGEST.
512 2011-01-14 Pedro Alves <pedro@codesourcery.com>
514 * target.h (deprecated_child_ops): Delete declaration.
515 * target.c (deprecated_child_ops): Delete definition.
517 2011-01-14 Pedro Alves <pedro@codesourcery.com>
519 * Makefile.in (hpux-thread.o): Delete rule.
520 * configure.ac: Don't check for HPUX DCE threads support.
521 * configure, config.in: Regenerate.
522 * hppa-hpux-nat.c (child_suppress_run): Delete.
523 (hppa_hpux_child_can_run): Delete.
524 (_initialize_hppa_hpux_nat): Don't override to_can_run.
525 * hpux-thread.c: Delete.
527 2011-01-13 Joel Brobecker <brobecker@adacore.com>
529 * hpux-thread.c (hpux_pid_to_str): Delete.
531 2011-01-13 Joel Brobecker <brobecker@adacore.com>
533 * ada-valprint.c (ada_emit_char): Remove strange code.
534 Check that c is <= UCHAR_MAX before passing it to isascii.
535 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
537 2011-01-13 Joel Brobecker <brobecker@adacore.com>
539 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
540 to the case where instream is stdin.
542 2011-01-13 Joel Brobecker <brobecker@adacore.com>
544 * ia64-tdep.h (struct regcache): Forward declare.
545 (struct ia64_infcall_ops): New struct type.
546 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
548 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
549 Renames ia64_find_global_pointer.
550 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
551 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
552 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
554 (ia64_infcall_ops): New static global constant.
555 (ia64_gdbarch_init): Set tdep->infcall_ops.
556 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
557 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
558 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
559 (ia64_hpux_dummy_code): New static global constant.
560 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
561 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
562 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
564 (ia64_hpux_infcall_ops): New static global constant.
565 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
566 for inferior function calls to work properly on ia64-hpux.
568 2011-01-13 Joel Brobecker <brobecker@adacore.com>
570 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
571 * ia64-tdep.h (struct frame_info): forward declaration.
572 (struct gdbarch_tdep): Add field size_of_register_frame.
573 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
574 to determine the size of the register frame.
575 (ia64_size_of_register_frame): New function.
576 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
577 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
578 (IA64_HPUX_UREG_REASON): New macro.
579 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
581 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
582 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
583 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
586 2011-01-13 Joel Brobecker <brobecker@adacore.com>
588 Add support for ia64-hpux.
589 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
590 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
592 * configure.host: Add handling for ia64-hpux hosts. Add associated
594 * configure.tgt: Add handling for ia64-hpux targets.
595 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
596 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
597 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
599 2011-01-13 Joel Brobecker <brobecker@adacore.com>
601 [ttrace] Compute thread list immediately after attach.
602 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
604 (inf_ttrace_attach): Use it.
606 2011-01-13 Joel Brobecker <brobecker@adacore.com>
608 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
609 if we could not determine the frame's function address. Instead,
610 use the frame's PC, and then continue.
612 2011-01-13 Joel Brobecker <brobecker@adacore.com>
614 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
617 2011-01-13 Joel Brobecker <brobecker@adacore.com>
619 * ia64-tdep.c (ia64_struct_type_p): New function.
620 (ia64_extract_return_value): Handle integral values that are
621 less than 8 bytes long.
622 (ia64_push_dummy_call): Likewise.
624 2011-01-13 Joel Brobecker <brobecker@adacore.com>
626 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
627 floatformat_ia64_ext.
628 (floatformat_ia64_ext_big): New static const.
629 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
631 2011-01-12 Tom Tromey <tromey@redhat.com>
633 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
635 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
636 (mi_cmd_thread_list_ids): Likewise.
637 (mi_cmd_data_list_changed_registers): Likewise.
638 (mi_cmd_data_list_register_values): Likewise.
639 (mi_cmd_data_write_register_values): Likewise.
640 (mi_cmd_data_evaluate_expression): Likewise.
641 (mi_cmd_data_read_memory): Likewise.
642 (mi_cmd_data_read_memory_bytes): Likewise.
643 (mi_cmd_data_write_memory): Likewise.
644 (mi_cmd_enable_timings): Likewise.
645 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
646 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
647 (mi_cmd_var_delete): Likewise.
648 (mi_cmd_var_set_format): Likewise.
649 (mi_cmd_var_show_format): Likewise.
650 (mi_cmd_var_info_num_children): Likewise.
651 (mi_cmd_var_list_children): Likewise.
652 (mi_cmd_var_info_type): Likewise.
653 (mi_cmd_var_info_expression): Likewise.
654 (mi_cmd_var_show_attributes): Likewise.
655 (mi_cmd_var_assign): Likewise.
656 (mi_cmd_var_update): Likewise.
657 (mi_cmd_enable_pretty_printing): Likewise.
658 (mi_cmd_var_set_update_range): Likewise.
659 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
661 (mi_cmd_target_file_put): Likewise.
662 (mi_cmd_target_file_delete): Likewise.
663 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
665 (mi_cmd_stack_info_depth): Likewise.
666 (mi_cmd_stack_list_locals): Likewise.
667 (mi_cmd_stack_list_args): Likewise.
668 (mi_cmd_stack_select_frame): Likewise.
669 (mi_cmd_stack_select_frame): Likewise.
670 (mi_cmd_stack_info_frame): Likewise.
671 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
673 (mi_cmd_file_list_exec_source_files): Likewise.
674 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
675 (mi_cmd_env_cd): Likewise.
676 (mi_cmd_env_path): Likewise.
677 (mi_cmd_env_dir): Likewise.
678 (mi_cmd_inferior_tty_show): Likewise.
679 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
680 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
681 (mi_cmd_break_watch): Likewise.
683 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
685 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
686 (ppc_linux_insert_hw_breakpoint): Likewise.
687 (ppc_linux_remove_hw_breakpoint): Likewise.
688 (ppc_linux_insert_watchpoint): Likewise.
690 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
691 Jan Kratochvil <jan.kratochvil@redhat.com>
693 PR fortran/11104 and DWARF unbound arrays detection.
694 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
695 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
696 unspecified upper bound.
697 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
698 variables array_size_array, tmp_type and offset_item. New variable
699 array. Remove call to f77_get_upperbound. New variables array_type
700 and index. Call value_subscripted_rvalue for each dimenasion. Remove
701 the final call to deprecated_set_value_type.
703 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
705 Make value allocations more lazy.
706 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
707 instead of allocate_value and set_value_lazy when possible.
708 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
709 instead of allocate_value and set_value_lazy.
710 * findvar.c (value_of_register_lazy): Likewise.
711 (read_var_value): Remove V preallocation, call just check_typedef in
712 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
713 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
714 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
715 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
716 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
717 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
718 the end, remove set_value_lazy there.
719 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
720 instead of allocate_value and set_value_lazy when possible.
721 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
722 * value.c (allocate_computed_value): Use allocate_value_lazy instead
723 of allocate_value and set_value_lazy.
724 (value_from_contents_and_address): Use allocate_value_lazy instead of
725 allocate_value and set_value_lazy when possible.
727 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
729 * disasm.c (dump_insns): Support dumping opcodes for MI.
730 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
731 dumping of instruction opcodes.
733 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
735 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
738 2011-01-11 Tom Tromey <tromey@redhat.com>
740 * thread.c (do_captured_thread_select): Emit newline before
743 2011-01-11 Michael Snyder <msnyder@vmware.com>
745 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
746 * score-tdep.c: Ditto.
747 * score-tdep.h: Ditto.
752 * ser-mingw.c: Ditto.
756 * sh64-tdep.c: Ditto.
757 * shnbsd-nat.c: Ditto.
761 * solib-darwin.c: Ditto.
762 * solib-frv.c: Ditto.
764 * solib-irix.c: Ditto.
765 * solib-osf.c: Ditto.
766 * solib-pa64.c: Ditto.
767 * solib-som.c: Ditto.
768 * solib-spu.c: Ditto.
769 * solib-sunos.c: Ditto.
770 * solib-svr4.c: Ditto.
772 * sol-thread.c: Ditto.
776 * sparc64-linux-tdep.c: Ditto.
777 * sparc64-tdep.c: Ditto.
778 * sparc-linux-nat.c: Ditto.
779 * sparc-linux-tdep.c: Ditto.
780 * sparc-sol2-nat.c: Ditto.
781 * sparc-sol2-tdep.c: Ditto.
782 * sparc-tdep.c: Ditto.
783 * sparc-tdep.h: Ditto.
785 * stabsread.c: Ditto.
786 * stabsread.h: Ditto.
794 * target-descriptions.c: Ditto.
795 * target-descriptions.h: Ditto.
797 * target-memory.c: Ditto.
801 * tracepoint.c: Ditto.
802 * tracepoint.h: Ditto.
803 * trad-frame.h: Ditto.
804 * typeprint.c: Ditto.
806 2011-01-11 Michael Snyder <msnyder@vmware.com>
808 * ui-file.c: Comment cleanup, mostly periods and spaces.
813 * v850-tdep.c: Ditto.
826 * windows-nat.c: Ditto.
827 * windows-tdep.c: Ditto.
828 * xcoffread.c: Ditto.
829 * xcoffsolib.c: Ditto.
830 * xml-support.c: Ditto.
831 * xstormy16-tdep.c: Ditto.
832 * xtensa-tdep.c: Ditto.
833 * xtensa-tdep.h: Ditto.
835 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
837 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
838 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
840 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
841 Thiago Jung Bauermann <bauerman@br.ibm.com>
843 Implement support for PowerPC BookE ranged watchpoints.
845 (struct breakpoint_ops) <resources_needed>: New method.
846 Initialize to NULL in all existing breakpoint_ops instances.
847 (struct breakpoint) <exact>: New field.
848 (target_exact_watchpoints): Declare external global.
849 * breakpoint.c (target_exact_watchpoints): New global flag.
850 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
851 b->enable_state to bp_enabled before calling
852 hw_watchpoint_used_count.
853 (hw_watchpoint_used_count): Iterate over all bp_locations in a
854 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
856 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
857 if the watchpoint is exact.
858 (resources_needed_watchpoint): New function.
859 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
860 (watch_command_1): Set b->exact if the user asked for an exact
861 watchpoint and one can be set.
862 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
863 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
864 the user asks for an exact watchpoint and one can be set. Return
865 number of needed debug registers to watch the expression.
866 * gdbtypes.c (is_scalar_type): New function, based on
867 valprint.c:scalar_type_p.
868 (is_scalar_type_recursive): New function.
869 * gdbtypes.h (is_scalar_type_recursive): Declare.
870 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
871 handle regions when ranged watchpoints are available.
872 (create_watchpoint_request): New function.
873 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
874 create_watchpoint_request.
875 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
876 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
877 `set powerpc' and `show powerpc' commands.
878 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
879 Mention documentation comment in the target macro.
880 (target_region_ok_for_hw_watchpoint): Document return value.
882 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
884 * breakpoint.c (update_watchpoint): Decide on using a software or
885 hardware watchpoint after the bp_locations are created.
887 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
889 Convert hardware watchpoints to use breakpoint_ops.
890 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
891 <insert_location>: ... this. Return int instead of void.
892 Accept pointer to struct bp_location instead of pointer to
893 struct breakpoint. Adapt all implementations.
894 (breakpoint_ops) <remove>: Rename to...
895 <remove_location>: ... this. Accept pointer to struct bp_location
896 instead of pointer to struct breakpoint. Adapt all implementations.
897 * breakpoint.c (insert_catchpoint): Delete function.
898 (insert_bp_location): Call the watchpoint or catchpoint's
899 breakpoint_ops.insert method.
900 (remove_breakpoint_1): Call the watchpoint or catchpoint's
901 breakpoint_ops.remove method.
902 (insert_watchpoint, remove_watchpoint): New functions.
903 (watchpoint_breakpoint_ops): New structure.
904 (watch_command_1): Initialize the OPS field.
905 * inf-child.c (inf_child_insert_fork_catchpoint)
906 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
907 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
908 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
910 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
911 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
912 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
913 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
914 * target.c (update_current_target): Change default implementation of
915 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
916 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
917 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
918 to_set_syscall_catchpoint to return_one.
919 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
920 (debug_to_insert_exec_catchpoint): Report return value.
921 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
922 (to_insert_exec_catchpoint): Change declaration to return int instead
925 2011-01-11 Michael Snyder <msnyder@vmware.com>
927 * arm-tdep.c: Internationalization.
930 * fork-child.c: Ditto.
931 * nto-procfs.c: Ditto.
932 * ppc-sysv-tdep.c: Ditto.
934 * remote-mips.c: Ditto.
936 * rs6000-nat.c: Ditto.
937 * rs6000-tdep.c: Ditto.
941 * xml-support.c: Ditto.
942 * mi/mi-cmd-break.c: Ditto.
943 * mi/mi-cmd-var.c: Ditto.
944 * mi/mi-interp.c: Ditto.
945 * mi/mi-main.c: Ditto.
947 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
949 * remote-sim.c (gdbsim_store_register): Update API to
950 sim_store_register to check more error conditions.
952 2011-01-10 Michael Snyder <msnyder@vmware.com>
954 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
958 * objc-lang.c: Ditto.
962 * opencl-lang.c: Ditto.
965 * parser-defs.h: Ditto.
968 * posix-hdep.c: Ditto.
969 * ppcbug-rom.c: Ditto.
970 * ppc-linux-nat.c: Ditto.
971 * ppc-linux-tdep.c: Ditto.
972 * ppc-linux-tdep.h: Ditto.
973 * ppcnbsd-tdep.c: Ditto.
974 * ppcobsd-tdep.c: Ditto.
975 * ppcobsd-tdep.h: Ditto.
976 * ppc-sysv-tdep.c: Ditto.
980 * proc-flags.c: Ditto.
982 * proc-utils.h: Ditto.
983 * progspace.h: Ditto.
984 * prologue-value.c: Ditto.
985 * prologue-value.h: Ditto.
988 * p-typeprint.c: Ditto.
989 * p-valprint.c: Ditto.
990 * ravenscar-sparc-thread.c: Ditto.
991 * ravenscar-thread.c: Ditto.
992 * ravenscar-thread.h: Ditto.
997 * remote-fileio.c: Ditto.
998 * remote-fileio.h: Ditto.
1000 * remote-m32r-sdi.c: Ditto.
1001 * remote-mips.c: Ditto.
1002 * remote-sim.c: Ditto.
1003 * rs6000-aix-tdep.c: Ditto.
1004 * rs6000-nat.c: Ditto.
1005 * rs6000-tdep.c: Ditto.
1007 2011-01-10 Michael Snyder <msnyder@vmware.com>
1009 * charset.c (validate): Internationalization.
1010 * coffread.c (read_one_sym): Ditto.
1011 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1012 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1013 * inflow.c (new_tty): Ditto.
1014 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1015 * m32c-tdep.c (m32c_return_value): Ditto.
1016 * mep-tdep.c (mep_store_return_value): Ditto.
1017 * score-tdep.c (score7_fetch_insn): Ditto.
1018 * ser-mingw.c (pipe_windows_open): Ditto.
1019 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1020 * spu-tdep.c (spu_register_type): Ditto.
1021 * tracepoint.c (trace_find_command): Ditto.
1022 * valarith.c (value_pos): Ditto.
1024 2011-01-10 Joel Brobecker <brobecker@adacore.com>
1026 * ada-valprint.c (printstr): Minor comment reformatting.
1028 2011-01-08 Michael Snyder <msnyder@vmware.com>
1030 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1033 2011-01-08 Michael Snyder <msnyder@vmware.com>
1035 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1036 * hppa-hpux-tdep.c: Ditto.
1037 * hppa-linux-nat.c: Ditto.
1038 * hppa-linux-tdep.c: Ditto.
1039 * hppanbsd-tdep.c: Ditto.
1040 * hppa-tdep.c: Ditto.
1041 * hppa-tdep.h: Ditto.
1042 * hpux-thread.c: Ditto.
1043 * i386-cygwin-tdep.c: Ditto.
1044 * i386-darwin-nat.c: Ditto.
1045 * i386gnu-nat.c: Ditto.
1046 * i386-linux-nat.c: Ditto.
1047 * i386-linux-tdep.c: Ditto.
1048 * i386-nat.c: Ditto.
1049 * i386-nat.h: Ditto.
1050 * i386nbsd-tdep.c: Ditto.
1051 * i386-sol2-nat.c: Ditto.
1052 * i386-stub.c: Ditto.
1053 * i386-tdep.c: Ditto.
1054 * i386-tdep.h: Ditto.
1055 * i387-tdep.c: Ditto.
1056 * ia64-linux-nat.c: Ditto.
1057 * ia64-linux-tdep.c: Ditto.
1058 * ia64-tdep.c: Ditto.
1062 * inferior.c: Ditto.
1063 * inferior.h: Ditto.
1069 * iq2000-tdep.c: Ditto.
1070 * irix5-nat.c: Ditto.
1076 * jv-typeprint.c: Ditto.
1077 * jv-valprint.c: Ditto.
1078 * language.c: Ditto.
1079 * language.h: Ditto.
1080 * linespec.c: Ditto.
1081 * linux-fork.c: Ditto.
1082 * linux-nat.c: Ditto.
1083 * linux-thread-db.c: Ditto.
1084 * lm32-tdep.c: Ditto.
1086 2011-01-08 Michael Snyder <msnyder@vmware.com>
1088 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1090 * m2-typeprint.c: Ditto.
1091 * m2-valprint.c: Ditto.
1092 * m32c-tdep.c: Ditto.
1093 * m32r-linux-nat.c: Ditto.
1094 * m32r-rom.c: Ditto.
1095 * m32r-tdep.c: Ditto.
1096 * m32r-tdep.h: Ditto.
1097 * m68hc11-tdep.c: Ditto.
1098 * m58klinux-nat.c: Ditto.
1099 * m68k-tdep.c: Ditto.
1100 * m88k-tdep.c: Ditto.
1101 * m88k-tdep.h: Ditto.
1102 * machoread.c: Ditto.
1103 * macrocmd.c: Ditto.
1104 * macroexp.c: Ditto.
1105 * macrotab.c: Ditto.
1108 * mdebugread.c: Ditto.
1109 * mdebugread.h: Ditto.
1112 * memory-map.h: Ditto.
1113 * mep-tdep.c: Ditto.
1114 * microblaze-rom.c: Ditto.
1115 * microblaze-tdep.c: Ditto.
1117 * mips-irix-tdep.c: Ditto.
1118 * mips-linux-nat.c: Ditto.
1119 * mips-linux-tdep.c: Ditto.
1120 * mips-linux-tdep.h: Ditto.
1121 * mipsnbsd-nat.c: Ditto.
1122 * mipsnbsd-tdep.c: Ditto.
1123 * mipsread.c: Ditto.
1124 * mips-tdep.c: Ditto.
1125 * mips-tdep.h: Ditto.
1126 * mn10300-linux-tdep.c: Ditto.
1127 * mn10300-tdep.c: Ditto.
1128 * mn10300-tdep.h: Ditto.
1131 * moxie-tdep.c: Ditto.
1132 * moxie-tdep.h: Ditto.
1135 2011-01-08 Mike Frysinger <vapier@gentoo.org>
1137 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1139 2011-01-08 Robert Millan <rmh@gnu.org>
1141 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1143 2011-01-07 Michael Snyder <msnyder@vmware.com>
1145 * charset.c (_initialize_charset): Fix typo in string.
1147 2011-01-07 Michael Snyder <msnyder@vmware.com>
1149 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1151 * tui/tui-layout.c (tui_set_layout_for_display_command):
1152 Split line so that operator goes to beginning of line.
1153 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1154 assignment out of if statement.
1156 2011-01-07 Michael Snyder <msnyder@vmware.com>
1158 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1159 * ada-lang.h: Ditto.
1160 * ada-tasks.c: Ditto.
1161 * ada-valprint.c: Ditto.
1162 * aix-threads.c: Ditto.
1163 * alpha-linux-nat.c: Ditto.
1164 * alpha-linux-tdep.c: Ditto.
1165 * alpha-mdebug-tdep.c: Ditto.
1166 * alpha-nat.c: Ditto.
1167 * alpha-osf1-tdep.c: Ditto.
1168 * alpha-tdep.c: Ditto.
1169 * alphabsd-nat.c: Ditto.
1170 * alphabsd-tdep.c: Ditto.
1171 * amd64-darwin-tdep.c: Ditto.
1172 * amd64-linux-nat.c: Ditto.
1173 * amd64-linux-tdep.c: Ditto.
1174 * amd64-sol2-tdep.c: Ditto.
1175 * amd64-tdep.c: Ditto.
1176 * amd64-fbsd-tdep.c: Ditto.
1177 * amd64-nbsd-tdep.c: Ditto.
1178 * amd64-obsd-tdep.c: Ditto.
1179 * amd64-linux-nat.c: Ditto.
1180 * amd64-linux-tdep.c: Ditto.
1181 * arm-tdep.c: Ditto.
1182 * arm-tdep.h: Ditto.
1183 * armnbsd-nat.c: Ditto.
1184 * avr-tdep.c: Ditto.
1185 * bfin-tdep.c: Ditto.
1187 * c-typeprintc: Ditto.
1188 * c-valprint.c: Ditto.
1189 * coff-pe-read.h: Ditto.
1190 * coffreead.c: Ditto.
1191 * cris-tdep.c: Ditto.
1193 * darwin-nat-info.c: Ditto.
1194 * darwin-nat.c: Ditto.
1195 * dbug-rom.c: Ditto.
1199 * dec-thread.c: Ditto.
1201 * demangle.c: Ditto.
1202 * dicos-tdep.c: Ditto.
1203 * dictionary.c: Ditto.
1204 * dictionary.h: Ditto.
1205 * dink32-rom.c: Ditto.
1207 * doublest.c: Ditto.
1209 * dummy-frame.c: Ditto.
1210 * dwarf2-frame.c: Ditto.
1211 * dwarf2expr.c: Ditto.
1212 * dwarf2loc.c: Ditto.
1213 * dwarf2read.c: Ditto.
1217 * event-top.h: Ditto.
1218 * exceptions.c: Ditto.
1219 * exceptions.h: Ditto.
1221 * expprint.c: Ditto.
1222 * expression.h: Ditto.
1226 * f-typeprint.c: Ditto.
1227 * f-valprint.c: Ditto.
1228 * fbsd-nat.c: Ditto.
1230 * fork-child.c: Ditto.
1233 * frv-linux-tdep.c: Ditto.
1234 * frv-tdep.c: Ditto.
1236 * gdb-stabs.h: Ditto.
1237 * gdb_assert.h: Ditto.
1238 * gdb_string.h: Ditto.
1239 * gdb_thread_db.h: Ditto.
1240 * gdb_wait.h: Ditto.
1241 * gdbarch.sh: Ditto.
1243 * gdbthread.h: Ditto.
1244 * gdbtypes.c: Ditto.
1245 * gdbtypes.h: Ditto.
1248 * gnu-v2-abi.c: Ditto.
1249 * gnu-v3-abi.c: Ditto.
1250 * go32-nat.c: Ditto.
1251 * gdbarch.c: Regenerate.
1252 * gdbarch.h: Regenerate.
1254 2011-01-07 Michael Snyder <msnyder@vmware.com>
1256 * ax-gdb.c: Adjust some long output strings.
1257 * breakpoint.c: Ditto.
1262 * linux-nat.c: Ditto.
1263 * solib-pa64.c: Ditto.
1264 * solib-som.c: Ditto.
1266 2011-01-06 Tom Tromey <tromey@redhat.com>
1270 * python/python.c (GdbMethods): Add "newest_frame" method.
1271 * python/python-internal.h (gdbpy_newest_frame): Declare.
1272 * python/py-frame.c (gdbpy_newest_frame): New function.
1274 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1276 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1277 * jit.c (jit_debug): New variable.
1278 (show_jit_debug): New function.
1279 (struct target_buffer): Use ULONGEST.
1280 (bfd_open_from_target_memory): Likewise.
1281 (jit_register_code, jit_inferior_init): Add debug output.
1282 (_initialize_jit): Register "debug jit" command.
1284 2011-01-06 Tom Tromey <tromey@redhat.com>
1286 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1287 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1290 2011-01-06 Tom Tromey <tromey@redhat.com>
1292 * python/py-frame.c (frapy_block): Use get_frame_block.
1294 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1296 Do not stop on SIGPRIO signals by default
1297 * infrun.c (_initialize_infrun): Unset signal_stop and
1298 signal_print for TARGET_SIGNAL_PRIO.
1300 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1302 * ada-tasks.c: Fix style violation in comment.
1304 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1306 * linespec.c (decode_compound, find_method): Remove trailing \n
1307 at end of error string.
1308 * solib-irix.c (irix_current_sos): Likewise.
1309 * varobj.c (uninstall_variable): Likewise.
1311 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1313 * copyright.py: New script.
1314 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1315 Launch emacs without exec'ing. Call copyright.py afterwards.
1317 2011-01-05 Michael Snyder <msnyder@vmware.com>
1319 * addrmap.c: Shorten lines of >= 80 columns.
1320 * arch-utils.c: Ditto.
1321 * arch-utils.h: Ditto.
1323 * ax-general.c: Ditto.
1325 * blockframe.c: Ditto.
1326 * breakpoint.c: Ditto.
1327 * buildsym.c: Ditto.
1329 * c-typeprint.c: Ditto.
1331 * coffread.c: Ditto.
1335 * cp-namespace.c: Ditto.
1336 * cp-support.c: Ditto.
1337 * dbug-rom.c: Ditto.
1342 * dictionary.c: Ditto.
1344 * doublest.c: Ditto.
1345 * dwarf2-frame.c: Ditto.
1346 * dwarf2expr.c: Ditto.
1347 * dwarf2loc.c: Ditto.
1348 * dwarf2read.c: Ditto.
1351 * event-loop.c: Ditto.
1352 * event-loop.h: Ditto.
1353 * exceptions.h: Ditto.
1355 * expprint.c: Ditto.
1356 * expression.h: Ditto.
1358 * f-valprint.c: Ditto.
1360 * frame-base.c: Ditto.
1361 * frame-unwind.c: Ditto.
1362 * frame-unwind.h: Ditto.
1366 * gdb-stabs.h: Ditto.
1367 * gdb_assert.h: Ditto.
1368 * gdb_dirent.h: Ditto.
1369 * gdb_obstack.h: Ditto.
1371 * gdbtypes.c: Ditto.
1372 * gdbtypes.h: Ditto.
1373 * inf-ttrace.c: Ditto.
1378 * inline-frame.h: Ditto.
1379 * language.c: Ditto.
1380 * language.h: Ditto.
1381 * libunwind-frame.c: Ditto.
1382 * libunwind-frame.h: Ditto.
1383 * linespec.c: Ditto.
1384 * linux-nat.c: Ditto.
1385 * linux-nat.h: Ditto.
1386 * linux-thread-db.c: Ditto.
1387 * machoread.c: Ditto.
1388 * macroexp.c: Ditto.
1389 * macrotab.c: Ditto.
1392 * mdebugread.c: Ditto.
1397 * objfiles.c: Ditto.
1398 * objfiles.h: Ditto.
1400 * p-typeprint.c: Ditto.
1401 * p-valprint.c: Ditto.
1403 * printcmd.c: Ditto.
1404 * proc-events.c: Ditto.
1406 * progspace.c: Ditto.
1407 * progspace.h: Ditto.
1408 * psympriv.h: Ditto.
1411 * regcache.c: Ditto.
1412 * regcache.h: Ditto.
1413 * remote-fileio.c: Ditto.
1415 * ser-mingw.c: Ditto.
1417 * ser-unix.c: Ditto.
1420 * solib-frv.c: Ditto.
1421 * solib-irix.c: Ditto.
1422 * solib-osf.c: Ditto.
1423 * solib-pa64.c: Ditto.
1424 * solib-som.c: Ditto.
1425 * solib-sunos.c: Ditto.
1426 * solib-svr4.c: Ditto.
1427 * solib-target.c: Ditto.
1431 * stabsread.c: Ditto.
1432 * stabsread.c: Ditto.
1435 * symfile-mem.c: Ditto.
1441 * target-descriptions.c: Ditto.
1442 * target-memory.c: Ditto.
1445 * terminal.h: Ditto.
1448 * tracepoint.c: Ditto.
1449 * tracepoint.h: Ditto.
1453 * user-regs.c: Ditto.
1454 * user-regs.h: Ditto.
1456 * valarith.c: Ditto.
1458 * valprint.c: Ditto.
1459 * valprint.h: Ditto.
1464 * xcoffread.c: Ditto.
1465 * xcoffsolib.c: Ditto.
1466 * xcoffsolib.h: Ditto.
1467 * xml-syscall.c: Ditto.
1468 * xml-tdesc.c: Ditto.
1470 2011-01-05 Michael Snyder <msnyder@vmware.com>
1472 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1473 * cli/cli-decode.c: Ditto.
1474 * cli/cli-dump.c: Ditto.
1475 * cli/cli-logging.c: Ditto.
1476 * cli/cli-script.c: Ditto.
1477 * cli/cli-setshow.c: Ditto.
1478 * common/signals.c: Ditto.
1479 * mi/mi-cmd-break.c: Ditto.
1480 * mi/mi-cmd-disas.c: Ditto.
1481 * mi/mi-cmd-stack.c: Ditto.
1482 * mi/mi-cmd-var.c: Ditto.
1483 * mi/mi-cmds.c: Ditto.
1484 * mi/mi-common.h: Ditto.
1485 * mi/mi-console.c: Ditto.
1486 * mi/mi-interp.c: Ditto.
1487 * mi/mi-main.c: Ditto.
1488 * osf-share/cma_attr.c: Ditto.
1489 * osf-share/cma_deb_core.h: Ditto.
1490 * osf-share/cma_debug_client.h: Ditto.
1491 * osf-share/cma_handle.h: Ditto.
1492 * osf-share/cma_mutex.h: Ditto.
1493 * osf-share/cma_stack_int.h: Ditto.
1494 * osf-share/cma_tcb_defs.h: Ditto.
1495 * python/py-auto-load.c: Ditto.
1496 * python/py-breakpoint.c: Ditto.
1497 * python/py-cmd.c: Ditto.
1498 * python/py-frame.c: Ditto.
1499 * python/py-objfile.c: Ditto.
1500 * python/py-param.c: Ditto.
1501 * python/py-progspace.c: Ditto.
1502 * python/py-symbol.c: Ditto.
1503 * python/py-value.c: Ditto.
1504 * python/python-internal.h: Ditto.
1505 * python/python.c: Ditto.
1506 * tui/tui-data.c: Ditto.
1507 * tui/tui-disasm.c: Ditto.
1508 * tui/tui-hooks.c: Ditto.
1509 * tui/tui-io.c: Ditto.
1510 * tui/tui-layout.c: Ditto.
1511 * tui/tui-regs.c: Ditto.
1512 * tui/tui-source.c: Ditto.
1513 * tui/tui-stack.c: Ditto.
1514 * tui/tui-win.c: Ditto.
1515 * tui/tui-windata.c: Ditto.
1516 * tui/tui-winsource.c: Ditto.
1518 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1520 * configure.ac, gdb.1: Copyright year update.
1522 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1524 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1525 this_pc_in_block, morestack_msym and morestack_name. Check for
1526 "__morestack" minimal symbol there.
1528 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1530 * symfile.c (find_sym_fns): Add call to dont_repeat.
1532 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1534 Copyright year update in most files (performed by copyright.sh).
1536 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1538 * top.c (print_gdb_version): Update copyright year in version output.
1540 For older changes see ChangeLog-2010.
1546 version-control: never