1 2011-01-31 Yao Qi <yao@codesourcery.com>
3 * arm-linux-nat.c: Update calls to regcache_register_status
4 instead of regcache_valid_p.
5 * aix-thread.c: Likewise.
6 * i386gnu-nat.c: Likewise.
8 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
12 touching TYPE_FIELD_ARTIFICIAL.
14 2011-01-28 Richard Earnshaw <rearnsha@arm.com>
16 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
19 2011-01-28 Pedro Alves <pedro@codesourcery.com>
21 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
22 selected, don't try iterating over the traceframe's blocks.
23 (tfile_has_stack): If there's no traceframe selected, then there's
25 (tfile_has_registers): If there's no traceframe selected, then
28 2011-01-28 Pedro Alves <pedro@codesourcery.com>
30 * target.c (memory_xfer_partial): No need to restore shadows if we
31 haven't read anything.
33 2011-01-28 Pedro Alves <pedro@codesourcery.com>
35 * mips-tdep.c (mips_print_register): Use get_frame_register_value
36 and val_print_scalar_formatted.
38 2011-01-27 Pedro Alves <pedro@codesourcery.com>
40 * tracepoint.c (tfile_read): New.
42 (tfile_get_traceframe_address): Use it.
43 (tfile_trace_find): Use it.
44 (walk_blocks_callback_func): New typedef.
45 (match_blocktype): New function.
46 (traceframe_walk_blocks): New function.
47 (traceframe_find_block_type): New function.
48 (tfile_fetch_registers, tfile_xfer_partial)
49 (tfile_get_trace_state_variable_value): Use
50 traceframe_find_block_type and tfile_read.
52 2011-01-26 Kevin Buettner <kevinb@redhat.com>
54 * remote-mips.c: Add internationalization mark ups. Remove
55 trailing \n from already marked up strings.
57 2011-01-26 Tom Tromey <tromey@redhat.com>
59 * python/py-prettyprint.c (print_string_repr): Clear
60 'addressprint' option when calling val_print_string.
61 (print_children): Handle Val_pretty_default. Clear 'addressprint'
62 option when calling val_print_string.
64 2011-01-26 Tom Tromey <tromey@redhat.com>
66 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
68 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
70 (gdb_py_longest, gdb_py_ulongest): New typedefs.
71 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
72 (gdb_py_long_as_ulongest): New defines.
73 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
74 (gdb_py_int_as_long): Declare.
75 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
76 GDB_PY_LL_ARG, gdb_py_object_from_longest.
77 (valpy_long): Add comment.
78 * python/py-utils.c (get_addr_from_python): Use
79 gdb_py_long_as_ulongest. Handle overflow properly.
80 (gdb_py_object_from_longest): New function.
81 (gdb_py_object_from_ulongest): Likewise.
82 (gdb_py_int_as_long): Likewise.
83 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
84 * python/py-symtab.c (salpy_get_pc): Use
85 gdb_py_long_from_ulongest.
86 (salpy_get_line): Use PyInt_FromLong.
87 * python/py-param.c (set_parameter_value): Use
89 * python/py-lazy-string.c (stpy_get_address): Use
90 gdb_py_long_from_ulongest.
91 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
92 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
93 * python/py-breakpoint.c (bppy_set_thread): Use
95 (bppy_set_task): Likewise.
96 (bppy_set_ignore_count): Likewise.
97 (bppy_set_hit_count): Likewise.
98 * python/py-block.c (blpy_get_start): Use
99 gdb_py_object_from_ulongest.
100 (blpy_get_end): Likewise.
101 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
103 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
106 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
107 * gdb/solib.c (solib_read_symbols): Check for addr_low in
108 equality test for objfile, initialize addr_low if needed.
110 2011-01-25 Pedro Alves <pedro@codesourcery.com>
112 * tui/tui-regs.c (tui_register_format): Remove dead code.
114 2011-01-25 Pedro Alves <pedro@codesourcery.com>
116 * printcmd.c (print_formatted): Use val_print_scalar_formatted
117 instead of print_scalar_formatted.
118 (print_scalar_formatted): Don't handle 's' format strings here,
119 and add an assertion that we never see such format here.
120 * valprint.h (val_print_scalar_formatted): Declare.
121 * valprint.c (val_print_scalar_formatted): New.
122 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
123 instead of print_scalar_formatted.
124 * jv-valprint.c (java_val_print): Ditto.
125 * p-valprint.c (pascal_val_print): Ditto.
126 * ada-valprint.c (ada_val_print_1): Ditto.
127 * f-valprint.c (f_val_print): Ditto.
128 * infcmd.c (registers_info): Ditto.
129 * m2-valprint.c (m2_val_print): Ditto.
131 2011-01-25 Pedro Alves <pedro@codesourcery.com>
133 * m2-valprint.c (print_unbounded_array): Pass
134 value_contents_for_printing rather than value_contents, to
135 m2_print_array_contents. Also pass in the value.
137 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
139 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
140 (save_gdb_index_command): Switch to .gdb_index version 4.
142 2011-01-25 Pedro Alves <pedro@codesourcery.com>
144 * mi/mi-main.c (get_register): Use get_frame_register_value rather
145 than frame_register, and always pass a valid value to val_print.
147 2011-01-25 Pedro Alves <pedro@codesourcery.com>
149 Centralize printing "<optimized out>".
151 * valprint.h (val_print_optimized_out): Declare.
152 * cp-valprint.c (cp_print_value_fields): Use
153 val_print_optimized_out.
154 * jv-valprint.c (java_print_value_fields): Ditto.
155 * p-valprint.c (pascal_object_print_value_fields): Ditto.
156 * printcmd.c (print_formatted): Ditto.
157 * valprint.c (valprint_check_validity): Ditto.
158 (value_check_printable): Ditto.
159 (val_print_optimized_out): New.
161 2011-01-25 Pedro Alves <pedro@codesourcery.com>
163 * infcmd.c (default_print_registers_info): Allocate values so to
164 never pass a NULL value to val_print.
166 2011-01-25 Pedro Alves <pedro@codesourcery.com>
168 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
169 boolean. Make sure to always pass a value that matches the
170 contents buffer to callees. Preserve `address' for following
172 * value.c (value_contents_for_printing_const): New.
173 (value_address): Constify value argument.
174 * value.h (value_contents_for_printing_const): Declare.
175 (value_address): Constify value argument.
177 2011-01-25 Pedro Alves <pedro@codesourcery.com>
179 * regcache.c (struct regcache_descr): Rename
180 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
181 and sizeof_cooked_register_valid_p to
182 sizeof_cooked_register_status.
183 (init_regcache_descr): Adjust.
184 (struct regcache): Rename register_valid_p field to
186 (regcache_xmalloc_1, regcache_xfree, regcache_save)
187 (do_cooked_read): Adjust.
188 (regcache_valid_p): Rename to ...
189 (regcache_register_status): ... this. Adjust.
190 (regcache_invalidate): Adjust.
191 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
193 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
194 as unavailable, not valid.
195 (regcache_dump): Adjust.
196 * regcache.h (enum register_status): New.
197 (regcache_register_status): Declare.
198 (regcache_invalidate): Delete declaration.
199 * corelow.c (get_core_registers): Adjust.
200 * tracepoint.c (tfile_fetch_registers): Adjust.
201 * trad-frame.c (REG_VALUE): Rename to ...
202 (TF_REG_VALUE): ... this.
203 (REG_UNKNOWN): Rename to ...
204 (TF_REG_UNKNOWN): ... this.
205 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
206 * mi/mi-main.c (register_changed_p): Adjust.
208 2011-01-25 Pedro Alves <pedro@codesourcery.com>
210 * regcache.c (struct regcache_descr): Remove outdated comment.
211 (init_regcache_descr): Remove sizeof_raw_register_valid_p
213 (regcache_xmalloc): Rename to ...
214 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
215 Allocate the regcache type accordingly.
216 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
217 (regcache_xfree): Asser the source is also readonly. Copy sizeof
218 cooked registers, not raw.
219 (regcache_dup_no_passthrough): Delete.
220 (get_thread_arch_regcache): Use regcache_xmalloc_1.
221 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
222 mention obsolete write_register_bytes.
223 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
225 2011-01-25 Pedro Alves <pedro@codesourcery.com>
227 Stop remote_read_bytes from handling partial reads itself.
229 * remote-fileio.c: Include target.h.
230 (remote_fileio_write_bytes): Delete.
231 (remote_fileio_func_open, remote_fileio_func_write)
232 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
234 (remote_fileio_func_stat): Use target_read_memory and
236 (remote_fileio_func_gettimeofday): Use target_write_memory.
237 (remote_fileio_func_system): Use target_read_memory.
238 * remote.c (remote_write_bytes): Make it static.
239 (remote_read_bytes): Don't handle partial reads here.
240 * remote.h (remote_read_bytes): Delete declaration.
242 2011-01-25 Pedro Alves <pedro@codesourcery.com>
244 Simplify XML parsing a bit.
246 * xml-support.h (gdb_xml_parse_quick): Declare.
247 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
248 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
250 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
251 gdb_xml_create_parser_and_cleanup_1.
252 (gdb_xml_parse_quick): New.
253 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
254 * osdata.c (osdata_parse): Ditto.
255 * remote.c (remote_threads_info): Ditto.
256 * solib-target.c (solib_target_parse_libraries): Ditto.
257 * xml-syscall.c (syscall_parse_xml): Ditto.
258 * xml-tdesc.c (tdesc_parse_xml): Ditto.
260 2011-01-24 Kevin Buettner <kevinb@redhat.com>
262 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
263 with remote-mips.o added to gdb_target_obs.
264 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
266 2011-01-24 Pedro Alves <pedro@codesourcery.com>
268 * ada-valprint.c (val_print_packed_array_elements): Pass the
269 correct struct value to val_print.
270 (ada_val_print_1): Ditto.
272 2011-01-24 Pedro Alves <pedro@codesourcery.com>
274 Don't lose embedded_offset in printing routines throughout.
276 * valprint.h (val_print_array_elements): Change prototype.
277 * valprint.c (val_print_array_elements): Add `embedded_offset'
278 parameter, and adjust to pass it down to val_print, while passing
279 `valaddr' or `address' unmodified. Take embedded_offset into
280 account when checking repetitions.
281 * c-valprint.c (c_val_print): Pass embedded_offset to
282 val_print_array_elements instead of adjusting `valaddr' and
284 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
285 embedded_offset to val_print_array_elements instead of adjusting
287 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
288 * p-valprint.c (pascal_val_print): Pass embedded_offset to
289 val_print_array_elements and pascal_object_print_value_fields
290 instead of adjusting `valaddr'.
291 (pascal_object_print_value_fields): Add `offset' parameter, and
293 (pascal_object_print_value): Add `offset' parameter, and adjust to
295 (pascal_object_print_static_field): Use
296 value_contents_for_printing/value_embedded_offset, rather than
298 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
299 parameter, and adjust to use it. Use
300 value_contents_for_printing/value_embedded_offset, rather than
302 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
303 (ada_val_print_array): Add `offset' parameter, and adjust to use
305 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
306 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
307 Instead work with offsets. Use
308 value_contents_for_printing/value_embedded_offset, rather than
309 value_contents. Change `defer_val_int' local type to CORE_ADDR,
310 and use value_from_pointer to extract a target pointer, rather
311 than value_from_longest.
312 (print_variant_part): Add `offset' parameter. Replace
313 `outer_valaddr' parameter by a new `outer_offset' parameter.
314 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
315 (ada_value_print): Use
316 value_contents_for_printing/value_embedded_offset, rather than
318 (print_record): Add `offset' parameter, and adjust to pass it
320 (print_field_values): Add `offset' parameter. Replace
321 `outer_valaddr' parameter by a new `outer_offset' parameter.
322 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
323 Use value_contents_for_printing/value_embedded_offset, rather than
325 * d-valprint.c (dynamic_array_type): Use
326 value_contents_for_printing/value_embedded_offset, rather than
328 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
329 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
330 (java_print_value_fields): Take `offset' into account. Don't
331 re-adjust `valaddr'. Instead pass down adjusted offsets.
332 (java_val_print): Take `embedded_offset' into account. Pass it to
333 java_print_value_fields.
334 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
335 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
336 down adjusted offsets.
337 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
338 (f_val_print): Take `embedded_offset' into account.
340 2011-01-21 Joel Brobecker <brobecker@adacore.com>
342 * inflow.c: Include "gdbcmd.h".
343 (interactive_mode): New static global, moved here from top.c.
344 (show_interactive_mode): New function, moved here from top.c.
345 use gdb_has_a_terminal instead of input_from_terminal_p to
346 determine the current mode.
347 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
349 (_initialize_inflow): Add the "set/show interactive-mode"
350 commands. Moved here from top.c, after having adjusted slightly
352 * top.c (interactive_mode, show_interactive_mode): Delete, moved
354 (input_from_terminal_p): Remove handling of "interactive-mode"
355 setting, moved to infow.c.
356 (init_main): Remove creation of the "set/show interactive-mode"
357 commands, moved to inflow.c.
359 2011-01-19 Joel Brobecker <brobecker@adacore.com>
361 * NEWS: Add entry for native ia64-hpux support.
363 2011-01-19 Tom Tromey <tromey@redhat.com>
366 * thread.c (free_thread): Free 'name'.
367 (print_thread_info): Emit thread name. Change CLI output.
368 (thread_name_command): New function.
369 (do_captured_thread_select): Emit newline.
370 (_initialize_thread): Register 'thread name' command.
371 * target.h (struct target_ops) <to_thread_name>: New field.
372 (target_thread_name): New macro.
373 * target.c (update_current_target): Handle to_thread_name.
374 * python/py-infthread.c (thpy_get_name): New function.
375 (thpy_set_name): Likewise.
376 (thread_object_getset): Add "name".
377 * linux-nat.c (linux_nat_thread_name): New function.
378 (linux_nat_add_target): Set to_thread_name.
379 * gdbthread.h (struct thread_info) <name>: New field.
381 2011-01-18 Joel Brobecker <brobecker@adacore.com>
383 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
384 (ada_val_print_1): Likewise.
386 2011-01-18 Joel Brobecker <brobecker@adacore.com>
388 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
389 upper limit address is not greater than the function end address
390 when the upper limit could not be computed using the debugging
393 2011-01-17 Tom Tromey <tromey@redhat.com>
395 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
397 * utils.c: Include gdb_regex.h.
398 (do_regfree_cleanup): New function.
399 (make_regfree_cleanup): Likewise.
400 (get_regcomp_error): Likewise.
401 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
403 2011-01-17 Tom Tromey <tromey@redhat.com>
405 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
408 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
410 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
411 for internal variables.
412 (last_was_structop): New static variable.
413 (COMPLETE): New token.
414 (field_exp): New rule to group all '.' suffix handling.
415 Add mark_struct_expression calls when approriate to be able
416 to correctly find fields for completion.
417 (yylex): Adapt to handle field completion and set INTVAR when
420 2011-01-14 Yao Qi <yao@codesourcery.com>
422 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
423 save_reggroup, restore_reggroup and all_reggroup.
425 2011-01-14 Joel Brobecker <brobecker@adacore.com>
427 * ada-valprint. (ada_printchar): Use the correct type length
428 in call to ada_emit_char.
429 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
431 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
433 * solib-som.h (hpux_major_release): Declare variable here.
434 * solib-som.c: Remove <sys/utsname.h> header.
435 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
436 (hpux_major_release): Make global, change default value to
437 DEFAULT_HPUX_MAJOR_RELEASE.
438 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
439 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
440 Add "solib-som.h" header.
441 (set_hpux_major_release): New function.
442 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
444 2011-01-14 Mike Frysinger <vapier@gentoo.org>
446 * configure.tgt (*-*-uclinux*): Match more Linux os targets
448 2011-01-14 Joel Brobecker <brobecker@adacore.com>
450 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
451 new-line at end of warning message.
452 (ia64_hpux_store_register): Remove trailing new-line at end of
454 * ia64-hpux-tdep.c: Rephrase comment.
455 * solib-ia64-hpux.c (struct dld_info): Change type of field
456 dld_flags from "long long" to ULONGEST.
458 2011-01-14 Pedro Alves <pedro@codesourcery.com>
460 * target.h (deprecated_child_ops): Delete declaration.
461 * target.c (deprecated_child_ops): Delete definition.
463 2011-01-14 Pedro Alves <pedro@codesourcery.com>
465 * Makefile.in (hpux-thread.o): Delete rule.
466 * configure.ac: Don't check for HPUX DCE threads support.
467 * configure, config.in: Regenerate.
468 * hppa-hpux-nat.c (child_suppress_run): Delete.
469 (hppa_hpux_child_can_run): Delete.
470 (_initialize_hppa_hpux_nat): Don't override to_can_run.
471 * hpux-thread.c: Delete.
473 2011-01-13 Joel Brobecker <brobecker@adacore.com>
475 * hpux-thread.c (hpux_pid_to_str): Delete.
477 2011-01-13 Joel Brobecker <brobecker@adacore.com>
479 * ada-valprint.c (ada_emit_char): Remove strange code.
480 Check that c is <= UCHAR_MAX before passing it to isascii.
481 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
483 2011-01-13 Joel Brobecker <brobecker@adacore.com>
485 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
486 to the case where instream is stdin.
488 2011-01-13 Joel Brobecker <brobecker@adacore.com>
490 * ia64-tdep.h (struct regcache): Forward declare.
491 (struct ia64_infcall_ops): New struct type.
492 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
494 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
495 Renames ia64_find_global_pointer.
496 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
497 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
498 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
500 (ia64_infcall_ops): New static global constant.
501 (ia64_gdbarch_init): Set tdep->infcall_ops.
502 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
503 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
504 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
505 (ia64_hpux_dummy_code): New static global constant.
506 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
507 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
508 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
510 (ia64_hpux_infcall_ops): New static global constant.
511 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
512 for inferior function calls to work properly on ia64-hpux.
514 2011-01-13 Joel Brobecker <brobecker@adacore.com>
516 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
517 * ia64-tdep.h (struct frame_info): forward declaration.
518 (struct gdbarch_tdep): Add field size_of_register_frame.
519 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
520 to determine the size of the register frame.
521 (ia64_size_of_register_frame): New function.
522 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
523 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
524 (IA64_HPUX_UREG_REASON): New macro.
525 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
527 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
528 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
529 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
532 2011-01-13 Joel Brobecker <brobecker@adacore.com>
534 Add support for ia64-hpux.
535 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
536 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
538 * configure.host: Add handling for ia64-hpux hosts. Add associated
540 * configure.tgt: Add handling for ia64-hpux targets.
541 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
542 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
543 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
545 2011-01-13 Joel Brobecker <brobecker@adacore.com>
547 [ttrace] Compute thread list immediately after attach.
548 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
550 (inf_ttrace_attach): Use it.
552 2011-01-13 Joel Brobecker <brobecker@adacore.com>
554 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
555 if we could not determine the frame's function address. Instead,
556 use the frame's PC, and then continue.
558 2011-01-13 Joel Brobecker <brobecker@adacore.com>
560 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
563 2011-01-13 Joel Brobecker <brobecker@adacore.com>
565 * ia64-tdep.c (ia64_struct_type_p): New function.
566 (ia64_extract_return_value): Handle integral values that are
567 less than 8 bytes long.
568 (ia64_push_dummy_call): Likewise.
570 2011-01-13 Joel Brobecker <brobecker@adacore.com>
572 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
573 floatformat_ia64_ext.
574 (floatformat_ia64_ext_big): New static const.
575 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
577 2011-01-12 Tom Tromey <tromey@redhat.com>
579 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
581 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
582 (mi_cmd_thread_list_ids): Likewise.
583 (mi_cmd_data_list_changed_registers): Likewise.
584 (mi_cmd_data_list_register_values): Likewise.
585 (mi_cmd_data_write_register_values): Likewise.
586 (mi_cmd_data_evaluate_expression): Likewise.
587 (mi_cmd_data_read_memory): Likewise.
588 (mi_cmd_data_read_memory_bytes): Likewise.
589 (mi_cmd_data_write_memory): Likewise.
590 (mi_cmd_enable_timings): Likewise.
591 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
592 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
593 (mi_cmd_var_delete): Likewise.
594 (mi_cmd_var_set_format): Likewise.
595 (mi_cmd_var_show_format): Likewise.
596 (mi_cmd_var_info_num_children): Likewise.
597 (mi_cmd_var_list_children): Likewise.
598 (mi_cmd_var_info_type): Likewise.
599 (mi_cmd_var_info_expression): Likewise.
600 (mi_cmd_var_show_attributes): Likewise.
601 (mi_cmd_var_assign): Likewise.
602 (mi_cmd_var_update): Likewise.
603 (mi_cmd_enable_pretty_printing): Likewise.
604 (mi_cmd_var_set_update_range): Likewise.
605 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
607 (mi_cmd_target_file_put): Likewise.
608 (mi_cmd_target_file_delete): Likewise.
609 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
611 (mi_cmd_stack_info_depth): Likewise.
612 (mi_cmd_stack_list_locals): Likewise.
613 (mi_cmd_stack_list_args): Likewise.
614 (mi_cmd_stack_select_frame): Likewise.
615 (mi_cmd_stack_select_frame): Likewise.
616 (mi_cmd_stack_info_frame): Likewise.
617 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
619 (mi_cmd_file_list_exec_source_files): Likewise.
620 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
621 (mi_cmd_env_cd): Likewise.
622 (mi_cmd_env_path): Likewise.
623 (mi_cmd_env_dir): Likewise.
624 (mi_cmd_inferior_tty_show): Likewise.
625 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
626 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
627 (mi_cmd_break_watch): Likewise.
629 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
631 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
632 (ppc_linux_insert_hw_breakpoint): Likewise.
633 (ppc_linux_remove_hw_breakpoint): Likewise.
634 (ppc_linux_insert_watchpoint): Likewise.
636 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
637 Jan Kratochvil <jan.kratochvil@redhat.com>
639 PR fortran/11104 and DWARF unbound arrays detection.
640 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
641 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
642 unspecified upper bound.
643 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
644 variables array_size_array, tmp_type and offset_item. New variable
645 array. Remove call to f77_get_upperbound. New variables array_type
646 and index. Call value_subscripted_rvalue for each dimenasion. Remove
647 the final call to deprecated_set_value_type.
649 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
651 Make value allocations more lazy.
652 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
653 instead of allocate_value and set_value_lazy when possible.
654 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
655 instead of allocate_value and set_value_lazy.
656 * findvar.c (value_of_register_lazy): Likewise.
657 (read_var_value): Remove V preallocation, call just check_typedef in
658 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
659 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
660 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
661 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
662 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
663 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
664 the end, remove set_value_lazy there.
665 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
666 instead of allocate_value and set_value_lazy when possible.
667 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
668 * value.c (allocate_computed_value): Use allocate_value_lazy instead
669 of allocate_value and set_value_lazy.
670 (value_from_contents_and_address): Use allocate_value_lazy instead of
671 allocate_value and set_value_lazy when possible.
673 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
675 * disasm.c (dump_insns): Support dumping opcodes for MI.
676 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
677 dumping of instruction opcodes.
679 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
681 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
684 2011-01-11 Tom Tromey <tromey@redhat.com>
686 * thread.c (do_captured_thread_select): Emit newline before
689 2011-01-11 Michael Snyder <msnyder@vmware.com>
691 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
692 * score-tdep.c: Ditto.
693 * score-tdep.h: Ditto.
698 * ser-mingw.c: Ditto.
702 * sh64-tdep.c: Ditto.
703 * shnbsd-nat.c: Ditto.
707 * solib-darwin.c: Ditto.
708 * solib-frv.c: Ditto.
710 * solib-irix.c: Ditto.
711 * solib-osf.c: Ditto.
712 * solib-pa64.c: Ditto.
713 * solib-som.c: Ditto.
714 * solib-spu.c: Ditto.
715 * solib-sunos.c: Ditto.
716 * solib-svr4.c: Ditto.
718 * sol-thread.c: Ditto.
722 * sparc64-linux-tdep.c: Ditto.
723 * sparc64-tdep.c: Ditto.
724 * sparc-linux-nat.c: Ditto.
725 * sparc-linux-tdep.c: Ditto.
726 * sparc-sol2-nat.c: Ditto.
727 * sparc-sol2-tdep.c: Ditto.
728 * sparc-tdep.c: Ditto.
729 * sparc-tdep.h: Ditto.
731 * stabsread.c: Ditto.
732 * stabsread.h: Ditto.
740 * target-descriptions.c: Ditto.
741 * target-descriptions.h: Ditto.
743 * target-memory.c: Ditto.
747 * tracepoint.c: Ditto.
748 * tracepoint.h: Ditto.
749 * trad-frame.h: Ditto.
750 * typeprint.c: Ditto.
752 2011-01-11 Michael Snyder <msnyder@vmware.com>
754 * ui-file.c: Comment cleanup, mostly periods and spaces.
759 * v850-tdep.c: Ditto.
772 * windows-nat.c: Ditto.
773 * windows-tdep.c: Ditto.
774 * xcoffread.c: Ditto.
775 * xcoffsolib.c: Ditto.
776 * xml-support.c: Ditto.
777 * xstormy16-tdep.c: Ditto.
778 * xtensa-tdep.c: Ditto.
779 * xtensa-tdep.h: Ditto.
781 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
783 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
784 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
786 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
787 Thiago Jung Bauermann <bauerman@br.ibm.com>
789 Implement support for PowerPC BookE ranged watchpoints.
791 (struct breakpoint_ops) <resources_needed>: New method.
792 Initialize to NULL in all existing breakpoint_ops instances.
793 (struct breakpoint) <exact>: New field.
794 (target_exact_watchpoints): Declare external global.
795 * breakpoint.c (target_exact_watchpoints): New global flag.
796 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
797 b->enable_state to bp_enabled before calling
798 hw_watchpoint_used_count.
799 (hw_watchpoint_used_count): Iterate over all bp_locations in a
800 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
802 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
803 if the watchpoint is exact.
804 (resources_needed_watchpoint): New function.
805 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
806 (watch_command_1): Set b->exact if the user asked for an exact
807 watchpoint and one can be set.
808 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
809 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
810 the user asks for an exact watchpoint and one can be set. Return
811 number of needed debug registers to watch the expression.
812 * gdbtypes.c (is_scalar_type): New function, based on
813 valprint.c:scalar_type_p.
814 (is_scalar_type_recursive): New function.
815 * gdbtypes.h (is_scalar_type_recursive): Declare.
816 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
817 handle regions when ranged watchpoints are available.
818 (create_watchpoint_request): New function.
819 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
820 create_watchpoint_request.
821 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
822 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
823 `set powerpc' and `show powerpc' commands.
824 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
825 Mention documentation comment in the target macro.
826 (target_region_ok_for_hw_watchpoint): Document return value.
828 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
830 * breakpoint.c (update_watchpoint): Decide on using a software or
831 hardware watchpoint after the bp_locations are created.
833 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
835 Convert hardware watchpoints to use breakpoint_ops.
836 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
837 <insert_location>: ... this. Return int instead of void.
838 Accept pointer to struct bp_location instead of pointer to
839 struct breakpoint. Adapt all implementations.
840 (breakpoint_ops) <remove>: Rename to...
841 <remove_location>: ... this. Accept pointer to struct bp_location
842 instead of pointer to struct breakpoint. Adapt all implementations.
843 * breakpoint.c (insert_catchpoint): Delete function.
844 (insert_bp_location): Call the watchpoint or catchpoint's
845 breakpoint_ops.insert method.
846 (remove_breakpoint_1): Call the watchpoint or catchpoint's
847 breakpoint_ops.remove method.
848 (insert_watchpoint, remove_watchpoint): New functions.
849 (watchpoint_breakpoint_ops): New structure.
850 (watch_command_1): Initialize the OPS field.
851 * inf-child.c (inf_child_insert_fork_catchpoint)
852 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
853 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
854 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
856 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
857 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
858 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
859 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
860 * target.c (update_current_target): Change default implementation of
861 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
862 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
863 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
864 to_set_syscall_catchpoint to return_one.
865 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
866 (debug_to_insert_exec_catchpoint): Report return value.
867 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
868 (to_insert_exec_catchpoint): Change declaration to return int instead
871 2011-01-11 Michael Snyder <msnyder@vmware.com>
873 * arm-tdep.c: Internationalization.
876 * fork-child.c: Ditto.
877 * nto-procfs.c: Ditto.
878 * ppc-sysv-tdep.c: Ditto.
880 * remote-mips.c: Ditto.
882 * rs6000-nat.c: Ditto.
883 * rs6000-tdep.c: Ditto.
887 * xml-support.c: Ditto.
888 * mi/mi-cmd-break.c: Ditto.
889 * mi/mi-cmd-var.c: Ditto.
890 * mi/mi-interp.c: Ditto.
891 * mi/mi-main.c: Ditto.
893 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
895 * remote-sim.c (gdbsim_store_register): Update API to
896 sim_store_register to check more error conditions.
898 2011-01-10 Michael Snyder <msnyder@vmware.com>
900 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
904 * objc-lang.c: Ditto.
908 * opencl-lang.c: Ditto.
911 * parser-defs.h: Ditto.
914 * posix-hdep.c: Ditto.
915 * ppcbug-rom.c: Ditto.
916 * ppc-linux-nat.c: Ditto.
917 * ppc-linux-tdep.c: Ditto.
918 * ppc-linux-tdep.h: Ditto.
919 * ppcnbsd-tdep.c: Ditto.
920 * ppcobsd-tdep.c: Ditto.
921 * ppcobsd-tdep.h: Ditto.
922 * ppc-sysv-tdep.c: Ditto.
926 * proc-flags.c: Ditto.
928 * proc-utils.h: Ditto.
929 * progspace.h: Ditto.
930 * prologue-value.c: Ditto.
931 * prologue-value.h: Ditto.
934 * p-typeprint.c: Ditto.
935 * p-valprint.c: Ditto.
936 * ravenscar-sparc-thread.c: Ditto.
937 * ravenscar-thread.c: Ditto.
938 * ravenscar-thread.h: Ditto.
943 * remote-fileio.c: Ditto.
944 * remote-fileio.h: Ditto.
946 * remote-m32r-sdi.c: Ditto.
947 * remote-mips.c: Ditto.
948 * remote-sim.c: Ditto.
949 * rs6000-aix-tdep.c: Ditto.
950 * rs6000-nat.c: Ditto.
951 * rs6000-tdep.c: Ditto.
953 2011-01-10 Michael Snyder <msnyder@vmware.com>
955 * charset.c (validate): Internationalization.
956 * coffread.c (read_one_sym): Ditto.
957 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
958 * h8300-tdep.c (H8300_extract_return_value): Ditto.
959 * inflow.c (new_tty): Ditto.
960 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
961 * m32c-tdep.c (m32c_return_value): Ditto.
962 * mep-tdep.c (mep_store_return_value): Ditto.
963 * score-tdep.c (score7_fetch_insn): Ditto.
964 * ser-mingw.c (pipe_windows_open): Ditto.
965 * sh64-tdep.c (sh64_extract_return_value): Ditto.
966 * spu-tdep.c (spu_register_type): Ditto.
967 * tracepoint.c (trace_find_command): Ditto.
968 * valarith.c (value_pos): Ditto.
970 2011-01-10 Joel Brobecker <brobecker@adacore.com>
972 * ada-valprint.c (printstr): Minor comment reformatting.
974 2011-01-08 Michael Snyder <msnyder@vmware.com>
976 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
979 2011-01-08 Michael Snyder <msnyder@vmware.com>
981 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
982 * hppa-hpux-tdep.c: Ditto.
983 * hppa-linux-nat.c: Ditto.
984 * hppa-linux-tdep.c: Ditto.
985 * hppanbsd-tdep.c: Ditto.
986 * hppa-tdep.c: Ditto.
987 * hppa-tdep.h: Ditto.
988 * hpux-thread.c: Ditto.
989 * i386-cygwin-tdep.c: Ditto.
990 * i386-darwin-nat.c: Ditto.
991 * i386gnu-nat.c: Ditto.
992 * i386-linux-nat.c: Ditto.
993 * i386-linux-tdep.c: Ditto.
996 * i386nbsd-tdep.c: Ditto.
997 * i386-sol2-nat.c: Ditto.
998 * i386-stub.c: Ditto.
999 * i386-tdep.c: Ditto.
1000 * i386-tdep.h: Ditto.
1001 * i387-tdep.c: Ditto.
1002 * ia64-linux-nat.c: Ditto.
1003 * ia64-linux-tdep.c: Ditto.
1004 * ia64-tdep.c: Ditto.
1008 * inferior.c: Ditto.
1009 * inferior.h: Ditto.
1015 * iq2000-tdep.c: Ditto.
1016 * irix5-nat.c: Ditto.
1022 * jv-typeprint.c: Ditto.
1023 * jv-valprint.c: Ditto.
1024 * language.c: Ditto.
1025 * language.h: Ditto.
1026 * linespec.c: Ditto.
1027 * linux-fork.c: Ditto.
1028 * linux-nat.c: Ditto.
1029 * linux-thread-db.c: Ditto.
1030 * lm32-tdep.c: Ditto.
1032 2011-01-08 Michael Snyder <msnyder@vmware.com>
1034 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1036 * m2-typeprint.c: Ditto.
1037 * m2-valprint.c: Ditto.
1038 * m32c-tdep.c: Ditto.
1039 * m32r-linux-nat.c: Ditto.
1040 * m32r-rom.c: Ditto.
1041 * m32r-tdep.c: Ditto.
1042 * m32r-tdep.h: Ditto.
1043 * m68hc11-tdep.c: Ditto.
1044 * m58klinux-nat.c: Ditto.
1045 * m68k-tdep.c: Ditto.
1046 * m88k-tdep.c: Ditto.
1047 * m88k-tdep.h: Ditto.
1048 * machoread.c: Ditto.
1049 * macrocmd.c: Ditto.
1050 * macroexp.c: Ditto.
1051 * macrotab.c: Ditto.
1054 * mdebugread.c: Ditto.
1055 * mdebugread.h: Ditto.
1058 * memory-map.h: Ditto.
1059 * mep-tdep.c: Ditto.
1060 * microblaze-rom.c: Ditto.
1061 * microblaze-tdep.c: Ditto.
1063 * mips-irix-tdep.c: Ditto.
1064 * mips-linux-nat.c: Ditto.
1065 * mips-linux-tdep.c: Ditto.
1066 * mips-linux-tdep.h: Ditto.
1067 * mipsnbsd-nat.c: Ditto.
1068 * mipsnbsd-tdep.c: Ditto.
1069 * mipsread.c: Ditto.
1070 * mips-tdep.c: Ditto.
1071 * mips-tdep.h: Ditto.
1072 * mn10300-linux-tdep.c: Ditto.
1073 * mn10300-tdep.c: Ditto.
1074 * mn10300-tdep.h: Ditto.
1077 * moxie-tdep.c: Ditto.
1078 * moxie-tdep.h: Ditto.
1081 2011-01-08 Mike Frysinger <vapier@gentoo.org>
1083 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1085 2011-01-08 Robert Millan <rmh@gnu.org>
1087 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1089 2011-01-07 Michael Snyder <msnyder@vmware.com>
1091 * charset.c (_initialize_charset): Fix typo in string.
1093 2011-01-07 Michael Snyder <msnyder@vmware.com>
1095 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1097 * tui/tui-layout.c (tui_set_layout_for_display_command):
1098 Split line so that operator goes to beginning of line.
1099 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1100 assignment out of if statement.
1102 2011-01-07 Michael Snyder <msnyder@vmware.com>
1104 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1105 * ada-lang.h: Ditto.
1106 * ada-tasks.c: Ditto.
1107 * ada-valprint.c: Ditto.
1108 * aix-threads.c: Ditto.
1109 * alpha-linux-nat.c: Ditto.
1110 * alpha-linux-tdep.c: Ditto.
1111 * alpha-mdebug-tdep.c: Ditto.
1112 * alpha-nat.c: Ditto.
1113 * alpha-osf1-tdep.c: Ditto.
1114 * alpha-tdep.c: Ditto.
1115 * alphabsd-nat.c: Ditto.
1116 * alphabsd-tdep.c: Ditto.
1117 * amd64-darwin-tdep.c: Ditto.
1118 * amd64-linux-nat.c: Ditto.
1119 * amd64-linux-tdep.c: Ditto.
1120 * amd64-sol2-tdep.c: Ditto.
1121 * amd64-tdep.c: Ditto.
1122 * amd64-fbsd-tdep.c: Ditto.
1123 * amd64-nbsd-tdep.c: Ditto.
1124 * amd64-obsd-tdep.c: Ditto.
1125 * amd64-linux-nat.c: Ditto.
1126 * amd64-linux-tdep.c: Ditto.
1127 * arm-tdep.c: Ditto.
1128 * arm-tdep.h: Ditto.
1129 * armnbsd-nat.c: Ditto.
1130 * avr-tdep.c: Ditto.
1131 * bfin-tdep.c: Ditto.
1133 * c-typeprintc: Ditto.
1134 * c-valprint.c: Ditto.
1135 * coff-pe-read.h: Ditto.
1136 * coffreead.c: Ditto.
1137 * cris-tdep.c: Ditto.
1139 * darwin-nat-info.c: Ditto.
1140 * darwin-nat.c: Ditto.
1141 * dbug-rom.c: Ditto.
1145 * dec-thread.c: Ditto.
1147 * demangle.c: Ditto.
1148 * dicos-tdep.c: Ditto.
1149 * dictionary.c: Ditto.
1150 * dictionary.h: Ditto.
1151 * dink32-rom.c: Ditto.
1153 * doublest.c: Ditto.
1155 * dummy-frame.c: Ditto.
1156 * dwarf2-frame.c: Ditto.
1157 * dwarf2expr.c: Ditto.
1158 * dwarf2loc.c: Ditto.
1159 * dwarf2read.c: Ditto.
1163 * event-top.h: Ditto.
1164 * exceptions.c: Ditto.
1165 * exceptions.h: Ditto.
1167 * expprint.c: Ditto.
1168 * expression.h: Ditto.
1172 * f-typeprint.c: Ditto.
1173 * f-valprint.c: Ditto.
1174 * fbsd-nat.c: Ditto.
1176 * fork-child.c: Ditto.
1179 * frv-linux-tdep.c: Ditto.
1180 * frv-tdep.c: Ditto.
1182 * gdb-stabs.h: Ditto.
1183 * gdb_assert.h: Ditto.
1184 * gdb_string.h: Ditto.
1185 * gdb_thread_db.h: Ditto.
1186 * gdb_wait.h: Ditto.
1187 * gdbarch.sh: Ditto.
1189 * gdbthread.h: Ditto.
1190 * gdbtypes.c: Ditto.
1191 * gdbtypes.h: Ditto.
1194 * gnu-v2-abi.c: Ditto.
1195 * gnu-v3-abi.c: Ditto.
1196 * go32-nat.c: Ditto.
1197 * gdbarch.c: Regenerate.
1198 * gdbarch.h: Regenerate.
1200 2011-01-07 Michael Snyder <msnyder@vmware.com>
1202 * ax-gdb.c: Adjust some long output strings.
1203 * breakpoint.c: Ditto.
1208 * linux-nat.c: Ditto.
1209 * solib-pa64.c: Ditto.
1210 * solib-som.c: Ditto.
1212 2011-01-06 Tom Tromey <tromey@redhat.com>
1216 * python/python.c (GdbMethods): Add "newest_frame" method.
1217 * python/python-internal.h (gdbpy_newest_frame): Declare.
1218 * python/py-frame.c (gdbpy_newest_frame): New function.
1220 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1222 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1223 * jit.c (jit_debug): New variable.
1224 (show_jit_debug): New function.
1225 (struct target_buffer): Use ULONGEST.
1226 (bfd_open_from_target_memory): Likewise.
1227 (jit_register_code, jit_inferior_init): Add debug output.
1228 (_initialize_jit): Register "debug jit" command.
1230 2011-01-06 Tom Tromey <tromey@redhat.com>
1232 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1233 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1236 2011-01-06 Tom Tromey <tromey@redhat.com>
1238 * python/py-frame.c (frapy_block): Use get_frame_block.
1240 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1242 Do not stop on SIGPRIO signals by default
1243 * infrun.c (_initialize_infrun): Unset signal_stop and
1244 signal_print for TARGET_SIGNAL_PRIO.
1246 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1248 * ada-tasks.c: Fix style violation in comment.
1250 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1252 * linespec.c (decode_compound, find_method): Remove trailing \n
1253 at end of error string.
1254 * solib-irix.c (irix_current_sos): Likewise.
1255 * varobj.c (uninstall_variable): Likewise.
1257 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1259 * copyright.py: New script.
1260 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1261 Launch emacs without exec'ing. Call copyright.py afterwards.
1263 2011-01-05 Michael Snyder <msnyder@vmware.com>
1265 * addrmap.c: Shorten lines of >= 80 columns.
1266 * arch-utils.c: Ditto.
1267 * arch-utils.h: Ditto.
1269 * ax-general.c: Ditto.
1271 * blockframe.c: Ditto.
1272 * breakpoint.c: Ditto.
1273 * buildsym.c: Ditto.
1275 * c-typeprint.c: Ditto.
1277 * coffread.c: Ditto.
1281 * cp-namespace.c: Ditto.
1282 * cp-support.c: Ditto.
1283 * dbug-rom.c: Ditto.
1288 * dictionary.c: Ditto.
1290 * doublest.c: Ditto.
1291 * dwarf2-frame.c: Ditto.
1292 * dwarf2expr.c: Ditto.
1293 * dwarf2loc.c: Ditto.
1294 * dwarf2read.c: Ditto.
1297 * event-loop.c: Ditto.
1298 * event-loop.h: Ditto.
1299 * exceptions.h: Ditto.
1301 * expprint.c: Ditto.
1302 * expression.h: Ditto.
1304 * f-valprint.c: Ditto.
1306 * frame-base.c: Ditto.
1307 * frame-unwind.c: Ditto.
1308 * frame-unwind.h: Ditto.
1312 * gdb-stabs.h: Ditto.
1313 * gdb_assert.h: Ditto.
1314 * gdb_dirent.h: Ditto.
1315 * gdb_obstack.h: Ditto.
1317 * gdbtypes.c: Ditto.
1318 * gdbtypes.h: Ditto.
1319 * inf-ttrace.c: Ditto.
1324 * inline-frame.h: Ditto.
1325 * language.c: Ditto.
1326 * language.h: Ditto.
1327 * libunwind-frame.c: Ditto.
1328 * libunwind-frame.h: Ditto.
1329 * linespec.c: Ditto.
1330 * linux-nat.c: Ditto.
1331 * linux-nat.h: Ditto.
1332 * linux-thread-db.c: Ditto.
1333 * machoread.c: Ditto.
1334 * macroexp.c: Ditto.
1335 * macrotab.c: Ditto.
1338 * mdebugread.c: Ditto.
1343 * objfiles.c: Ditto.
1344 * objfiles.h: Ditto.
1346 * p-typeprint.c: Ditto.
1347 * p-valprint.c: Ditto.
1349 * printcmd.c: Ditto.
1350 * proc-events.c: Ditto.
1352 * progspace.c: Ditto.
1353 * progspace.h: Ditto.
1354 * psympriv.h: Ditto.
1357 * regcache.c: Ditto.
1358 * regcache.h: Ditto.
1359 * remote-fileio.c: Ditto.
1361 * ser-mingw.c: Ditto.
1363 * ser-unix.c: Ditto.
1366 * solib-frv.c: Ditto.
1367 * solib-irix.c: Ditto.
1368 * solib-osf.c: Ditto.
1369 * solib-pa64.c: Ditto.
1370 * solib-som.c: Ditto.
1371 * solib-sunos.c: Ditto.
1372 * solib-svr4.c: Ditto.
1373 * solib-target.c: Ditto.
1377 * stabsread.c: Ditto.
1378 * stabsread.c: Ditto.
1381 * symfile-mem.c: Ditto.
1387 * target-descriptions.c: Ditto.
1388 * target-memory.c: Ditto.
1391 * terminal.h: Ditto.
1394 * tracepoint.c: Ditto.
1395 * tracepoint.h: Ditto.
1399 * user-regs.c: Ditto.
1400 * user-regs.h: Ditto.
1402 * valarith.c: Ditto.
1404 * valprint.c: Ditto.
1405 * valprint.h: Ditto.
1410 * xcoffread.c: Ditto.
1411 * xcoffsolib.c: Ditto.
1412 * xcoffsolib.h: Ditto.
1413 * xml-syscall.c: Ditto.
1414 * xml-tdesc.c: Ditto.
1416 2011-01-05 Michael Snyder <msnyder@vmware.com>
1418 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1419 * cli/cli-decode.c: Ditto.
1420 * cli/cli-dump.c: Ditto.
1421 * cli/cli-logging.c: Ditto.
1422 * cli/cli-script.c: Ditto.
1423 * cli/cli-setshow.c: Ditto.
1424 * common/signals.c: Ditto.
1425 * mi/mi-cmd-break.c: Ditto.
1426 * mi/mi-cmd-disas.c: Ditto.
1427 * mi/mi-cmd-stack.c: Ditto.
1428 * mi/mi-cmd-var.c: Ditto.
1429 * mi/mi-cmds.c: Ditto.
1430 * mi/mi-common.h: Ditto.
1431 * mi/mi-console.c: Ditto.
1432 * mi/mi-interp.c: Ditto.
1433 * mi/mi-main.c: Ditto.
1434 * osf-share/cma_attr.c: Ditto.
1435 * osf-share/cma_deb_core.h: Ditto.
1436 * osf-share/cma_debug_client.h: Ditto.
1437 * osf-share/cma_handle.h: Ditto.
1438 * osf-share/cma_mutex.h: Ditto.
1439 * osf-share/cma_stack_int.h: Ditto.
1440 * osf-share/cma_tcb_defs.h: Ditto.
1441 * python/py-auto-load.c: Ditto.
1442 * python/py-breakpoint.c: Ditto.
1443 * python/py-cmd.c: Ditto.
1444 * python/py-frame.c: Ditto.
1445 * python/py-objfile.c: Ditto.
1446 * python/py-param.c: Ditto.
1447 * python/py-progspace.c: Ditto.
1448 * python/py-symbol.c: Ditto.
1449 * python/py-value.c: Ditto.
1450 * python/python-internal.h: Ditto.
1451 * python/python.c: Ditto.
1452 * tui/tui-data.c: Ditto.
1453 * tui/tui-disasm.c: Ditto.
1454 * tui/tui-hooks.c: Ditto.
1455 * tui/tui-io.c: Ditto.
1456 * tui/tui-layout.c: Ditto.
1457 * tui/tui-regs.c: Ditto.
1458 * tui/tui-source.c: Ditto.
1459 * tui/tui-stack.c: Ditto.
1460 * tui/tui-win.c: Ditto.
1461 * tui/tui-windata.c: Ditto.
1462 * tui/tui-winsource.c: Ditto.
1464 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1466 * configure.ac, gdb.1: Copyright year update.
1468 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1470 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1471 this_pc_in_block, morestack_msym and morestack_name. Check for
1472 "__morestack" minimal symbol there.
1474 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1476 * symfile.c (find_sym_fns): Add call to dont_repeat.
1478 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1480 Copyright year update in most files (performed by copyright.sh).
1482 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1484 * top.c (print_gdb_version): Update copyright year in version output.
1486 For older changes see ChangeLog-2010.
1492 version-control: never