1 2011-01-26 Tom Tromey <tromey@redhat.com>
3 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
5 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
7 (gdb_py_longest, gdb_py_ulongest): New typedefs.
8 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
9 (gdb_py_long_as_ulongest): New defines.
10 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
11 (gdb_py_int_as_long): Declare.
12 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
13 GDB_PY_LL_ARG, gdb_py_object_from_longest.
14 (valpy_long): Add comment.
15 * python/py-utils.c (get_addr_from_python): Use
16 gdb_py_long_as_ulongest. Handle overflow properly.
17 (gdb_py_object_from_longest): New function.
18 (gdb_py_object_from_ulongest): Likewise.
19 (gdb_py_int_as_long): Likewise.
20 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
21 * python/py-symtab.c (salpy_get_pc): Use
22 gdb_py_long_from_ulongest.
23 (salpy_get_line): Use PyInt_FromLong.
24 * python/py-param.c (set_parameter_value): Use
26 * python/py-lazy-string.c (stpy_get_address): Use
27 gdb_py_long_from_ulongest.
28 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
29 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
30 * python/py-breakpoint.c (bppy_set_thread): Use
32 (bppy_set_task): Likewise.
33 (bppy_set_ignore_count): Likewise.
34 (bppy_set_hit_count): Likewise.
35 * python/py-block.c (blpy_get_start): Use
36 gdb_py_object_from_ulongest.
37 (blpy_get_end): Likewise.
38 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
40 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
43 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
44 * gdb/solib.c (solib_read_symbols): Check for addr_low in
45 equality test for objfile, initialize addr_low if needed.
47 2011-01-25 Pedro Alves <pedro@codesourcery.com>
49 * tui/tui-regs.c (tui_register_format): Remove dead code.
51 2011-01-25 Pedro Alves <pedro@codesourcery.com>
53 * printcmd.c (print_formatted): Use val_print_scalar_formatted
54 instead of print_scalar_formatted.
55 (print_scalar_formatted): Don't handle 's' format strings here,
56 and add an assertion that we never see such format here.
57 * valprint.h (val_print_scalar_formatted): Declare.
58 * valprint.c (val_print_scalar_formatted): New.
59 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
60 instead of print_scalar_formatted.
61 * jv-valprint.c (java_val_print): Ditto.
62 * p-valprint.c (pascal_val_print): Ditto.
63 * ada-valprint.c (ada_val_print_1): Ditto.
64 * f-valprint.c (f_val_print): Ditto.
65 * infcmd.c (registers_info): Ditto.
66 * m2-valprint.c (m2_val_print): Ditto.
68 2011-01-25 Pedro Alves <pedro@codesourcery.com>
70 * m2-valprint.c (print_unbounded_array): Pass
71 value_contents_for_printing rather than value_contents, to
72 m2_print_array_contents. Also pass in the value.
74 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
76 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
77 (save_gdb_index_command): Switch to .gdb_index version 4.
79 2011-01-25 Pedro Alves <pedro@codesourcery.com>
81 * mi/mi-main.c (get_register): Use get_frame_register_value rather
82 than frame_register, and always pass a valid value to val_print.
84 2011-01-25 Pedro Alves <pedro@codesourcery.com>
86 Centralize printing "<optimized out>".
88 * valprint.h (val_print_optimized_out): Declare.
89 * cp-valprint.c (cp_print_value_fields): Use
90 val_print_optimized_out.
91 * jv-valprint.c (java_print_value_fields): Ditto.
92 * p-valprint.c (pascal_object_print_value_fields): Ditto.
93 * printcmd.c (print_formatted): Ditto.
94 * valprint.c (valprint_check_validity): Ditto.
95 (value_check_printable): Ditto.
96 (val_print_optimized_out): New.
98 2011-01-25 Pedro Alves <pedro@codesourcery.com>
100 * infcmd.c (default_print_registers_info): Allocate values so to
101 never pass a NULL value to val_print.
103 2011-01-25 Pedro Alves <pedro@codesourcery.com>
105 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
106 boolean. Make sure to always pass a value that matches the
107 contents buffer to callees. Preserve `address' for following
109 * value.c (value_contents_for_printing_const): New.
110 (value_address): Constify value argument.
111 * value.h (value_contents_for_printing_const): Declare.
112 (value_address): Constify value argument.
114 2011-01-25 Pedro Alves <pedro@codesourcery.com>
116 * regcache.c (struct regcache_descr): Rename
117 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
118 and sizeof_cooked_register_valid_p to
119 sizeof_cooked_register_status.
120 (init_regcache_descr): Adjust.
121 (struct regcache): Rename register_valid_p field to
123 (regcache_xmalloc_1, regcache_xfree, regcache_save)
124 (do_cooked_read): Adjust.
125 (regcache_valid_p): Rename to ...
126 (regcache_register_status): ... this. Adjust.
127 (regcache_invalidate): Adjust.
128 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
130 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
131 as unavailable, not valid.
132 (regcache_dump): Adjust.
133 * regcache.h (enum register_status): New.
134 (regcache_register_status): Declare.
135 (regcache_invalidate): Delete declaration.
136 * corelow.c (get_core_registers): Adjust.
137 * tracepoint.c (tfile_fetch_registers): Adjust.
138 * trad-frame.c (REG_VALUE): Rename to ...
139 (TF_REG_VALUE): ... this.
140 (REG_UNKNOWN): Rename to ...
141 (TF_REG_UNKNOWN): ... this.
142 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
143 * mi/mi-main.c (register_changed_p): Adjust.
145 2011-01-25 Pedro Alves <pedro@codesourcery.com>
147 * regcache.c (struct regcache_descr): Remove outdated comment.
148 (init_regcache_descr): Remove sizeof_raw_register_valid_p
150 (regcache_xmalloc): Rename to ...
151 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
152 Allocate the regcache type accordingly.
153 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
154 (regcache_xfree): Asser the source is also readonly. Copy sizeof
155 cooked registers, not raw.
156 (regcache_dup_no_passthrough): Delete.
157 (get_thread_arch_regcache): Use regcache_xmalloc_1.
158 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
159 mention obsolete write_register_bytes.
160 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
162 2011-01-25 Pedro Alves <pedro@codesourcery.com>
164 Stop remote_read_bytes from handling partial reads itself.
166 * remote-fileio.c: Include target.h.
167 (remote_fileio_write_bytes): Delete.
168 (remote_fileio_func_open, remote_fileio_func_write)
169 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
171 (remote_fileio_func_stat): Use target_read_memory and
173 (remote_fileio_func_gettimeofday): Use target_write_memory.
174 (remote_fileio_func_system): Use target_read_memory.
175 * remote.c (remote_write_bytes): Make it static.
176 (remote_read_bytes): Don't handle partial reads here.
177 * remote.h (remote_read_bytes): Delete declaration.
179 2011-01-25 Pedro Alves <pedro@codesourcery.com>
181 Simplify XML parsing a bit.
183 * xml-support.h (gdb_xml_parse_quick): Declare.
184 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
185 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
187 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
188 gdb_xml_create_parser_and_cleanup_1.
189 (gdb_xml_parse_quick): New.
190 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
191 * osdata.c (osdata_parse): Ditto.
192 * remote.c (remote_threads_info): Ditto.
193 * solib-target.c (solib_target_parse_libraries): Ditto.
194 * xml-syscall.c (syscall_parse_xml): Ditto.
195 * xml-tdesc.c (tdesc_parse_xml): Ditto.
197 2011-01-24 Kevin Buettner <kevinb@redhat.com>
199 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
200 with remote-mips.o added to gdb_target_obs.
201 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
203 2011-01-24 Pedro Alves <pedro@codesourcery.com>
205 * ada-valprint.c (val_print_packed_array_elements): Pass the
206 correct struct value to val_print.
207 (ada_val_print_1): Ditto.
209 2011-01-24 Pedro Alves <pedro@codesourcery.com>
211 Don't lose embedded_offset in printing routines throughout.
213 * valprint.h (val_print_array_elements): Change prototype.
214 * valprint.c (val_print_array_elements): Add `embedded_offset'
215 parameter, and adjust to pass it down to val_print, while passing
216 `valaddr' or `address' unmodified. Take embedded_offset into
217 account when checking repetitions.
218 * c-valprint.c (c_val_print): Pass embedded_offset to
219 val_print_array_elements instead of adjusting `valaddr' and
221 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
222 embedded_offset to val_print_array_elements instead of adjusting
224 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
225 * p-valprint.c (pascal_val_print): Pass embedded_offset to
226 val_print_array_elements and pascal_object_print_value_fields
227 instead of adjusting `valaddr'.
228 (pascal_object_print_value_fields): Add `offset' parameter, and
230 (pascal_object_print_value): Add `offset' parameter, and adjust to
232 (pascal_object_print_static_field): Use
233 value_contents_for_printing/value_embedded_offset, rather than
235 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
236 parameter, and adjust to use it. Use
237 value_contents_for_printing/value_embedded_offset, rather than
239 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
240 (ada_val_print_array): Add `offset' parameter, and adjust to use
242 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
243 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
244 Instead work with offsets. Use
245 value_contents_for_printing/value_embedded_offset, rather than
246 value_contents. Change `defer_val_int' local type to CORE_ADDR,
247 and use value_from_pointer to extract a target pointer, rather
248 than value_from_longest.
249 (print_variant_part): Add `offset' parameter. Replace
250 `outer_valaddr' parameter by a new `outer_offset' parameter.
251 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
252 (ada_value_print): Use
253 value_contents_for_printing/value_embedded_offset, rather than
255 (print_record): Add `offset' parameter, and adjust to pass it
257 (print_field_values): Add `offset' parameter. Replace
258 `outer_valaddr' parameter by a new `outer_offset' parameter.
259 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
260 Use value_contents_for_printing/value_embedded_offset, rather than
262 * d-valprint.c (dynamic_array_type): Use
263 value_contents_for_printing/value_embedded_offset, rather than
265 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
266 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
267 (java_print_value_fields): Take `offset' into account. Don't
268 re-adjust `valaddr'. Instead pass down adjusted offsets.
269 (java_val_print): Take `embedded_offset' into account. Pass it to
270 java_print_value_fields.
271 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
272 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
273 down adjusted offsets.
274 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
275 (f_val_print): Take `embedded_offset' into account.
277 2011-01-21 Joel Brobecker <brobecker@adacore.com>
279 * inflow.c: Include "gdbcmd.h".
280 (interactive_mode): New static global, moved here from top.c.
281 (show_interactive_mode): New function, moved here from top.c.
282 use gdb_has_a_terminal instead of input_from_terminal_p to
283 determine the current mode.
284 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
286 (_initialize_inflow): Add the "set/show interactive-mode"
287 commands. Moved here from top.c, after having adjusted slightly
289 * top.c (interactive_mode, show_interactive_mode): Delete, moved
291 (input_from_terminal_p): Remove handling of "interactive-mode"
292 setting, moved to infow.c.
293 (init_main): Remove creation of the "set/show interactive-mode"
294 commands, moved to inflow.c.
296 2011-01-19 Joel Brobecker <brobecker@adacore.com>
298 * NEWS: Add entry for native ia64-hpux support.
300 2011-01-19 Tom Tromey <tromey@redhat.com>
303 * thread.c (free_thread): Free 'name'.
304 (print_thread_info): Emit thread name. Change CLI output.
305 (thread_name_command): New function.
306 (do_captured_thread_select): Emit newline.
307 (_initialize_thread): Register 'thread name' command.
308 * target.h (struct target_ops) <to_thread_name>: New field.
309 (target_thread_name): New macro.
310 * target.c (update_current_target): Handle to_thread_name.
311 * python/py-infthread.c (thpy_get_name): New function.
312 (thpy_set_name): Likewise.
313 (thread_object_getset): Add "name".
314 * linux-nat.c (linux_nat_thread_name): New function.
315 (linux_nat_add_target): Set to_thread_name.
316 * gdbthread.h (struct thread_info) <name>: New field.
318 2011-01-18 Joel Brobecker <brobecker@adacore.com>
320 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
321 (ada_val_print_1): Likewise.
323 2011-01-18 Joel Brobecker <brobecker@adacore.com>
325 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
326 upper limit address is not greater than the function end address
327 when the upper limit could not be computed using the debugging
330 2011-01-17 Tom Tromey <tromey@redhat.com>
332 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
334 * utils.c: Include gdb_regex.h.
335 (do_regfree_cleanup): New function.
336 (make_regfree_cleanup): Likewise.
337 (get_regcomp_error): Likewise.
338 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
340 2011-01-17 Tom Tromey <tromey@redhat.com>
342 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
345 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
347 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
348 for internal variables.
349 (last_was_structop): New static variable.
350 (COMPLETE): New token.
351 (field_exp): New rule to group all '.' suffix handling.
352 Add mark_struct_expression calls when approriate to be able
353 to correctly find fields for completion.
354 (yylex): Adapt to handle field completion and set INTVAR when
357 2011-01-14 Yao Qi <yao@codesourcery.com>
359 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
360 save_reggroup, restore_reggroup and all_reggroup.
362 2011-01-14 Joel Brobecker <brobecker@adacore.com>
364 * ada-valprint. (ada_printchar): Use the correct type length
365 in call to ada_emit_char.
366 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
368 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
370 * solib-som.h (hpux_major_release): Declare variable here.
371 * solib-som.c: Remove <sys/utsname.h> header.
372 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
373 (hpux_major_release): Make global, change default value to
374 DEFAULT_HPUX_MAJOR_RELEASE.
375 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
376 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
377 Add "solib-som.h" header.
378 (set_hpux_major_release): New function.
379 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
381 2011-01-14 Mike Frysinger <vapier@gentoo.org>
383 * configure.tgt (*-*-uclinux*): Match more Linux os targets
385 2011-01-14 Joel Brobecker <brobecker@adacore.com>
387 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
388 new-line at end of warning message.
389 (ia64_hpux_store_register): Remove trailing new-line at end of
391 * ia64-hpux-tdep.c: Rephrase comment.
392 * solib-ia64-hpux.c (struct dld_info): Change type of field
393 dld_flags from "long long" to ULONGEST.
395 2011-01-14 Pedro Alves <pedro@codesourcery.com>
397 * target.h (deprecated_child_ops): Delete declaration.
398 * target.c (deprecated_child_ops): Delete definition.
400 2011-01-14 Pedro Alves <pedro@codesourcery.com>
402 * Makefile.in (hpux-thread.o): Delete rule.
403 * configure.ac: Don't check for HPUX DCE threads support.
404 * configure, config.in: Regenerate.
405 * hppa-hpux-nat.c (child_suppress_run): Delete.
406 (hppa_hpux_child_can_run): Delete.
407 (_initialize_hppa_hpux_nat): Don't override to_can_run.
408 * hpux-thread.c: Delete.
410 2011-01-13 Joel Brobecker <brobecker@adacore.com>
412 * hpux-thread.c (hpux_pid_to_str): Delete.
414 2011-01-13 Joel Brobecker <brobecker@adacore.com>
416 * ada-valprint.c (ada_emit_char): Remove strange code.
417 Check that c is <= UCHAR_MAX before passing it to isascii.
418 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
420 2011-01-13 Joel Brobecker <brobecker@adacore.com>
422 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
423 to the case where instream is stdin.
425 2011-01-13 Joel Brobecker <brobecker@adacore.com>
427 * ia64-tdep.h (struct regcache): Forward declare.
428 (struct ia64_infcall_ops): New struct type.
429 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
431 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
432 Renames ia64_find_global_pointer.
433 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
434 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
435 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
437 (ia64_infcall_ops): New static global constant.
438 (ia64_gdbarch_init): Set tdep->infcall_ops.
439 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
440 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
441 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
442 (ia64_hpux_dummy_code): New static global constant.
443 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
444 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
445 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
447 (ia64_hpux_infcall_ops): New static global constant.
448 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
449 for inferior function calls to work properly on ia64-hpux.
451 2011-01-13 Joel Brobecker <brobecker@adacore.com>
453 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
454 * ia64-tdep.h (struct frame_info): forward declaration.
455 (struct gdbarch_tdep): Add field size_of_register_frame.
456 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
457 to determine the size of the register frame.
458 (ia64_size_of_register_frame): New function.
459 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
460 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
461 (IA64_HPUX_UREG_REASON): New macro.
462 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
464 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
465 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
466 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
469 2011-01-13 Joel Brobecker <brobecker@adacore.com>
471 Add support for ia64-hpux.
472 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
473 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
475 * configure.host: Add handling for ia64-hpux hosts. Add associated
477 * configure.tgt: Add handling for ia64-hpux targets.
478 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
479 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
480 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
482 2011-01-13 Joel Brobecker <brobecker@adacore.com>
484 [ttrace] Compute thread list immediately after attach.
485 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
487 (inf_ttrace_attach): Use it.
489 2011-01-13 Joel Brobecker <brobecker@adacore.com>
491 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
492 if we could not determine the frame's function address. Instead,
493 use the frame's PC, and then continue.
495 2011-01-13 Joel Brobecker <brobecker@adacore.com>
497 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
500 2011-01-13 Joel Brobecker <brobecker@adacore.com>
502 * ia64-tdep.c (ia64_struct_type_p): New function.
503 (ia64_extract_return_value): Handle integral values that are
504 less than 8 bytes long.
505 (ia64_push_dummy_call): Likewise.
507 2011-01-13 Joel Brobecker <brobecker@adacore.com>
509 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
510 floatformat_ia64_ext.
511 (floatformat_ia64_ext_big): New static const.
512 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
514 2011-01-12 Tom Tromey <tromey@redhat.com>
516 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
518 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
519 (mi_cmd_thread_list_ids): Likewise.
520 (mi_cmd_data_list_changed_registers): Likewise.
521 (mi_cmd_data_list_register_values): Likewise.
522 (mi_cmd_data_write_register_values): Likewise.
523 (mi_cmd_data_evaluate_expression): Likewise.
524 (mi_cmd_data_read_memory): Likewise.
525 (mi_cmd_data_read_memory_bytes): Likewise.
526 (mi_cmd_data_write_memory): Likewise.
527 (mi_cmd_enable_timings): Likewise.
528 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
529 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
530 (mi_cmd_var_delete): Likewise.
531 (mi_cmd_var_set_format): Likewise.
532 (mi_cmd_var_show_format): Likewise.
533 (mi_cmd_var_info_num_children): Likewise.
534 (mi_cmd_var_list_children): Likewise.
535 (mi_cmd_var_info_type): Likewise.
536 (mi_cmd_var_info_expression): Likewise.
537 (mi_cmd_var_show_attributes): Likewise.
538 (mi_cmd_var_assign): Likewise.
539 (mi_cmd_var_update): Likewise.
540 (mi_cmd_enable_pretty_printing): Likewise.
541 (mi_cmd_var_set_update_range): Likewise.
542 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
544 (mi_cmd_target_file_put): Likewise.
545 (mi_cmd_target_file_delete): Likewise.
546 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
548 (mi_cmd_stack_info_depth): Likewise.
549 (mi_cmd_stack_list_locals): Likewise.
550 (mi_cmd_stack_list_args): Likewise.
551 (mi_cmd_stack_select_frame): Likewise.
552 (mi_cmd_stack_select_frame): Likewise.
553 (mi_cmd_stack_info_frame): Likewise.
554 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
556 (mi_cmd_file_list_exec_source_files): Likewise.
557 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
558 (mi_cmd_env_cd): Likewise.
559 (mi_cmd_env_path): Likewise.
560 (mi_cmd_env_dir): Likewise.
561 (mi_cmd_inferior_tty_show): Likewise.
562 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
563 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
564 (mi_cmd_break_watch): Likewise.
566 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
568 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
569 (ppc_linux_insert_hw_breakpoint): Likewise.
570 (ppc_linux_remove_hw_breakpoint): Likewise.
571 (ppc_linux_insert_watchpoint): Likewise.
573 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
574 Jan Kratochvil <jan.kratochvil@redhat.com>
576 PR fortran/11104 and DWARF unbound arrays detection.
577 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
578 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
579 unspecified upper bound.
580 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
581 variables array_size_array, tmp_type and offset_item. New variable
582 array. Remove call to f77_get_upperbound. New variables array_type
583 and index. Call value_subscripted_rvalue for each dimenasion. Remove
584 the final call to deprecated_set_value_type.
586 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
588 Make value allocations more lazy.
589 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
590 instead of allocate_value and set_value_lazy when possible.
591 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
592 instead of allocate_value and set_value_lazy.
593 * findvar.c (value_of_register_lazy): Likewise.
594 (read_var_value): Remove V preallocation, call just check_typedef in
595 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
596 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
597 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
598 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
599 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
600 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
601 the end, remove set_value_lazy there.
602 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
603 instead of allocate_value and set_value_lazy when possible.
604 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
605 * value.c (allocate_computed_value): Use allocate_value_lazy instead
606 of allocate_value and set_value_lazy.
607 (value_from_contents_and_address): Use allocate_value_lazy instead of
608 allocate_value and set_value_lazy when possible.
610 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
612 * disasm.c (dump_insns): Support dumping opcodes for MI.
613 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
614 dumping of instruction opcodes.
616 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
618 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
621 2011-01-11 Tom Tromey <tromey@redhat.com>
623 * thread.c (do_captured_thread_select): Emit newline before
626 2011-01-11 Michael Snyder <msnyder@vmware.com>
628 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
629 * score-tdep.c: Ditto.
630 * score-tdep.h: Ditto.
635 * ser-mingw.c: Ditto.
639 * sh64-tdep.c: Ditto.
640 * shnbsd-nat.c: Ditto.
644 * solib-darwin.c: Ditto.
645 * solib-frv.c: Ditto.
647 * solib-irix.c: Ditto.
648 * solib-osf.c: Ditto.
649 * solib-pa64.c: Ditto.
650 * solib-som.c: Ditto.
651 * solib-spu.c: Ditto.
652 * solib-sunos.c: Ditto.
653 * solib-svr4.c: Ditto.
655 * sol-thread.c: Ditto.
659 * sparc64-linux-tdep.c: Ditto.
660 * sparc64-tdep.c: Ditto.
661 * sparc-linux-nat.c: Ditto.
662 * sparc-linux-tdep.c: Ditto.
663 * sparc-sol2-nat.c: Ditto.
664 * sparc-sol2-tdep.c: Ditto.
665 * sparc-tdep.c: Ditto.
666 * sparc-tdep.h: Ditto.
668 * stabsread.c: Ditto.
669 * stabsread.h: Ditto.
677 * target-descriptions.c: Ditto.
678 * target-descriptions.h: Ditto.
680 * target-memory.c: Ditto.
684 * tracepoint.c: Ditto.
685 * tracepoint.h: Ditto.
686 * trad-frame.h: Ditto.
687 * typeprint.c: Ditto.
689 2011-01-11 Michael Snyder <msnyder@vmware.com>
691 * ui-file.c: Comment cleanup, mostly periods and spaces.
696 * v850-tdep.c: Ditto.
709 * windows-nat.c: Ditto.
710 * windows-tdep.c: Ditto.
711 * xcoffread.c: Ditto.
712 * xcoffsolib.c: Ditto.
713 * xml-support.c: Ditto.
714 * xstormy16-tdep.c: Ditto.
715 * xtensa-tdep.c: Ditto.
716 * xtensa-tdep.h: Ditto.
718 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
720 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
721 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
723 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
724 Thiago Jung Bauermann <bauerman@br.ibm.com>
726 Implement support for PowerPC BookE ranged watchpoints.
728 (struct breakpoint_ops) <resources_needed>: New method.
729 Initialize to NULL in all existing breakpoint_ops instances.
730 (struct breakpoint) <exact>: New field.
731 (target_exact_watchpoints): Declare external global.
732 * breakpoint.c (target_exact_watchpoints): New global flag.
733 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
734 b->enable_state to bp_enabled before calling
735 hw_watchpoint_used_count.
736 (hw_watchpoint_used_count): Iterate over all bp_locations in a
737 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
739 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
740 if the watchpoint is exact.
741 (resources_needed_watchpoint): New function.
742 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
743 (watch_command_1): Set b->exact if the user asked for an exact
744 watchpoint and one can be set.
745 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
746 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
747 the user asks for an exact watchpoint and one can be set. Return
748 number of needed debug registers to watch the expression.
749 * gdbtypes.c (is_scalar_type): New function, based on
750 valprint.c:scalar_type_p.
751 (is_scalar_type_recursive): New function.
752 * gdbtypes.h (is_scalar_type_recursive): Declare.
753 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
754 handle regions when ranged watchpoints are available.
755 (create_watchpoint_request): New function.
756 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
757 create_watchpoint_request.
758 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
759 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
760 `set powerpc' and `show powerpc' commands.
761 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
762 Mention documentation comment in the target macro.
763 (target_region_ok_for_hw_watchpoint): Document return value.
765 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
767 * breakpoint.c (update_watchpoint): Decide on using a software or
768 hardware watchpoint after the bp_locations are created.
770 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
772 Convert hardware watchpoints to use breakpoint_ops.
773 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
774 <insert_location>: ... this. Return int instead of void.
775 Accept pointer to struct bp_location instead of pointer to
776 struct breakpoint. Adapt all implementations.
777 (breakpoint_ops) <remove>: Rename to...
778 <remove_location>: ... this. Accept pointer to struct bp_location
779 instead of pointer to struct breakpoint. Adapt all implementations.
780 * breakpoint.c (insert_catchpoint): Delete function.
781 (insert_bp_location): Call the watchpoint or catchpoint's
782 breakpoint_ops.insert method.
783 (remove_breakpoint_1): Call the watchpoint or catchpoint's
784 breakpoint_ops.remove method.
785 (insert_watchpoint, remove_watchpoint): New functions.
786 (watchpoint_breakpoint_ops): New structure.
787 (watch_command_1): Initialize the OPS field.
788 * inf-child.c (inf_child_insert_fork_catchpoint)
789 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
790 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
791 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
793 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
794 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
795 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
796 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
797 * target.c (update_current_target): Change default implementation of
798 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
799 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
800 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
801 to_set_syscall_catchpoint to return_one.
802 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
803 (debug_to_insert_exec_catchpoint): Report return value.
804 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
805 (to_insert_exec_catchpoint): Change declaration to return int instead
808 2011-01-11 Michael Snyder <msnyder@vmware.com>
810 * arm-tdep.c: Internationalization.
813 * fork-child.c: Ditto.
814 * nto-procfs.c: Ditto.
815 * ppc-sysv-tdep.c: Ditto.
817 * remote-mips.c: Ditto.
819 * rs6000-nat.c: Ditto.
820 * rs6000-tdep.c: Ditto.
824 * xml-support.c: Ditto.
825 * mi/mi-cmd-break.c: Ditto.
826 * mi/mi-cmd-var.c: Ditto.
827 * mi/mi-interp.c: Ditto.
828 * mi/mi-main.c: Ditto.
830 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
832 * remote-sim.c (gdbsim_store_register): Update API to
833 sim_store_register to check more error conditions.
835 2011-01-10 Michael Snyder <msnyder@vmware.com>
837 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
841 * objc-lang.c: Ditto.
845 * opencl-lang.c: Ditto.
848 * parser-defs.h: Ditto.
851 * posix-hdep.c: Ditto.
852 * ppcbug-rom.c: Ditto.
853 * ppc-linux-nat.c: Ditto.
854 * ppc-linux-tdep.c: Ditto.
855 * ppc-linux-tdep.h: Ditto.
856 * ppcnbsd-tdep.c: Ditto.
857 * ppcobsd-tdep.c: Ditto.
858 * ppcobsd-tdep.h: Ditto.
859 * ppc-sysv-tdep.c: Ditto.
863 * proc-flags.c: Ditto.
865 * proc-utils.h: Ditto.
866 * progspace.h: Ditto.
867 * prologue-value.c: Ditto.
868 * prologue-value.h: Ditto.
871 * p-typeprint.c: Ditto.
872 * p-valprint.c: Ditto.
873 * ravenscar-sparc-thread.c: Ditto.
874 * ravenscar-thread.c: Ditto.
875 * ravenscar-thread.h: Ditto.
880 * remote-fileio.c: Ditto.
881 * remote-fileio.h: Ditto.
883 * remote-m32r-sdi.c: Ditto.
884 * remote-mips.c: Ditto.
885 * remote-sim.c: Ditto.
886 * rs6000-aix-tdep.c: Ditto.
887 * rs6000-nat.c: Ditto.
888 * rs6000-tdep.c: Ditto.
890 2011-01-10 Michael Snyder <msnyder@vmware.com>
892 * charset.c (validate): Internationalization.
893 * coffread.c (read_one_sym): Ditto.
894 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
895 * h8300-tdep.c (H8300_extract_return_value): Ditto.
896 * inflow.c (new_tty): Ditto.
897 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
898 * m32c-tdep.c (m32c_return_value): Ditto.
899 * mep-tdep.c (mep_store_return_value): Ditto.
900 * score-tdep.c (score7_fetch_insn): Ditto.
901 * ser-mingw.c (pipe_windows_open): Ditto.
902 * sh64-tdep.c (sh64_extract_return_value): Ditto.
903 * spu-tdep.c (spu_register_type): Ditto.
904 * tracepoint.c (trace_find_command): Ditto.
905 * valarith.c (value_pos): Ditto.
907 2011-01-10 Joel Brobecker <brobecker@adacore.com>
909 * ada-valprint.c (printstr): Minor comment reformatting.
911 2011-01-08 Michael Snyder <msnyder@vmware.com>
913 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
916 2011-01-08 Michael Snyder <msnyder@vmware.com>
918 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
919 * hppa-hpux-tdep.c: Ditto.
920 * hppa-linux-nat.c: Ditto.
921 * hppa-linux-tdep.c: Ditto.
922 * hppanbsd-tdep.c: Ditto.
923 * hppa-tdep.c: Ditto.
924 * hppa-tdep.h: Ditto.
925 * hpux-thread.c: Ditto.
926 * i386-cygwin-tdep.c: Ditto.
927 * i386-darwin-nat.c: Ditto.
928 * i386gnu-nat.c: Ditto.
929 * i386-linux-nat.c: Ditto.
930 * i386-linux-tdep.c: Ditto.
933 * i386nbsd-tdep.c: Ditto.
934 * i386-sol2-nat.c: Ditto.
935 * i386-stub.c: Ditto.
936 * i386-tdep.c: Ditto.
937 * i386-tdep.h: Ditto.
938 * i387-tdep.c: Ditto.
939 * ia64-linux-nat.c: Ditto.
940 * ia64-linux-tdep.c: Ditto.
941 * ia64-tdep.c: Ditto.
952 * iq2000-tdep.c: Ditto.
953 * irix5-nat.c: Ditto.
959 * jv-typeprint.c: Ditto.
960 * jv-valprint.c: Ditto.
964 * linux-fork.c: Ditto.
965 * linux-nat.c: Ditto.
966 * linux-thread-db.c: Ditto.
967 * lm32-tdep.c: Ditto.
969 2011-01-08 Michael Snyder <msnyder@vmware.com>
971 * m2-exp.y: Comment cleanup, mostly periods and spaces.
973 * m2-typeprint.c: Ditto.
974 * m2-valprint.c: Ditto.
975 * m32c-tdep.c: Ditto.
976 * m32r-linux-nat.c: Ditto.
978 * m32r-tdep.c: Ditto.
979 * m32r-tdep.h: Ditto.
980 * m68hc11-tdep.c: Ditto.
981 * m58klinux-nat.c: Ditto.
982 * m68k-tdep.c: Ditto.
983 * m88k-tdep.c: Ditto.
984 * m88k-tdep.h: Ditto.
985 * machoread.c: Ditto.
991 * mdebugread.c: Ditto.
992 * mdebugread.h: Ditto.
995 * memory-map.h: Ditto.
997 * microblaze-rom.c: Ditto.
998 * microblaze-tdep.c: Ditto.
1000 * mips-irix-tdep.c: Ditto.
1001 * mips-linux-nat.c: Ditto.
1002 * mips-linux-tdep.c: Ditto.
1003 * mips-linux-tdep.h: Ditto.
1004 * mipsnbsd-nat.c: Ditto.
1005 * mipsnbsd-tdep.c: Ditto.
1006 * mipsread.c: Ditto.
1007 * mips-tdep.c: Ditto.
1008 * mips-tdep.h: Ditto.
1009 * mn10300-linux-tdep.c: Ditto.
1010 * mn10300-tdep.c: Ditto.
1011 * mn10300-tdep.h: Ditto.
1014 * moxie-tdep.c: Ditto.
1015 * moxie-tdep.h: Ditto.
1018 2011-01-08 Mike Frysinger <vapier@gentoo.org>
1020 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1022 2011-01-08 Robert Millan <rmh@gnu.org>
1024 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1026 2011-01-07 Michael Snyder <msnyder@vmware.com>
1028 * charset.c (_initialize_charset): Fix typo in string.
1030 2011-01-07 Michael Snyder <msnyder@vmware.com>
1032 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1034 * tui/tui-layout.c (tui_set_layout_for_display_command):
1035 Split line so that operator goes to beginning of line.
1036 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1037 assignment out of if statement.
1039 2011-01-07 Michael Snyder <msnyder@vmware.com>
1041 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1042 * ada-lang.h: Ditto.
1043 * ada-tasks.c: Ditto.
1044 * ada-valprint.c: Ditto.
1045 * aix-threads.c: Ditto.
1046 * alpha-linux-nat.c: Ditto.
1047 * alpha-linux-tdep.c: Ditto.
1048 * alpha-mdebug-tdep.c: Ditto.
1049 * alpha-nat.c: Ditto.
1050 * alpha-osf1-tdep.c: Ditto.
1051 * alpha-tdep.c: Ditto.
1052 * alphabsd-nat.c: Ditto.
1053 * alphabsd-tdep.c: Ditto.
1054 * amd64-darwin-tdep.c: Ditto.
1055 * amd64-linux-nat.c: Ditto.
1056 * amd64-linux-tdep.c: Ditto.
1057 * amd64-sol2-tdep.c: Ditto.
1058 * amd64-tdep.c: Ditto.
1059 * amd64-fbsd-tdep.c: Ditto.
1060 * amd64-nbsd-tdep.c: Ditto.
1061 * amd64-obsd-tdep.c: Ditto.
1062 * amd64-linux-nat.c: Ditto.
1063 * amd64-linux-tdep.c: Ditto.
1064 * arm-tdep.c: Ditto.
1065 * arm-tdep.h: Ditto.
1066 * armnbsd-nat.c: Ditto.
1067 * avr-tdep.c: Ditto.
1068 * bfin-tdep.c: Ditto.
1070 * c-typeprintc: Ditto.
1071 * c-valprint.c: Ditto.
1072 * coff-pe-read.h: Ditto.
1073 * coffreead.c: Ditto.
1074 * cris-tdep.c: Ditto.
1076 * darwin-nat-info.c: Ditto.
1077 * darwin-nat.c: Ditto.
1078 * dbug-rom.c: Ditto.
1082 * dec-thread.c: Ditto.
1084 * demangle.c: Ditto.
1085 * dicos-tdep.c: Ditto.
1086 * dictionary.c: Ditto.
1087 * dictionary.h: Ditto.
1088 * dink32-rom.c: Ditto.
1090 * doublest.c: Ditto.
1092 * dummy-frame.c: Ditto.
1093 * dwarf2-frame.c: Ditto.
1094 * dwarf2expr.c: Ditto.
1095 * dwarf2loc.c: Ditto.
1096 * dwarf2read.c: Ditto.
1100 * event-top.h: Ditto.
1101 * exceptions.c: Ditto.
1102 * exceptions.h: Ditto.
1104 * expprint.c: Ditto.
1105 * expression.h: Ditto.
1109 * f-typeprint.c: Ditto.
1110 * f-valprint.c: Ditto.
1111 * fbsd-nat.c: Ditto.
1113 * fork-child.c: Ditto.
1116 * frv-linux-tdep.c: Ditto.
1117 * frv-tdep.c: Ditto.
1119 * gdb-stabs.h: Ditto.
1120 * gdb_assert.h: Ditto.
1121 * gdb_string.h: Ditto.
1122 * gdb_thread_db.h: Ditto.
1123 * gdb_wait.h: Ditto.
1124 * gdbarch.sh: Ditto.
1126 * gdbthread.h: Ditto.
1127 * gdbtypes.c: Ditto.
1128 * gdbtypes.h: Ditto.
1131 * gnu-v2-abi.c: Ditto.
1132 * gnu-v3-abi.c: Ditto.
1133 * go32-nat.c: Ditto.
1134 * gdbarch.c: Regenerate.
1135 * gdbarch.h: Regenerate.
1137 2011-01-07 Michael Snyder <msnyder@vmware.com>
1139 * ax-gdb.c: Adjust some long output strings.
1140 * breakpoint.c: Ditto.
1145 * linux-nat.c: Ditto.
1146 * solib-pa64.c: Ditto.
1147 * solib-som.c: Ditto.
1149 2011-01-06 Tom Tromey <tromey@redhat.com>
1153 * python/python.c (GdbMethods): Add "newest_frame" method.
1154 * python/python-internal.h (gdbpy_newest_frame): Declare.
1155 * python/py-frame.c (gdbpy_newest_frame): New function.
1157 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1159 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1160 * jit.c (jit_debug): New variable.
1161 (show_jit_debug): New function.
1162 (struct target_buffer): Use ULONGEST.
1163 (bfd_open_from_target_memory): Likewise.
1164 (jit_register_code, jit_inferior_init): Add debug output.
1165 (_initialize_jit): Register "debug jit" command.
1167 2011-01-06 Tom Tromey <tromey@redhat.com>
1169 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1170 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1173 2011-01-06 Tom Tromey <tromey@redhat.com>
1175 * python/py-frame.c (frapy_block): Use get_frame_block.
1177 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1179 Do not stop on SIGPRIO signals by default
1180 * infrun.c (_initialize_infrun): Unset signal_stop and
1181 signal_print for TARGET_SIGNAL_PRIO.
1183 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1185 * ada-tasks.c: Fix style violation in comment.
1187 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1189 * linespec.c (decode_compound, find_method): Remove trailing \n
1190 at end of error string.
1191 * solib-irix.c (irix_current_sos): Likewise.
1192 * varobj.c (uninstall_variable): Likewise.
1194 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1196 * copyright.py: New script.
1197 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1198 Launch emacs without exec'ing. Call copyright.py afterwards.
1200 2011-01-05 Michael Snyder <msnyder@vmware.com>
1202 * addrmap.c: Shorten lines of >= 80 columns.
1203 * arch-utils.c: Ditto.
1204 * arch-utils.h: Ditto.
1206 * ax-general.c: Ditto.
1208 * blockframe.c: Ditto.
1209 * breakpoint.c: Ditto.
1210 * buildsym.c: Ditto.
1212 * c-typeprint.c: Ditto.
1214 * coffread.c: Ditto.
1218 * cp-namespace.c: Ditto.
1219 * cp-support.c: Ditto.
1220 * dbug-rom.c: Ditto.
1225 * dictionary.c: Ditto.
1227 * doublest.c: Ditto.
1228 * dwarf2-frame.c: Ditto.
1229 * dwarf2expr.c: Ditto.
1230 * dwarf2loc.c: Ditto.
1231 * dwarf2read.c: Ditto.
1234 * event-loop.c: Ditto.
1235 * event-loop.h: Ditto.
1236 * exceptions.h: Ditto.
1238 * expprint.c: Ditto.
1239 * expression.h: Ditto.
1241 * f-valprint.c: Ditto.
1243 * frame-base.c: Ditto.
1244 * frame-unwind.c: Ditto.
1245 * frame-unwind.h: Ditto.
1249 * gdb-stabs.h: Ditto.
1250 * gdb_assert.h: Ditto.
1251 * gdb_dirent.h: Ditto.
1252 * gdb_obstack.h: Ditto.
1254 * gdbtypes.c: Ditto.
1255 * gdbtypes.h: Ditto.
1256 * inf-ttrace.c: Ditto.
1261 * inline-frame.h: Ditto.
1262 * language.c: Ditto.
1263 * language.h: Ditto.
1264 * libunwind-frame.c: Ditto.
1265 * libunwind-frame.h: Ditto.
1266 * linespec.c: Ditto.
1267 * linux-nat.c: Ditto.
1268 * linux-nat.h: Ditto.
1269 * linux-thread-db.c: Ditto.
1270 * machoread.c: Ditto.
1271 * macroexp.c: Ditto.
1272 * macrotab.c: Ditto.
1275 * mdebugread.c: Ditto.
1280 * objfiles.c: Ditto.
1281 * objfiles.h: Ditto.
1283 * p-typeprint.c: Ditto.
1284 * p-valprint.c: Ditto.
1286 * printcmd.c: Ditto.
1287 * proc-events.c: Ditto.
1289 * progspace.c: Ditto.
1290 * progspace.h: Ditto.
1291 * psympriv.h: Ditto.
1294 * regcache.c: Ditto.
1295 * regcache.h: Ditto.
1296 * remote-fileio.c: Ditto.
1298 * ser-mingw.c: Ditto.
1300 * ser-unix.c: Ditto.
1303 * solib-frv.c: Ditto.
1304 * solib-irix.c: Ditto.
1305 * solib-osf.c: Ditto.
1306 * solib-pa64.c: Ditto.
1307 * solib-som.c: Ditto.
1308 * solib-sunos.c: Ditto.
1309 * solib-svr4.c: Ditto.
1310 * solib-target.c: Ditto.
1314 * stabsread.c: Ditto.
1315 * stabsread.c: Ditto.
1318 * symfile-mem.c: Ditto.
1324 * target-descriptions.c: Ditto.
1325 * target-memory.c: Ditto.
1328 * terminal.h: Ditto.
1331 * tracepoint.c: Ditto.
1332 * tracepoint.h: Ditto.
1336 * user-regs.c: Ditto.
1337 * user-regs.h: Ditto.
1339 * valarith.c: Ditto.
1341 * valprint.c: Ditto.
1342 * valprint.h: Ditto.
1347 * xcoffread.c: Ditto.
1348 * xcoffsolib.c: Ditto.
1349 * xcoffsolib.h: Ditto.
1350 * xml-syscall.c: Ditto.
1351 * xml-tdesc.c: Ditto.
1353 2011-01-05 Michael Snyder <msnyder@vmware.com>
1355 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1356 * cli/cli-decode.c: Ditto.
1357 * cli/cli-dump.c: Ditto.
1358 * cli/cli-logging.c: Ditto.
1359 * cli/cli-script.c: Ditto.
1360 * cli/cli-setshow.c: Ditto.
1361 * common/signals.c: Ditto.
1362 * mi/mi-cmd-break.c: Ditto.
1363 * mi/mi-cmd-disas.c: Ditto.
1364 * mi/mi-cmd-stack.c: Ditto.
1365 * mi/mi-cmd-var.c: Ditto.
1366 * mi/mi-cmds.c: Ditto.
1367 * mi/mi-common.h: Ditto.
1368 * mi/mi-console.c: Ditto.
1369 * mi/mi-interp.c: Ditto.
1370 * mi/mi-main.c: Ditto.
1371 * osf-share/cma_attr.c: Ditto.
1372 * osf-share/cma_deb_core.h: Ditto.
1373 * osf-share/cma_debug_client.h: Ditto.
1374 * osf-share/cma_handle.h: Ditto.
1375 * osf-share/cma_mutex.h: Ditto.
1376 * osf-share/cma_stack_int.h: Ditto.
1377 * osf-share/cma_tcb_defs.h: Ditto.
1378 * python/py-auto-load.c: Ditto.
1379 * python/py-breakpoint.c: Ditto.
1380 * python/py-cmd.c: Ditto.
1381 * python/py-frame.c: Ditto.
1382 * python/py-objfile.c: Ditto.
1383 * python/py-param.c: Ditto.
1384 * python/py-progspace.c: Ditto.
1385 * python/py-symbol.c: Ditto.
1386 * python/py-value.c: Ditto.
1387 * python/python-internal.h: Ditto.
1388 * python/python.c: Ditto.
1389 * tui/tui-data.c: Ditto.
1390 * tui/tui-disasm.c: Ditto.
1391 * tui/tui-hooks.c: Ditto.
1392 * tui/tui-io.c: Ditto.
1393 * tui/tui-layout.c: Ditto.
1394 * tui/tui-regs.c: Ditto.
1395 * tui/tui-source.c: Ditto.
1396 * tui/tui-stack.c: Ditto.
1397 * tui/tui-win.c: Ditto.
1398 * tui/tui-windata.c: Ditto.
1399 * tui/tui-winsource.c: Ditto.
1401 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1403 * configure.ac, gdb.1: Copyright year update.
1405 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1407 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1408 this_pc_in_block, morestack_msym and morestack_name. Check for
1409 "__morestack" minimal symbol there.
1411 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1413 * symfile.c (find_sym_fns): Add call to dont_repeat.
1415 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1417 Copyright year update in most files (performed by copyright.sh).
1419 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1421 * top.c (print_gdb_version): Update copyright year in version output.
1423 For older changes see ChangeLog-2010.
1429 version-control: never