1 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
4 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
5 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
6 * ada-operator.inc: Rename the file to ...
7 * ada-operator.def: ... here, wrap all the entries by macro OP.
8 * expprint.c (op_name_standard): Remove all the entries. Include
9 "std-operator.def" instead.
10 * expression.h (enum exp_opcode): Include "std-operator.def" and
11 "ada-operator.def". Move all the entries ...
12 * std-operator.def: ... here, wrap all the entries by macro OP.
14 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
16 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
17 * breakpoint.c (remove_jit_event_breakpoints): New function.
18 * jit.c (jit_descriptor_addr): Delete.
19 (registering_code): Delete.
21 (jit_inferior_data): New variable.
22 (struct jit_inferior_data): New type.
23 (get_jit_inferior_data): New function.
24 (jit_inferior_data_cleanup): New function.
25 (jit_read_descriptor): Adjust.
26 (jit_register_code): Adjust.
27 (jit_breakpoint_re_set_internal): New function; move code here ...
28 (jit_inferior_init): ... from here.
29 (jit_breakpoint_re_set): Adjust.
30 (jit_reset_inferior_data_and_breakpoints): New function.
31 (jit_inferior_created_observer): Adjust.
32 (jit_inferior_exit_hook): Adjust.
33 (jit_executable_changed_observer): New function.
34 (jit_event_handler): Adjust.
35 (_initialize_jit): Adjust.
37 2011-01-31 Michael Snyder <msnyder@vmware.com>
39 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
42 2011-01-31 Tom Tromey <tromey@redhat.com>
45 * python/python.c (execute_gdb_command): Call
47 * top.c (suppress_dont_repeat): New global.
48 (dont_repeat): Use it.
49 (prevent_dont_repeat): New function.
50 * command.h (prevent_dont_repeat): Declare.
52 2011-01-31 Tom Tromey <tromey@redhat.com>
54 * infcmd.c (finish_backward): Use breakpoint_set_silent.
55 * python/py-breakpoint.c (bppy_set_silent): Use
56 breakpoint_set_silent.
57 (bppy_set_thread): Use breakpoint_set_thread.
58 (bppy_set_task): Use breakpoint_set_task.
59 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
60 (breakpoint_set_task): Declare.
61 (make_breakpoint_silent): Remove.
62 * breakpoint.c (breakpoint_set_silent): New function.
63 (breakpoint_set_thread): Likewise.
64 (breakpoint_set_task): Likewise.
65 (make_breakpoint_silent): Remove.
67 2011-01-31 Tom Tromey <tromey@redhat.com>
69 * breakpoint.h (user_breakpoint_p): Declare.
70 * breakpoint.c (user_breakpoint_p): New function.
71 (breakpoint_1): Use it.
72 (save_breakpoints): Likewise.
74 2011-01-31 Joel Brobecker <brobecker@adacore.com>
76 * configure.ac: Add handling of Python distribution on Windows.
77 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
78 sysconfig variables are not defined, then do not use them.
79 On Windows, if LIBPL is not defined, then use prefix + '/libs'
80 instead. On Windows, return all paths using forward-slashes
81 rather than backslashes.
83 2011-01-31 Joel Brobecker <brobecker@adacore.com>
85 * configure.ac: Remove fallback behavior for building
86 against Python. Remove tweaking of Python include path.
87 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
88 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
89 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
90 Always restore CPPFLAGS and LIBS after linking test.
91 * configure: Regenerated.
92 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
93 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
94 * python/python-internal.h: Adjust includes of Python .h files.
96 2011-01-31 Joel Brobecker <brobecker@adacore.com>
98 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
101 2011-01-31 Joel Brobecker <brobecker@adacore.com>
103 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
106 2011-01-31 Yao Qi <yao@codesourcery.com>
108 * arm-linux-nat.c: Update calls to regcache_register_status
109 instead of regcache_valid_p.
110 * aix-thread.c: Likewise.
111 * i386gnu-nat.c: Likewise.
113 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
116 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
117 touching TYPE_FIELD_ARTIFICIAL.
119 2011-01-28 Richard Earnshaw <rearnsha@arm.com>
121 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
124 2011-01-28 Pedro Alves <pedro@codesourcery.com>
126 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
127 selected, don't try iterating over the traceframe's blocks.
128 (tfile_has_stack): If there's no traceframe selected, then there's
130 (tfile_has_registers): If there's no traceframe selected, then
131 there's no registers.
133 2011-01-28 Pedro Alves <pedro@codesourcery.com>
135 * target.c (memory_xfer_partial): No need to restore shadows if we
136 haven't read anything.
138 2011-01-28 Pedro Alves <pedro@codesourcery.com>
140 * mips-tdep.c (mips_print_register): Use get_frame_register_value
141 and val_print_scalar_formatted.
143 2011-01-27 Pedro Alves <pedro@codesourcery.com>
145 * tracepoint.c (tfile_read): New.
146 (tfile_open): Use it.
147 (tfile_get_traceframe_address): Use it.
148 (tfile_trace_find): Use it.
149 (walk_blocks_callback_func): New typedef.
150 (match_blocktype): New function.
151 (traceframe_walk_blocks): New function.
152 (traceframe_find_block_type): New function.
153 (tfile_fetch_registers, tfile_xfer_partial)
154 (tfile_get_trace_state_variable_value): Use
155 traceframe_find_block_type and tfile_read.
157 2011-01-26 Kevin Buettner <kevinb@redhat.com>
159 * remote-mips.c: Add internationalization mark ups. Remove
160 trailing \n from already marked up strings.
162 2011-01-26 Tom Tromey <tromey@redhat.com>
164 * python/py-prettyprint.c (print_string_repr): Clear
165 'addressprint' option when calling val_print_string.
166 (print_children): Handle Val_pretty_default. Clear 'addressprint'
167 option when calling val_print_string.
169 2011-01-26 Tom Tromey <tromey@redhat.com>
171 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
173 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
175 (gdb_py_longest, gdb_py_ulongest): New typedefs.
176 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
177 (gdb_py_long_as_ulongest): New defines.
178 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
179 (gdb_py_int_as_long): Declare.
180 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
181 GDB_PY_LL_ARG, gdb_py_object_from_longest.
182 (valpy_long): Add comment.
183 * python/py-utils.c (get_addr_from_python): Use
184 gdb_py_long_as_ulongest. Handle overflow properly.
185 (gdb_py_object_from_longest): New function.
186 (gdb_py_object_from_ulongest): Likewise.
187 (gdb_py_int_as_long): Likewise.
188 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
189 * python/py-symtab.c (salpy_get_pc): Use
190 gdb_py_long_from_ulongest.
191 (salpy_get_line): Use PyInt_FromLong.
192 * python/py-param.c (set_parameter_value): Use
194 * python/py-lazy-string.c (stpy_get_address): Use
195 gdb_py_long_from_ulongest.
196 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
197 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
198 * python/py-breakpoint.c (bppy_set_thread): Use
200 (bppy_set_task): Likewise.
201 (bppy_set_ignore_count): Likewise.
202 (bppy_set_hit_count): Likewise.
203 * python/py-block.c (blpy_get_start): Use
204 gdb_py_object_from_ulongest.
205 (blpy_get_end): Likewise.
206 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
208 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
211 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
212 * gdb/solib.c (solib_read_symbols): Check for addr_low in
213 equality test for objfile, initialize addr_low if needed.
215 2011-01-25 Pedro Alves <pedro@codesourcery.com>
217 * tui/tui-regs.c (tui_register_format): Remove dead code.
219 2011-01-25 Pedro Alves <pedro@codesourcery.com>
221 * printcmd.c (print_formatted): Use val_print_scalar_formatted
222 instead of print_scalar_formatted.
223 (print_scalar_formatted): Don't handle 's' format strings here,
224 and add an assertion that we never see such format here.
225 * valprint.h (val_print_scalar_formatted): Declare.
226 * valprint.c (val_print_scalar_formatted): New.
227 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
228 instead of print_scalar_formatted.
229 * jv-valprint.c (java_val_print): Ditto.
230 * p-valprint.c (pascal_val_print): Ditto.
231 * ada-valprint.c (ada_val_print_1): Ditto.
232 * f-valprint.c (f_val_print): Ditto.
233 * infcmd.c (registers_info): Ditto.
234 * m2-valprint.c (m2_val_print): Ditto.
236 2011-01-25 Pedro Alves <pedro@codesourcery.com>
238 * m2-valprint.c (print_unbounded_array): Pass
239 value_contents_for_printing rather than value_contents, to
240 m2_print_array_contents. Also pass in the value.
242 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
244 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
245 (save_gdb_index_command): Switch to .gdb_index version 4.
247 2011-01-25 Pedro Alves <pedro@codesourcery.com>
249 * mi/mi-main.c (get_register): Use get_frame_register_value rather
250 than frame_register, and always pass a valid value to val_print.
252 2011-01-25 Pedro Alves <pedro@codesourcery.com>
254 Centralize printing "<optimized out>".
256 * valprint.h (val_print_optimized_out): Declare.
257 * cp-valprint.c (cp_print_value_fields): Use
258 val_print_optimized_out.
259 * jv-valprint.c (java_print_value_fields): Ditto.
260 * p-valprint.c (pascal_object_print_value_fields): Ditto.
261 * printcmd.c (print_formatted): Ditto.
262 * valprint.c (valprint_check_validity): Ditto.
263 (value_check_printable): Ditto.
264 (val_print_optimized_out): New.
266 2011-01-25 Pedro Alves <pedro@codesourcery.com>
268 * infcmd.c (default_print_registers_info): Allocate values so to
269 never pass a NULL value to val_print.
271 2011-01-25 Pedro Alves <pedro@codesourcery.com>
273 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
274 boolean. Make sure to always pass a value that matches the
275 contents buffer to callees. Preserve `address' for following
277 * value.c (value_contents_for_printing_const): New.
278 (value_address): Constify value argument.
279 * value.h (value_contents_for_printing_const): Declare.
280 (value_address): Constify value argument.
282 2011-01-25 Pedro Alves <pedro@codesourcery.com>
284 * regcache.c (struct regcache_descr): Rename
285 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
286 and sizeof_cooked_register_valid_p to
287 sizeof_cooked_register_status.
288 (init_regcache_descr): Adjust.
289 (struct regcache): Rename register_valid_p field to
291 (regcache_xmalloc_1, regcache_xfree, regcache_save)
292 (do_cooked_read): Adjust.
293 (regcache_valid_p): Rename to ...
294 (regcache_register_status): ... this. Adjust.
295 (regcache_invalidate): Adjust.
296 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
298 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
299 as unavailable, not valid.
300 (regcache_dump): Adjust.
301 * regcache.h (enum register_status): New.
302 (regcache_register_status): Declare.
303 (regcache_invalidate): Delete declaration.
304 * corelow.c (get_core_registers): Adjust.
305 * tracepoint.c (tfile_fetch_registers): Adjust.
306 * trad-frame.c (REG_VALUE): Rename to ...
307 (TF_REG_VALUE): ... this.
308 (REG_UNKNOWN): Rename to ...
309 (TF_REG_UNKNOWN): ... this.
310 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
311 * mi/mi-main.c (register_changed_p): Adjust.
313 2011-01-25 Pedro Alves <pedro@codesourcery.com>
315 * regcache.c (struct regcache_descr): Remove outdated comment.
316 (init_regcache_descr): Remove sizeof_raw_register_valid_p
318 (regcache_xmalloc): Rename to ...
319 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
320 Allocate the regcache type accordingly.
321 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
322 (regcache_xfree): Asser the source is also readonly. Copy sizeof
323 cooked registers, not raw.
324 (regcache_dup_no_passthrough): Delete.
325 (get_thread_arch_regcache): Use regcache_xmalloc_1.
326 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
327 mention obsolete write_register_bytes.
328 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
330 2011-01-25 Pedro Alves <pedro@codesourcery.com>
332 Stop remote_read_bytes from handling partial reads itself.
334 * remote-fileio.c: Include target.h.
335 (remote_fileio_write_bytes): Delete.
336 (remote_fileio_func_open, remote_fileio_func_write)
337 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
339 (remote_fileio_func_stat): Use target_read_memory and
341 (remote_fileio_func_gettimeofday): Use target_write_memory.
342 (remote_fileio_func_system): Use target_read_memory.
343 * remote.c (remote_write_bytes): Make it static.
344 (remote_read_bytes): Don't handle partial reads here.
345 * remote.h (remote_read_bytes): Delete declaration.
347 2011-01-25 Pedro Alves <pedro@codesourcery.com>
349 Simplify XML parsing a bit.
351 * xml-support.h (gdb_xml_parse_quick): Declare.
352 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
353 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
355 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
356 gdb_xml_create_parser_and_cleanup_1.
357 (gdb_xml_parse_quick): New.
358 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
359 * osdata.c (osdata_parse): Ditto.
360 * remote.c (remote_threads_info): Ditto.
361 * solib-target.c (solib_target_parse_libraries): Ditto.
362 * xml-syscall.c (syscall_parse_xml): Ditto.
363 * xml-tdesc.c (tdesc_parse_xml): Ditto.
365 2011-01-24 Kevin Buettner <kevinb@redhat.com>
367 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
368 with remote-mips.o added to gdb_target_obs.
369 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
371 2011-01-24 Pedro Alves <pedro@codesourcery.com>
373 * ada-valprint.c (val_print_packed_array_elements): Pass the
374 correct struct value to val_print.
375 (ada_val_print_1): Ditto.
377 2011-01-24 Pedro Alves <pedro@codesourcery.com>
379 Don't lose embedded_offset in printing routines throughout.
381 * valprint.h (val_print_array_elements): Change prototype.
382 * valprint.c (val_print_array_elements): Add `embedded_offset'
383 parameter, and adjust to pass it down to val_print, while passing
384 `valaddr' or `address' unmodified. Take embedded_offset into
385 account when checking repetitions.
386 * c-valprint.c (c_val_print): Pass embedded_offset to
387 val_print_array_elements instead of adjusting `valaddr' and
389 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
390 embedded_offset to val_print_array_elements instead of adjusting
392 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
393 * p-valprint.c (pascal_val_print): Pass embedded_offset to
394 val_print_array_elements and pascal_object_print_value_fields
395 instead of adjusting `valaddr'.
396 (pascal_object_print_value_fields): Add `offset' parameter, and
398 (pascal_object_print_value): Add `offset' parameter, and adjust to
400 (pascal_object_print_static_field): Use
401 value_contents_for_printing/value_embedded_offset, rather than
403 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
404 parameter, and adjust to use it. Use
405 value_contents_for_printing/value_embedded_offset, rather than
407 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
408 (ada_val_print_array): Add `offset' parameter, and adjust to use
410 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
411 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
412 Instead work with offsets. Use
413 value_contents_for_printing/value_embedded_offset, rather than
414 value_contents. Change `defer_val_int' local type to CORE_ADDR,
415 and use value_from_pointer to extract a target pointer, rather
416 than value_from_longest.
417 (print_variant_part): Add `offset' parameter. Replace
418 `outer_valaddr' parameter by a new `outer_offset' parameter.
419 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
420 (ada_value_print): Use
421 value_contents_for_printing/value_embedded_offset, rather than
423 (print_record): Add `offset' parameter, and adjust to pass it
425 (print_field_values): Add `offset' parameter. Replace
426 `outer_valaddr' parameter by a new `outer_offset' parameter.
427 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
428 Use value_contents_for_printing/value_embedded_offset, rather than
430 * d-valprint.c (dynamic_array_type): Use
431 value_contents_for_printing/value_embedded_offset, rather than
433 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
434 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
435 (java_print_value_fields): Take `offset' into account. Don't
436 re-adjust `valaddr'. Instead pass down adjusted offsets.
437 (java_val_print): Take `embedded_offset' into account. Pass it to
438 java_print_value_fields.
439 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
440 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
441 down adjusted offsets.
442 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
443 (f_val_print): Take `embedded_offset' into account.
445 2011-01-21 Joel Brobecker <brobecker@adacore.com>
447 * inflow.c: Include "gdbcmd.h".
448 (interactive_mode): New static global, moved here from top.c.
449 (show_interactive_mode): New function, moved here from top.c.
450 use gdb_has_a_terminal instead of input_from_terminal_p to
451 determine the current mode.
452 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
454 (_initialize_inflow): Add the "set/show interactive-mode"
455 commands. Moved here from top.c, after having adjusted slightly
457 * top.c (interactive_mode, show_interactive_mode): Delete, moved
459 (input_from_terminal_p): Remove handling of "interactive-mode"
460 setting, moved to infow.c.
461 (init_main): Remove creation of the "set/show interactive-mode"
462 commands, moved to inflow.c.
464 2011-01-19 Joel Brobecker <brobecker@adacore.com>
466 * NEWS: Add entry for native ia64-hpux support.
468 2011-01-19 Tom Tromey <tromey@redhat.com>
471 * thread.c (free_thread): Free 'name'.
472 (print_thread_info): Emit thread name. Change CLI output.
473 (thread_name_command): New function.
474 (do_captured_thread_select): Emit newline.
475 (_initialize_thread): Register 'thread name' command.
476 * target.h (struct target_ops) <to_thread_name>: New field.
477 (target_thread_name): New macro.
478 * target.c (update_current_target): Handle to_thread_name.
479 * python/py-infthread.c (thpy_get_name): New function.
480 (thpy_set_name): Likewise.
481 (thread_object_getset): Add "name".
482 * linux-nat.c (linux_nat_thread_name): New function.
483 (linux_nat_add_target): Set to_thread_name.
484 * gdbthread.h (struct thread_info) <name>: New field.
486 2011-01-18 Joel Brobecker <brobecker@adacore.com>
488 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
489 (ada_val_print_1): Likewise.
491 2011-01-18 Joel Brobecker <brobecker@adacore.com>
493 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
494 upper limit address is not greater than the function end address
495 when the upper limit could not be computed using the debugging
498 2011-01-17 Tom Tromey <tromey@redhat.com>
500 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
502 * utils.c: Include gdb_regex.h.
503 (do_regfree_cleanup): New function.
504 (make_regfree_cleanup): Likewise.
505 (get_regcomp_error): Likewise.
506 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
508 2011-01-17 Tom Tromey <tromey@redhat.com>
510 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
513 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
515 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
516 for internal variables.
517 (last_was_structop): New static variable.
518 (COMPLETE): New token.
519 (field_exp): New rule to group all '.' suffix handling.
520 Add mark_struct_expression calls when approriate to be able
521 to correctly find fields for completion.
522 (yylex): Adapt to handle field completion and set INTVAR when
525 2011-01-14 Yao Qi <yao@codesourcery.com>
527 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
528 save_reggroup, restore_reggroup and all_reggroup.
530 2011-01-14 Joel Brobecker <brobecker@adacore.com>
532 * ada-valprint. (ada_printchar): Use the correct type length
533 in call to ada_emit_char.
534 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
536 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
538 * solib-som.h (hpux_major_release): Declare variable here.
539 * solib-som.c: Remove <sys/utsname.h> header.
540 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
541 (hpux_major_release): Make global, change default value to
542 DEFAULT_HPUX_MAJOR_RELEASE.
543 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
544 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
545 Add "solib-som.h" header.
546 (set_hpux_major_release): New function.
547 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
549 2011-01-14 Mike Frysinger <vapier@gentoo.org>
551 * configure.tgt (*-*-uclinux*): Match more Linux os targets
553 2011-01-14 Joel Brobecker <brobecker@adacore.com>
555 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
556 new-line at end of warning message.
557 (ia64_hpux_store_register): Remove trailing new-line at end of
559 * ia64-hpux-tdep.c: Rephrase comment.
560 * solib-ia64-hpux.c (struct dld_info): Change type of field
561 dld_flags from "long long" to ULONGEST.
563 2011-01-14 Pedro Alves <pedro@codesourcery.com>
565 * target.h (deprecated_child_ops): Delete declaration.
566 * target.c (deprecated_child_ops): Delete definition.
568 2011-01-14 Pedro Alves <pedro@codesourcery.com>
570 * Makefile.in (hpux-thread.o): Delete rule.
571 * configure.ac: Don't check for HPUX DCE threads support.
572 * configure, config.in: Regenerate.
573 * hppa-hpux-nat.c (child_suppress_run): Delete.
574 (hppa_hpux_child_can_run): Delete.
575 (_initialize_hppa_hpux_nat): Don't override to_can_run.
576 * hpux-thread.c: Delete.
578 2011-01-13 Joel Brobecker <brobecker@adacore.com>
580 * hpux-thread.c (hpux_pid_to_str): Delete.
582 2011-01-13 Joel Brobecker <brobecker@adacore.com>
584 * ada-valprint.c (ada_emit_char): Remove strange code.
585 Check that c is <= UCHAR_MAX before passing it to isascii.
586 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
588 2011-01-13 Joel Brobecker <brobecker@adacore.com>
590 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
591 to the case where instream is stdin.
593 2011-01-13 Joel Brobecker <brobecker@adacore.com>
595 * ia64-tdep.h (struct regcache): Forward declare.
596 (struct ia64_infcall_ops): New struct type.
597 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
599 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
600 Renames ia64_find_global_pointer.
601 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
602 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
603 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
605 (ia64_infcall_ops): New static global constant.
606 (ia64_gdbarch_init): Set tdep->infcall_ops.
607 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
608 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
609 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
610 (ia64_hpux_dummy_code): New static global constant.
611 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
612 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
613 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
615 (ia64_hpux_infcall_ops): New static global constant.
616 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
617 for inferior function calls to work properly on ia64-hpux.
619 2011-01-13 Joel Brobecker <brobecker@adacore.com>
621 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
622 * ia64-tdep.h (struct frame_info): forward declaration.
623 (struct gdbarch_tdep): Add field size_of_register_frame.
624 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
625 to determine the size of the register frame.
626 (ia64_size_of_register_frame): New function.
627 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
628 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
629 (IA64_HPUX_UREG_REASON): New macro.
630 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
632 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
633 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
634 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
637 2011-01-13 Joel Brobecker <brobecker@adacore.com>
639 Add support for ia64-hpux.
640 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
641 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
643 * configure.host: Add handling for ia64-hpux hosts. Add associated
645 * configure.tgt: Add handling for ia64-hpux targets.
646 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
647 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
648 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
650 2011-01-13 Joel Brobecker <brobecker@adacore.com>
652 [ttrace] Compute thread list immediately after attach.
653 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
655 (inf_ttrace_attach): Use it.
657 2011-01-13 Joel Brobecker <brobecker@adacore.com>
659 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
660 if we could not determine the frame's function address. Instead,
661 use the frame's PC, and then continue.
663 2011-01-13 Joel Brobecker <brobecker@adacore.com>
665 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
668 2011-01-13 Joel Brobecker <brobecker@adacore.com>
670 * ia64-tdep.c (ia64_struct_type_p): New function.
671 (ia64_extract_return_value): Handle integral values that are
672 less than 8 bytes long.
673 (ia64_push_dummy_call): Likewise.
675 2011-01-13 Joel Brobecker <brobecker@adacore.com>
677 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
678 floatformat_ia64_ext.
679 (floatformat_ia64_ext_big): New static const.
680 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
682 2011-01-12 Tom Tromey <tromey@redhat.com>
684 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
686 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
687 (mi_cmd_thread_list_ids): Likewise.
688 (mi_cmd_data_list_changed_registers): Likewise.
689 (mi_cmd_data_list_register_values): Likewise.
690 (mi_cmd_data_write_register_values): Likewise.
691 (mi_cmd_data_evaluate_expression): Likewise.
692 (mi_cmd_data_read_memory): Likewise.
693 (mi_cmd_data_read_memory_bytes): Likewise.
694 (mi_cmd_data_write_memory): Likewise.
695 (mi_cmd_enable_timings): Likewise.
696 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
697 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
698 (mi_cmd_var_delete): Likewise.
699 (mi_cmd_var_set_format): Likewise.
700 (mi_cmd_var_show_format): Likewise.
701 (mi_cmd_var_info_num_children): Likewise.
702 (mi_cmd_var_list_children): Likewise.
703 (mi_cmd_var_info_type): Likewise.
704 (mi_cmd_var_info_expression): Likewise.
705 (mi_cmd_var_show_attributes): Likewise.
706 (mi_cmd_var_assign): Likewise.
707 (mi_cmd_var_update): Likewise.
708 (mi_cmd_enable_pretty_printing): Likewise.
709 (mi_cmd_var_set_update_range): Likewise.
710 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
712 (mi_cmd_target_file_put): Likewise.
713 (mi_cmd_target_file_delete): Likewise.
714 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
716 (mi_cmd_stack_info_depth): Likewise.
717 (mi_cmd_stack_list_locals): Likewise.
718 (mi_cmd_stack_list_args): Likewise.
719 (mi_cmd_stack_select_frame): Likewise.
720 (mi_cmd_stack_select_frame): Likewise.
721 (mi_cmd_stack_info_frame): Likewise.
722 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
724 (mi_cmd_file_list_exec_source_files): Likewise.
725 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
726 (mi_cmd_env_cd): Likewise.
727 (mi_cmd_env_path): Likewise.
728 (mi_cmd_env_dir): Likewise.
729 (mi_cmd_inferior_tty_show): Likewise.
730 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
731 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
732 (mi_cmd_break_watch): Likewise.
734 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
736 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
737 (ppc_linux_insert_hw_breakpoint): Likewise.
738 (ppc_linux_remove_hw_breakpoint): Likewise.
739 (ppc_linux_insert_watchpoint): Likewise.
741 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
742 Jan Kratochvil <jan.kratochvil@redhat.com>
744 PR fortran/11104 and DWARF unbound arrays detection.
745 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
746 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
747 unspecified upper bound.
748 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
749 variables array_size_array, tmp_type and offset_item. New variable
750 array. Remove call to f77_get_upperbound. New variables array_type
751 and index. Call value_subscripted_rvalue for each dimenasion. Remove
752 the final call to deprecated_set_value_type.
754 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
756 Make value allocations more lazy.
757 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
758 instead of allocate_value and set_value_lazy when possible.
759 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
760 instead of allocate_value and set_value_lazy.
761 * findvar.c (value_of_register_lazy): Likewise.
762 (read_var_value): Remove V preallocation, call just check_typedef in
763 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
764 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
765 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
766 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
767 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
768 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
769 the end, remove set_value_lazy there.
770 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
771 instead of allocate_value and set_value_lazy when possible.
772 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
773 * value.c (allocate_computed_value): Use allocate_value_lazy instead
774 of allocate_value and set_value_lazy.
775 (value_from_contents_and_address): Use allocate_value_lazy instead of
776 allocate_value and set_value_lazy when possible.
778 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
780 * disasm.c (dump_insns): Support dumping opcodes for MI.
781 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
782 dumping of instruction opcodes.
784 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
786 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
789 2011-01-11 Tom Tromey <tromey@redhat.com>
791 * thread.c (do_captured_thread_select): Emit newline before
794 2011-01-11 Michael Snyder <msnyder@vmware.com>
796 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
797 * score-tdep.c: Ditto.
798 * score-tdep.h: Ditto.
803 * ser-mingw.c: Ditto.
807 * sh64-tdep.c: Ditto.
808 * shnbsd-nat.c: Ditto.
812 * solib-darwin.c: Ditto.
813 * solib-frv.c: Ditto.
815 * solib-irix.c: Ditto.
816 * solib-osf.c: Ditto.
817 * solib-pa64.c: Ditto.
818 * solib-som.c: Ditto.
819 * solib-spu.c: Ditto.
820 * solib-sunos.c: Ditto.
821 * solib-svr4.c: Ditto.
823 * sol-thread.c: Ditto.
827 * sparc64-linux-tdep.c: Ditto.
828 * sparc64-tdep.c: Ditto.
829 * sparc-linux-nat.c: Ditto.
830 * sparc-linux-tdep.c: Ditto.
831 * sparc-sol2-nat.c: Ditto.
832 * sparc-sol2-tdep.c: Ditto.
833 * sparc-tdep.c: Ditto.
834 * sparc-tdep.h: Ditto.
836 * stabsread.c: Ditto.
837 * stabsread.h: Ditto.
845 * target-descriptions.c: Ditto.
846 * target-descriptions.h: Ditto.
848 * target-memory.c: Ditto.
852 * tracepoint.c: Ditto.
853 * tracepoint.h: Ditto.
854 * trad-frame.h: Ditto.
855 * typeprint.c: Ditto.
857 2011-01-11 Michael Snyder <msnyder@vmware.com>
859 * ui-file.c: Comment cleanup, mostly periods and spaces.
864 * v850-tdep.c: Ditto.
877 * windows-nat.c: Ditto.
878 * windows-tdep.c: Ditto.
879 * xcoffread.c: Ditto.
880 * xcoffsolib.c: Ditto.
881 * xml-support.c: Ditto.
882 * xstormy16-tdep.c: Ditto.
883 * xtensa-tdep.c: Ditto.
884 * xtensa-tdep.h: Ditto.
886 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
888 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
889 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
891 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
892 Thiago Jung Bauermann <bauerman@br.ibm.com>
894 Implement support for PowerPC BookE ranged watchpoints.
896 (struct breakpoint_ops) <resources_needed>: New method.
897 Initialize to NULL in all existing breakpoint_ops instances.
898 (struct breakpoint) <exact>: New field.
899 (target_exact_watchpoints): Declare external global.
900 * breakpoint.c (target_exact_watchpoints): New global flag.
901 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
902 b->enable_state to bp_enabled before calling
903 hw_watchpoint_used_count.
904 (hw_watchpoint_used_count): Iterate over all bp_locations in a
905 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
907 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
908 if the watchpoint is exact.
909 (resources_needed_watchpoint): New function.
910 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
911 (watch_command_1): Set b->exact if the user asked for an exact
912 watchpoint and one can be set.
913 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
914 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
915 the user asks for an exact watchpoint and one can be set. Return
916 number of needed debug registers to watch the expression.
917 * gdbtypes.c (is_scalar_type): New function, based on
918 valprint.c:scalar_type_p.
919 (is_scalar_type_recursive): New function.
920 * gdbtypes.h (is_scalar_type_recursive): Declare.
921 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
922 handle regions when ranged watchpoints are available.
923 (create_watchpoint_request): New function.
924 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
925 create_watchpoint_request.
926 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
927 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
928 `set powerpc' and `show powerpc' commands.
929 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
930 Mention documentation comment in the target macro.
931 (target_region_ok_for_hw_watchpoint): Document return value.
933 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
935 * breakpoint.c (update_watchpoint): Decide on using a software or
936 hardware watchpoint after the bp_locations are created.
938 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
940 Convert hardware watchpoints to use breakpoint_ops.
941 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
942 <insert_location>: ... this. Return int instead of void.
943 Accept pointer to struct bp_location instead of pointer to
944 struct breakpoint. Adapt all implementations.
945 (breakpoint_ops) <remove>: Rename to...
946 <remove_location>: ... this. Accept pointer to struct bp_location
947 instead of pointer to struct breakpoint. Adapt all implementations.
948 * breakpoint.c (insert_catchpoint): Delete function.
949 (insert_bp_location): Call the watchpoint or catchpoint's
950 breakpoint_ops.insert method.
951 (remove_breakpoint_1): Call the watchpoint or catchpoint's
952 breakpoint_ops.remove method.
953 (insert_watchpoint, remove_watchpoint): New functions.
954 (watchpoint_breakpoint_ops): New structure.
955 (watch_command_1): Initialize the OPS field.
956 * inf-child.c (inf_child_insert_fork_catchpoint)
957 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
958 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
959 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
961 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
962 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
963 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
964 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
965 * target.c (update_current_target): Change default implementation of
966 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
967 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
968 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
969 to_set_syscall_catchpoint to return_one.
970 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
971 (debug_to_insert_exec_catchpoint): Report return value.
972 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
973 (to_insert_exec_catchpoint): Change declaration to return int instead
976 2011-01-11 Michael Snyder <msnyder@vmware.com>
978 * arm-tdep.c: Internationalization.
981 * fork-child.c: Ditto.
982 * nto-procfs.c: Ditto.
983 * ppc-sysv-tdep.c: Ditto.
985 * remote-mips.c: Ditto.
987 * rs6000-nat.c: Ditto.
988 * rs6000-tdep.c: Ditto.
992 * xml-support.c: Ditto.
993 * mi/mi-cmd-break.c: Ditto.
994 * mi/mi-cmd-var.c: Ditto.
995 * mi/mi-interp.c: Ditto.
996 * mi/mi-main.c: Ditto.
998 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
1000 * remote-sim.c (gdbsim_store_register): Update API to
1001 sim_store_register to check more error conditions.
1003 2011-01-10 Michael Snyder <msnyder@vmware.com>
1005 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1006 * nto-tdep.c: Ditto.
1007 * nto-tdep.h: Ditto.
1008 * objc-exp.y: Ditto.
1009 * objc-lang.c: Ditto.
1010 * objfiles.c: Ditto.
1011 * objfiles.h: Ditto.
1012 * observer.c: Ditto.
1013 * opencl-lang.c: Ditto.
1016 * parser-defs.h: Ditto.
1019 * posix-hdep.c: Ditto.
1020 * ppcbug-rom.c: Ditto.
1021 * ppc-linux-nat.c: Ditto.
1022 * ppc-linux-tdep.c: Ditto.
1023 * ppc-linux-tdep.h: Ditto.
1024 * ppcnbsd-tdep.c: Ditto.
1025 * ppcobsd-tdep.c: Ditto.
1026 * ppcobsd-tdep.h: Ditto.
1027 * ppc-sysv-tdep.c: Ditto.
1028 * ppc-tdep.h: Ditto.
1029 * printcmd.c: Ditto.
1030 * proc-abi.c: Ditto.
1031 * proc-flags.c: Ditto.
1033 * proc-utils.h: Ditto.
1034 * progspace.h: Ditto.
1035 * prologue-value.c: Ditto.
1036 * prologue-value.h: Ditto.
1037 * psympriv.h: Ditto.
1039 * p-typeprint.c: Ditto.
1040 * p-valprint.c: Ditto.
1041 * ravenscar-sparc-thread.c: Ditto.
1042 * ravenscar-thread.c: Ditto.
1043 * ravenscar-thread.h: Ditto.
1045 * regcache.c: Ditto.
1046 * regcache.h: Ditto.
1048 * remote-fileio.c: Ditto.
1049 * remote-fileio.h: Ditto.
1051 * remote-m32r-sdi.c: Ditto.
1052 * remote-mips.c: Ditto.
1053 * remote-sim.c: Ditto.
1054 * rs6000-aix-tdep.c: Ditto.
1055 * rs6000-nat.c: Ditto.
1056 * rs6000-tdep.c: Ditto.
1058 2011-01-10 Michael Snyder <msnyder@vmware.com>
1060 * charset.c (validate): Internationalization.
1061 * coffread.c (read_one_sym): Ditto.
1062 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1063 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1064 * inflow.c (new_tty): Ditto.
1065 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1066 * m32c-tdep.c (m32c_return_value): Ditto.
1067 * mep-tdep.c (mep_store_return_value): Ditto.
1068 * score-tdep.c (score7_fetch_insn): Ditto.
1069 * ser-mingw.c (pipe_windows_open): Ditto.
1070 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1071 * spu-tdep.c (spu_register_type): Ditto.
1072 * tracepoint.c (trace_find_command): Ditto.
1073 * valarith.c (value_pos): Ditto.
1075 2011-01-10 Joel Brobecker <brobecker@adacore.com>
1077 * ada-valprint.c (printstr): Minor comment reformatting.
1079 2011-01-08 Michael Snyder <msnyder@vmware.com>
1081 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1084 2011-01-08 Michael Snyder <msnyder@vmware.com>
1086 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1087 * hppa-hpux-tdep.c: Ditto.
1088 * hppa-linux-nat.c: Ditto.
1089 * hppa-linux-tdep.c: Ditto.
1090 * hppanbsd-tdep.c: Ditto.
1091 * hppa-tdep.c: Ditto.
1092 * hppa-tdep.h: Ditto.
1093 * hpux-thread.c: Ditto.
1094 * i386-cygwin-tdep.c: Ditto.
1095 * i386-darwin-nat.c: Ditto.
1096 * i386gnu-nat.c: Ditto.
1097 * i386-linux-nat.c: Ditto.
1098 * i386-linux-tdep.c: Ditto.
1099 * i386-nat.c: Ditto.
1100 * i386-nat.h: Ditto.
1101 * i386nbsd-tdep.c: Ditto.
1102 * i386-sol2-nat.c: Ditto.
1103 * i386-stub.c: Ditto.
1104 * i386-tdep.c: Ditto.
1105 * i386-tdep.h: Ditto.
1106 * i387-tdep.c: Ditto.
1107 * ia64-linux-nat.c: Ditto.
1108 * ia64-linux-tdep.c: Ditto.
1109 * ia64-tdep.c: Ditto.
1113 * inferior.c: Ditto.
1114 * inferior.h: Ditto.
1120 * iq2000-tdep.c: Ditto.
1121 * irix5-nat.c: Ditto.
1127 * jv-typeprint.c: Ditto.
1128 * jv-valprint.c: Ditto.
1129 * language.c: Ditto.
1130 * language.h: Ditto.
1131 * linespec.c: Ditto.
1132 * linux-fork.c: Ditto.
1133 * linux-nat.c: Ditto.
1134 * linux-thread-db.c: Ditto.
1135 * lm32-tdep.c: Ditto.
1137 2011-01-08 Michael Snyder <msnyder@vmware.com>
1139 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1141 * m2-typeprint.c: Ditto.
1142 * m2-valprint.c: Ditto.
1143 * m32c-tdep.c: Ditto.
1144 * m32r-linux-nat.c: Ditto.
1145 * m32r-rom.c: Ditto.
1146 * m32r-tdep.c: Ditto.
1147 * m32r-tdep.h: Ditto.
1148 * m68hc11-tdep.c: Ditto.
1149 * m58klinux-nat.c: Ditto.
1150 * m68k-tdep.c: Ditto.
1151 * m88k-tdep.c: Ditto.
1152 * m88k-tdep.h: Ditto.
1153 * machoread.c: Ditto.
1154 * macrocmd.c: Ditto.
1155 * macroexp.c: Ditto.
1156 * macrotab.c: Ditto.
1159 * mdebugread.c: Ditto.
1160 * mdebugread.h: Ditto.
1163 * memory-map.h: Ditto.
1164 * mep-tdep.c: Ditto.
1165 * microblaze-rom.c: Ditto.
1166 * microblaze-tdep.c: Ditto.
1168 * mips-irix-tdep.c: Ditto.
1169 * mips-linux-nat.c: Ditto.
1170 * mips-linux-tdep.c: Ditto.
1171 * mips-linux-tdep.h: Ditto.
1172 * mipsnbsd-nat.c: Ditto.
1173 * mipsnbsd-tdep.c: Ditto.
1174 * mipsread.c: Ditto.
1175 * mips-tdep.c: Ditto.
1176 * mips-tdep.h: Ditto.
1177 * mn10300-linux-tdep.c: Ditto.
1178 * mn10300-tdep.c: Ditto.
1179 * mn10300-tdep.h: Ditto.
1182 * moxie-tdep.c: Ditto.
1183 * moxie-tdep.h: Ditto.
1186 2011-01-08 Mike Frysinger <vapier@gentoo.org>
1188 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1190 2011-01-08 Robert Millan <rmh@gnu.org>
1192 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1194 2011-01-07 Michael Snyder <msnyder@vmware.com>
1196 * charset.c (_initialize_charset): Fix typo in string.
1198 2011-01-07 Michael Snyder <msnyder@vmware.com>
1200 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1202 * tui/tui-layout.c (tui_set_layout_for_display_command):
1203 Split line so that operator goes to beginning of line.
1204 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1205 assignment out of if statement.
1207 2011-01-07 Michael Snyder <msnyder@vmware.com>
1209 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1210 * ada-lang.h: Ditto.
1211 * ada-tasks.c: Ditto.
1212 * ada-valprint.c: Ditto.
1213 * aix-threads.c: Ditto.
1214 * alpha-linux-nat.c: Ditto.
1215 * alpha-linux-tdep.c: Ditto.
1216 * alpha-mdebug-tdep.c: Ditto.
1217 * alpha-nat.c: Ditto.
1218 * alpha-osf1-tdep.c: Ditto.
1219 * alpha-tdep.c: Ditto.
1220 * alphabsd-nat.c: Ditto.
1221 * alphabsd-tdep.c: Ditto.
1222 * amd64-darwin-tdep.c: Ditto.
1223 * amd64-linux-nat.c: Ditto.
1224 * amd64-linux-tdep.c: Ditto.
1225 * amd64-sol2-tdep.c: Ditto.
1226 * amd64-tdep.c: Ditto.
1227 * amd64-fbsd-tdep.c: Ditto.
1228 * amd64-nbsd-tdep.c: Ditto.
1229 * amd64-obsd-tdep.c: Ditto.
1230 * amd64-linux-nat.c: Ditto.
1231 * amd64-linux-tdep.c: Ditto.
1232 * arm-tdep.c: Ditto.
1233 * arm-tdep.h: Ditto.
1234 * armnbsd-nat.c: Ditto.
1235 * avr-tdep.c: Ditto.
1236 * bfin-tdep.c: Ditto.
1238 * c-typeprintc: Ditto.
1239 * c-valprint.c: Ditto.
1240 * coff-pe-read.h: Ditto.
1241 * coffreead.c: Ditto.
1242 * cris-tdep.c: Ditto.
1244 * darwin-nat-info.c: Ditto.
1245 * darwin-nat.c: Ditto.
1246 * dbug-rom.c: Ditto.
1250 * dec-thread.c: Ditto.
1252 * demangle.c: Ditto.
1253 * dicos-tdep.c: Ditto.
1254 * dictionary.c: Ditto.
1255 * dictionary.h: Ditto.
1256 * dink32-rom.c: Ditto.
1258 * doublest.c: Ditto.
1260 * dummy-frame.c: Ditto.
1261 * dwarf2-frame.c: Ditto.
1262 * dwarf2expr.c: Ditto.
1263 * dwarf2loc.c: Ditto.
1264 * dwarf2read.c: Ditto.
1268 * event-top.h: Ditto.
1269 * exceptions.c: Ditto.
1270 * exceptions.h: Ditto.
1272 * expprint.c: Ditto.
1273 * expression.h: Ditto.
1277 * f-typeprint.c: Ditto.
1278 * f-valprint.c: Ditto.
1279 * fbsd-nat.c: Ditto.
1281 * fork-child.c: Ditto.
1284 * frv-linux-tdep.c: Ditto.
1285 * frv-tdep.c: Ditto.
1287 * gdb-stabs.h: Ditto.
1288 * gdb_assert.h: Ditto.
1289 * gdb_string.h: Ditto.
1290 * gdb_thread_db.h: Ditto.
1291 * gdb_wait.h: Ditto.
1292 * gdbarch.sh: Ditto.
1294 * gdbthread.h: Ditto.
1295 * gdbtypes.c: Ditto.
1296 * gdbtypes.h: Ditto.
1299 * gnu-v2-abi.c: Ditto.
1300 * gnu-v3-abi.c: Ditto.
1301 * go32-nat.c: Ditto.
1302 * gdbarch.c: Regenerate.
1303 * gdbarch.h: Regenerate.
1305 2011-01-07 Michael Snyder <msnyder@vmware.com>
1307 * ax-gdb.c: Adjust some long output strings.
1308 * breakpoint.c: Ditto.
1313 * linux-nat.c: Ditto.
1314 * solib-pa64.c: Ditto.
1315 * solib-som.c: Ditto.
1317 2011-01-06 Tom Tromey <tromey@redhat.com>
1321 * python/python.c (GdbMethods): Add "newest_frame" method.
1322 * python/python-internal.h (gdbpy_newest_frame): Declare.
1323 * python/py-frame.c (gdbpy_newest_frame): New function.
1325 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1327 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1328 * jit.c (jit_debug): New variable.
1329 (show_jit_debug): New function.
1330 (struct target_buffer): Use ULONGEST.
1331 (bfd_open_from_target_memory): Likewise.
1332 (jit_register_code, jit_inferior_init): Add debug output.
1333 (_initialize_jit): Register "debug jit" command.
1335 2011-01-06 Tom Tromey <tromey@redhat.com>
1337 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1338 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1341 2011-01-06 Tom Tromey <tromey@redhat.com>
1343 * python/py-frame.c (frapy_block): Use get_frame_block.
1345 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1347 Do not stop on SIGPRIO signals by default
1348 * infrun.c (_initialize_infrun): Unset signal_stop and
1349 signal_print for TARGET_SIGNAL_PRIO.
1351 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1353 * ada-tasks.c: Fix style violation in comment.
1355 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1357 * linespec.c (decode_compound, find_method): Remove trailing \n
1358 at end of error string.
1359 * solib-irix.c (irix_current_sos): Likewise.
1360 * varobj.c (uninstall_variable): Likewise.
1362 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1364 * copyright.py: New script.
1365 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1366 Launch emacs without exec'ing. Call copyright.py afterwards.
1368 2011-01-05 Michael Snyder <msnyder@vmware.com>
1370 * addrmap.c: Shorten lines of >= 80 columns.
1371 * arch-utils.c: Ditto.
1372 * arch-utils.h: Ditto.
1374 * ax-general.c: Ditto.
1376 * blockframe.c: Ditto.
1377 * breakpoint.c: Ditto.
1378 * buildsym.c: Ditto.
1380 * c-typeprint.c: Ditto.
1382 * coffread.c: Ditto.
1386 * cp-namespace.c: Ditto.
1387 * cp-support.c: Ditto.
1388 * dbug-rom.c: Ditto.
1393 * dictionary.c: Ditto.
1395 * doublest.c: Ditto.
1396 * dwarf2-frame.c: Ditto.
1397 * dwarf2expr.c: Ditto.
1398 * dwarf2loc.c: Ditto.
1399 * dwarf2read.c: Ditto.
1402 * event-loop.c: Ditto.
1403 * event-loop.h: Ditto.
1404 * exceptions.h: Ditto.
1406 * expprint.c: Ditto.
1407 * expression.h: Ditto.
1409 * f-valprint.c: Ditto.
1411 * frame-base.c: Ditto.
1412 * frame-unwind.c: Ditto.
1413 * frame-unwind.h: Ditto.
1417 * gdb-stabs.h: Ditto.
1418 * gdb_assert.h: Ditto.
1419 * gdb_dirent.h: Ditto.
1420 * gdb_obstack.h: Ditto.
1422 * gdbtypes.c: Ditto.
1423 * gdbtypes.h: Ditto.
1424 * inf-ttrace.c: Ditto.
1429 * inline-frame.h: Ditto.
1430 * language.c: Ditto.
1431 * language.h: Ditto.
1432 * libunwind-frame.c: Ditto.
1433 * libunwind-frame.h: Ditto.
1434 * linespec.c: Ditto.
1435 * linux-nat.c: Ditto.
1436 * linux-nat.h: Ditto.
1437 * linux-thread-db.c: Ditto.
1438 * machoread.c: Ditto.
1439 * macroexp.c: Ditto.
1440 * macrotab.c: Ditto.
1443 * mdebugread.c: Ditto.
1448 * objfiles.c: Ditto.
1449 * objfiles.h: Ditto.
1451 * p-typeprint.c: Ditto.
1452 * p-valprint.c: Ditto.
1454 * printcmd.c: Ditto.
1455 * proc-events.c: Ditto.
1457 * progspace.c: Ditto.
1458 * progspace.h: Ditto.
1459 * psympriv.h: Ditto.
1462 * regcache.c: Ditto.
1463 * regcache.h: Ditto.
1464 * remote-fileio.c: Ditto.
1466 * ser-mingw.c: Ditto.
1468 * ser-unix.c: Ditto.
1471 * solib-frv.c: Ditto.
1472 * solib-irix.c: Ditto.
1473 * solib-osf.c: Ditto.
1474 * solib-pa64.c: Ditto.
1475 * solib-som.c: Ditto.
1476 * solib-sunos.c: Ditto.
1477 * solib-svr4.c: Ditto.
1478 * solib-target.c: Ditto.
1482 * stabsread.c: Ditto.
1483 * stabsread.c: Ditto.
1486 * symfile-mem.c: Ditto.
1492 * target-descriptions.c: Ditto.
1493 * target-memory.c: Ditto.
1496 * terminal.h: Ditto.
1499 * tracepoint.c: Ditto.
1500 * tracepoint.h: Ditto.
1504 * user-regs.c: Ditto.
1505 * user-regs.h: Ditto.
1507 * valarith.c: Ditto.
1509 * valprint.c: Ditto.
1510 * valprint.h: Ditto.
1515 * xcoffread.c: Ditto.
1516 * xcoffsolib.c: Ditto.
1517 * xcoffsolib.h: Ditto.
1518 * xml-syscall.c: Ditto.
1519 * xml-tdesc.c: Ditto.
1521 2011-01-05 Michael Snyder <msnyder@vmware.com>
1523 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1524 * cli/cli-decode.c: Ditto.
1525 * cli/cli-dump.c: Ditto.
1526 * cli/cli-logging.c: Ditto.
1527 * cli/cli-script.c: Ditto.
1528 * cli/cli-setshow.c: Ditto.
1529 * common/signals.c: Ditto.
1530 * mi/mi-cmd-break.c: Ditto.
1531 * mi/mi-cmd-disas.c: Ditto.
1532 * mi/mi-cmd-stack.c: Ditto.
1533 * mi/mi-cmd-var.c: Ditto.
1534 * mi/mi-cmds.c: Ditto.
1535 * mi/mi-common.h: Ditto.
1536 * mi/mi-console.c: Ditto.
1537 * mi/mi-interp.c: Ditto.
1538 * mi/mi-main.c: Ditto.
1539 * osf-share/cma_attr.c: Ditto.
1540 * osf-share/cma_deb_core.h: Ditto.
1541 * osf-share/cma_debug_client.h: Ditto.
1542 * osf-share/cma_handle.h: Ditto.
1543 * osf-share/cma_mutex.h: Ditto.
1544 * osf-share/cma_stack_int.h: Ditto.
1545 * osf-share/cma_tcb_defs.h: Ditto.
1546 * python/py-auto-load.c: Ditto.
1547 * python/py-breakpoint.c: Ditto.
1548 * python/py-cmd.c: Ditto.
1549 * python/py-frame.c: Ditto.
1550 * python/py-objfile.c: Ditto.
1551 * python/py-param.c: Ditto.
1552 * python/py-progspace.c: Ditto.
1553 * python/py-symbol.c: Ditto.
1554 * python/py-value.c: Ditto.
1555 * python/python-internal.h: Ditto.
1556 * python/python.c: Ditto.
1557 * tui/tui-data.c: Ditto.
1558 * tui/tui-disasm.c: Ditto.
1559 * tui/tui-hooks.c: Ditto.
1560 * tui/tui-io.c: Ditto.
1561 * tui/tui-layout.c: Ditto.
1562 * tui/tui-regs.c: Ditto.
1563 * tui/tui-source.c: Ditto.
1564 * tui/tui-stack.c: Ditto.
1565 * tui/tui-win.c: Ditto.
1566 * tui/tui-windata.c: Ditto.
1567 * tui/tui-winsource.c: Ditto.
1569 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1571 * configure.ac, gdb.1: Copyright year update.
1573 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1575 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1576 this_pc_in_block, morestack_msym and morestack_name. Check for
1577 "__morestack" minimal symbol there.
1579 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1581 * symfile.c (find_sym_fns): Add call to dont_repeat.
1583 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1585 Copyright year update in most files (performed by copyright.sh).
1587 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1589 * top.c (print_gdb_version): Update copyright year in version output.
1591 For older changes see ChangeLog-2010.
1597 version-control: never