1 2011-02-02 Pedro Alves <pedro@codesourcery.com>
3 * c-valprint.c (c_value_print): When doing virtual base pointer
4 adjustment, create a new value with adjusted contents rather than
5 changing the contents of the value being printed (and getting it
8 2011-02-02 Pedro Alves <pedro@codesourcery.com>
10 * xml-support.c (xml_find_attribute): New.
11 (xinclude_start_include): Use it.
12 * xml-support.h (xml_find_attribute): Declare.
13 * memory-map.c (memory_map_start_memory)
14 (memory_map_start_property): Use xml_find_attribute.
15 * osdata.c (osdata_start_osdata, osdata_start_column): Use
17 * remote.c (start_thread): Use xml_find_attribute.
18 * solib-target.c (library_list_start_segment)
19 (library_list_start_section, library_list_start_library)
20 (library_list_start_list): Use xml_find_attribute.
21 * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
22 (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
23 (tdesc_start_field): Use xml_find_attribute.
25 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com>
27 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
28 (BUILD_OCL_VTYPES): Update.
30 2011-02-02 Joel Brobecker <brobecker@adacore.com>
32 * configure.ac: Work around non-GNU sed limitation when computing
33 python version number.
34 * configure: Regenerate.
36 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
38 Fix debug printing of TYPE_INSTANCE.
39 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
40 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
42 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
44 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
45 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
46 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
47 * ada-operator.inc: Rename the file to ...
48 * ada-operator.def: ... here, wrap all the entries by macro OP.
49 * expprint.c (op_name_standard): Remove all the entries. Include
50 "std-operator.def" instead.
51 * expression.h (enum exp_opcode): Include "std-operator.def" and
52 "ada-operator.def". Move all the entries ...
53 * std-operator.def: ... here, wrap all the entries by macro OP.
55 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
57 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
58 * breakpoint.c (remove_jit_event_breakpoints): New function.
59 * jit.c (jit_descriptor_addr): Delete.
60 (registering_code): Delete.
62 (jit_inferior_data): New variable.
63 (struct jit_inferior_data): New type.
64 (get_jit_inferior_data): New function.
65 (jit_inferior_data_cleanup): New function.
66 (jit_read_descriptor): Adjust.
67 (jit_register_code): Adjust.
68 (jit_breakpoint_re_set_internal): New function; move code here ...
69 (jit_inferior_init): ... from here.
70 (jit_breakpoint_re_set): Adjust.
71 (jit_reset_inferior_data_and_breakpoints): New function.
72 (jit_inferior_created_observer): Adjust.
73 (jit_inferior_exit_hook): Adjust.
74 (jit_executable_changed_observer): New function.
75 (jit_event_handler): Adjust.
76 (_initialize_jit): Adjust.
78 2011-01-31 Michael Snyder <msnyder@vmware.com>
80 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
83 2011-01-31 Tom Tromey <tromey@redhat.com>
86 * python/python.c (execute_gdb_command): Call
88 * top.c (suppress_dont_repeat): New global.
89 (dont_repeat): Use it.
90 (prevent_dont_repeat): New function.
91 * command.h (prevent_dont_repeat): Declare.
93 2011-01-31 Tom Tromey <tromey@redhat.com>
95 * infcmd.c (finish_backward): Use breakpoint_set_silent.
96 * python/py-breakpoint.c (bppy_set_silent): Use
97 breakpoint_set_silent.
98 (bppy_set_thread): Use breakpoint_set_thread.
99 (bppy_set_task): Use breakpoint_set_task.
100 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
101 (breakpoint_set_task): Declare.
102 (make_breakpoint_silent): Remove.
103 * breakpoint.c (breakpoint_set_silent): New function.
104 (breakpoint_set_thread): Likewise.
105 (breakpoint_set_task): Likewise.
106 (make_breakpoint_silent): Remove.
108 2011-01-31 Tom Tromey <tromey@redhat.com>
110 * breakpoint.h (user_breakpoint_p): Declare.
111 * breakpoint.c (user_breakpoint_p): New function.
112 (breakpoint_1): Use it.
113 (save_breakpoints): Likewise.
115 2011-01-31 Joel Brobecker <brobecker@adacore.com>
117 * configure.ac: Add handling of Python distribution on Windows.
118 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
119 sysconfig variables are not defined, then do not use them.
120 On Windows, if LIBPL is not defined, then use prefix + '/libs'
121 instead. On Windows, return all paths using forward-slashes
122 rather than backslashes.
124 2011-01-31 Joel Brobecker <brobecker@adacore.com>
126 * configure.ac: Remove fallback behavior for building
127 against Python. Remove tweaking of Python include path.
128 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
129 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
130 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
131 Always restore CPPFLAGS and LIBS after linking test.
132 * configure: Regenerated.
133 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
134 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
135 * python/python-internal.h: Adjust includes of Python .h files.
137 2011-01-31 Joel Brobecker <brobecker@adacore.com>
139 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
142 2011-01-31 Joel Brobecker <brobecker@adacore.com>
144 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
147 2011-01-31 Yao Qi <yao@codesourcery.com>
149 * arm-linux-nat.c: Update calls to regcache_register_status
150 instead of regcache_valid_p.
151 * aix-thread.c: Likewise.
152 * i386gnu-nat.c: Likewise.
154 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
157 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
158 touching TYPE_FIELD_ARTIFICIAL.
160 2011-01-28 Richard Earnshaw <rearnsha@arm.com>
162 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
165 2011-01-28 Pedro Alves <pedro@codesourcery.com>
167 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
168 selected, don't try iterating over the traceframe's blocks.
169 (tfile_has_stack): If there's no traceframe selected, then there's
171 (tfile_has_registers): If there's no traceframe selected, then
172 there's no registers.
174 2011-01-28 Pedro Alves <pedro@codesourcery.com>
176 * target.c (memory_xfer_partial): No need to restore shadows if we
177 haven't read anything.
179 2011-01-28 Pedro Alves <pedro@codesourcery.com>
181 * mips-tdep.c (mips_print_register): Use get_frame_register_value
182 and val_print_scalar_formatted.
184 2011-01-27 Pedro Alves <pedro@codesourcery.com>
186 * tracepoint.c (tfile_read): New.
187 (tfile_open): Use it.
188 (tfile_get_traceframe_address): Use it.
189 (tfile_trace_find): Use it.
190 (walk_blocks_callback_func): New typedef.
191 (match_blocktype): New function.
192 (traceframe_walk_blocks): New function.
193 (traceframe_find_block_type): New function.
194 (tfile_fetch_registers, tfile_xfer_partial)
195 (tfile_get_trace_state_variable_value): Use
196 traceframe_find_block_type and tfile_read.
198 2011-01-26 Kevin Buettner <kevinb@redhat.com>
200 * remote-mips.c: Add internationalization mark ups. Remove
201 trailing \n from already marked up strings.
203 2011-01-26 Tom Tromey <tromey@redhat.com>
205 * python/py-prettyprint.c (print_string_repr): Clear
206 'addressprint' option when calling val_print_string.
207 (print_children): Handle Val_pretty_default. Clear 'addressprint'
208 option when calling val_print_string.
210 2011-01-26 Tom Tromey <tromey@redhat.com>
212 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
214 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
216 (gdb_py_longest, gdb_py_ulongest): New typedefs.
217 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
218 (gdb_py_long_as_ulongest): New defines.
219 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
220 (gdb_py_int_as_long): Declare.
221 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
222 GDB_PY_LL_ARG, gdb_py_object_from_longest.
223 (valpy_long): Add comment.
224 * python/py-utils.c (get_addr_from_python): Use
225 gdb_py_long_as_ulongest. Handle overflow properly.
226 (gdb_py_object_from_longest): New function.
227 (gdb_py_object_from_ulongest): Likewise.
228 (gdb_py_int_as_long): Likewise.
229 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
230 * python/py-symtab.c (salpy_get_pc): Use
231 gdb_py_long_from_ulongest.
232 (salpy_get_line): Use PyInt_FromLong.
233 * python/py-param.c (set_parameter_value): Use
235 * python/py-lazy-string.c (stpy_get_address): Use
236 gdb_py_long_from_ulongest.
237 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
238 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
239 * python/py-breakpoint.c (bppy_set_thread): Use
241 (bppy_set_task): Likewise.
242 (bppy_set_ignore_count): Likewise.
243 (bppy_set_hit_count): Likewise.
244 * python/py-block.c (blpy_get_start): Use
245 gdb_py_object_from_ulongest.
246 (blpy_get_end): Likewise.
247 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
249 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
252 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
253 * gdb/solib.c (solib_read_symbols): Check for addr_low in
254 equality test for objfile, initialize addr_low if needed.
256 2011-01-25 Pedro Alves <pedro@codesourcery.com>
258 * tui/tui-regs.c (tui_register_format): Remove dead code.
260 2011-01-25 Pedro Alves <pedro@codesourcery.com>
262 * printcmd.c (print_formatted): Use val_print_scalar_formatted
263 instead of print_scalar_formatted.
264 (print_scalar_formatted): Don't handle 's' format strings here,
265 and add an assertion that we never see such format here.
266 * valprint.h (val_print_scalar_formatted): Declare.
267 * valprint.c (val_print_scalar_formatted): New.
268 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
269 instead of print_scalar_formatted.
270 * jv-valprint.c (java_val_print): Ditto.
271 * p-valprint.c (pascal_val_print): Ditto.
272 * ada-valprint.c (ada_val_print_1): Ditto.
273 * f-valprint.c (f_val_print): Ditto.
274 * infcmd.c (registers_info): Ditto.
275 * m2-valprint.c (m2_val_print): Ditto.
277 2011-01-25 Pedro Alves <pedro@codesourcery.com>
279 * m2-valprint.c (print_unbounded_array): Pass
280 value_contents_for_printing rather than value_contents, to
281 m2_print_array_contents. Also pass in the value.
283 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
285 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
286 (save_gdb_index_command): Switch to .gdb_index version 4.
288 2011-01-25 Pedro Alves <pedro@codesourcery.com>
290 * mi/mi-main.c (get_register): Use get_frame_register_value rather
291 than frame_register, and always pass a valid value to val_print.
293 2011-01-25 Pedro Alves <pedro@codesourcery.com>
295 Centralize printing "<optimized out>".
297 * valprint.h (val_print_optimized_out): Declare.
298 * cp-valprint.c (cp_print_value_fields): Use
299 val_print_optimized_out.
300 * jv-valprint.c (java_print_value_fields): Ditto.
301 * p-valprint.c (pascal_object_print_value_fields): Ditto.
302 * printcmd.c (print_formatted): Ditto.
303 * valprint.c (valprint_check_validity): Ditto.
304 (value_check_printable): Ditto.
305 (val_print_optimized_out): New.
307 2011-01-25 Pedro Alves <pedro@codesourcery.com>
309 * infcmd.c (default_print_registers_info): Allocate values so to
310 never pass a NULL value to val_print.
312 2011-01-25 Pedro Alves <pedro@codesourcery.com>
314 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
315 boolean. Make sure to always pass a value that matches the
316 contents buffer to callees. Preserve `address' for following
318 * value.c (value_contents_for_printing_const): New.
319 (value_address): Constify value argument.
320 * value.h (value_contents_for_printing_const): Declare.
321 (value_address): Constify value argument.
323 2011-01-25 Pedro Alves <pedro@codesourcery.com>
325 * regcache.c (struct regcache_descr): Rename
326 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
327 and sizeof_cooked_register_valid_p to
328 sizeof_cooked_register_status.
329 (init_regcache_descr): Adjust.
330 (struct regcache): Rename register_valid_p field to
332 (regcache_xmalloc_1, regcache_xfree, regcache_save)
333 (do_cooked_read): Adjust.
334 (regcache_valid_p): Rename to ...
335 (regcache_register_status): ... this. Adjust.
336 (regcache_invalidate): Adjust.
337 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
339 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
340 as unavailable, not valid.
341 (regcache_dump): Adjust.
342 * regcache.h (enum register_status): New.
343 (regcache_register_status): Declare.
344 (regcache_invalidate): Delete declaration.
345 * corelow.c (get_core_registers): Adjust.
346 * tracepoint.c (tfile_fetch_registers): Adjust.
347 * trad-frame.c (REG_VALUE): Rename to ...
348 (TF_REG_VALUE): ... this.
349 (REG_UNKNOWN): Rename to ...
350 (TF_REG_UNKNOWN): ... this.
351 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
352 * mi/mi-main.c (register_changed_p): Adjust.
354 2011-01-25 Pedro Alves <pedro@codesourcery.com>
356 * regcache.c (struct regcache_descr): Remove outdated comment.
357 (init_regcache_descr): Remove sizeof_raw_register_valid_p
359 (regcache_xmalloc): Rename to ...
360 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
361 Allocate the regcache type accordingly.
362 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
363 (regcache_xfree): Asser the source is also readonly. Copy sizeof
364 cooked registers, not raw.
365 (regcache_dup_no_passthrough): Delete.
366 (get_thread_arch_regcache): Use regcache_xmalloc_1.
367 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
368 mention obsolete write_register_bytes.
369 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
371 2011-01-25 Pedro Alves <pedro@codesourcery.com>
373 Stop remote_read_bytes from handling partial reads itself.
375 * remote-fileio.c: Include target.h.
376 (remote_fileio_write_bytes): Delete.
377 (remote_fileio_func_open, remote_fileio_func_write)
378 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
380 (remote_fileio_func_stat): Use target_read_memory and
382 (remote_fileio_func_gettimeofday): Use target_write_memory.
383 (remote_fileio_func_system): Use target_read_memory.
384 * remote.c (remote_write_bytes): Make it static.
385 (remote_read_bytes): Don't handle partial reads here.
386 * remote.h (remote_read_bytes): Delete declaration.
388 2011-01-25 Pedro Alves <pedro@codesourcery.com>
390 Simplify XML parsing a bit.
392 * xml-support.h (gdb_xml_parse_quick): Declare.
393 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
394 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
396 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
397 gdb_xml_create_parser_and_cleanup_1.
398 (gdb_xml_parse_quick): New.
399 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
400 * osdata.c (osdata_parse): Ditto.
401 * remote.c (remote_threads_info): Ditto.
402 * solib-target.c (solib_target_parse_libraries): Ditto.
403 * xml-syscall.c (syscall_parse_xml): Ditto.
404 * xml-tdesc.c (tdesc_parse_xml): Ditto.
406 2011-01-24 Kevin Buettner <kevinb@redhat.com>
408 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
409 with remote-mips.o added to gdb_target_obs.
410 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
412 2011-01-24 Pedro Alves <pedro@codesourcery.com>
414 * ada-valprint.c (val_print_packed_array_elements): Pass the
415 correct struct value to val_print.
416 (ada_val_print_1): Ditto.
418 2011-01-24 Pedro Alves <pedro@codesourcery.com>
420 Don't lose embedded_offset in printing routines throughout.
422 * valprint.h (val_print_array_elements): Change prototype.
423 * valprint.c (val_print_array_elements): Add `embedded_offset'
424 parameter, and adjust to pass it down to val_print, while passing
425 `valaddr' or `address' unmodified. Take embedded_offset into
426 account when checking repetitions.
427 * c-valprint.c (c_val_print): Pass embedded_offset to
428 val_print_array_elements instead of adjusting `valaddr' and
430 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
431 embedded_offset to val_print_array_elements instead of adjusting
433 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
434 * p-valprint.c (pascal_val_print): Pass embedded_offset to
435 val_print_array_elements and pascal_object_print_value_fields
436 instead of adjusting `valaddr'.
437 (pascal_object_print_value_fields): Add `offset' parameter, and
439 (pascal_object_print_value): Add `offset' parameter, and adjust to
441 (pascal_object_print_static_field): Use
442 value_contents_for_printing/value_embedded_offset, rather than
444 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
445 parameter, and adjust to use it. Use
446 value_contents_for_printing/value_embedded_offset, rather than
448 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
449 (ada_val_print_array): Add `offset' parameter, and adjust to use
451 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
452 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
453 Instead work with offsets. Use
454 value_contents_for_printing/value_embedded_offset, rather than
455 value_contents. Change `defer_val_int' local type to CORE_ADDR,
456 and use value_from_pointer to extract a target pointer, rather
457 than value_from_longest.
458 (print_variant_part): Add `offset' parameter. Replace
459 `outer_valaddr' parameter by a new `outer_offset' parameter.
460 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
461 (ada_value_print): Use
462 value_contents_for_printing/value_embedded_offset, rather than
464 (print_record): Add `offset' parameter, and adjust to pass it
466 (print_field_values): Add `offset' parameter. Replace
467 `outer_valaddr' parameter by a new `outer_offset' parameter.
468 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
469 Use value_contents_for_printing/value_embedded_offset, rather than
471 * d-valprint.c (dynamic_array_type): Use
472 value_contents_for_printing/value_embedded_offset, rather than
474 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
475 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
476 (java_print_value_fields): Take `offset' into account. Don't
477 re-adjust `valaddr'. Instead pass down adjusted offsets.
478 (java_val_print): Take `embedded_offset' into account. Pass it to
479 java_print_value_fields.
480 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
481 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
482 down adjusted offsets.
483 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
484 (f_val_print): Take `embedded_offset' into account.
486 2011-01-21 Joel Brobecker <brobecker@adacore.com>
488 * inflow.c: Include "gdbcmd.h".
489 (interactive_mode): New static global, moved here from top.c.
490 (show_interactive_mode): New function, moved here from top.c.
491 use gdb_has_a_terminal instead of input_from_terminal_p to
492 determine the current mode.
493 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
495 (_initialize_inflow): Add the "set/show interactive-mode"
496 commands. Moved here from top.c, after having adjusted slightly
498 * top.c (interactive_mode, show_interactive_mode): Delete, moved
500 (input_from_terminal_p): Remove handling of "interactive-mode"
501 setting, moved to infow.c.
502 (init_main): Remove creation of the "set/show interactive-mode"
503 commands, moved to inflow.c.
505 2011-01-19 Joel Brobecker <brobecker@adacore.com>
507 * NEWS: Add entry for native ia64-hpux support.
509 2011-01-19 Tom Tromey <tromey@redhat.com>
512 * thread.c (free_thread): Free 'name'.
513 (print_thread_info): Emit thread name. Change CLI output.
514 (thread_name_command): New function.
515 (do_captured_thread_select): Emit newline.
516 (_initialize_thread): Register 'thread name' command.
517 * target.h (struct target_ops) <to_thread_name>: New field.
518 (target_thread_name): New macro.
519 * target.c (update_current_target): Handle to_thread_name.
520 * python/py-infthread.c (thpy_get_name): New function.
521 (thpy_set_name): Likewise.
522 (thread_object_getset): Add "name".
523 * linux-nat.c (linux_nat_thread_name): New function.
524 (linux_nat_add_target): Set to_thread_name.
525 * gdbthread.h (struct thread_info) <name>: New field.
527 2011-01-18 Joel Brobecker <brobecker@adacore.com>
529 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
530 (ada_val_print_1): Likewise.
532 2011-01-18 Joel Brobecker <brobecker@adacore.com>
534 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
535 upper limit address is not greater than the function end address
536 when the upper limit could not be computed using the debugging
539 2011-01-17 Tom Tromey <tromey@redhat.com>
541 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
543 * utils.c: Include gdb_regex.h.
544 (do_regfree_cleanup): New function.
545 (make_regfree_cleanup): Likewise.
546 (get_regcomp_error): Likewise.
547 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
549 2011-01-17 Tom Tromey <tromey@redhat.com>
551 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
554 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
556 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
557 for internal variables.
558 (last_was_structop): New static variable.
559 (COMPLETE): New token.
560 (field_exp): New rule to group all '.' suffix handling.
561 Add mark_struct_expression calls when approriate to be able
562 to correctly find fields for completion.
563 (yylex): Adapt to handle field completion and set INTVAR when
566 2011-01-14 Yao Qi <yao@codesourcery.com>
568 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
569 save_reggroup, restore_reggroup and all_reggroup.
571 2011-01-14 Joel Brobecker <brobecker@adacore.com>
573 * ada-valprint. (ada_printchar): Use the correct type length
574 in call to ada_emit_char.
575 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
577 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
579 * solib-som.h (hpux_major_release): Declare variable here.
580 * solib-som.c: Remove <sys/utsname.h> header.
581 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
582 (hpux_major_release): Make global, change default value to
583 DEFAULT_HPUX_MAJOR_RELEASE.
584 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
585 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
586 Add "solib-som.h" header.
587 (set_hpux_major_release): New function.
588 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
590 2011-01-14 Mike Frysinger <vapier@gentoo.org>
592 * configure.tgt (*-*-uclinux*): Match more Linux os targets
594 2011-01-14 Joel Brobecker <brobecker@adacore.com>
596 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
597 new-line at end of warning message.
598 (ia64_hpux_store_register): Remove trailing new-line at end of
600 * ia64-hpux-tdep.c: Rephrase comment.
601 * solib-ia64-hpux.c (struct dld_info): Change type of field
602 dld_flags from "long long" to ULONGEST.
604 2011-01-14 Pedro Alves <pedro@codesourcery.com>
606 * target.h (deprecated_child_ops): Delete declaration.
607 * target.c (deprecated_child_ops): Delete definition.
609 2011-01-14 Pedro Alves <pedro@codesourcery.com>
611 * Makefile.in (hpux-thread.o): Delete rule.
612 * configure.ac: Don't check for HPUX DCE threads support.
613 * configure, config.in: Regenerate.
614 * hppa-hpux-nat.c (child_suppress_run): Delete.
615 (hppa_hpux_child_can_run): Delete.
616 (_initialize_hppa_hpux_nat): Don't override to_can_run.
617 * hpux-thread.c: Delete.
619 2011-01-13 Joel Brobecker <brobecker@adacore.com>
621 * hpux-thread.c (hpux_pid_to_str): Delete.
623 2011-01-13 Joel Brobecker <brobecker@adacore.com>
625 * ada-valprint.c (ada_emit_char): Remove strange code.
626 Check that c is <= UCHAR_MAX before passing it to isascii.
627 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
629 2011-01-13 Joel Brobecker <brobecker@adacore.com>
631 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
632 to the case where instream is stdin.
634 2011-01-13 Joel Brobecker <brobecker@adacore.com>
636 * ia64-tdep.h (struct regcache): Forward declare.
637 (struct ia64_infcall_ops): New struct type.
638 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
640 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
641 Renames ia64_find_global_pointer.
642 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
643 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
644 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
646 (ia64_infcall_ops): New static global constant.
647 (ia64_gdbarch_init): Set tdep->infcall_ops.
648 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
649 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
650 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
651 (ia64_hpux_dummy_code): New static global constant.
652 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
653 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
654 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
656 (ia64_hpux_infcall_ops): New static global constant.
657 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
658 for inferior function calls to work properly on ia64-hpux.
660 2011-01-13 Joel Brobecker <brobecker@adacore.com>
662 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
663 * ia64-tdep.h (struct frame_info): forward declaration.
664 (struct gdbarch_tdep): Add field size_of_register_frame.
665 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
666 to determine the size of the register frame.
667 (ia64_size_of_register_frame): New function.
668 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
669 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
670 (IA64_HPUX_UREG_REASON): New macro.
671 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
673 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
674 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
675 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
678 2011-01-13 Joel Brobecker <brobecker@adacore.com>
680 Add support for ia64-hpux.
681 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
682 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
684 * configure.host: Add handling for ia64-hpux hosts. Add associated
686 * configure.tgt: Add handling for ia64-hpux targets.
687 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
688 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
689 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
691 2011-01-13 Joel Brobecker <brobecker@adacore.com>
693 [ttrace] Compute thread list immediately after attach.
694 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
696 (inf_ttrace_attach): Use it.
698 2011-01-13 Joel Brobecker <brobecker@adacore.com>
700 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
701 if we could not determine the frame's function address. Instead,
702 use the frame's PC, and then continue.
704 2011-01-13 Joel Brobecker <brobecker@adacore.com>
706 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
709 2011-01-13 Joel Brobecker <brobecker@adacore.com>
711 * ia64-tdep.c (ia64_struct_type_p): New function.
712 (ia64_extract_return_value): Handle integral values that are
713 less than 8 bytes long.
714 (ia64_push_dummy_call): Likewise.
716 2011-01-13 Joel Brobecker <brobecker@adacore.com>
718 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
719 floatformat_ia64_ext.
720 (floatformat_ia64_ext_big): New static const.
721 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
723 2011-01-12 Tom Tromey <tromey@redhat.com>
725 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
727 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
728 (mi_cmd_thread_list_ids): Likewise.
729 (mi_cmd_data_list_changed_registers): Likewise.
730 (mi_cmd_data_list_register_values): Likewise.
731 (mi_cmd_data_write_register_values): Likewise.
732 (mi_cmd_data_evaluate_expression): Likewise.
733 (mi_cmd_data_read_memory): Likewise.
734 (mi_cmd_data_read_memory_bytes): Likewise.
735 (mi_cmd_data_write_memory): Likewise.
736 (mi_cmd_enable_timings): Likewise.
737 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
738 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
739 (mi_cmd_var_delete): Likewise.
740 (mi_cmd_var_set_format): Likewise.
741 (mi_cmd_var_show_format): Likewise.
742 (mi_cmd_var_info_num_children): Likewise.
743 (mi_cmd_var_list_children): Likewise.
744 (mi_cmd_var_info_type): Likewise.
745 (mi_cmd_var_info_expression): Likewise.
746 (mi_cmd_var_show_attributes): Likewise.
747 (mi_cmd_var_assign): Likewise.
748 (mi_cmd_var_update): Likewise.
749 (mi_cmd_enable_pretty_printing): Likewise.
750 (mi_cmd_var_set_update_range): Likewise.
751 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
753 (mi_cmd_target_file_put): Likewise.
754 (mi_cmd_target_file_delete): Likewise.
755 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
757 (mi_cmd_stack_info_depth): Likewise.
758 (mi_cmd_stack_list_locals): Likewise.
759 (mi_cmd_stack_list_args): Likewise.
760 (mi_cmd_stack_select_frame): Likewise.
761 (mi_cmd_stack_select_frame): Likewise.
762 (mi_cmd_stack_info_frame): Likewise.
763 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
765 (mi_cmd_file_list_exec_source_files): Likewise.
766 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
767 (mi_cmd_env_cd): Likewise.
768 (mi_cmd_env_path): Likewise.
769 (mi_cmd_env_dir): Likewise.
770 (mi_cmd_inferior_tty_show): Likewise.
771 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
772 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
773 (mi_cmd_break_watch): Likewise.
775 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
777 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
778 (ppc_linux_insert_hw_breakpoint): Likewise.
779 (ppc_linux_remove_hw_breakpoint): Likewise.
780 (ppc_linux_insert_watchpoint): Likewise.
782 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
783 Jan Kratochvil <jan.kratochvil@redhat.com>
785 PR fortran/11104 and DWARF unbound arrays detection.
786 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
787 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
788 unspecified upper bound.
789 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
790 variables array_size_array, tmp_type and offset_item. New variable
791 array. Remove call to f77_get_upperbound. New variables array_type
792 and index. Call value_subscripted_rvalue for each dimenasion. Remove
793 the final call to deprecated_set_value_type.
795 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
797 Make value allocations more lazy.
798 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
799 instead of allocate_value and set_value_lazy when possible.
800 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
801 instead of allocate_value and set_value_lazy.
802 * findvar.c (value_of_register_lazy): Likewise.
803 (read_var_value): Remove V preallocation, call just check_typedef in
804 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
805 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
806 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
807 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
808 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
809 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
810 the end, remove set_value_lazy there.
811 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
812 instead of allocate_value and set_value_lazy when possible.
813 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
814 * value.c (allocate_computed_value): Use allocate_value_lazy instead
815 of allocate_value and set_value_lazy.
816 (value_from_contents_and_address): Use allocate_value_lazy instead of
817 allocate_value and set_value_lazy when possible.
819 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
821 * disasm.c (dump_insns): Support dumping opcodes for MI.
822 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
823 dumping of instruction opcodes.
825 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
827 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
830 2011-01-11 Tom Tromey <tromey@redhat.com>
832 * thread.c (do_captured_thread_select): Emit newline before
835 2011-01-11 Michael Snyder <msnyder@vmware.com>
837 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
838 * score-tdep.c: Ditto.
839 * score-tdep.h: Ditto.
844 * ser-mingw.c: Ditto.
848 * sh64-tdep.c: Ditto.
849 * shnbsd-nat.c: Ditto.
853 * solib-darwin.c: Ditto.
854 * solib-frv.c: Ditto.
856 * solib-irix.c: Ditto.
857 * solib-osf.c: Ditto.
858 * solib-pa64.c: Ditto.
859 * solib-som.c: Ditto.
860 * solib-spu.c: Ditto.
861 * solib-sunos.c: Ditto.
862 * solib-svr4.c: Ditto.
864 * sol-thread.c: Ditto.
868 * sparc64-linux-tdep.c: Ditto.
869 * sparc64-tdep.c: Ditto.
870 * sparc-linux-nat.c: Ditto.
871 * sparc-linux-tdep.c: Ditto.
872 * sparc-sol2-nat.c: Ditto.
873 * sparc-sol2-tdep.c: Ditto.
874 * sparc-tdep.c: Ditto.
875 * sparc-tdep.h: Ditto.
877 * stabsread.c: Ditto.
878 * stabsread.h: Ditto.
886 * target-descriptions.c: Ditto.
887 * target-descriptions.h: Ditto.
889 * target-memory.c: Ditto.
893 * tracepoint.c: Ditto.
894 * tracepoint.h: Ditto.
895 * trad-frame.h: Ditto.
896 * typeprint.c: Ditto.
898 2011-01-11 Michael Snyder <msnyder@vmware.com>
900 * ui-file.c: Comment cleanup, mostly periods and spaces.
905 * v850-tdep.c: Ditto.
918 * windows-nat.c: Ditto.
919 * windows-tdep.c: Ditto.
920 * xcoffread.c: Ditto.
921 * xcoffsolib.c: Ditto.
922 * xml-support.c: Ditto.
923 * xstormy16-tdep.c: Ditto.
924 * xtensa-tdep.c: Ditto.
925 * xtensa-tdep.h: Ditto.
927 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
929 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
930 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
932 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
933 Thiago Jung Bauermann <bauerman@br.ibm.com>
935 Implement support for PowerPC BookE ranged watchpoints.
937 (struct breakpoint_ops) <resources_needed>: New method.
938 Initialize to NULL in all existing breakpoint_ops instances.
939 (struct breakpoint) <exact>: New field.
940 (target_exact_watchpoints): Declare external global.
941 * breakpoint.c (target_exact_watchpoints): New global flag.
942 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
943 b->enable_state to bp_enabled before calling
944 hw_watchpoint_used_count.
945 (hw_watchpoint_used_count): Iterate over all bp_locations in a
946 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
948 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
949 if the watchpoint is exact.
950 (resources_needed_watchpoint): New function.
951 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
952 (watch_command_1): Set b->exact if the user asked for an exact
953 watchpoint and one can be set.
954 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
955 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
956 the user asks for an exact watchpoint and one can be set. Return
957 number of needed debug registers to watch the expression.
958 * gdbtypes.c (is_scalar_type): New function, based on
959 valprint.c:scalar_type_p.
960 (is_scalar_type_recursive): New function.
961 * gdbtypes.h (is_scalar_type_recursive): Declare.
962 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
963 handle regions when ranged watchpoints are available.
964 (create_watchpoint_request): New function.
965 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
966 create_watchpoint_request.
967 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
968 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
969 `set powerpc' and `show powerpc' commands.
970 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
971 Mention documentation comment in the target macro.
972 (target_region_ok_for_hw_watchpoint): Document return value.
974 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
976 * breakpoint.c (update_watchpoint): Decide on using a software or
977 hardware watchpoint after the bp_locations are created.
979 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
981 Convert hardware watchpoints to use breakpoint_ops.
982 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
983 <insert_location>: ... this. Return int instead of void.
984 Accept pointer to struct bp_location instead of pointer to
985 struct breakpoint. Adapt all implementations.
986 (breakpoint_ops) <remove>: Rename to...
987 <remove_location>: ... this. Accept pointer to struct bp_location
988 instead of pointer to struct breakpoint. Adapt all implementations.
989 * breakpoint.c (insert_catchpoint): Delete function.
990 (insert_bp_location): Call the watchpoint or catchpoint's
991 breakpoint_ops.insert method.
992 (remove_breakpoint_1): Call the watchpoint or catchpoint's
993 breakpoint_ops.remove method.
994 (insert_watchpoint, remove_watchpoint): New functions.
995 (watchpoint_breakpoint_ops): New structure.
996 (watch_command_1): Initialize the OPS field.
997 * inf-child.c (inf_child_insert_fork_catchpoint)
998 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
999 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
1000 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
1002 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
1003 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
1004 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
1005 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
1006 * target.c (update_current_target): Change default implementation of
1007 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
1008 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1009 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
1010 to_set_syscall_catchpoint to return_one.
1011 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
1012 (debug_to_insert_exec_catchpoint): Report return value.
1013 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
1014 (to_insert_exec_catchpoint): Change declaration to return int instead
1017 2011-01-11 Michael Snyder <msnyder@vmware.com>
1019 * arm-tdep.c: Internationalization.
1022 * fork-child.c: Ditto.
1023 * nto-procfs.c: Ditto.
1024 * ppc-sysv-tdep.c: Ditto.
1026 * remote-mips.c: Ditto.
1028 * rs6000-nat.c: Ditto.
1029 * rs6000-tdep.c: Ditto.
1033 * xml-support.c: Ditto.
1034 * mi/mi-cmd-break.c: Ditto.
1035 * mi/mi-cmd-var.c: Ditto.
1036 * mi/mi-interp.c: Ditto.
1037 * mi/mi-main.c: Ditto.
1039 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
1041 * remote-sim.c (gdbsim_store_register): Update API to
1042 sim_store_register to check more error conditions.
1044 2011-01-10 Michael Snyder <msnyder@vmware.com>
1046 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1047 * nto-tdep.c: Ditto.
1048 * nto-tdep.h: Ditto.
1049 * objc-exp.y: Ditto.
1050 * objc-lang.c: Ditto.
1051 * objfiles.c: Ditto.
1052 * objfiles.h: Ditto.
1053 * observer.c: Ditto.
1054 * opencl-lang.c: Ditto.
1057 * parser-defs.h: Ditto.
1060 * posix-hdep.c: Ditto.
1061 * ppcbug-rom.c: Ditto.
1062 * ppc-linux-nat.c: Ditto.
1063 * ppc-linux-tdep.c: Ditto.
1064 * ppc-linux-tdep.h: Ditto.
1065 * ppcnbsd-tdep.c: Ditto.
1066 * ppcobsd-tdep.c: Ditto.
1067 * ppcobsd-tdep.h: Ditto.
1068 * ppc-sysv-tdep.c: Ditto.
1069 * ppc-tdep.h: Ditto.
1070 * printcmd.c: Ditto.
1071 * proc-abi.c: Ditto.
1072 * proc-flags.c: Ditto.
1074 * proc-utils.h: Ditto.
1075 * progspace.h: Ditto.
1076 * prologue-value.c: Ditto.
1077 * prologue-value.h: Ditto.
1078 * psympriv.h: Ditto.
1080 * p-typeprint.c: Ditto.
1081 * p-valprint.c: Ditto.
1082 * ravenscar-sparc-thread.c: Ditto.
1083 * ravenscar-thread.c: Ditto.
1084 * ravenscar-thread.h: Ditto.
1086 * regcache.c: Ditto.
1087 * regcache.h: Ditto.
1089 * remote-fileio.c: Ditto.
1090 * remote-fileio.h: Ditto.
1092 * remote-m32r-sdi.c: Ditto.
1093 * remote-mips.c: Ditto.
1094 * remote-sim.c: Ditto.
1095 * rs6000-aix-tdep.c: Ditto.
1096 * rs6000-nat.c: Ditto.
1097 * rs6000-tdep.c: Ditto.
1099 2011-01-10 Michael Snyder <msnyder@vmware.com>
1101 * charset.c (validate): Internationalization.
1102 * coffread.c (read_one_sym): Ditto.
1103 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1104 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1105 * inflow.c (new_tty): Ditto.
1106 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1107 * m32c-tdep.c (m32c_return_value): Ditto.
1108 * mep-tdep.c (mep_store_return_value): Ditto.
1109 * score-tdep.c (score7_fetch_insn): Ditto.
1110 * ser-mingw.c (pipe_windows_open): Ditto.
1111 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1112 * spu-tdep.c (spu_register_type): Ditto.
1113 * tracepoint.c (trace_find_command): Ditto.
1114 * valarith.c (value_pos): Ditto.
1116 2011-01-10 Joel Brobecker <brobecker@adacore.com>
1118 * ada-valprint.c (printstr): Minor comment reformatting.
1120 2011-01-08 Michael Snyder <msnyder@vmware.com>
1122 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1125 2011-01-08 Michael Snyder <msnyder@vmware.com>
1127 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1128 * hppa-hpux-tdep.c: Ditto.
1129 * hppa-linux-nat.c: Ditto.
1130 * hppa-linux-tdep.c: Ditto.
1131 * hppanbsd-tdep.c: Ditto.
1132 * hppa-tdep.c: Ditto.
1133 * hppa-tdep.h: Ditto.
1134 * hpux-thread.c: Ditto.
1135 * i386-cygwin-tdep.c: Ditto.
1136 * i386-darwin-nat.c: Ditto.
1137 * i386gnu-nat.c: Ditto.
1138 * i386-linux-nat.c: Ditto.
1139 * i386-linux-tdep.c: Ditto.
1140 * i386-nat.c: Ditto.
1141 * i386-nat.h: Ditto.
1142 * i386nbsd-tdep.c: Ditto.
1143 * i386-sol2-nat.c: Ditto.
1144 * i386-stub.c: Ditto.
1145 * i386-tdep.c: Ditto.
1146 * i386-tdep.h: Ditto.
1147 * i387-tdep.c: Ditto.
1148 * ia64-linux-nat.c: Ditto.
1149 * ia64-linux-tdep.c: Ditto.
1150 * ia64-tdep.c: Ditto.
1154 * inferior.c: Ditto.
1155 * inferior.h: Ditto.
1161 * iq2000-tdep.c: Ditto.
1162 * irix5-nat.c: Ditto.
1168 * jv-typeprint.c: Ditto.
1169 * jv-valprint.c: Ditto.
1170 * language.c: Ditto.
1171 * language.h: Ditto.
1172 * linespec.c: Ditto.
1173 * linux-fork.c: Ditto.
1174 * linux-nat.c: Ditto.
1175 * linux-thread-db.c: Ditto.
1176 * lm32-tdep.c: Ditto.
1178 2011-01-08 Michael Snyder <msnyder@vmware.com>
1180 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1182 * m2-typeprint.c: Ditto.
1183 * m2-valprint.c: Ditto.
1184 * m32c-tdep.c: Ditto.
1185 * m32r-linux-nat.c: Ditto.
1186 * m32r-rom.c: Ditto.
1187 * m32r-tdep.c: Ditto.
1188 * m32r-tdep.h: Ditto.
1189 * m68hc11-tdep.c: Ditto.
1190 * m58klinux-nat.c: Ditto.
1191 * m68k-tdep.c: Ditto.
1192 * m88k-tdep.c: Ditto.
1193 * m88k-tdep.h: Ditto.
1194 * machoread.c: Ditto.
1195 * macrocmd.c: Ditto.
1196 * macroexp.c: Ditto.
1197 * macrotab.c: Ditto.
1200 * mdebugread.c: Ditto.
1201 * mdebugread.h: Ditto.
1204 * memory-map.h: Ditto.
1205 * mep-tdep.c: Ditto.
1206 * microblaze-rom.c: Ditto.
1207 * microblaze-tdep.c: Ditto.
1209 * mips-irix-tdep.c: Ditto.
1210 * mips-linux-nat.c: Ditto.
1211 * mips-linux-tdep.c: Ditto.
1212 * mips-linux-tdep.h: Ditto.
1213 * mipsnbsd-nat.c: Ditto.
1214 * mipsnbsd-tdep.c: Ditto.
1215 * mipsread.c: Ditto.
1216 * mips-tdep.c: Ditto.
1217 * mips-tdep.h: Ditto.
1218 * mn10300-linux-tdep.c: Ditto.
1219 * mn10300-tdep.c: Ditto.
1220 * mn10300-tdep.h: Ditto.
1223 * moxie-tdep.c: Ditto.
1224 * moxie-tdep.h: Ditto.
1227 2011-01-08 Mike Frysinger <vapier@gentoo.org>
1229 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1231 2011-01-08 Robert Millan <rmh@gnu.org>
1233 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1235 2011-01-07 Michael Snyder <msnyder@vmware.com>
1237 * charset.c (_initialize_charset): Fix typo in string.
1239 2011-01-07 Michael Snyder <msnyder@vmware.com>
1241 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1243 * tui/tui-layout.c (tui_set_layout_for_display_command):
1244 Split line so that operator goes to beginning of line.
1245 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1246 assignment out of if statement.
1248 2011-01-07 Michael Snyder <msnyder@vmware.com>
1250 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1251 * ada-lang.h: Ditto.
1252 * ada-tasks.c: Ditto.
1253 * ada-valprint.c: Ditto.
1254 * aix-threads.c: Ditto.
1255 * alpha-linux-nat.c: Ditto.
1256 * alpha-linux-tdep.c: Ditto.
1257 * alpha-mdebug-tdep.c: Ditto.
1258 * alpha-nat.c: Ditto.
1259 * alpha-osf1-tdep.c: Ditto.
1260 * alpha-tdep.c: Ditto.
1261 * alphabsd-nat.c: Ditto.
1262 * alphabsd-tdep.c: Ditto.
1263 * amd64-darwin-tdep.c: Ditto.
1264 * amd64-linux-nat.c: Ditto.
1265 * amd64-linux-tdep.c: Ditto.
1266 * amd64-sol2-tdep.c: Ditto.
1267 * amd64-tdep.c: Ditto.
1268 * amd64-fbsd-tdep.c: Ditto.
1269 * amd64-nbsd-tdep.c: Ditto.
1270 * amd64-obsd-tdep.c: Ditto.
1271 * amd64-linux-nat.c: Ditto.
1272 * amd64-linux-tdep.c: Ditto.
1273 * arm-tdep.c: Ditto.
1274 * arm-tdep.h: Ditto.
1275 * armnbsd-nat.c: Ditto.
1276 * avr-tdep.c: Ditto.
1277 * bfin-tdep.c: Ditto.
1279 * c-typeprintc: Ditto.
1280 * c-valprint.c: Ditto.
1281 * coff-pe-read.h: Ditto.
1282 * coffreead.c: Ditto.
1283 * cris-tdep.c: Ditto.
1285 * darwin-nat-info.c: Ditto.
1286 * darwin-nat.c: Ditto.
1287 * dbug-rom.c: Ditto.
1291 * dec-thread.c: Ditto.
1293 * demangle.c: Ditto.
1294 * dicos-tdep.c: Ditto.
1295 * dictionary.c: Ditto.
1296 * dictionary.h: Ditto.
1297 * dink32-rom.c: Ditto.
1299 * doublest.c: Ditto.
1301 * dummy-frame.c: Ditto.
1302 * dwarf2-frame.c: Ditto.
1303 * dwarf2expr.c: Ditto.
1304 * dwarf2loc.c: Ditto.
1305 * dwarf2read.c: Ditto.
1309 * event-top.h: Ditto.
1310 * exceptions.c: Ditto.
1311 * exceptions.h: Ditto.
1313 * expprint.c: Ditto.
1314 * expression.h: Ditto.
1318 * f-typeprint.c: Ditto.
1319 * f-valprint.c: Ditto.
1320 * fbsd-nat.c: Ditto.
1322 * fork-child.c: Ditto.
1325 * frv-linux-tdep.c: Ditto.
1326 * frv-tdep.c: Ditto.
1328 * gdb-stabs.h: Ditto.
1329 * gdb_assert.h: Ditto.
1330 * gdb_string.h: Ditto.
1331 * gdb_thread_db.h: Ditto.
1332 * gdb_wait.h: Ditto.
1333 * gdbarch.sh: Ditto.
1335 * gdbthread.h: Ditto.
1336 * gdbtypes.c: Ditto.
1337 * gdbtypes.h: Ditto.
1340 * gnu-v2-abi.c: Ditto.
1341 * gnu-v3-abi.c: Ditto.
1342 * go32-nat.c: Ditto.
1343 * gdbarch.c: Regenerate.
1344 * gdbarch.h: Regenerate.
1346 2011-01-07 Michael Snyder <msnyder@vmware.com>
1348 * ax-gdb.c: Adjust some long output strings.
1349 * breakpoint.c: Ditto.
1354 * linux-nat.c: Ditto.
1355 * solib-pa64.c: Ditto.
1356 * solib-som.c: Ditto.
1358 2011-01-06 Tom Tromey <tromey@redhat.com>
1362 * python/python.c (GdbMethods): Add "newest_frame" method.
1363 * python/python-internal.h (gdbpy_newest_frame): Declare.
1364 * python/py-frame.c (gdbpy_newest_frame): New function.
1366 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1368 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1369 * jit.c (jit_debug): New variable.
1370 (show_jit_debug): New function.
1371 (struct target_buffer): Use ULONGEST.
1372 (bfd_open_from_target_memory): Likewise.
1373 (jit_register_code, jit_inferior_init): Add debug output.
1374 (_initialize_jit): Register "debug jit" command.
1376 2011-01-06 Tom Tromey <tromey@redhat.com>
1378 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1379 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1382 2011-01-06 Tom Tromey <tromey@redhat.com>
1384 * python/py-frame.c (frapy_block): Use get_frame_block.
1386 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1388 Do not stop on SIGPRIO signals by default
1389 * infrun.c (_initialize_infrun): Unset signal_stop and
1390 signal_print for TARGET_SIGNAL_PRIO.
1392 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1394 * ada-tasks.c: Fix style violation in comment.
1396 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1398 * linespec.c (decode_compound, find_method): Remove trailing \n
1399 at end of error string.
1400 * solib-irix.c (irix_current_sos): Likewise.
1401 * varobj.c (uninstall_variable): Likewise.
1403 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1405 * copyright.py: New script.
1406 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1407 Launch emacs without exec'ing. Call copyright.py afterwards.
1409 2011-01-05 Michael Snyder <msnyder@vmware.com>
1411 * addrmap.c: Shorten lines of >= 80 columns.
1412 * arch-utils.c: Ditto.
1413 * arch-utils.h: Ditto.
1415 * ax-general.c: Ditto.
1417 * blockframe.c: Ditto.
1418 * breakpoint.c: Ditto.
1419 * buildsym.c: Ditto.
1421 * c-typeprint.c: Ditto.
1423 * coffread.c: Ditto.
1427 * cp-namespace.c: Ditto.
1428 * cp-support.c: Ditto.
1429 * dbug-rom.c: Ditto.
1434 * dictionary.c: Ditto.
1436 * doublest.c: Ditto.
1437 * dwarf2-frame.c: Ditto.
1438 * dwarf2expr.c: Ditto.
1439 * dwarf2loc.c: Ditto.
1440 * dwarf2read.c: Ditto.
1443 * event-loop.c: Ditto.
1444 * event-loop.h: Ditto.
1445 * exceptions.h: Ditto.
1447 * expprint.c: Ditto.
1448 * expression.h: Ditto.
1450 * f-valprint.c: Ditto.
1452 * frame-base.c: Ditto.
1453 * frame-unwind.c: Ditto.
1454 * frame-unwind.h: Ditto.
1458 * gdb-stabs.h: Ditto.
1459 * gdb_assert.h: Ditto.
1460 * gdb_dirent.h: Ditto.
1461 * gdb_obstack.h: Ditto.
1463 * gdbtypes.c: Ditto.
1464 * gdbtypes.h: Ditto.
1465 * inf-ttrace.c: Ditto.
1470 * inline-frame.h: Ditto.
1471 * language.c: Ditto.
1472 * language.h: Ditto.
1473 * libunwind-frame.c: Ditto.
1474 * libunwind-frame.h: Ditto.
1475 * linespec.c: Ditto.
1476 * linux-nat.c: Ditto.
1477 * linux-nat.h: Ditto.
1478 * linux-thread-db.c: Ditto.
1479 * machoread.c: Ditto.
1480 * macroexp.c: Ditto.
1481 * macrotab.c: Ditto.
1484 * mdebugread.c: Ditto.
1489 * objfiles.c: Ditto.
1490 * objfiles.h: Ditto.
1492 * p-typeprint.c: Ditto.
1493 * p-valprint.c: Ditto.
1495 * printcmd.c: Ditto.
1496 * proc-events.c: Ditto.
1498 * progspace.c: Ditto.
1499 * progspace.h: Ditto.
1500 * psympriv.h: Ditto.
1503 * regcache.c: Ditto.
1504 * regcache.h: Ditto.
1505 * remote-fileio.c: Ditto.
1507 * ser-mingw.c: Ditto.
1509 * ser-unix.c: Ditto.
1512 * solib-frv.c: Ditto.
1513 * solib-irix.c: Ditto.
1514 * solib-osf.c: Ditto.
1515 * solib-pa64.c: Ditto.
1516 * solib-som.c: Ditto.
1517 * solib-sunos.c: Ditto.
1518 * solib-svr4.c: Ditto.
1519 * solib-target.c: Ditto.
1523 * stabsread.c: Ditto.
1524 * stabsread.c: Ditto.
1527 * symfile-mem.c: Ditto.
1533 * target-descriptions.c: Ditto.
1534 * target-memory.c: Ditto.
1537 * terminal.h: Ditto.
1540 * tracepoint.c: Ditto.
1541 * tracepoint.h: Ditto.
1545 * user-regs.c: Ditto.
1546 * user-regs.h: Ditto.
1548 * valarith.c: Ditto.
1550 * valprint.c: Ditto.
1551 * valprint.h: Ditto.
1556 * xcoffread.c: Ditto.
1557 * xcoffsolib.c: Ditto.
1558 * xcoffsolib.h: Ditto.
1559 * xml-syscall.c: Ditto.
1560 * xml-tdesc.c: Ditto.
1562 2011-01-05 Michael Snyder <msnyder@vmware.com>
1564 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1565 * cli/cli-decode.c: Ditto.
1566 * cli/cli-dump.c: Ditto.
1567 * cli/cli-logging.c: Ditto.
1568 * cli/cli-script.c: Ditto.
1569 * cli/cli-setshow.c: Ditto.
1570 * common/signals.c: Ditto.
1571 * mi/mi-cmd-break.c: Ditto.
1572 * mi/mi-cmd-disas.c: Ditto.
1573 * mi/mi-cmd-stack.c: Ditto.
1574 * mi/mi-cmd-var.c: Ditto.
1575 * mi/mi-cmds.c: Ditto.
1576 * mi/mi-common.h: Ditto.
1577 * mi/mi-console.c: Ditto.
1578 * mi/mi-interp.c: Ditto.
1579 * mi/mi-main.c: Ditto.
1580 * osf-share/cma_attr.c: Ditto.
1581 * osf-share/cma_deb_core.h: Ditto.
1582 * osf-share/cma_debug_client.h: Ditto.
1583 * osf-share/cma_handle.h: Ditto.
1584 * osf-share/cma_mutex.h: Ditto.
1585 * osf-share/cma_stack_int.h: Ditto.
1586 * osf-share/cma_tcb_defs.h: Ditto.
1587 * python/py-auto-load.c: Ditto.
1588 * python/py-breakpoint.c: Ditto.
1589 * python/py-cmd.c: Ditto.
1590 * python/py-frame.c: Ditto.
1591 * python/py-objfile.c: Ditto.
1592 * python/py-param.c: Ditto.
1593 * python/py-progspace.c: Ditto.
1594 * python/py-symbol.c: Ditto.
1595 * python/py-value.c: Ditto.
1596 * python/python-internal.h: Ditto.
1597 * python/python.c: Ditto.
1598 * tui/tui-data.c: Ditto.
1599 * tui/tui-disasm.c: Ditto.
1600 * tui/tui-hooks.c: Ditto.
1601 * tui/tui-io.c: Ditto.
1602 * tui/tui-layout.c: Ditto.
1603 * tui/tui-regs.c: Ditto.
1604 * tui/tui-source.c: Ditto.
1605 * tui/tui-stack.c: Ditto.
1606 * tui/tui-win.c: Ditto.
1607 * tui/tui-windata.c: Ditto.
1608 * tui/tui-winsource.c: Ditto.
1610 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1612 * configure.ac, gdb.1: Copyright year update.
1614 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1616 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1617 this_pc_in_block, morestack_msym and morestack_name. Check for
1618 "__morestack" minimal symbol there.
1620 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1622 * symfile.c (find_sym_fns): Add call to dont_repeat.
1624 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1626 Copyright year update in most files (performed by copyright.sh).
1628 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1630 * top.c (print_gdb_version): Update copyright year in version output.
1632 For older changes see ChangeLog-2010.
1638 version-control: never