1 2011-01-26 Kevin Buettner <kevinb@redhat.com>
3 * remote-mips.c: Add internationalization mark ups. Remove
4 trailing \n from already marked up strings.
6 2011-01-26 Tom Tromey <tromey@redhat.com>
8 * python/py-prettyprint.c (print_string_repr): Clear
9 'addressprint' option when calling val_print_string.
10 (print_children): Handle Val_pretty_default. Clear 'addressprint'
11 option when calling val_print_string.
13 2011-01-26 Tom Tromey <tromey@redhat.com>
15 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
17 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
19 (gdb_py_longest, gdb_py_ulongest): New typedefs.
20 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
21 (gdb_py_long_as_ulongest): New defines.
22 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
23 (gdb_py_int_as_long): Declare.
24 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
25 GDB_PY_LL_ARG, gdb_py_object_from_longest.
26 (valpy_long): Add comment.
27 * python/py-utils.c (get_addr_from_python): Use
28 gdb_py_long_as_ulongest. Handle overflow properly.
29 (gdb_py_object_from_longest): New function.
30 (gdb_py_object_from_ulongest): Likewise.
31 (gdb_py_int_as_long): Likewise.
32 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
33 * python/py-symtab.c (salpy_get_pc): Use
34 gdb_py_long_from_ulongest.
35 (salpy_get_line): Use PyInt_FromLong.
36 * python/py-param.c (set_parameter_value): Use
38 * python/py-lazy-string.c (stpy_get_address): Use
39 gdb_py_long_from_ulongest.
40 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
41 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
42 * python/py-breakpoint.c (bppy_set_thread): Use
44 (bppy_set_task): Likewise.
45 (bppy_set_ignore_count): Likewise.
46 (bppy_set_hit_count): Likewise.
47 * python/py-block.c (blpy_get_start): Use
48 gdb_py_object_from_ulongest.
49 (blpy_get_end): Likewise.
50 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
52 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
55 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
56 * gdb/solib.c (solib_read_symbols): Check for addr_low in
57 equality test for objfile, initialize addr_low if needed.
59 2011-01-25 Pedro Alves <pedro@codesourcery.com>
61 * tui/tui-regs.c (tui_register_format): Remove dead code.
63 2011-01-25 Pedro Alves <pedro@codesourcery.com>
65 * printcmd.c (print_formatted): Use val_print_scalar_formatted
66 instead of print_scalar_formatted.
67 (print_scalar_formatted): Don't handle 's' format strings here,
68 and add an assertion that we never see such format here.
69 * valprint.h (val_print_scalar_formatted): Declare.
70 * valprint.c (val_print_scalar_formatted): New.
71 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
72 instead of print_scalar_formatted.
73 * jv-valprint.c (java_val_print): Ditto.
74 * p-valprint.c (pascal_val_print): Ditto.
75 * ada-valprint.c (ada_val_print_1): Ditto.
76 * f-valprint.c (f_val_print): Ditto.
77 * infcmd.c (registers_info): Ditto.
78 * m2-valprint.c (m2_val_print): Ditto.
80 2011-01-25 Pedro Alves <pedro@codesourcery.com>
82 * m2-valprint.c (print_unbounded_array): Pass
83 value_contents_for_printing rather than value_contents, to
84 m2_print_array_contents. Also pass in the value.
86 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
88 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
89 (save_gdb_index_command): Switch to .gdb_index version 4.
91 2011-01-25 Pedro Alves <pedro@codesourcery.com>
93 * mi/mi-main.c (get_register): Use get_frame_register_value rather
94 than frame_register, and always pass a valid value to val_print.
96 2011-01-25 Pedro Alves <pedro@codesourcery.com>
98 Centralize printing "<optimized out>".
100 * valprint.h (val_print_optimized_out): Declare.
101 * cp-valprint.c (cp_print_value_fields): Use
102 val_print_optimized_out.
103 * jv-valprint.c (java_print_value_fields): Ditto.
104 * p-valprint.c (pascal_object_print_value_fields): Ditto.
105 * printcmd.c (print_formatted): Ditto.
106 * valprint.c (valprint_check_validity): Ditto.
107 (value_check_printable): Ditto.
108 (val_print_optimized_out): New.
110 2011-01-25 Pedro Alves <pedro@codesourcery.com>
112 * infcmd.c (default_print_registers_info): Allocate values so to
113 never pass a NULL value to val_print.
115 2011-01-25 Pedro Alves <pedro@codesourcery.com>
117 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
118 boolean. Make sure to always pass a value that matches the
119 contents buffer to callees. Preserve `address' for following
121 * value.c (value_contents_for_printing_const): New.
122 (value_address): Constify value argument.
123 * value.h (value_contents_for_printing_const): Declare.
124 (value_address): Constify value argument.
126 2011-01-25 Pedro Alves <pedro@codesourcery.com>
128 * regcache.c (struct regcache_descr): Rename
129 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
130 and sizeof_cooked_register_valid_p to
131 sizeof_cooked_register_status.
132 (init_regcache_descr): Adjust.
133 (struct regcache): Rename register_valid_p field to
135 (regcache_xmalloc_1, regcache_xfree, regcache_save)
136 (do_cooked_read): Adjust.
137 (regcache_valid_p): Rename to ...
138 (regcache_register_status): ... this. Adjust.
139 (regcache_invalidate): Adjust.
140 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
142 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
143 as unavailable, not valid.
144 (regcache_dump): Adjust.
145 * regcache.h (enum register_status): New.
146 (regcache_register_status): Declare.
147 (regcache_invalidate): Delete declaration.
148 * corelow.c (get_core_registers): Adjust.
149 * tracepoint.c (tfile_fetch_registers): Adjust.
150 * trad-frame.c (REG_VALUE): Rename to ...
151 (TF_REG_VALUE): ... this.
152 (REG_UNKNOWN): Rename to ...
153 (TF_REG_UNKNOWN): ... this.
154 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
155 * mi/mi-main.c (register_changed_p): Adjust.
157 2011-01-25 Pedro Alves <pedro@codesourcery.com>
159 * regcache.c (struct regcache_descr): Remove outdated comment.
160 (init_regcache_descr): Remove sizeof_raw_register_valid_p
162 (regcache_xmalloc): Rename to ...
163 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
164 Allocate the regcache type accordingly.
165 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
166 (regcache_xfree): Asser the source is also readonly. Copy sizeof
167 cooked registers, not raw.
168 (regcache_dup_no_passthrough): Delete.
169 (get_thread_arch_regcache): Use regcache_xmalloc_1.
170 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
171 mention obsolete write_register_bytes.
172 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
174 2011-01-25 Pedro Alves <pedro@codesourcery.com>
176 Stop remote_read_bytes from handling partial reads itself.
178 * remote-fileio.c: Include target.h.
179 (remote_fileio_write_bytes): Delete.
180 (remote_fileio_func_open, remote_fileio_func_write)
181 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
183 (remote_fileio_func_stat): Use target_read_memory and
185 (remote_fileio_func_gettimeofday): Use target_write_memory.
186 (remote_fileio_func_system): Use target_read_memory.
187 * remote.c (remote_write_bytes): Make it static.
188 (remote_read_bytes): Don't handle partial reads here.
189 * remote.h (remote_read_bytes): Delete declaration.
191 2011-01-25 Pedro Alves <pedro@codesourcery.com>
193 Simplify XML parsing a bit.
195 * xml-support.h (gdb_xml_parse_quick): Declare.
196 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
197 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
199 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
200 gdb_xml_create_parser_and_cleanup_1.
201 (gdb_xml_parse_quick): New.
202 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
203 * osdata.c (osdata_parse): Ditto.
204 * remote.c (remote_threads_info): Ditto.
205 * solib-target.c (solib_target_parse_libraries): Ditto.
206 * xml-syscall.c (syscall_parse_xml): Ditto.
207 * xml-tdesc.c (tdesc_parse_xml): Ditto.
209 2011-01-24 Kevin Buettner <kevinb@redhat.com>
211 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
212 with remote-mips.o added to gdb_target_obs.
213 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
215 2011-01-24 Pedro Alves <pedro@codesourcery.com>
217 * ada-valprint.c (val_print_packed_array_elements): Pass the
218 correct struct value to val_print.
219 (ada_val_print_1): Ditto.
221 2011-01-24 Pedro Alves <pedro@codesourcery.com>
223 Don't lose embedded_offset in printing routines throughout.
225 * valprint.h (val_print_array_elements): Change prototype.
226 * valprint.c (val_print_array_elements): Add `embedded_offset'
227 parameter, and adjust to pass it down to val_print, while passing
228 `valaddr' or `address' unmodified. Take embedded_offset into
229 account when checking repetitions.
230 * c-valprint.c (c_val_print): Pass embedded_offset to
231 val_print_array_elements instead of adjusting `valaddr' and
233 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
234 embedded_offset to val_print_array_elements instead of adjusting
236 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
237 * p-valprint.c (pascal_val_print): Pass embedded_offset to
238 val_print_array_elements and pascal_object_print_value_fields
239 instead of adjusting `valaddr'.
240 (pascal_object_print_value_fields): Add `offset' parameter, and
242 (pascal_object_print_value): Add `offset' parameter, and adjust to
244 (pascal_object_print_static_field): Use
245 value_contents_for_printing/value_embedded_offset, rather than
247 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
248 parameter, and adjust to use it. Use
249 value_contents_for_printing/value_embedded_offset, rather than
251 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
252 (ada_val_print_array): Add `offset' parameter, and adjust to use
254 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
255 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
256 Instead work with offsets. Use
257 value_contents_for_printing/value_embedded_offset, rather than
258 value_contents. Change `defer_val_int' local type to CORE_ADDR,
259 and use value_from_pointer to extract a target pointer, rather
260 than value_from_longest.
261 (print_variant_part): Add `offset' parameter. Replace
262 `outer_valaddr' parameter by a new `outer_offset' parameter.
263 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
264 (ada_value_print): Use
265 value_contents_for_printing/value_embedded_offset, rather than
267 (print_record): Add `offset' parameter, and adjust to pass it
269 (print_field_values): Add `offset' parameter. Replace
270 `outer_valaddr' parameter by a new `outer_offset' parameter.
271 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
272 Use value_contents_for_printing/value_embedded_offset, rather than
274 * d-valprint.c (dynamic_array_type): Use
275 value_contents_for_printing/value_embedded_offset, rather than
277 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
278 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
279 (java_print_value_fields): Take `offset' into account. Don't
280 re-adjust `valaddr'. Instead pass down adjusted offsets.
281 (java_val_print): Take `embedded_offset' into account. Pass it to
282 java_print_value_fields.
283 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
284 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
285 down adjusted offsets.
286 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
287 (f_val_print): Take `embedded_offset' into account.
289 2011-01-21 Joel Brobecker <brobecker@adacore.com>
291 * inflow.c: Include "gdbcmd.h".
292 (interactive_mode): New static global, moved here from top.c.
293 (show_interactive_mode): New function, moved here from top.c.
294 use gdb_has_a_terminal instead of input_from_terminal_p to
295 determine the current mode.
296 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
298 (_initialize_inflow): Add the "set/show interactive-mode"
299 commands. Moved here from top.c, after having adjusted slightly
301 * top.c (interactive_mode, show_interactive_mode): Delete, moved
303 (input_from_terminal_p): Remove handling of "interactive-mode"
304 setting, moved to infow.c.
305 (init_main): Remove creation of the "set/show interactive-mode"
306 commands, moved to inflow.c.
308 2011-01-19 Joel Brobecker <brobecker@adacore.com>
310 * NEWS: Add entry for native ia64-hpux support.
312 2011-01-19 Tom Tromey <tromey@redhat.com>
315 * thread.c (free_thread): Free 'name'.
316 (print_thread_info): Emit thread name. Change CLI output.
317 (thread_name_command): New function.
318 (do_captured_thread_select): Emit newline.
319 (_initialize_thread): Register 'thread name' command.
320 * target.h (struct target_ops) <to_thread_name>: New field.
321 (target_thread_name): New macro.
322 * target.c (update_current_target): Handle to_thread_name.
323 * python/py-infthread.c (thpy_get_name): New function.
324 (thpy_set_name): Likewise.
325 (thread_object_getset): Add "name".
326 * linux-nat.c (linux_nat_thread_name): New function.
327 (linux_nat_add_target): Set to_thread_name.
328 * gdbthread.h (struct thread_info) <name>: New field.
330 2011-01-18 Joel Brobecker <brobecker@adacore.com>
332 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
333 (ada_val_print_1): Likewise.
335 2011-01-18 Joel Brobecker <brobecker@adacore.com>
337 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
338 upper limit address is not greater than the function end address
339 when the upper limit could not be computed using the debugging
342 2011-01-17 Tom Tromey <tromey@redhat.com>
344 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
346 * utils.c: Include gdb_regex.h.
347 (do_regfree_cleanup): New function.
348 (make_regfree_cleanup): Likewise.
349 (get_regcomp_error): Likewise.
350 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
352 2011-01-17 Tom Tromey <tromey@redhat.com>
354 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
357 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
359 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
360 for internal variables.
361 (last_was_structop): New static variable.
362 (COMPLETE): New token.
363 (field_exp): New rule to group all '.' suffix handling.
364 Add mark_struct_expression calls when approriate to be able
365 to correctly find fields for completion.
366 (yylex): Adapt to handle field completion and set INTVAR when
369 2011-01-14 Yao Qi <yao@codesourcery.com>
371 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
372 save_reggroup, restore_reggroup and all_reggroup.
374 2011-01-14 Joel Brobecker <brobecker@adacore.com>
376 * ada-valprint. (ada_printchar): Use the correct type length
377 in call to ada_emit_char.
378 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
380 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
382 * solib-som.h (hpux_major_release): Declare variable here.
383 * solib-som.c: Remove <sys/utsname.h> header.
384 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
385 (hpux_major_release): Make global, change default value to
386 DEFAULT_HPUX_MAJOR_RELEASE.
387 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
388 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
389 Add "solib-som.h" header.
390 (set_hpux_major_release): New function.
391 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
393 2011-01-14 Mike Frysinger <vapier@gentoo.org>
395 * configure.tgt (*-*-uclinux*): Match more Linux os targets
397 2011-01-14 Joel Brobecker <brobecker@adacore.com>
399 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
400 new-line at end of warning message.
401 (ia64_hpux_store_register): Remove trailing new-line at end of
403 * ia64-hpux-tdep.c: Rephrase comment.
404 * solib-ia64-hpux.c (struct dld_info): Change type of field
405 dld_flags from "long long" to ULONGEST.
407 2011-01-14 Pedro Alves <pedro@codesourcery.com>
409 * target.h (deprecated_child_ops): Delete declaration.
410 * target.c (deprecated_child_ops): Delete definition.
412 2011-01-14 Pedro Alves <pedro@codesourcery.com>
414 * Makefile.in (hpux-thread.o): Delete rule.
415 * configure.ac: Don't check for HPUX DCE threads support.
416 * configure, config.in: Regenerate.
417 * hppa-hpux-nat.c (child_suppress_run): Delete.
418 (hppa_hpux_child_can_run): Delete.
419 (_initialize_hppa_hpux_nat): Don't override to_can_run.
420 * hpux-thread.c: Delete.
422 2011-01-13 Joel Brobecker <brobecker@adacore.com>
424 * hpux-thread.c (hpux_pid_to_str): Delete.
426 2011-01-13 Joel Brobecker <brobecker@adacore.com>
428 * ada-valprint.c (ada_emit_char): Remove strange code.
429 Check that c is <= UCHAR_MAX before passing it to isascii.
430 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
432 2011-01-13 Joel Brobecker <brobecker@adacore.com>
434 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
435 to the case where instream is stdin.
437 2011-01-13 Joel Brobecker <brobecker@adacore.com>
439 * ia64-tdep.h (struct regcache): Forward declare.
440 (struct ia64_infcall_ops): New struct type.
441 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
443 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
444 Renames ia64_find_global_pointer.
445 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
446 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
447 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
449 (ia64_infcall_ops): New static global constant.
450 (ia64_gdbarch_init): Set tdep->infcall_ops.
451 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
452 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
453 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
454 (ia64_hpux_dummy_code): New static global constant.
455 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
456 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
457 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
459 (ia64_hpux_infcall_ops): New static global constant.
460 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
461 for inferior function calls to work properly on ia64-hpux.
463 2011-01-13 Joel Brobecker <brobecker@adacore.com>
465 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
466 * ia64-tdep.h (struct frame_info): forward declaration.
467 (struct gdbarch_tdep): Add field size_of_register_frame.
468 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
469 to determine the size of the register frame.
470 (ia64_size_of_register_frame): New function.
471 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
472 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
473 (IA64_HPUX_UREG_REASON): New macro.
474 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
476 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
477 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
478 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
481 2011-01-13 Joel Brobecker <brobecker@adacore.com>
483 Add support for ia64-hpux.
484 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
485 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
487 * configure.host: Add handling for ia64-hpux hosts. Add associated
489 * configure.tgt: Add handling for ia64-hpux targets.
490 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
491 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
492 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
494 2011-01-13 Joel Brobecker <brobecker@adacore.com>
496 [ttrace] Compute thread list immediately after attach.
497 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
499 (inf_ttrace_attach): Use it.
501 2011-01-13 Joel Brobecker <brobecker@adacore.com>
503 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
504 if we could not determine the frame's function address. Instead,
505 use the frame's PC, and then continue.
507 2011-01-13 Joel Brobecker <brobecker@adacore.com>
509 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
512 2011-01-13 Joel Brobecker <brobecker@adacore.com>
514 * ia64-tdep.c (ia64_struct_type_p): New function.
515 (ia64_extract_return_value): Handle integral values that are
516 less than 8 bytes long.
517 (ia64_push_dummy_call): Likewise.
519 2011-01-13 Joel Brobecker <brobecker@adacore.com>
521 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
522 floatformat_ia64_ext.
523 (floatformat_ia64_ext_big): New static const.
524 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
526 2011-01-12 Tom Tromey <tromey@redhat.com>
528 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
530 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
531 (mi_cmd_thread_list_ids): Likewise.
532 (mi_cmd_data_list_changed_registers): Likewise.
533 (mi_cmd_data_list_register_values): Likewise.
534 (mi_cmd_data_write_register_values): Likewise.
535 (mi_cmd_data_evaluate_expression): Likewise.
536 (mi_cmd_data_read_memory): Likewise.
537 (mi_cmd_data_read_memory_bytes): Likewise.
538 (mi_cmd_data_write_memory): Likewise.
539 (mi_cmd_enable_timings): Likewise.
540 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
541 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
542 (mi_cmd_var_delete): Likewise.
543 (mi_cmd_var_set_format): Likewise.
544 (mi_cmd_var_show_format): Likewise.
545 (mi_cmd_var_info_num_children): Likewise.
546 (mi_cmd_var_list_children): Likewise.
547 (mi_cmd_var_info_type): Likewise.
548 (mi_cmd_var_info_expression): Likewise.
549 (mi_cmd_var_show_attributes): Likewise.
550 (mi_cmd_var_assign): Likewise.
551 (mi_cmd_var_update): Likewise.
552 (mi_cmd_enable_pretty_printing): Likewise.
553 (mi_cmd_var_set_update_range): Likewise.
554 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
556 (mi_cmd_target_file_put): Likewise.
557 (mi_cmd_target_file_delete): Likewise.
558 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
560 (mi_cmd_stack_info_depth): Likewise.
561 (mi_cmd_stack_list_locals): Likewise.
562 (mi_cmd_stack_list_args): Likewise.
563 (mi_cmd_stack_select_frame): Likewise.
564 (mi_cmd_stack_select_frame): Likewise.
565 (mi_cmd_stack_info_frame): Likewise.
566 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
568 (mi_cmd_file_list_exec_source_files): Likewise.
569 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
570 (mi_cmd_env_cd): Likewise.
571 (mi_cmd_env_path): Likewise.
572 (mi_cmd_env_dir): Likewise.
573 (mi_cmd_inferior_tty_show): Likewise.
574 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
575 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
576 (mi_cmd_break_watch): Likewise.
578 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
580 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
581 (ppc_linux_insert_hw_breakpoint): Likewise.
582 (ppc_linux_remove_hw_breakpoint): Likewise.
583 (ppc_linux_insert_watchpoint): Likewise.
585 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
586 Jan Kratochvil <jan.kratochvil@redhat.com>
588 PR fortran/11104 and DWARF unbound arrays detection.
589 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
590 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
591 unspecified upper bound.
592 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
593 variables array_size_array, tmp_type and offset_item. New variable
594 array. Remove call to f77_get_upperbound. New variables array_type
595 and index. Call value_subscripted_rvalue for each dimenasion. Remove
596 the final call to deprecated_set_value_type.
598 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
600 Make value allocations more lazy.
601 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
602 instead of allocate_value and set_value_lazy when possible.
603 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
604 instead of allocate_value and set_value_lazy.
605 * findvar.c (value_of_register_lazy): Likewise.
606 (read_var_value): Remove V preallocation, call just check_typedef in
607 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
608 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
609 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
610 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
611 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
612 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
613 the end, remove set_value_lazy there.
614 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
615 instead of allocate_value and set_value_lazy when possible.
616 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
617 * value.c (allocate_computed_value): Use allocate_value_lazy instead
618 of allocate_value and set_value_lazy.
619 (value_from_contents_and_address): Use allocate_value_lazy instead of
620 allocate_value and set_value_lazy when possible.
622 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
624 * disasm.c (dump_insns): Support dumping opcodes for MI.
625 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
626 dumping of instruction opcodes.
628 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
630 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
633 2011-01-11 Tom Tromey <tromey@redhat.com>
635 * thread.c (do_captured_thread_select): Emit newline before
638 2011-01-11 Michael Snyder <msnyder@vmware.com>
640 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
641 * score-tdep.c: Ditto.
642 * score-tdep.h: Ditto.
647 * ser-mingw.c: Ditto.
651 * sh64-tdep.c: Ditto.
652 * shnbsd-nat.c: Ditto.
656 * solib-darwin.c: Ditto.
657 * solib-frv.c: Ditto.
659 * solib-irix.c: Ditto.
660 * solib-osf.c: Ditto.
661 * solib-pa64.c: Ditto.
662 * solib-som.c: Ditto.
663 * solib-spu.c: Ditto.
664 * solib-sunos.c: Ditto.
665 * solib-svr4.c: Ditto.
667 * sol-thread.c: Ditto.
671 * sparc64-linux-tdep.c: Ditto.
672 * sparc64-tdep.c: Ditto.
673 * sparc-linux-nat.c: Ditto.
674 * sparc-linux-tdep.c: Ditto.
675 * sparc-sol2-nat.c: Ditto.
676 * sparc-sol2-tdep.c: Ditto.
677 * sparc-tdep.c: Ditto.
678 * sparc-tdep.h: Ditto.
680 * stabsread.c: Ditto.
681 * stabsread.h: Ditto.
689 * target-descriptions.c: Ditto.
690 * target-descriptions.h: Ditto.
692 * target-memory.c: Ditto.
696 * tracepoint.c: Ditto.
697 * tracepoint.h: Ditto.
698 * trad-frame.h: Ditto.
699 * typeprint.c: Ditto.
701 2011-01-11 Michael Snyder <msnyder@vmware.com>
703 * ui-file.c: Comment cleanup, mostly periods and spaces.
708 * v850-tdep.c: Ditto.
721 * windows-nat.c: Ditto.
722 * windows-tdep.c: Ditto.
723 * xcoffread.c: Ditto.
724 * xcoffsolib.c: Ditto.
725 * xml-support.c: Ditto.
726 * xstormy16-tdep.c: Ditto.
727 * xtensa-tdep.c: Ditto.
728 * xtensa-tdep.h: Ditto.
730 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
732 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
733 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
735 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
736 Thiago Jung Bauermann <bauerman@br.ibm.com>
738 Implement support for PowerPC BookE ranged watchpoints.
740 (struct breakpoint_ops) <resources_needed>: New method.
741 Initialize to NULL in all existing breakpoint_ops instances.
742 (struct breakpoint) <exact>: New field.
743 (target_exact_watchpoints): Declare external global.
744 * breakpoint.c (target_exact_watchpoints): New global flag.
745 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
746 b->enable_state to bp_enabled before calling
747 hw_watchpoint_used_count.
748 (hw_watchpoint_used_count): Iterate over all bp_locations in a
749 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
751 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
752 if the watchpoint is exact.
753 (resources_needed_watchpoint): New function.
754 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
755 (watch_command_1): Set b->exact if the user asked for an exact
756 watchpoint and one can be set.
757 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
758 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
759 the user asks for an exact watchpoint and one can be set. Return
760 number of needed debug registers to watch the expression.
761 * gdbtypes.c (is_scalar_type): New function, based on
762 valprint.c:scalar_type_p.
763 (is_scalar_type_recursive): New function.
764 * gdbtypes.h (is_scalar_type_recursive): Declare.
765 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
766 handle regions when ranged watchpoints are available.
767 (create_watchpoint_request): New function.
768 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
769 create_watchpoint_request.
770 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
771 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
772 `set powerpc' and `show powerpc' commands.
773 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
774 Mention documentation comment in the target macro.
775 (target_region_ok_for_hw_watchpoint): Document return value.
777 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
779 * breakpoint.c (update_watchpoint): Decide on using a software or
780 hardware watchpoint after the bp_locations are created.
782 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
784 Convert hardware watchpoints to use breakpoint_ops.
785 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
786 <insert_location>: ... this. Return int instead of void.
787 Accept pointer to struct bp_location instead of pointer to
788 struct breakpoint. Adapt all implementations.
789 (breakpoint_ops) <remove>: Rename to...
790 <remove_location>: ... this. Accept pointer to struct bp_location
791 instead of pointer to struct breakpoint. Adapt all implementations.
792 * breakpoint.c (insert_catchpoint): Delete function.
793 (insert_bp_location): Call the watchpoint or catchpoint's
794 breakpoint_ops.insert method.
795 (remove_breakpoint_1): Call the watchpoint or catchpoint's
796 breakpoint_ops.remove method.
797 (insert_watchpoint, remove_watchpoint): New functions.
798 (watchpoint_breakpoint_ops): New structure.
799 (watch_command_1): Initialize the OPS field.
800 * inf-child.c (inf_child_insert_fork_catchpoint)
801 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
802 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
803 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
805 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
806 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
807 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
808 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
809 * target.c (update_current_target): Change default implementation of
810 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
811 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
812 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
813 to_set_syscall_catchpoint to return_one.
814 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
815 (debug_to_insert_exec_catchpoint): Report return value.
816 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
817 (to_insert_exec_catchpoint): Change declaration to return int instead
820 2011-01-11 Michael Snyder <msnyder@vmware.com>
822 * arm-tdep.c: Internationalization.
825 * fork-child.c: Ditto.
826 * nto-procfs.c: Ditto.
827 * ppc-sysv-tdep.c: Ditto.
829 * remote-mips.c: Ditto.
831 * rs6000-nat.c: Ditto.
832 * rs6000-tdep.c: Ditto.
836 * xml-support.c: Ditto.
837 * mi/mi-cmd-break.c: Ditto.
838 * mi/mi-cmd-var.c: Ditto.
839 * mi/mi-interp.c: Ditto.
840 * mi/mi-main.c: Ditto.
842 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
844 * remote-sim.c (gdbsim_store_register): Update API to
845 sim_store_register to check more error conditions.
847 2011-01-10 Michael Snyder <msnyder@vmware.com>
849 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
853 * objc-lang.c: Ditto.
857 * opencl-lang.c: Ditto.
860 * parser-defs.h: Ditto.
863 * posix-hdep.c: Ditto.
864 * ppcbug-rom.c: Ditto.
865 * ppc-linux-nat.c: Ditto.
866 * ppc-linux-tdep.c: Ditto.
867 * ppc-linux-tdep.h: Ditto.
868 * ppcnbsd-tdep.c: Ditto.
869 * ppcobsd-tdep.c: Ditto.
870 * ppcobsd-tdep.h: Ditto.
871 * ppc-sysv-tdep.c: Ditto.
875 * proc-flags.c: Ditto.
877 * proc-utils.h: Ditto.
878 * progspace.h: Ditto.
879 * prologue-value.c: Ditto.
880 * prologue-value.h: Ditto.
883 * p-typeprint.c: Ditto.
884 * p-valprint.c: Ditto.
885 * ravenscar-sparc-thread.c: Ditto.
886 * ravenscar-thread.c: Ditto.
887 * ravenscar-thread.h: Ditto.
892 * remote-fileio.c: Ditto.
893 * remote-fileio.h: Ditto.
895 * remote-m32r-sdi.c: Ditto.
896 * remote-mips.c: Ditto.
897 * remote-sim.c: Ditto.
898 * rs6000-aix-tdep.c: Ditto.
899 * rs6000-nat.c: Ditto.
900 * rs6000-tdep.c: Ditto.
902 2011-01-10 Michael Snyder <msnyder@vmware.com>
904 * charset.c (validate): Internationalization.
905 * coffread.c (read_one_sym): Ditto.
906 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
907 * h8300-tdep.c (H8300_extract_return_value): Ditto.
908 * inflow.c (new_tty): Ditto.
909 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
910 * m32c-tdep.c (m32c_return_value): Ditto.
911 * mep-tdep.c (mep_store_return_value): Ditto.
912 * score-tdep.c (score7_fetch_insn): Ditto.
913 * ser-mingw.c (pipe_windows_open): Ditto.
914 * sh64-tdep.c (sh64_extract_return_value): Ditto.
915 * spu-tdep.c (spu_register_type): Ditto.
916 * tracepoint.c (trace_find_command): Ditto.
917 * valarith.c (value_pos): Ditto.
919 2011-01-10 Joel Brobecker <brobecker@adacore.com>
921 * ada-valprint.c (printstr): Minor comment reformatting.
923 2011-01-08 Michael Snyder <msnyder@vmware.com>
925 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
928 2011-01-08 Michael Snyder <msnyder@vmware.com>
930 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
931 * hppa-hpux-tdep.c: Ditto.
932 * hppa-linux-nat.c: Ditto.
933 * hppa-linux-tdep.c: Ditto.
934 * hppanbsd-tdep.c: Ditto.
935 * hppa-tdep.c: Ditto.
936 * hppa-tdep.h: Ditto.
937 * hpux-thread.c: Ditto.
938 * i386-cygwin-tdep.c: Ditto.
939 * i386-darwin-nat.c: Ditto.
940 * i386gnu-nat.c: Ditto.
941 * i386-linux-nat.c: Ditto.
942 * i386-linux-tdep.c: Ditto.
945 * i386nbsd-tdep.c: Ditto.
946 * i386-sol2-nat.c: Ditto.
947 * i386-stub.c: Ditto.
948 * i386-tdep.c: Ditto.
949 * i386-tdep.h: Ditto.
950 * i387-tdep.c: Ditto.
951 * ia64-linux-nat.c: Ditto.
952 * ia64-linux-tdep.c: Ditto.
953 * ia64-tdep.c: Ditto.
964 * iq2000-tdep.c: Ditto.
965 * irix5-nat.c: Ditto.
971 * jv-typeprint.c: Ditto.
972 * jv-valprint.c: Ditto.
976 * linux-fork.c: Ditto.
977 * linux-nat.c: Ditto.
978 * linux-thread-db.c: Ditto.
979 * lm32-tdep.c: Ditto.
981 2011-01-08 Michael Snyder <msnyder@vmware.com>
983 * m2-exp.y: Comment cleanup, mostly periods and spaces.
985 * m2-typeprint.c: Ditto.
986 * m2-valprint.c: Ditto.
987 * m32c-tdep.c: Ditto.
988 * m32r-linux-nat.c: Ditto.
990 * m32r-tdep.c: Ditto.
991 * m32r-tdep.h: Ditto.
992 * m68hc11-tdep.c: Ditto.
993 * m58klinux-nat.c: Ditto.
994 * m68k-tdep.c: Ditto.
995 * m88k-tdep.c: Ditto.
996 * m88k-tdep.h: Ditto.
997 * machoread.c: Ditto.
1000 * macrotab.c: Ditto.
1003 * mdebugread.c: Ditto.
1004 * mdebugread.h: Ditto.
1007 * memory-map.h: Ditto.
1008 * mep-tdep.c: Ditto.
1009 * microblaze-rom.c: Ditto.
1010 * microblaze-tdep.c: Ditto.
1012 * mips-irix-tdep.c: Ditto.
1013 * mips-linux-nat.c: Ditto.
1014 * mips-linux-tdep.c: Ditto.
1015 * mips-linux-tdep.h: Ditto.
1016 * mipsnbsd-nat.c: Ditto.
1017 * mipsnbsd-tdep.c: Ditto.
1018 * mipsread.c: Ditto.
1019 * mips-tdep.c: Ditto.
1020 * mips-tdep.h: Ditto.
1021 * mn10300-linux-tdep.c: Ditto.
1022 * mn10300-tdep.c: Ditto.
1023 * mn10300-tdep.h: Ditto.
1026 * moxie-tdep.c: Ditto.
1027 * moxie-tdep.h: Ditto.
1030 2011-01-08 Mike Frysinger <vapier@gentoo.org>
1032 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1034 2011-01-08 Robert Millan <rmh@gnu.org>
1036 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1038 2011-01-07 Michael Snyder <msnyder@vmware.com>
1040 * charset.c (_initialize_charset): Fix typo in string.
1042 2011-01-07 Michael Snyder <msnyder@vmware.com>
1044 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1046 * tui/tui-layout.c (tui_set_layout_for_display_command):
1047 Split line so that operator goes to beginning of line.
1048 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1049 assignment out of if statement.
1051 2011-01-07 Michael Snyder <msnyder@vmware.com>
1053 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1054 * ada-lang.h: Ditto.
1055 * ada-tasks.c: Ditto.
1056 * ada-valprint.c: Ditto.
1057 * aix-threads.c: Ditto.
1058 * alpha-linux-nat.c: Ditto.
1059 * alpha-linux-tdep.c: Ditto.
1060 * alpha-mdebug-tdep.c: Ditto.
1061 * alpha-nat.c: Ditto.
1062 * alpha-osf1-tdep.c: Ditto.
1063 * alpha-tdep.c: Ditto.
1064 * alphabsd-nat.c: Ditto.
1065 * alphabsd-tdep.c: Ditto.
1066 * amd64-darwin-tdep.c: Ditto.
1067 * amd64-linux-nat.c: Ditto.
1068 * amd64-linux-tdep.c: Ditto.
1069 * amd64-sol2-tdep.c: Ditto.
1070 * amd64-tdep.c: Ditto.
1071 * amd64-fbsd-tdep.c: Ditto.
1072 * amd64-nbsd-tdep.c: Ditto.
1073 * amd64-obsd-tdep.c: Ditto.
1074 * amd64-linux-nat.c: Ditto.
1075 * amd64-linux-tdep.c: Ditto.
1076 * arm-tdep.c: Ditto.
1077 * arm-tdep.h: Ditto.
1078 * armnbsd-nat.c: Ditto.
1079 * avr-tdep.c: Ditto.
1080 * bfin-tdep.c: Ditto.
1082 * c-typeprintc: Ditto.
1083 * c-valprint.c: Ditto.
1084 * coff-pe-read.h: Ditto.
1085 * coffreead.c: Ditto.
1086 * cris-tdep.c: Ditto.
1088 * darwin-nat-info.c: Ditto.
1089 * darwin-nat.c: Ditto.
1090 * dbug-rom.c: Ditto.
1094 * dec-thread.c: Ditto.
1096 * demangle.c: Ditto.
1097 * dicos-tdep.c: Ditto.
1098 * dictionary.c: Ditto.
1099 * dictionary.h: Ditto.
1100 * dink32-rom.c: Ditto.
1102 * doublest.c: Ditto.
1104 * dummy-frame.c: Ditto.
1105 * dwarf2-frame.c: Ditto.
1106 * dwarf2expr.c: Ditto.
1107 * dwarf2loc.c: Ditto.
1108 * dwarf2read.c: Ditto.
1112 * event-top.h: Ditto.
1113 * exceptions.c: Ditto.
1114 * exceptions.h: Ditto.
1116 * expprint.c: Ditto.
1117 * expression.h: Ditto.
1121 * f-typeprint.c: Ditto.
1122 * f-valprint.c: Ditto.
1123 * fbsd-nat.c: Ditto.
1125 * fork-child.c: Ditto.
1128 * frv-linux-tdep.c: Ditto.
1129 * frv-tdep.c: Ditto.
1131 * gdb-stabs.h: Ditto.
1132 * gdb_assert.h: Ditto.
1133 * gdb_string.h: Ditto.
1134 * gdb_thread_db.h: Ditto.
1135 * gdb_wait.h: Ditto.
1136 * gdbarch.sh: Ditto.
1138 * gdbthread.h: Ditto.
1139 * gdbtypes.c: Ditto.
1140 * gdbtypes.h: Ditto.
1143 * gnu-v2-abi.c: Ditto.
1144 * gnu-v3-abi.c: Ditto.
1145 * go32-nat.c: Ditto.
1146 * gdbarch.c: Regenerate.
1147 * gdbarch.h: Regenerate.
1149 2011-01-07 Michael Snyder <msnyder@vmware.com>
1151 * ax-gdb.c: Adjust some long output strings.
1152 * breakpoint.c: Ditto.
1157 * linux-nat.c: Ditto.
1158 * solib-pa64.c: Ditto.
1159 * solib-som.c: Ditto.
1161 2011-01-06 Tom Tromey <tromey@redhat.com>
1165 * python/python.c (GdbMethods): Add "newest_frame" method.
1166 * python/python-internal.h (gdbpy_newest_frame): Declare.
1167 * python/py-frame.c (gdbpy_newest_frame): New function.
1169 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1171 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1172 * jit.c (jit_debug): New variable.
1173 (show_jit_debug): New function.
1174 (struct target_buffer): Use ULONGEST.
1175 (bfd_open_from_target_memory): Likewise.
1176 (jit_register_code, jit_inferior_init): Add debug output.
1177 (_initialize_jit): Register "debug jit" command.
1179 2011-01-06 Tom Tromey <tromey@redhat.com>
1181 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1182 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1185 2011-01-06 Tom Tromey <tromey@redhat.com>
1187 * python/py-frame.c (frapy_block): Use get_frame_block.
1189 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1191 Do not stop on SIGPRIO signals by default
1192 * infrun.c (_initialize_infrun): Unset signal_stop and
1193 signal_print for TARGET_SIGNAL_PRIO.
1195 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1197 * ada-tasks.c: Fix style violation in comment.
1199 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1201 * linespec.c (decode_compound, find_method): Remove trailing \n
1202 at end of error string.
1203 * solib-irix.c (irix_current_sos): Likewise.
1204 * varobj.c (uninstall_variable): Likewise.
1206 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1208 * copyright.py: New script.
1209 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1210 Launch emacs without exec'ing. Call copyright.py afterwards.
1212 2011-01-05 Michael Snyder <msnyder@vmware.com>
1214 * addrmap.c: Shorten lines of >= 80 columns.
1215 * arch-utils.c: Ditto.
1216 * arch-utils.h: Ditto.
1218 * ax-general.c: Ditto.
1220 * blockframe.c: Ditto.
1221 * breakpoint.c: Ditto.
1222 * buildsym.c: Ditto.
1224 * c-typeprint.c: Ditto.
1226 * coffread.c: Ditto.
1230 * cp-namespace.c: Ditto.
1231 * cp-support.c: Ditto.
1232 * dbug-rom.c: Ditto.
1237 * dictionary.c: Ditto.
1239 * doublest.c: Ditto.
1240 * dwarf2-frame.c: Ditto.
1241 * dwarf2expr.c: Ditto.
1242 * dwarf2loc.c: Ditto.
1243 * dwarf2read.c: Ditto.
1246 * event-loop.c: Ditto.
1247 * event-loop.h: Ditto.
1248 * exceptions.h: Ditto.
1250 * expprint.c: Ditto.
1251 * expression.h: Ditto.
1253 * f-valprint.c: Ditto.
1255 * frame-base.c: Ditto.
1256 * frame-unwind.c: Ditto.
1257 * frame-unwind.h: Ditto.
1261 * gdb-stabs.h: Ditto.
1262 * gdb_assert.h: Ditto.
1263 * gdb_dirent.h: Ditto.
1264 * gdb_obstack.h: Ditto.
1266 * gdbtypes.c: Ditto.
1267 * gdbtypes.h: Ditto.
1268 * inf-ttrace.c: Ditto.
1273 * inline-frame.h: Ditto.
1274 * language.c: Ditto.
1275 * language.h: Ditto.
1276 * libunwind-frame.c: Ditto.
1277 * libunwind-frame.h: Ditto.
1278 * linespec.c: Ditto.
1279 * linux-nat.c: Ditto.
1280 * linux-nat.h: Ditto.
1281 * linux-thread-db.c: Ditto.
1282 * machoread.c: Ditto.
1283 * macroexp.c: Ditto.
1284 * macrotab.c: Ditto.
1287 * mdebugread.c: Ditto.
1292 * objfiles.c: Ditto.
1293 * objfiles.h: Ditto.
1295 * p-typeprint.c: Ditto.
1296 * p-valprint.c: Ditto.
1298 * printcmd.c: Ditto.
1299 * proc-events.c: Ditto.
1301 * progspace.c: Ditto.
1302 * progspace.h: Ditto.
1303 * psympriv.h: Ditto.
1306 * regcache.c: Ditto.
1307 * regcache.h: Ditto.
1308 * remote-fileio.c: Ditto.
1310 * ser-mingw.c: Ditto.
1312 * ser-unix.c: Ditto.
1315 * solib-frv.c: Ditto.
1316 * solib-irix.c: Ditto.
1317 * solib-osf.c: Ditto.
1318 * solib-pa64.c: Ditto.
1319 * solib-som.c: Ditto.
1320 * solib-sunos.c: Ditto.
1321 * solib-svr4.c: Ditto.
1322 * solib-target.c: Ditto.
1326 * stabsread.c: Ditto.
1327 * stabsread.c: Ditto.
1330 * symfile-mem.c: Ditto.
1336 * target-descriptions.c: Ditto.
1337 * target-memory.c: Ditto.
1340 * terminal.h: Ditto.
1343 * tracepoint.c: Ditto.
1344 * tracepoint.h: Ditto.
1348 * user-regs.c: Ditto.
1349 * user-regs.h: Ditto.
1351 * valarith.c: Ditto.
1353 * valprint.c: Ditto.
1354 * valprint.h: Ditto.
1359 * xcoffread.c: Ditto.
1360 * xcoffsolib.c: Ditto.
1361 * xcoffsolib.h: Ditto.
1362 * xml-syscall.c: Ditto.
1363 * xml-tdesc.c: Ditto.
1365 2011-01-05 Michael Snyder <msnyder@vmware.com>
1367 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1368 * cli/cli-decode.c: Ditto.
1369 * cli/cli-dump.c: Ditto.
1370 * cli/cli-logging.c: Ditto.
1371 * cli/cli-script.c: Ditto.
1372 * cli/cli-setshow.c: Ditto.
1373 * common/signals.c: Ditto.
1374 * mi/mi-cmd-break.c: Ditto.
1375 * mi/mi-cmd-disas.c: Ditto.
1376 * mi/mi-cmd-stack.c: Ditto.
1377 * mi/mi-cmd-var.c: Ditto.
1378 * mi/mi-cmds.c: Ditto.
1379 * mi/mi-common.h: Ditto.
1380 * mi/mi-console.c: Ditto.
1381 * mi/mi-interp.c: Ditto.
1382 * mi/mi-main.c: Ditto.
1383 * osf-share/cma_attr.c: Ditto.
1384 * osf-share/cma_deb_core.h: Ditto.
1385 * osf-share/cma_debug_client.h: Ditto.
1386 * osf-share/cma_handle.h: Ditto.
1387 * osf-share/cma_mutex.h: Ditto.
1388 * osf-share/cma_stack_int.h: Ditto.
1389 * osf-share/cma_tcb_defs.h: Ditto.
1390 * python/py-auto-load.c: Ditto.
1391 * python/py-breakpoint.c: Ditto.
1392 * python/py-cmd.c: Ditto.
1393 * python/py-frame.c: Ditto.
1394 * python/py-objfile.c: Ditto.
1395 * python/py-param.c: Ditto.
1396 * python/py-progspace.c: Ditto.
1397 * python/py-symbol.c: Ditto.
1398 * python/py-value.c: Ditto.
1399 * python/python-internal.h: Ditto.
1400 * python/python.c: Ditto.
1401 * tui/tui-data.c: Ditto.
1402 * tui/tui-disasm.c: Ditto.
1403 * tui/tui-hooks.c: Ditto.
1404 * tui/tui-io.c: Ditto.
1405 * tui/tui-layout.c: Ditto.
1406 * tui/tui-regs.c: Ditto.
1407 * tui/tui-source.c: Ditto.
1408 * tui/tui-stack.c: Ditto.
1409 * tui/tui-win.c: Ditto.
1410 * tui/tui-windata.c: Ditto.
1411 * tui/tui-winsource.c: Ditto.
1413 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1415 * configure.ac, gdb.1: Copyright year update.
1417 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1419 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1420 this_pc_in_block, morestack_msym and morestack_name. Check for
1421 "__morestack" minimal symbol there.
1423 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1425 * symfile.c (find_sym_fns): Add call to dont_repeat.
1427 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1429 Copyright year update in most files (performed by copyright.sh).
1431 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1433 * top.c (print_gdb_version): Update copyright year in version output.
1435 For older changes see ChangeLog-2010.
1441 version-control: never