1 2011-01-28 Pedro Alves <pedro@codesourcery.com>
3 * mips-tdep.c (mips_print_register): Use get_frame_register_value
4 and val_print_scalar_formatted.
6 2011-01-27 Pedro Alves <pedro@codesourcery.com>
8 * tracepoint.c (tfile_read): New.
10 (tfile_get_traceframe_address): Use it.
11 (tfile_trace_find): Use it.
12 (walk_blocks_callback_func): New typedef.
13 (match_blocktype): New function.
14 (traceframe_walk_blocks): New function.
15 (traceframe_find_block_type): New function.
16 (tfile_fetch_registers, tfile_xfer_partial)
17 (tfile_get_trace_state_variable_value): Use
18 traceframe_find_block_type and tfile_read.
20 2011-01-26 Kevin Buettner <kevinb@redhat.com>
22 * remote-mips.c: Add internationalization mark ups. Remove
23 trailing \n from already marked up strings.
25 2011-01-26 Tom Tromey <tromey@redhat.com>
27 * python/py-prettyprint.c (print_string_repr): Clear
28 'addressprint' option when calling val_print_string.
29 (print_children): Handle Val_pretty_default. Clear 'addressprint'
30 option when calling val_print_string.
32 2011-01-26 Tom Tromey <tromey@redhat.com>
34 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
36 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
38 (gdb_py_longest, gdb_py_ulongest): New typedefs.
39 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
40 (gdb_py_long_as_ulongest): New defines.
41 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
42 (gdb_py_int_as_long): Declare.
43 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
44 GDB_PY_LL_ARG, gdb_py_object_from_longest.
45 (valpy_long): Add comment.
46 * python/py-utils.c (get_addr_from_python): Use
47 gdb_py_long_as_ulongest. Handle overflow properly.
48 (gdb_py_object_from_longest): New function.
49 (gdb_py_object_from_ulongest): Likewise.
50 (gdb_py_int_as_long): Likewise.
51 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
52 * python/py-symtab.c (salpy_get_pc): Use
53 gdb_py_long_from_ulongest.
54 (salpy_get_line): Use PyInt_FromLong.
55 * python/py-param.c (set_parameter_value): Use
57 * python/py-lazy-string.c (stpy_get_address): Use
58 gdb_py_long_from_ulongest.
59 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
60 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
61 * python/py-breakpoint.c (bppy_set_thread): Use
63 (bppy_set_task): Likewise.
64 (bppy_set_ignore_count): Likewise.
65 (bppy_set_hit_count): Likewise.
66 * python/py-block.c (blpy_get_start): Use
67 gdb_py_object_from_ulongest.
68 (blpy_get_end): Likewise.
69 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
71 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
74 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
75 * gdb/solib.c (solib_read_symbols): Check for addr_low in
76 equality test for objfile, initialize addr_low if needed.
78 2011-01-25 Pedro Alves <pedro@codesourcery.com>
80 * tui/tui-regs.c (tui_register_format): Remove dead code.
82 2011-01-25 Pedro Alves <pedro@codesourcery.com>
84 * printcmd.c (print_formatted): Use val_print_scalar_formatted
85 instead of print_scalar_formatted.
86 (print_scalar_formatted): Don't handle 's' format strings here,
87 and add an assertion that we never see such format here.
88 * valprint.h (val_print_scalar_formatted): Declare.
89 * valprint.c (val_print_scalar_formatted): New.
90 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
91 instead of print_scalar_formatted.
92 * jv-valprint.c (java_val_print): Ditto.
93 * p-valprint.c (pascal_val_print): Ditto.
94 * ada-valprint.c (ada_val_print_1): Ditto.
95 * f-valprint.c (f_val_print): Ditto.
96 * infcmd.c (registers_info): Ditto.
97 * m2-valprint.c (m2_val_print): Ditto.
99 2011-01-25 Pedro Alves <pedro@codesourcery.com>
101 * m2-valprint.c (print_unbounded_array): Pass
102 value_contents_for_printing rather than value_contents, to
103 m2_print_array_contents. Also pass in the value.
105 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
107 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
108 (save_gdb_index_command): Switch to .gdb_index version 4.
110 2011-01-25 Pedro Alves <pedro@codesourcery.com>
112 * mi/mi-main.c (get_register): Use get_frame_register_value rather
113 than frame_register, and always pass a valid value to val_print.
115 2011-01-25 Pedro Alves <pedro@codesourcery.com>
117 Centralize printing "<optimized out>".
119 * valprint.h (val_print_optimized_out): Declare.
120 * cp-valprint.c (cp_print_value_fields): Use
121 val_print_optimized_out.
122 * jv-valprint.c (java_print_value_fields): Ditto.
123 * p-valprint.c (pascal_object_print_value_fields): Ditto.
124 * printcmd.c (print_formatted): Ditto.
125 * valprint.c (valprint_check_validity): Ditto.
126 (value_check_printable): Ditto.
127 (val_print_optimized_out): New.
129 2011-01-25 Pedro Alves <pedro@codesourcery.com>
131 * infcmd.c (default_print_registers_info): Allocate values so to
132 never pass a NULL value to val_print.
134 2011-01-25 Pedro Alves <pedro@codesourcery.com>
136 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
137 boolean. Make sure to always pass a value that matches the
138 contents buffer to callees. Preserve `address' for following
140 * value.c (value_contents_for_printing_const): New.
141 (value_address): Constify value argument.
142 * value.h (value_contents_for_printing_const): Declare.
143 (value_address): Constify value argument.
145 2011-01-25 Pedro Alves <pedro@codesourcery.com>
147 * regcache.c (struct regcache_descr): Rename
148 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
149 and sizeof_cooked_register_valid_p to
150 sizeof_cooked_register_status.
151 (init_regcache_descr): Adjust.
152 (struct regcache): Rename register_valid_p field to
154 (regcache_xmalloc_1, regcache_xfree, regcache_save)
155 (do_cooked_read): Adjust.
156 (regcache_valid_p): Rename to ...
157 (regcache_register_status): ... this. Adjust.
158 (regcache_invalidate): Adjust.
159 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
161 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
162 as unavailable, not valid.
163 (regcache_dump): Adjust.
164 * regcache.h (enum register_status): New.
165 (regcache_register_status): Declare.
166 (regcache_invalidate): Delete declaration.
167 * corelow.c (get_core_registers): Adjust.
168 * tracepoint.c (tfile_fetch_registers): Adjust.
169 * trad-frame.c (REG_VALUE): Rename to ...
170 (TF_REG_VALUE): ... this.
171 (REG_UNKNOWN): Rename to ...
172 (TF_REG_UNKNOWN): ... this.
173 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
174 * mi/mi-main.c (register_changed_p): Adjust.
176 2011-01-25 Pedro Alves <pedro@codesourcery.com>
178 * regcache.c (struct regcache_descr): Remove outdated comment.
179 (init_regcache_descr): Remove sizeof_raw_register_valid_p
181 (regcache_xmalloc): Rename to ...
182 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
183 Allocate the regcache type accordingly.
184 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
185 (regcache_xfree): Asser the source is also readonly. Copy sizeof
186 cooked registers, not raw.
187 (regcache_dup_no_passthrough): Delete.
188 (get_thread_arch_regcache): Use regcache_xmalloc_1.
189 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
190 mention obsolete write_register_bytes.
191 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
193 2011-01-25 Pedro Alves <pedro@codesourcery.com>
195 Stop remote_read_bytes from handling partial reads itself.
197 * remote-fileio.c: Include target.h.
198 (remote_fileio_write_bytes): Delete.
199 (remote_fileio_func_open, remote_fileio_func_write)
200 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
202 (remote_fileio_func_stat): Use target_read_memory and
204 (remote_fileio_func_gettimeofday): Use target_write_memory.
205 (remote_fileio_func_system): Use target_read_memory.
206 * remote.c (remote_write_bytes): Make it static.
207 (remote_read_bytes): Don't handle partial reads here.
208 * remote.h (remote_read_bytes): Delete declaration.
210 2011-01-25 Pedro Alves <pedro@codesourcery.com>
212 Simplify XML parsing a bit.
214 * xml-support.h (gdb_xml_parse_quick): Declare.
215 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
216 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
218 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
219 gdb_xml_create_parser_and_cleanup_1.
220 (gdb_xml_parse_quick): New.
221 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
222 * osdata.c (osdata_parse): Ditto.
223 * remote.c (remote_threads_info): Ditto.
224 * solib-target.c (solib_target_parse_libraries): Ditto.
225 * xml-syscall.c (syscall_parse_xml): Ditto.
226 * xml-tdesc.c (tdesc_parse_xml): Ditto.
228 2011-01-24 Kevin Buettner <kevinb@redhat.com>
230 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
231 with remote-mips.o added to gdb_target_obs.
232 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
234 2011-01-24 Pedro Alves <pedro@codesourcery.com>
236 * ada-valprint.c (val_print_packed_array_elements): Pass the
237 correct struct value to val_print.
238 (ada_val_print_1): Ditto.
240 2011-01-24 Pedro Alves <pedro@codesourcery.com>
242 Don't lose embedded_offset in printing routines throughout.
244 * valprint.h (val_print_array_elements): Change prototype.
245 * valprint.c (val_print_array_elements): Add `embedded_offset'
246 parameter, and adjust to pass it down to val_print, while passing
247 `valaddr' or `address' unmodified. Take embedded_offset into
248 account when checking repetitions.
249 * c-valprint.c (c_val_print): Pass embedded_offset to
250 val_print_array_elements instead of adjusting `valaddr' and
252 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
253 embedded_offset to val_print_array_elements instead of adjusting
255 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
256 * p-valprint.c (pascal_val_print): Pass embedded_offset to
257 val_print_array_elements and pascal_object_print_value_fields
258 instead of adjusting `valaddr'.
259 (pascal_object_print_value_fields): Add `offset' parameter, and
261 (pascal_object_print_value): Add `offset' parameter, and adjust to
263 (pascal_object_print_static_field): Use
264 value_contents_for_printing/value_embedded_offset, rather than
266 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
267 parameter, and adjust to use it. Use
268 value_contents_for_printing/value_embedded_offset, rather than
270 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
271 (ada_val_print_array): Add `offset' parameter, and adjust to use
273 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
274 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
275 Instead work with offsets. Use
276 value_contents_for_printing/value_embedded_offset, rather than
277 value_contents. Change `defer_val_int' local type to CORE_ADDR,
278 and use value_from_pointer to extract a target pointer, rather
279 than value_from_longest.
280 (print_variant_part): Add `offset' parameter. Replace
281 `outer_valaddr' parameter by a new `outer_offset' parameter.
282 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
283 (ada_value_print): Use
284 value_contents_for_printing/value_embedded_offset, rather than
286 (print_record): Add `offset' parameter, and adjust to pass it
288 (print_field_values): Add `offset' parameter. Replace
289 `outer_valaddr' parameter by a new `outer_offset' parameter.
290 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
291 Use value_contents_for_printing/value_embedded_offset, rather than
293 * d-valprint.c (dynamic_array_type): Use
294 value_contents_for_printing/value_embedded_offset, rather than
296 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
297 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
298 (java_print_value_fields): Take `offset' into account. Don't
299 re-adjust `valaddr'. Instead pass down adjusted offsets.
300 (java_val_print): Take `embedded_offset' into account. Pass it to
301 java_print_value_fields.
302 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
303 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
304 down adjusted offsets.
305 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
306 (f_val_print): Take `embedded_offset' into account.
308 2011-01-21 Joel Brobecker <brobecker@adacore.com>
310 * inflow.c: Include "gdbcmd.h".
311 (interactive_mode): New static global, moved here from top.c.
312 (show_interactive_mode): New function, moved here from top.c.
313 use gdb_has_a_terminal instead of input_from_terminal_p to
314 determine the current mode.
315 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
317 (_initialize_inflow): Add the "set/show interactive-mode"
318 commands. Moved here from top.c, after having adjusted slightly
320 * top.c (interactive_mode, show_interactive_mode): Delete, moved
322 (input_from_terminal_p): Remove handling of "interactive-mode"
323 setting, moved to infow.c.
324 (init_main): Remove creation of the "set/show interactive-mode"
325 commands, moved to inflow.c.
327 2011-01-19 Joel Brobecker <brobecker@adacore.com>
329 * NEWS: Add entry for native ia64-hpux support.
331 2011-01-19 Tom Tromey <tromey@redhat.com>
334 * thread.c (free_thread): Free 'name'.
335 (print_thread_info): Emit thread name. Change CLI output.
336 (thread_name_command): New function.
337 (do_captured_thread_select): Emit newline.
338 (_initialize_thread): Register 'thread name' command.
339 * target.h (struct target_ops) <to_thread_name>: New field.
340 (target_thread_name): New macro.
341 * target.c (update_current_target): Handle to_thread_name.
342 * python/py-infthread.c (thpy_get_name): New function.
343 (thpy_set_name): Likewise.
344 (thread_object_getset): Add "name".
345 * linux-nat.c (linux_nat_thread_name): New function.
346 (linux_nat_add_target): Set to_thread_name.
347 * gdbthread.h (struct thread_info) <name>: New field.
349 2011-01-18 Joel Brobecker <brobecker@adacore.com>
351 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
352 (ada_val_print_1): Likewise.
354 2011-01-18 Joel Brobecker <brobecker@adacore.com>
356 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
357 upper limit address is not greater than the function end address
358 when the upper limit could not be computed using the debugging
361 2011-01-17 Tom Tromey <tromey@redhat.com>
363 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
365 * utils.c: Include gdb_regex.h.
366 (do_regfree_cleanup): New function.
367 (make_regfree_cleanup): Likewise.
368 (get_regcomp_error): Likewise.
369 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
371 2011-01-17 Tom Tromey <tromey@redhat.com>
373 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
376 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
378 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
379 for internal variables.
380 (last_was_structop): New static variable.
381 (COMPLETE): New token.
382 (field_exp): New rule to group all '.' suffix handling.
383 Add mark_struct_expression calls when approriate to be able
384 to correctly find fields for completion.
385 (yylex): Adapt to handle field completion and set INTVAR when
388 2011-01-14 Yao Qi <yao@codesourcery.com>
390 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
391 save_reggroup, restore_reggroup and all_reggroup.
393 2011-01-14 Joel Brobecker <brobecker@adacore.com>
395 * ada-valprint. (ada_printchar): Use the correct type length
396 in call to ada_emit_char.
397 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
399 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
401 * solib-som.h (hpux_major_release): Declare variable here.
402 * solib-som.c: Remove <sys/utsname.h> header.
403 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
404 (hpux_major_release): Make global, change default value to
405 DEFAULT_HPUX_MAJOR_RELEASE.
406 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
407 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
408 Add "solib-som.h" header.
409 (set_hpux_major_release): New function.
410 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
412 2011-01-14 Mike Frysinger <vapier@gentoo.org>
414 * configure.tgt (*-*-uclinux*): Match more Linux os targets
416 2011-01-14 Joel Brobecker <brobecker@adacore.com>
418 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
419 new-line at end of warning message.
420 (ia64_hpux_store_register): Remove trailing new-line at end of
422 * ia64-hpux-tdep.c: Rephrase comment.
423 * solib-ia64-hpux.c (struct dld_info): Change type of field
424 dld_flags from "long long" to ULONGEST.
426 2011-01-14 Pedro Alves <pedro@codesourcery.com>
428 * target.h (deprecated_child_ops): Delete declaration.
429 * target.c (deprecated_child_ops): Delete definition.
431 2011-01-14 Pedro Alves <pedro@codesourcery.com>
433 * Makefile.in (hpux-thread.o): Delete rule.
434 * configure.ac: Don't check for HPUX DCE threads support.
435 * configure, config.in: Regenerate.
436 * hppa-hpux-nat.c (child_suppress_run): Delete.
437 (hppa_hpux_child_can_run): Delete.
438 (_initialize_hppa_hpux_nat): Don't override to_can_run.
439 * hpux-thread.c: Delete.
441 2011-01-13 Joel Brobecker <brobecker@adacore.com>
443 * hpux-thread.c (hpux_pid_to_str): Delete.
445 2011-01-13 Joel Brobecker <brobecker@adacore.com>
447 * ada-valprint.c (ada_emit_char): Remove strange code.
448 Check that c is <= UCHAR_MAX before passing it to isascii.
449 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
451 2011-01-13 Joel Brobecker <brobecker@adacore.com>
453 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
454 to the case where instream is stdin.
456 2011-01-13 Joel Brobecker <brobecker@adacore.com>
458 * ia64-tdep.h (struct regcache): Forward declare.
459 (struct ia64_infcall_ops): New struct type.
460 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
462 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
463 Renames ia64_find_global_pointer.
464 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
465 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
466 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
468 (ia64_infcall_ops): New static global constant.
469 (ia64_gdbarch_init): Set tdep->infcall_ops.
470 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
471 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
472 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
473 (ia64_hpux_dummy_code): New static global constant.
474 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
475 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
476 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
478 (ia64_hpux_infcall_ops): New static global constant.
479 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
480 for inferior function calls to work properly on ia64-hpux.
482 2011-01-13 Joel Brobecker <brobecker@adacore.com>
484 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
485 * ia64-tdep.h (struct frame_info): forward declaration.
486 (struct gdbarch_tdep): Add field size_of_register_frame.
487 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
488 to determine the size of the register frame.
489 (ia64_size_of_register_frame): New function.
490 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
491 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
492 (IA64_HPUX_UREG_REASON): New macro.
493 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
495 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
496 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
497 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
500 2011-01-13 Joel Brobecker <brobecker@adacore.com>
502 Add support for ia64-hpux.
503 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
504 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
506 * configure.host: Add handling for ia64-hpux hosts. Add associated
508 * configure.tgt: Add handling for ia64-hpux targets.
509 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
510 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
511 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
513 2011-01-13 Joel Brobecker <brobecker@adacore.com>
515 [ttrace] Compute thread list immediately after attach.
516 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
518 (inf_ttrace_attach): Use it.
520 2011-01-13 Joel Brobecker <brobecker@adacore.com>
522 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
523 if we could not determine the frame's function address. Instead,
524 use the frame's PC, and then continue.
526 2011-01-13 Joel Brobecker <brobecker@adacore.com>
528 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
531 2011-01-13 Joel Brobecker <brobecker@adacore.com>
533 * ia64-tdep.c (ia64_struct_type_p): New function.
534 (ia64_extract_return_value): Handle integral values that are
535 less than 8 bytes long.
536 (ia64_push_dummy_call): Likewise.
538 2011-01-13 Joel Brobecker <brobecker@adacore.com>
540 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
541 floatformat_ia64_ext.
542 (floatformat_ia64_ext_big): New static const.
543 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
545 2011-01-12 Tom Tromey <tromey@redhat.com>
547 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
549 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
550 (mi_cmd_thread_list_ids): Likewise.
551 (mi_cmd_data_list_changed_registers): Likewise.
552 (mi_cmd_data_list_register_values): Likewise.
553 (mi_cmd_data_write_register_values): Likewise.
554 (mi_cmd_data_evaluate_expression): Likewise.
555 (mi_cmd_data_read_memory): Likewise.
556 (mi_cmd_data_read_memory_bytes): Likewise.
557 (mi_cmd_data_write_memory): Likewise.
558 (mi_cmd_enable_timings): Likewise.
559 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
560 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
561 (mi_cmd_var_delete): Likewise.
562 (mi_cmd_var_set_format): Likewise.
563 (mi_cmd_var_show_format): Likewise.
564 (mi_cmd_var_info_num_children): Likewise.
565 (mi_cmd_var_list_children): Likewise.
566 (mi_cmd_var_info_type): Likewise.
567 (mi_cmd_var_info_expression): Likewise.
568 (mi_cmd_var_show_attributes): Likewise.
569 (mi_cmd_var_assign): Likewise.
570 (mi_cmd_var_update): Likewise.
571 (mi_cmd_enable_pretty_printing): Likewise.
572 (mi_cmd_var_set_update_range): Likewise.
573 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
575 (mi_cmd_target_file_put): Likewise.
576 (mi_cmd_target_file_delete): Likewise.
577 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
579 (mi_cmd_stack_info_depth): Likewise.
580 (mi_cmd_stack_list_locals): Likewise.
581 (mi_cmd_stack_list_args): Likewise.
582 (mi_cmd_stack_select_frame): Likewise.
583 (mi_cmd_stack_select_frame): Likewise.
584 (mi_cmd_stack_info_frame): Likewise.
585 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
587 (mi_cmd_file_list_exec_source_files): Likewise.
588 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
589 (mi_cmd_env_cd): Likewise.
590 (mi_cmd_env_path): Likewise.
591 (mi_cmd_env_dir): Likewise.
592 (mi_cmd_inferior_tty_show): Likewise.
593 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
594 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
595 (mi_cmd_break_watch): Likewise.
597 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
599 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
600 (ppc_linux_insert_hw_breakpoint): Likewise.
601 (ppc_linux_remove_hw_breakpoint): Likewise.
602 (ppc_linux_insert_watchpoint): Likewise.
604 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
605 Jan Kratochvil <jan.kratochvil@redhat.com>
607 PR fortran/11104 and DWARF unbound arrays detection.
608 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
609 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
610 unspecified upper bound.
611 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
612 variables array_size_array, tmp_type and offset_item. New variable
613 array. Remove call to f77_get_upperbound. New variables array_type
614 and index. Call value_subscripted_rvalue for each dimenasion. Remove
615 the final call to deprecated_set_value_type.
617 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
619 Make value allocations more lazy.
620 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
621 instead of allocate_value and set_value_lazy when possible.
622 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
623 instead of allocate_value and set_value_lazy.
624 * findvar.c (value_of_register_lazy): Likewise.
625 (read_var_value): Remove V preallocation, call just check_typedef in
626 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
627 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
628 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
629 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
630 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
631 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
632 the end, remove set_value_lazy there.
633 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
634 instead of allocate_value and set_value_lazy when possible.
635 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
636 * value.c (allocate_computed_value): Use allocate_value_lazy instead
637 of allocate_value and set_value_lazy.
638 (value_from_contents_and_address): Use allocate_value_lazy instead of
639 allocate_value and set_value_lazy when possible.
641 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
643 * disasm.c (dump_insns): Support dumping opcodes for MI.
644 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
645 dumping of instruction opcodes.
647 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
649 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
652 2011-01-11 Tom Tromey <tromey@redhat.com>
654 * thread.c (do_captured_thread_select): Emit newline before
657 2011-01-11 Michael Snyder <msnyder@vmware.com>
659 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
660 * score-tdep.c: Ditto.
661 * score-tdep.h: Ditto.
666 * ser-mingw.c: Ditto.
670 * sh64-tdep.c: Ditto.
671 * shnbsd-nat.c: Ditto.
675 * solib-darwin.c: Ditto.
676 * solib-frv.c: Ditto.
678 * solib-irix.c: Ditto.
679 * solib-osf.c: Ditto.
680 * solib-pa64.c: Ditto.
681 * solib-som.c: Ditto.
682 * solib-spu.c: Ditto.
683 * solib-sunos.c: Ditto.
684 * solib-svr4.c: Ditto.
686 * sol-thread.c: Ditto.
690 * sparc64-linux-tdep.c: Ditto.
691 * sparc64-tdep.c: Ditto.
692 * sparc-linux-nat.c: Ditto.
693 * sparc-linux-tdep.c: Ditto.
694 * sparc-sol2-nat.c: Ditto.
695 * sparc-sol2-tdep.c: Ditto.
696 * sparc-tdep.c: Ditto.
697 * sparc-tdep.h: Ditto.
699 * stabsread.c: Ditto.
700 * stabsread.h: Ditto.
708 * target-descriptions.c: Ditto.
709 * target-descriptions.h: Ditto.
711 * target-memory.c: Ditto.
715 * tracepoint.c: Ditto.
716 * tracepoint.h: Ditto.
717 * trad-frame.h: Ditto.
718 * typeprint.c: Ditto.
720 2011-01-11 Michael Snyder <msnyder@vmware.com>
722 * ui-file.c: Comment cleanup, mostly periods and spaces.
727 * v850-tdep.c: Ditto.
740 * windows-nat.c: Ditto.
741 * windows-tdep.c: Ditto.
742 * xcoffread.c: Ditto.
743 * xcoffsolib.c: Ditto.
744 * xml-support.c: Ditto.
745 * xstormy16-tdep.c: Ditto.
746 * xtensa-tdep.c: Ditto.
747 * xtensa-tdep.h: Ditto.
749 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
751 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
752 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
754 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
755 Thiago Jung Bauermann <bauerman@br.ibm.com>
757 Implement support for PowerPC BookE ranged watchpoints.
759 (struct breakpoint_ops) <resources_needed>: New method.
760 Initialize to NULL in all existing breakpoint_ops instances.
761 (struct breakpoint) <exact>: New field.
762 (target_exact_watchpoints): Declare external global.
763 * breakpoint.c (target_exact_watchpoints): New global flag.
764 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
765 b->enable_state to bp_enabled before calling
766 hw_watchpoint_used_count.
767 (hw_watchpoint_used_count): Iterate over all bp_locations in a
768 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
770 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
771 if the watchpoint is exact.
772 (resources_needed_watchpoint): New function.
773 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
774 (watch_command_1): Set b->exact if the user asked for an exact
775 watchpoint and one can be set.
776 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
777 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
778 the user asks for an exact watchpoint and one can be set. Return
779 number of needed debug registers to watch the expression.
780 * gdbtypes.c (is_scalar_type): New function, based on
781 valprint.c:scalar_type_p.
782 (is_scalar_type_recursive): New function.
783 * gdbtypes.h (is_scalar_type_recursive): Declare.
784 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
785 handle regions when ranged watchpoints are available.
786 (create_watchpoint_request): New function.
787 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
788 create_watchpoint_request.
789 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
790 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
791 `set powerpc' and `show powerpc' commands.
792 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
793 Mention documentation comment in the target macro.
794 (target_region_ok_for_hw_watchpoint): Document return value.
796 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
798 * breakpoint.c (update_watchpoint): Decide on using a software or
799 hardware watchpoint after the bp_locations are created.
801 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
803 Convert hardware watchpoints to use breakpoint_ops.
804 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
805 <insert_location>: ... this. Return int instead of void.
806 Accept pointer to struct bp_location instead of pointer to
807 struct breakpoint. Adapt all implementations.
808 (breakpoint_ops) <remove>: Rename to...
809 <remove_location>: ... this. Accept pointer to struct bp_location
810 instead of pointer to struct breakpoint. Adapt all implementations.
811 * breakpoint.c (insert_catchpoint): Delete function.
812 (insert_bp_location): Call the watchpoint or catchpoint's
813 breakpoint_ops.insert method.
814 (remove_breakpoint_1): Call the watchpoint or catchpoint's
815 breakpoint_ops.remove method.
816 (insert_watchpoint, remove_watchpoint): New functions.
817 (watchpoint_breakpoint_ops): New structure.
818 (watch_command_1): Initialize the OPS field.
819 * inf-child.c (inf_child_insert_fork_catchpoint)
820 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
821 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
822 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
824 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
825 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
826 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
827 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
828 * target.c (update_current_target): Change default implementation of
829 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
830 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
831 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
832 to_set_syscall_catchpoint to return_one.
833 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
834 (debug_to_insert_exec_catchpoint): Report return value.
835 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
836 (to_insert_exec_catchpoint): Change declaration to return int instead
839 2011-01-11 Michael Snyder <msnyder@vmware.com>
841 * arm-tdep.c: Internationalization.
844 * fork-child.c: Ditto.
845 * nto-procfs.c: Ditto.
846 * ppc-sysv-tdep.c: Ditto.
848 * remote-mips.c: Ditto.
850 * rs6000-nat.c: Ditto.
851 * rs6000-tdep.c: Ditto.
855 * xml-support.c: Ditto.
856 * mi/mi-cmd-break.c: Ditto.
857 * mi/mi-cmd-var.c: Ditto.
858 * mi/mi-interp.c: Ditto.
859 * mi/mi-main.c: Ditto.
861 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
863 * remote-sim.c (gdbsim_store_register): Update API to
864 sim_store_register to check more error conditions.
866 2011-01-10 Michael Snyder <msnyder@vmware.com>
868 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
872 * objc-lang.c: Ditto.
876 * opencl-lang.c: Ditto.
879 * parser-defs.h: Ditto.
882 * posix-hdep.c: Ditto.
883 * ppcbug-rom.c: Ditto.
884 * ppc-linux-nat.c: Ditto.
885 * ppc-linux-tdep.c: Ditto.
886 * ppc-linux-tdep.h: Ditto.
887 * ppcnbsd-tdep.c: Ditto.
888 * ppcobsd-tdep.c: Ditto.
889 * ppcobsd-tdep.h: Ditto.
890 * ppc-sysv-tdep.c: Ditto.
894 * proc-flags.c: Ditto.
896 * proc-utils.h: Ditto.
897 * progspace.h: Ditto.
898 * prologue-value.c: Ditto.
899 * prologue-value.h: Ditto.
902 * p-typeprint.c: Ditto.
903 * p-valprint.c: Ditto.
904 * ravenscar-sparc-thread.c: Ditto.
905 * ravenscar-thread.c: Ditto.
906 * ravenscar-thread.h: Ditto.
911 * remote-fileio.c: Ditto.
912 * remote-fileio.h: Ditto.
914 * remote-m32r-sdi.c: Ditto.
915 * remote-mips.c: Ditto.
916 * remote-sim.c: Ditto.
917 * rs6000-aix-tdep.c: Ditto.
918 * rs6000-nat.c: Ditto.
919 * rs6000-tdep.c: Ditto.
921 2011-01-10 Michael Snyder <msnyder@vmware.com>
923 * charset.c (validate): Internationalization.
924 * coffread.c (read_one_sym): Ditto.
925 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
926 * h8300-tdep.c (H8300_extract_return_value): Ditto.
927 * inflow.c (new_tty): Ditto.
928 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
929 * m32c-tdep.c (m32c_return_value): Ditto.
930 * mep-tdep.c (mep_store_return_value): Ditto.
931 * score-tdep.c (score7_fetch_insn): Ditto.
932 * ser-mingw.c (pipe_windows_open): Ditto.
933 * sh64-tdep.c (sh64_extract_return_value): Ditto.
934 * spu-tdep.c (spu_register_type): Ditto.
935 * tracepoint.c (trace_find_command): Ditto.
936 * valarith.c (value_pos): Ditto.
938 2011-01-10 Joel Brobecker <brobecker@adacore.com>
940 * ada-valprint.c (printstr): Minor comment reformatting.
942 2011-01-08 Michael Snyder <msnyder@vmware.com>
944 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
947 2011-01-08 Michael Snyder <msnyder@vmware.com>
949 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
950 * hppa-hpux-tdep.c: Ditto.
951 * hppa-linux-nat.c: Ditto.
952 * hppa-linux-tdep.c: Ditto.
953 * hppanbsd-tdep.c: Ditto.
954 * hppa-tdep.c: Ditto.
955 * hppa-tdep.h: Ditto.
956 * hpux-thread.c: Ditto.
957 * i386-cygwin-tdep.c: Ditto.
958 * i386-darwin-nat.c: Ditto.
959 * i386gnu-nat.c: Ditto.
960 * i386-linux-nat.c: Ditto.
961 * i386-linux-tdep.c: Ditto.
964 * i386nbsd-tdep.c: Ditto.
965 * i386-sol2-nat.c: Ditto.
966 * i386-stub.c: Ditto.
967 * i386-tdep.c: Ditto.
968 * i386-tdep.h: Ditto.
969 * i387-tdep.c: Ditto.
970 * ia64-linux-nat.c: Ditto.
971 * ia64-linux-tdep.c: Ditto.
972 * ia64-tdep.c: Ditto.
983 * iq2000-tdep.c: Ditto.
984 * irix5-nat.c: Ditto.
990 * jv-typeprint.c: Ditto.
991 * jv-valprint.c: Ditto.
995 * linux-fork.c: Ditto.
996 * linux-nat.c: Ditto.
997 * linux-thread-db.c: Ditto.
998 * lm32-tdep.c: Ditto.
1000 2011-01-08 Michael Snyder <msnyder@vmware.com>
1002 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1004 * m2-typeprint.c: Ditto.
1005 * m2-valprint.c: Ditto.
1006 * m32c-tdep.c: Ditto.
1007 * m32r-linux-nat.c: Ditto.
1008 * m32r-rom.c: Ditto.
1009 * m32r-tdep.c: Ditto.
1010 * m32r-tdep.h: Ditto.
1011 * m68hc11-tdep.c: Ditto.
1012 * m58klinux-nat.c: Ditto.
1013 * m68k-tdep.c: Ditto.
1014 * m88k-tdep.c: Ditto.
1015 * m88k-tdep.h: Ditto.
1016 * machoread.c: Ditto.
1017 * macrocmd.c: Ditto.
1018 * macroexp.c: Ditto.
1019 * macrotab.c: Ditto.
1022 * mdebugread.c: Ditto.
1023 * mdebugread.h: Ditto.
1026 * memory-map.h: Ditto.
1027 * mep-tdep.c: Ditto.
1028 * microblaze-rom.c: Ditto.
1029 * microblaze-tdep.c: Ditto.
1031 * mips-irix-tdep.c: Ditto.
1032 * mips-linux-nat.c: Ditto.
1033 * mips-linux-tdep.c: Ditto.
1034 * mips-linux-tdep.h: Ditto.
1035 * mipsnbsd-nat.c: Ditto.
1036 * mipsnbsd-tdep.c: Ditto.
1037 * mipsread.c: Ditto.
1038 * mips-tdep.c: Ditto.
1039 * mips-tdep.h: Ditto.
1040 * mn10300-linux-tdep.c: Ditto.
1041 * mn10300-tdep.c: Ditto.
1042 * mn10300-tdep.h: Ditto.
1045 * moxie-tdep.c: Ditto.
1046 * moxie-tdep.h: Ditto.
1049 2011-01-08 Mike Frysinger <vapier@gentoo.org>
1051 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1053 2011-01-08 Robert Millan <rmh@gnu.org>
1055 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1057 2011-01-07 Michael Snyder <msnyder@vmware.com>
1059 * charset.c (_initialize_charset): Fix typo in string.
1061 2011-01-07 Michael Snyder <msnyder@vmware.com>
1063 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1065 * tui/tui-layout.c (tui_set_layout_for_display_command):
1066 Split line so that operator goes to beginning of line.
1067 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1068 assignment out of if statement.
1070 2011-01-07 Michael Snyder <msnyder@vmware.com>
1072 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1073 * ada-lang.h: Ditto.
1074 * ada-tasks.c: Ditto.
1075 * ada-valprint.c: Ditto.
1076 * aix-threads.c: Ditto.
1077 * alpha-linux-nat.c: Ditto.
1078 * alpha-linux-tdep.c: Ditto.
1079 * alpha-mdebug-tdep.c: Ditto.
1080 * alpha-nat.c: Ditto.
1081 * alpha-osf1-tdep.c: Ditto.
1082 * alpha-tdep.c: Ditto.
1083 * alphabsd-nat.c: Ditto.
1084 * alphabsd-tdep.c: Ditto.
1085 * amd64-darwin-tdep.c: Ditto.
1086 * amd64-linux-nat.c: Ditto.
1087 * amd64-linux-tdep.c: Ditto.
1088 * amd64-sol2-tdep.c: Ditto.
1089 * amd64-tdep.c: Ditto.
1090 * amd64-fbsd-tdep.c: Ditto.
1091 * amd64-nbsd-tdep.c: Ditto.
1092 * amd64-obsd-tdep.c: Ditto.
1093 * amd64-linux-nat.c: Ditto.
1094 * amd64-linux-tdep.c: Ditto.
1095 * arm-tdep.c: Ditto.
1096 * arm-tdep.h: Ditto.
1097 * armnbsd-nat.c: Ditto.
1098 * avr-tdep.c: Ditto.
1099 * bfin-tdep.c: Ditto.
1101 * c-typeprintc: Ditto.
1102 * c-valprint.c: Ditto.
1103 * coff-pe-read.h: Ditto.
1104 * coffreead.c: Ditto.
1105 * cris-tdep.c: Ditto.
1107 * darwin-nat-info.c: Ditto.
1108 * darwin-nat.c: Ditto.
1109 * dbug-rom.c: Ditto.
1113 * dec-thread.c: Ditto.
1115 * demangle.c: Ditto.
1116 * dicos-tdep.c: Ditto.
1117 * dictionary.c: Ditto.
1118 * dictionary.h: Ditto.
1119 * dink32-rom.c: Ditto.
1121 * doublest.c: Ditto.
1123 * dummy-frame.c: Ditto.
1124 * dwarf2-frame.c: Ditto.
1125 * dwarf2expr.c: Ditto.
1126 * dwarf2loc.c: Ditto.
1127 * dwarf2read.c: Ditto.
1131 * event-top.h: Ditto.
1132 * exceptions.c: Ditto.
1133 * exceptions.h: Ditto.
1135 * expprint.c: Ditto.
1136 * expression.h: Ditto.
1140 * f-typeprint.c: Ditto.
1141 * f-valprint.c: Ditto.
1142 * fbsd-nat.c: Ditto.
1144 * fork-child.c: Ditto.
1147 * frv-linux-tdep.c: Ditto.
1148 * frv-tdep.c: Ditto.
1150 * gdb-stabs.h: Ditto.
1151 * gdb_assert.h: Ditto.
1152 * gdb_string.h: Ditto.
1153 * gdb_thread_db.h: Ditto.
1154 * gdb_wait.h: Ditto.
1155 * gdbarch.sh: Ditto.
1157 * gdbthread.h: Ditto.
1158 * gdbtypes.c: Ditto.
1159 * gdbtypes.h: Ditto.
1162 * gnu-v2-abi.c: Ditto.
1163 * gnu-v3-abi.c: Ditto.
1164 * go32-nat.c: Ditto.
1165 * gdbarch.c: Regenerate.
1166 * gdbarch.h: Regenerate.
1168 2011-01-07 Michael Snyder <msnyder@vmware.com>
1170 * ax-gdb.c: Adjust some long output strings.
1171 * breakpoint.c: Ditto.
1176 * linux-nat.c: Ditto.
1177 * solib-pa64.c: Ditto.
1178 * solib-som.c: Ditto.
1180 2011-01-06 Tom Tromey <tromey@redhat.com>
1184 * python/python.c (GdbMethods): Add "newest_frame" method.
1185 * python/python-internal.h (gdbpy_newest_frame): Declare.
1186 * python/py-frame.c (gdbpy_newest_frame): New function.
1188 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1190 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1191 * jit.c (jit_debug): New variable.
1192 (show_jit_debug): New function.
1193 (struct target_buffer): Use ULONGEST.
1194 (bfd_open_from_target_memory): Likewise.
1195 (jit_register_code, jit_inferior_init): Add debug output.
1196 (_initialize_jit): Register "debug jit" command.
1198 2011-01-06 Tom Tromey <tromey@redhat.com>
1200 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1201 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1204 2011-01-06 Tom Tromey <tromey@redhat.com>
1206 * python/py-frame.c (frapy_block): Use get_frame_block.
1208 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1210 Do not stop on SIGPRIO signals by default
1211 * infrun.c (_initialize_infrun): Unset signal_stop and
1212 signal_print for TARGET_SIGNAL_PRIO.
1214 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1216 * ada-tasks.c: Fix style violation in comment.
1218 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1220 * linespec.c (decode_compound, find_method): Remove trailing \n
1221 at end of error string.
1222 * solib-irix.c (irix_current_sos): Likewise.
1223 * varobj.c (uninstall_variable): Likewise.
1225 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1227 * copyright.py: New script.
1228 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1229 Launch emacs without exec'ing. Call copyright.py afterwards.
1231 2011-01-05 Michael Snyder <msnyder@vmware.com>
1233 * addrmap.c: Shorten lines of >= 80 columns.
1234 * arch-utils.c: Ditto.
1235 * arch-utils.h: Ditto.
1237 * ax-general.c: Ditto.
1239 * blockframe.c: Ditto.
1240 * breakpoint.c: Ditto.
1241 * buildsym.c: Ditto.
1243 * c-typeprint.c: Ditto.
1245 * coffread.c: Ditto.
1249 * cp-namespace.c: Ditto.
1250 * cp-support.c: Ditto.
1251 * dbug-rom.c: Ditto.
1256 * dictionary.c: Ditto.
1258 * doublest.c: Ditto.
1259 * dwarf2-frame.c: Ditto.
1260 * dwarf2expr.c: Ditto.
1261 * dwarf2loc.c: Ditto.
1262 * dwarf2read.c: Ditto.
1265 * event-loop.c: Ditto.
1266 * event-loop.h: Ditto.
1267 * exceptions.h: Ditto.
1269 * expprint.c: Ditto.
1270 * expression.h: Ditto.
1272 * f-valprint.c: Ditto.
1274 * frame-base.c: Ditto.
1275 * frame-unwind.c: Ditto.
1276 * frame-unwind.h: Ditto.
1280 * gdb-stabs.h: Ditto.
1281 * gdb_assert.h: Ditto.
1282 * gdb_dirent.h: Ditto.
1283 * gdb_obstack.h: Ditto.
1285 * gdbtypes.c: Ditto.
1286 * gdbtypes.h: Ditto.
1287 * inf-ttrace.c: Ditto.
1292 * inline-frame.h: Ditto.
1293 * language.c: Ditto.
1294 * language.h: Ditto.
1295 * libunwind-frame.c: Ditto.
1296 * libunwind-frame.h: Ditto.
1297 * linespec.c: Ditto.
1298 * linux-nat.c: Ditto.
1299 * linux-nat.h: Ditto.
1300 * linux-thread-db.c: Ditto.
1301 * machoread.c: Ditto.
1302 * macroexp.c: Ditto.
1303 * macrotab.c: Ditto.
1306 * mdebugread.c: Ditto.
1311 * objfiles.c: Ditto.
1312 * objfiles.h: Ditto.
1314 * p-typeprint.c: Ditto.
1315 * p-valprint.c: Ditto.
1317 * printcmd.c: Ditto.
1318 * proc-events.c: Ditto.
1320 * progspace.c: Ditto.
1321 * progspace.h: Ditto.
1322 * psympriv.h: Ditto.
1325 * regcache.c: Ditto.
1326 * regcache.h: Ditto.
1327 * remote-fileio.c: Ditto.
1329 * ser-mingw.c: Ditto.
1331 * ser-unix.c: Ditto.
1334 * solib-frv.c: Ditto.
1335 * solib-irix.c: Ditto.
1336 * solib-osf.c: Ditto.
1337 * solib-pa64.c: Ditto.
1338 * solib-som.c: Ditto.
1339 * solib-sunos.c: Ditto.
1340 * solib-svr4.c: Ditto.
1341 * solib-target.c: Ditto.
1345 * stabsread.c: Ditto.
1346 * stabsread.c: Ditto.
1349 * symfile-mem.c: Ditto.
1355 * target-descriptions.c: Ditto.
1356 * target-memory.c: Ditto.
1359 * terminal.h: Ditto.
1362 * tracepoint.c: Ditto.
1363 * tracepoint.h: Ditto.
1367 * user-regs.c: Ditto.
1368 * user-regs.h: Ditto.
1370 * valarith.c: Ditto.
1372 * valprint.c: Ditto.
1373 * valprint.h: Ditto.
1378 * xcoffread.c: Ditto.
1379 * xcoffsolib.c: Ditto.
1380 * xcoffsolib.h: Ditto.
1381 * xml-syscall.c: Ditto.
1382 * xml-tdesc.c: Ditto.
1384 2011-01-05 Michael Snyder <msnyder@vmware.com>
1386 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1387 * cli/cli-decode.c: Ditto.
1388 * cli/cli-dump.c: Ditto.
1389 * cli/cli-logging.c: Ditto.
1390 * cli/cli-script.c: Ditto.
1391 * cli/cli-setshow.c: Ditto.
1392 * common/signals.c: Ditto.
1393 * mi/mi-cmd-break.c: Ditto.
1394 * mi/mi-cmd-disas.c: Ditto.
1395 * mi/mi-cmd-stack.c: Ditto.
1396 * mi/mi-cmd-var.c: Ditto.
1397 * mi/mi-cmds.c: Ditto.
1398 * mi/mi-common.h: Ditto.
1399 * mi/mi-console.c: Ditto.
1400 * mi/mi-interp.c: Ditto.
1401 * mi/mi-main.c: Ditto.
1402 * osf-share/cma_attr.c: Ditto.
1403 * osf-share/cma_deb_core.h: Ditto.
1404 * osf-share/cma_debug_client.h: Ditto.
1405 * osf-share/cma_handle.h: Ditto.
1406 * osf-share/cma_mutex.h: Ditto.
1407 * osf-share/cma_stack_int.h: Ditto.
1408 * osf-share/cma_tcb_defs.h: Ditto.
1409 * python/py-auto-load.c: Ditto.
1410 * python/py-breakpoint.c: Ditto.
1411 * python/py-cmd.c: Ditto.
1412 * python/py-frame.c: Ditto.
1413 * python/py-objfile.c: Ditto.
1414 * python/py-param.c: Ditto.
1415 * python/py-progspace.c: Ditto.
1416 * python/py-symbol.c: Ditto.
1417 * python/py-value.c: Ditto.
1418 * python/python-internal.h: Ditto.
1419 * python/python.c: Ditto.
1420 * tui/tui-data.c: Ditto.
1421 * tui/tui-disasm.c: Ditto.
1422 * tui/tui-hooks.c: Ditto.
1423 * tui/tui-io.c: Ditto.
1424 * tui/tui-layout.c: Ditto.
1425 * tui/tui-regs.c: Ditto.
1426 * tui/tui-source.c: Ditto.
1427 * tui/tui-stack.c: Ditto.
1428 * tui/tui-win.c: Ditto.
1429 * tui/tui-windata.c: Ditto.
1430 * tui/tui-winsource.c: Ditto.
1432 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1434 * configure.ac, gdb.1: Copyright year update.
1436 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1438 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1439 this_pc_in_block, morestack_msym and morestack_name. Check for
1440 "__morestack" minimal symbol there.
1442 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1444 * symfile.c (find_sym_fns): Add call to dont_repeat.
1446 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1448 Copyright year update in most files (performed by copyright.sh).
1450 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1452 * top.c (print_gdb_version): Update copyright year in version output.
1454 For older changes see ChangeLog-2010.
1460 version-control: never