1 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3 Fix debug printing of TYPE_INSTANCE.
4 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
5 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
7 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
10 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
11 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
12 * ada-operator.inc: Rename the file to ...
13 * ada-operator.def: ... here, wrap all the entries by macro OP.
14 * expprint.c (op_name_standard): Remove all the entries. Include
15 "std-operator.def" instead.
16 * expression.h (enum exp_opcode): Include "std-operator.def" and
17 "ada-operator.def". Move all the entries ...
18 * std-operator.def: ... here, wrap all the entries by macro OP.
20 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
23 * breakpoint.c (remove_jit_event_breakpoints): New function.
24 * jit.c (jit_descriptor_addr): Delete.
25 (registering_code): Delete.
27 (jit_inferior_data): New variable.
28 (struct jit_inferior_data): New type.
29 (get_jit_inferior_data): New function.
30 (jit_inferior_data_cleanup): New function.
31 (jit_read_descriptor): Adjust.
32 (jit_register_code): Adjust.
33 (jit_breakpoint_re_set_internal): New function; move code here ...
34 (jit_inferior_init): ... from here.
35 (jit_breakpoint_re_set): Adjust.
36 (jit_reset_inferior_data_and_breakpoints): New function.
37 (jit_inferior_created_observer): Adjust.
38 (jit_inferior_exit_hook): Adjust.
39 (jit_executable_changed_observer): New function.
40 (jit_event_handler): Adjust.
41 (_initialize_jit): Adjust.
43 2011-01-31 Michael Snyder <msnyder@vmware.com>
45 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
48 2011-01-31 Tom Tromey <tromey@redhat.com>
51 * python/python.c (execute_gdb_command): Call
53 * top.c (suppress_dont_repeat): New global.
54 (dont_repeat): Use it.
55 (prevent_dont_repeat): New function.
56 * command.h (prevent_dont_repeat): Declare.
58 2011-01-31 Tom Tromey <tromey@redhat.com>
60 * infcmd.c (finish_backward): Use breakpoint_set_silent.
61 * python/py-breakpoint.c (bppy_set_silent): Use
62 breakpoint_set_silent.
63 (bppy_set_thread): Use breakpoint_set_thread.
64 (bppy_set_task): Use breakpoint_set_task.
65 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
66 (breakpoint_set_task): Declare.
67 (make_breakpoint_silent): Remove.
68 * breakpoint.c (breakpoint_set_silent): New function.
69 (breakpoint_set_thread): Likewise.
70 (breakpoint_set_task): Likewise.
71 (make_breakpoint_silent): Remove.
73 2011-01-31 Tom Tromey <tromey@redhat.com>
75 * breakpoint.h (user_breakpoint_p): Declare.
76 * breakpoint.c (user_breakpoint_p): New function.
77 (breakpoint_1): Use it.
78 (save_breakpoints): Likewise.
80 2011-01-31 Joel Brobecker <brobecker@adacore.com>
82 * configure.ac: Add handling of Python distribution on Windows.
83 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
84 sysconfig variables are not defined, then do not use them.
85 On Windows, if LIBPL is not defined, then use prefix + '/libs'
86 instead. On Windows, return all paths using forward-slashes
87 rather than backslashes.
89 2011-01-31 Joel Brobecker <brobecker@adacore.com>
91 * configure.ac: Remove fallback behavior for building
92 against Python. Remove tweaking of Python include path.
93 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
94 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
95 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
96 Always restore CPPFLAGS and LIBS after linking test.
97 * configure: Regenerated.
98 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
99 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
100 * python/python-internal.h: Adjust includes of Python .h files.
102 2011-01-31 Joel Brobecker <brobecker@adacore.com>
104 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
107 2011-01-31 Joel Brobecker <brobecker@adacore.com>
109 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
112 2011-01-31 Yao Qi <yao@codesourcery.com>
114 * arm-linux-nat.c: Update calls to regcache_register_status
115 instead of regcache_valid_p.
116 * aix-thread.c: Likewise.
117 * i386gnu-nat.c: Likewise.
119 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
122 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
123 touching TYPE_FIELD_ARTIFICIAL.
125 2011-01-28 Richard Earnshaw <rearnsha@arm.com>
127 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
130 2011-01-28 Pedro Alves <pedro@codesourcery.com>
132 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
133 selected, don't try iterating over the traceframe's blocks.
134 (tfile_has_stack): If there's no traceframe selected, then there's
136 (tfile_has_registers): If there's no traceframe selected, then
137 there's no registers.
139 2011-01-28 Pedro Alves <pedro@codesourcery.com>
141 * target.c (memory_xfer_partial): No need to restore shadows if we
142 haven't read anything.
144 2011-01-28 Pedro Alves <pedro@codesourcery.com>
146 * mips-tdep.c (mips_print_register): Use get_frame_register_value
147 and val_print_scalar_formatted.
149 2011-01-27 Pedro Alves <pedro@codesourcery.com>
151 * tracepoint.c (tfile_read): New.
152 (tfile_open): Use it.
153 (tfile_get_traceframe_address): Use it.
154 (tfile_trace_find): Use it.
155 (walk_blocks_callback_func): New typedef.
156 (match_blocktype): New function.
157 (traceframe_walk_blocks): New function.
158 (traceframe_find_block_type): New function.
159 (tfile_fetch_registers, tfile_xfer_partial)
160 (tfile_get_trace_state_variable_value): Use
161 traceframe_find_block_type and tfile_read.
163 2011-01-26 Kevin Buettner <kevinb@redhat.com>
165 * remote-mips.c: Add internationalization mark ups. Remove
166 trailing \n from already marked up strings.
168 2011-01-26 Tom Tromey <tromey@redhat.com>
170 * python/py-prettyprint.c (print_string_repr): Clear
171 'addressprint' option when calling val_print_string.
172 (print_children): Handle Val_pretty_default. Clear 'addressprint'
173 option when calling val_print_string.
175 2011-01-26 Tom Tromey <tromey@redhat.com>
177 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
179 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
181 (gdb_py_longest, gdb_py_ulongest): New typedefs.
182 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
183 (gdb_py_long_as_ulongest): New defines.
184 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
185 (gdb_py_int_as_long): Declare.
186 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
187 GDB_PY_LL_ARG, gdb_py_object_from_longest.
188 (valpy_long): Add comment.
189 * python/py-utils.c (get_addr_from_python): Use
190 gdb_py_long_as_ulongest. Handle overflow properly.
191 (gdb_py_object_from_longest): New function.
192 (gdb_py_object_from_ulongest): Likewise.
193 (gdb_py_int_as_long): Likewise.
194 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
195 * python/py-symtab.c (salpy_get_pc): Use
196 gdb_py_long_from_ulongest.
197 (salpy_get_line): Use PyInt_FromLong.
198 * python/py-param.c (set_parameter_value): Use
200 * python/py-lazy-string.c (stpy_get_address): Use
201 gdb_py_long_from_ulongest.
202 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
203 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
204 * python/py-breakpoint.c (bppy_set_thread): Use
206 (bppy_set_task): Likewise.
207 (bppy_set_ignore_count): Likewise.
208 (bppy_set_hit_count): Likewise.
209 * python/py-block.c (blpy_get_start): Use
210 gdb_py_object_from_ulongest.
211 (blpy_get_end): Likewise.
212 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
214 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
217 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
218 * gdb/solib.c (solib_read_symbols): Check for addr_low in
219 equality test for objfile, initialize addr_low if needed.
221 2011-01-25 Pedro Alves <pedro@codesourcery.com>
223 * tui/tui-regs.c (tui_register_format): Remove dead code.
225 2011-01-25 Pedro Alves <pedro@codesourcery.com>
227 * printcmd.c (print_formatted): Use val_print_scalar_formatted
228 instead of print_scalar_formatted.
229 (print_scalar_formatted): Don't handle 's' format strings here,
230 and add an assertion that we never see such format here.
231 * valprint.h (val_print_scalar_formatted): Declare.
232 * valprint.c (val_print_scalar_formatted): New.
233 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
234 instead of print_scalar_formatted.
235 * jv-valprint.c (java_val_print): Ditto.
236 * p-valprint.c (pascal_val_print): Ditto.
237 * ada-valprint.c (ada_val_print_1): Ditto.
238 * f-valprint.c (f_val_print): Ditto.
239 * infcmd.c (registers_info): Ditto.
240 * m2-valprint.c (m2_val_print): Ditto.
242 2011-01-25 Pedro Alves <pedro@codesourcery.com>
244 * m2-valprint.c (print_unbounded_array): Pass
245 value_contents_for_printing rather than value_contents, to
246 m2_print_array_contents. Also pass in the value.
248 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
250 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
251 (save_gdb_index_command): Switch to .gdb_index version 4.
253 2011-01-25 Pedro Alves <pedro@codesourcery.com>
255 * mi/mi-main.c (get_register): Use get_frame_register_value rather
256 than frame_register, and always pass a valid value to val_print.
258 2011-01-25 Pedro Alves <pedro@codesourcery.com>
260 Centralize printing "<optimized out>".
262 * valprint.h (val_print_optimized_out): Declare.
263 * cp-valprint.c (cp_print_value_fields): Use
264 val_print_optimized_out.
265 * jv-valprint.c (java_print_value_fields): Ditto.
266 * p-valprint.c (pascal_object_print_value_fields): Ditto.
267 * printcmd.c (print_formatted): Ditto.
268 * valprint.c (valprint_check_validity): Ditto.
269 (value_check_printable): Ditto.
270 (val_print_optimized_out): New.
272 2011-01-25 Pedro Alves <pedro@codesourcery.com>
274 * infcmd.c (default_print_registers_info): Allocate values so to
275 never pass a NULL value to val_print.
277 2011-01-25 Pedro Alves <pedro@codesourcery.com>
279 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
280 boolean. Make sure to always pass a value that matches the
281 contents buffer to callees. Preserve `address' for following
283 * value.c (value_contents_for_printing_const): New.
284 (value_address): Constify value argument.
285 * value.h (value_contents_for_printing_const): Declare.
286 (value_address): Constify value argument.
288 2011-01-25 Pedro Alves <pedro@codesourcery.com>
290 * regcache.c (struct regcache_descr): Rename
291 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
292 and sizeof_cooked_register_valid_p to
293 sizeof_cooked_register_status.
294 (init_regcache_descr): Adjust.
295 (struct regcache): Rename register_valid_p field to
297 (regcache_xmalloc_1, regcache_xfree, regcache_save)
298 (do_cooked_read): Adjust.
299 (regcache_valid_p): Rename to ...
300 (regcache_register_status): ... this. Adjust.
301 (regcache_invalidate): Adjust.
302 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
304 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
305 as unavailable, not valid.
306 (regcache_dump): Adjust.
307 * regcache.h (enum register_status): New.
308 (regcache_register_status): Declare.
309 (regcache_invalidate): Delete declaration.
310 * corelow.c (get_core_registers): Adjust.
311 * tracepoint.c (tfile_fetch_registers): Adjust.
312 * trad-frame.c (REG_VALUE): Rename to ...
313 (TF_REG_VALUE): ... this.
314 (REG_UNKNOWN): Rename to ...
315 (TF_REG_UNKNOWN): ... this.
316 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
317 * mi/mi-main.c (register_changed_p): Adjust.
319 2011-01-25 Pedro Alves <pedro@codesourcery.com>
321 * regcache.c (struct regcache_descr): Remove outdated comment.
322 (init_regcache_descr): Remove sizeof_raw_register_valid_p
324 (regcache_xmalloc): Rename to ...
325 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
326 Allocate the regcache type accordingly.
327 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
328 (regcache_xfree): Asser the source is also readonly. Copy sizeof
329 cooked registers, not raw.
330 (regcache_dup_no_passthrough): Delete.
331 (get_thread_arch_regcache): Use regcache_xmalloc_1.
332 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
333 mention obsolete write_register_bytes.
334 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
336 2011-01-25 Pedro Alves <pedro@codesourcery.com>
338 Stop remote_read_bytes from handling partial reads itself.
340 * remote-fileio.c: Include target.h.
341 (remote_fileio_write_bytes): Delete.
342 (remote_fileio_func_open, remote_fileio_func_write)
343 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
345 (remote_fileio_func_stat): Use target_read_memory and
347 (remote_fileio_func_gettimeofday): Use target_write_memory.
348 (remote_fileio_func_system): Use target_read_memory.
349 * remote.c (remote_write_bytes): Make it static.
350 (remote_read_bytes): Don't handle partial reads here.
351 * remote.h (remote_read_bytes): Delete declaration.
353 2011-01-25 Pedro Alves <pedro@codesourcery.com>
355 Simplify XML parsing a bit.
357 * xml-support.h (gdb_xml_parse_quick): Declare.
358 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
359 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
361 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
362 gdb_xml_create_parser_and_cleanup_1.
363 (gdb_xml_parse_quick): New.
364 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
365 * osdata.c (osdata_parse): Ditto.
366 * remote.c (remote_threads_info): Ditto.
367 * solib-target.c (solib_target_parse_libraries): Ditto.
368 * xml-syscall.c (syscall_parse_xml): Ditto.
369 * xml-tdesc.c (tdesc_parse_xml): Ditto.
371 2011-01-24 Kevin Buettner <kevinb@redhat.com>
373 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
374 with remote-mips.o added to gdb_target_obs.
375 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
377 2011-01-24 Pedro Alves <pedro@codesourcery.com>
379 * ada-valprint.c (val_print_packed_array_elements): Pass the
380 correct struct value to val_print.
381 (ada_val_print_1): Ditto.
383 2011-01-24 Pedro Alves <pedro@codesourcery.com>
385 Don't lose embedded_offset in printing routines throughout.
387 * valprint.h (val_print_array_elements): Change prototype.
388 * valprint.c (val_print_array_elements): Add `embedded_offset'
389 parameter, and adjust to pass it down to val_print, while passing
390 `valaddr' or `address' unmodified. Take embedded_offset into
391 account when checking repetitions.
392 * c-valprint.c (c_val_print): Pass embedded_offset to
393 val_print_array_elements instead of adjusting `valaddr' and
395 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
396 embedded_offset to val_print_array_elements instead of adjusting
398 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
399 * p-valprint.c (pascal_val_print): Pass embedded_offset to
400 val_print_array_elements and pascal_object_print_value_fields
401 instead of adjusting `valaddr'.
402 (pascal_object_print_value_fields): Add `offset' parameter, and
404 (pascal_object_print_value): Add `offset' parameter, and adjust to
406 (pascal_object_print_static_field): Use
407 value_contents_for_printing/value_embedded_offset, rather than
409 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
410 parameter, and adjust to use it. Use
411 value_contents_for_printing/value_embedded_offset, rather than
413 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
414 (ada_val_print_array): Add `offset' parameter, and adjust to use
416 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
417 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
418 Instead work with offsets. Use
419 value_contents_for_printing/value_embedded_offset, rather than
420 value_contents. Change `defer_val_int' local type to CORE_ADDR,
421 and use value_from_pointer to extract a target pointer, rather
422 than value_from_longest.
423 (print_variant_part): Add `offset' parameter. Replace
424 `outer_valaddr' parameter by a new `outer_offset' parameter.
425 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
426 (ada_value_print): Use
427 value_contents_for_printing/value_embedded_offset, rather than
429 (print_record): Add `offset' parameter, and adjust to pass it
431 (print_field_values): Add `offset' parameter. Replace
432 `outer_valaddr' parameter by a new `outer_offset' parameter.
433 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
434 Use value_contents_for_printing/value_embedded_offset, rather than
436 * d-valprint.c (dynamic_array_type): Use
437 value_contents_for_printing/value_embedded_offset, rather than
439 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
440 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
441 (java_print_value_fields): Take `offset' into account. Don't
442 re-adjust `valaddr'. Instead pass down adjusted offsets.
443 (java_val_print): Take `embedded_offset' into account. Pass it to
444 java_print_value_fields.
445 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
446 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
447 down adjusted offsets.
448 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
449 (f_val_print): Take `embedded_offset' into account.
451 2011-01-21 Joel Brobecker <brobecker@adacore.com>
453 * inflow.c: Include "gdbcmd.h".
454 (interactive_mode): New static global, moved here from top.c.
455 (show_interactive_mode): New function, moved here from top.c.
456 use gdb_has_a_terminal instead of input_from_terminal_p to
457 determine the current mode.
458 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
460 (_initialize_inflow): Add the "set/show interactive-mode"
461 commands. Moved here from top.c, after having adjusted slightly
463 * top.c (interactive_mode, show_interactive_mode): Delete, moved
465 (input_from_terminal_p): Remove handling of "interactive-mode"
466 setting, moved to infow.c.
467 (init_main): Remove creation of the "set/show interactive-mode"
468 commands, moved to inflow.c.
470 2011-01-19 Joel Brobecker <brobecker@adacore.com>
472 * NEWS: Add entry for native ia64-hpux support.
474 2011-01-19 Tom Tromey <tromey@redhat.com>
477 * thread.c (free_thread): Free 'name'.
478 (print_thread_info): Emit thread name. Change CLI output.
479 (thread_name_command): New function.
480 (do_captured_thread_select): Emit newline.
481 (_initialize_thread): Register 'thread name' command.
482 * target.h (struct target_ops) <to_thread_name>: New field.
483 (target_thread_name): New macro.
484 * target.c (update_current_target): Handle to_thread_name.
485 * python/py-infthread.c (thpy_get_name): New function.
486 (thpy_set_name): Likewise.
487 (thread_object_getset): Add "name".
488 * linux-nat.c (linux_nat_thread_name): New function.
489 (linux_nat_add_target): Set to_thread_name.
490 * gdbthread.h (struct thread_info) <name>: New field.
492 2011-01-18 Joel Brobecker <brobecker@adacore.com>
494 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
495 (ada_val_print_1): Likewise.
497 2011-01-18 Joel Brobecker <brobecker@adacore.com>
499 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
500 upper limit address is not greater than the function end address
501 when the upper limit could not be computed using the debugging
504 2011-01-17 Tom Tromey <tromey@redhat.com>
506 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
508 * utils.c: Include gdb_regex.h.
509 (do_regfree_cleanup): New function.
510 (make_regfree_cleanup): Likewise.
511 (get_regcomp_error): Likewise.
512 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
514 2011-01-17 Tom Tromey <tromey@redhat.com>
516 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
519 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
521 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
522 for internal variables.
523 (last_was_structop): New static variable.
524 (COMPLETE): New token.
525 (field_exp): New rule to group all '.' suffix handling.
526 Add mark_struct_expression calls when approriate to be able
527 to correctly find fields for completion.
528 (yylex): Adapt to handle field completion and set INTVAR when
531 2011-01-14 Yao Qi <yao@codesourcery.com>
533 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
534 save_reggroup, restore_reggroup and all_reggroup.
536 2011-01-14 Joel Brobecker <brobecker@adacore.com>
538 * ada-valprint. (ada_printchar): Use the correct type length
539 in call to ada_emit_char.
540 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
542 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
544 * solib-som.h (hpux_major_release): Declare variable here.
545 * solib-som.c: Remove <sys/utsname.h> header.
546 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
547 (hpux_major_release): Make global, change default value to
548 DEFAULT_HPUX_MAJOR_RELEASE.
549 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
550 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
551 Add "solib-som.h" header.
552 (set_hpux_major_release): New function.
553 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
555 2011-01-14 Mike Frysinger <vapier@gentoo.org>
557 * configure.tgt (*-*-uclinux*): Match more Linux os targets
559 2011-01-14 Joel Brobecker <brobecker@adacore.com>
561 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
562 new-line at end of warning message.
563 (ia64_hpux_store_register): Remove trailing new-line at end of
565 * ia64-hpux-tdep.c: Rephrase comment.
566 * solib-ia64-hpux.c (struct dld_info): Change type of field
567 dld_flags from "long long" to ULONGEST.
569 2011-01-14 Pedro Alves <pedro@codesourcery.com>
571 * target.h (deprecated_child_ops): Delete declaration.
572 * target.c (deprecated_child_ops): Delete definition.
574 2011-01-14 Pedro Alves <pedro@codesourcery.com>
576 * Makefile.in (hpux-thread.o): Delete rule.
577 * configure.ac: Don't check for HPUX DCE threads support.
578 * configure, config.in: Regenerate.
579 * hppa-hpux-nat.c (child_suppress_run): Delete.
580 (hppa_hpux_child_can_run): Delete.
581 (_initialize_hppa_hpux_nat): Don't override to_can_run.
582 * hpux-thread.c: Delete.
584 2011-01-13 Joel Brobecker <brobecker@adacore.com>
586 * hpux-thread.c (hpux_pid_to_str): Delete.
588 2011-01-13 Joel Brobecker <brobecker@adacore.com>
590 * ada-valprint.c (ada_emit_char): Remove strange code.
591 Check that c is <= UCHAR_MAX before passing it to isascii.
592 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
594 2011-01-13 Joel Brobecker <brobecker@adacore.com>
596 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
597 to the case where instream is stdin.
599 2011-01-13 Joel Brobecker <brobecker@adacore.com>
601 * ia64-tdep.h (struct regcache): Forward declare.
602 (struct ia64_infcall_ops): New struct type.
603 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
605 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
606 Renames ia64_find_global_pointer.
607 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
608 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
609 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
611 (ia64_infcall_ops): New static global constant.
612 (ia64_gdbarch_init): Set tdep->infcall_ops.
613 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
614 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
615 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
616 (ia64_hpux_dummy_code): New static global constant.
617 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
618 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
619 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
621 (ia64_hpux_infcall_ops): New static global constant.
622 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
623 for inferior function calls to work properly on ia64-hpux.
625 2011-01-13 Joel Brobecker <brobecker@adacore.com>
627 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
628 * ia64-tdep.h (struct frame_info): forward declaration.
629 (struct gdbarch_tdep): Add field size_of_register_frame.
630 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
631 to determine the size of the register frame.
632 (ia64_size_of_register_frame): New function.
633 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
634 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
635 (IA64_HPUX_UREG_REASON): New macro.
636 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
638 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
639 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
640 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
643 2011-01-13 Joel Brobecker <brobecker@adacore.com>
645 Add support for ia64-hpux.
646 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
647 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
649 * configure.host: Add handling for ia64-hpux hosts. Add associated
651 * configure.tgt: Add handling for ia64-hpux targets.
652 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
653 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
654 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
656 2011-01-13 Joel Brobecker <brobecker@adacore.com>
658 [ttrace] Compute thread list immediately after attach.
659 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
661 (inf_ttrace_attach): Use it.
663 2011-01-13 Joel Brobecker <brobecker@adacore.com>
665 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
666 if we could not determine the frame's function address. Instead,
667 use the frame's PC, and then continue.
669 2011-01-13 Joel Brobecker <brobecker@adacore.com>
671 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
674 2011-01-13 Joel Brobecker <brobecker@adacore.com>
676 * ia64-tdep.c (ia64_struct_type_p): New function.
677 (ia64_extract_return_value): Handle integral values that are
678 less than 8 bytes long.
679 (ia64_push_dummy_call): Likewise.
681 2011-01-13 Joel Brobecker <brobecker@adacore.com>
683 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
684 floatformat_ia64_ext.
685 (floatformat_ia64_ext_big): New static const.
686 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
688 2011-01-12 Tom Tromey <tromey@redhat.com>
690 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
692 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
693 (mi_cmd_thread_list_ids): Likewise.
694 (mi_cmd_data_list_changed_registers): Likewise.
695 (mi_cmd_data_list_register_values): Likewise.
696 (mi_cmd_data_write_register_values): Likewise.
697 (mi_cmd_data_evaluate_expression): Likewise.
698 (mi_cmd_data_read_memory): Likewise.
699 (mi_cmd_data_read_memory_bytes): Likewise.
700 (mi_cmd_data_write_memory): Likewise.
701 (mi_cmd_enable_timings): Likewise.
702 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
703 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
704 (mi_cmd_var_delete): Likewise.
705 (mi_cmd_var_set_format): Likewise.
706 (mi_cmd_var_show_format): Likewise.
707 (mi_cmd_var_info_num_children): Likewise.
708 (mi_cmd_var_list_children): Likewise.
709 (mi_cmd_var_info_type): Likewise.
710 (mi_cmd_var_info_expression): Likewise.
711 (mi_cmd_var_show_attributes): Likewise.
712 (mi_cmd_var_assign): Likewise.
713 (mi_cmd_var_update): Likewise.
714 (mi_cmd_enable_pretty_printing): Likewise.
715 (mi_cmd_var_set_update_range): Likewise.
716 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
718 (mi_cmd_target_file_put): Likewise.
719 (mi_cmd_target_file_delete): Likewise.
720 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
722 (mi_cmd_stack_info_depth): Likewise.
723 (mi_cmd_stack_list_locals): Likewise.
724 (mi_cmd_stack_list_args): Likewise.
725 (mi_cmd_stack_select_frame): Likewise.
726 (mi_cmd_stack_select_frame): Likewise.
727 (mi_cmd_stack_info_frame): Likewise.
728 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
730 (mi_cmd_file_list_exec_source_files): Likewise.
731 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
732 (mi_cmd_env_cd): Likewise.
733 (mi_cmd_env_path): Likewise.
734 (mi_cmd_env_dir): Likewise.
735 (mi_cmd_inferior_tty_show): Likewise.
736 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
737 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
738 (mi_cmd_break_watch): Likewise.
740 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
742 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
743 (ppc_linux_insert_hw_breakpoint): Likewise.
744 (ppc_linux_remove_hw_breakpoint): Likewise.
745 (ppc_linux_insert_watchpoint): Likewise.
747 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
748 Jan Kratochvil <jan.kratochvil@redhat.com>
750 PR fortran/11104 and DWARF unbound arrays detection.
751 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
752 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
753 unspecified upper bound.
754 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
755 variables array_size_array, tmp_type and offset_item. New variable
756 array. Remove call to f77_get_upperbound. New variables array_type
757 and index. Call value_subscripted_rvalue for each dimenasion. Remove
758 the final call to deprecated_set_value_type.
760 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
762 Make value allocations more lazy.
763 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
764 instead of allocate_value and set_value_lazy when possible.
765 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
766 instead of allocate_value and set_value_lazy.
767 * findvar.c (value_of_register_lazy): Likewise.
768 (read_var_value): Remove V preallocation, call just check_typedef in
769 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
770 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
771 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
772 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
773 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
774 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
775 the end, remove set_value_lazy there.
776 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
777 instead of allocate_value and set_value_lazy when possible.
778 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
779 * value.c (allocate_computed_value): Use allocate_value_lazy instead
780 of allocate_value and set_value_lazy.
781 (value_from_contents_and_address): Use allocate_value_lazy instead of
782 allocate_value and set_value_lazy when possible.
784 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
786 * disasm.c (dump_insns): Support dumping opcodes for MI.
787 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
788 dumping of instruction opcodes.
790 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
792 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
795 2011-01-11 Tom Tromey <tromey@redhat.com>
797 * thread.c (do_captured_thread_select): Emit newline before
800 2011-01-11 Michael Snyder <msnyder@vmware.com>
802 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
803 * score-tdep.c: Ditto.
804 * score-tdep.h: Ditto.
809 * ser-mingw.c: Ditto.
813 * sh64-tdep.c: Ditto.
814 * shnbsd-nat.c: Ditto.
818 * solib-darwin.c: Ditto.
819 * solib-frv.c: Ditto.
821 * solib-irix.c: Ditto.
822 * solib-osf.c: Ditto.
823 * solib-pa64.c: Ditto.
824 * solib-som.c: Ditto.
825 * solib-spu.c: Ditto.
826 * solib-sunos.c: Ditto.
827 * solib-svr4.c: Ditto.
829 * sol-thread.c: Ditto.
833 * sparc64-linux-tdep.c: Ditto.
834 * sparc64-tdep.c: Ditto.
835 * sparc-linux-nat.c: Ditto.
836 * sparc-linux-tdep.c: Ditto.
837 * sparc-sol2-nat.c: Ditto.
838 * sparc-sol2-tdep.c: Ditto.
839 * sparc-tdep.c: Ditto.
840 * sparc-tdep.h: Ditto.
842 * stabsread.c: Ditto.
843 * stabsread.h: Ditto.
851 * target-descriptions.c: Ditto.
852 * target-descriptions.h: Ditto.
854 * target-memory.c: Ditto.
858 * tracepoint.c: Ditto.
859 * tracepoint.h: Ditto.
860 * trad-frame.h: Ditto.
861 * typeprint.c: Ditto.
863 2011-01-11 Michael Snyder <msnyder@vmware.com>
865 * ui-file.c: Comment cleanup, mostly periods and spaces.
870 * v850-tdep.c: Ditto.
883 * windows-nat.c: Ditto.
884 * windows-tdep.c: Ditto.
885 * xcoffread.c: Ditto.
886 * xcoffsolib.c: Ditto.
887 * xml-support.c: Ditto.
888 * xstormy16-tdep.c: Ditto.
889 * xtensa-tdep.c: Ditto.
890 * xtensa-tdep.h: Ditto.
892 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
894 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
895 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
897 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
898 Thiago Jung Bauermann <bauerman@br.ibm.com>
900 Implement support for PowerPC BookE ranged watchpoints.
902 (struct breakpoint_ops) <resources_needed>: New method.
903 Initialize to NULL in all existing breakpoint_ops instances.
904 (struct breakpoint) <exact>: New field.
905 (target_exact_watchpoints): Declare external global.
906 * breakpoint.c (target_exact_watchpoints): New global flag.
907 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
908 b->enable_state to bp_enabled before calling
909 hw_watchpoint_used_count.
910 (hw_watchpoint_used_count): Iterate over all bp_locations in a
911 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
913 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
914 if the watchpoint is exact.
915 (resources_needed_watchpoint): New function.
916 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
917 (watch_command_1): Set b->exact if the user asked for an exact
918 watchpoint and one can be set.
919 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
920 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
921 the user asks for an exact watchpoint and one can be set. Return
922 number of needed debug registers to watch the expression.
923 * gdbtypes.c (is_scalar_type): New function, based on
924 valprint.c:scalar_type_p.
925 (is_scalar_type_recursive): New function.
926 * gdbtypes.h (is_scalar_type_recursive): Declare.
927 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
928 handle regions when ranged watchpoints are available.
929 (create_watchpoint_request): New function.
930 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
931 create_watchpoint_request.
932 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
933 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
934 `set powerpc' and `show powerpc' commands.
935 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
936 Mention documentation comment in the target macro.
937 (target_region_ok_for_hw_watchpoint): Document return value.
939 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
941 * breakpoint.c (update_watchpoint): Decide on using a software or
942 hardware watchpoint after the bp_locations are created.
944 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
946 Convert hardware watchpoints to use breakpoint_ops.
947 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
948 <insert_location>: ... this. Return int instead of void.
949 Accept pointer to struct bp_location instead of pointer to
950 struct breakpoint. Adapt all implementations.
951 (breakpoint_ops) <remove>: Rename to...
952 <remove_location>: ... this. Accept pointer to struct bp_location
953 instead of pointer to struct breakpoint. Adapt all implementations.
954 * breakpoint.c (insert_catchpoint): Delete function.
955 (insert_bp_location): Call the watchpoint or catchpoint's
956 breakpoint_ops.insert method.
957 (remove_breakpoint_1): Call the watchpoint or catchpoint's
958 breakpoint_ops.remove method.
959 (insert_watchpoint, remove_watchpoint): New functions.
960 (watchpoint_breakpoint_ops): New structure.
961 (watch_command_1): Initialize the OPS field.
962 * inf-child.c (inf_child_insert_fork_catchpoint)
963 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
964 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
965 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
967 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
968 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
969 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
970 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
971 * target.c (update_current_target): Change default implementation of
972 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
973 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
974 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
975 to_set_syscall_catchpoint to return_one.
976 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
977 (debug_to_insert_exec_catchpoint): Report return value.
978 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
979 (to_insert_exec_catchpoint): Change declaration to return int instead
982 2011-01-11 Michael Snyder <msnyder@vmware.com>
984 * arm-tdep.c: Internationalization.
987 * fork-child.c: Ditto.
988 * nto-procfs.c: Ditto.
989 * ppc-sysv-tdep.c: Ditto.
991 * remote-mips.c: Ditto.
993 * rs6000-nat.c: Ditto.
994 * rs6000-tdep.c: Ditto.
998 * xml-support.c: Ditto.
999 * mi/mi-cmd-break.c: Ditto.
1000 * mi/mi-cmd-var.c: Ditto.
1001 * mi/mi-interp.c: Ditto.
1002 * mi/mi-main.c: Ditto.
1004 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
1006 * remote-sim.c (gdbsim_store_register): Update API to
1007 sim_store_register to check more error conditions.
1009 2011-01-10 Michael Snyder <msnyder@vmware.com>
1011 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1012 * nto-tdep.c: Ditto.
1013 * nto-tdep.h: Ditto.
1014 * objc-exp.y: Ditto.
1015 * objc-lang.c: Ditto.
1016 * objfiles.c: Ditto.
1017 * objfiles.h: Ditto.
1018 * observer.c: Ditto.
1019 * opencl-lang.c: Ditto.
1022 * parser-defs.h: Ditto.
1025 * posix-hdep.c: Ditto.
1026 * ppcbug-rom.c: Ditto.
1027 * ppc-linux-nat.c: Ditto.
1028 * ppc-linux-tdep.c: Ditto.
1029 * ppc-linux-tdep.h: Ditto.
1030 * ppcnbsd-tdep.c: Ditto.
1031 * ppcobsd-tdep.c: Ditto.
1032 * ppcobsd-tdep.h: Ditto.
1033 * ppc-sysv-tdep.c: Ditto.
1034 * ppc-tdep.h: Ditto.
1035 * printcmd.c: Ditto.
1036 * proc-abi.c: Ditto.
1037 * proc-flags.c: Ditto.
1039 * proc-utils.h: Ditto.
1040 * progspace.h: Ditto.
1041 * prologue-value.c: Ditto.
1042 * prologue-value.h: Ditto.
1043 * psympriv.h: Ditto.
1045 * p-typeprint.c: Ditto.
1046 * p-valprint.c: Ditto.
1047 * ravenscar-sparc-thread.c: Ditto.
1048 * ravenscar-thread.c: Ditto.
1049 * ravenscar-thread.h: Ditto.
1051 * regcache.c: Ditto.
1052 * regcache.h: Ditto.
1054 * remote-fileio.c: Ditto.
1055 * remote-fileio.h: Ditto.
1057 * remote-m32r-sdi.c: Ditto.
1058 * remote-mips.c: Ditto.
1059 * remote-sim.c: Ditto.
1060 * rs6000-aix-tdep.c: Ditto.
1061 * rs6000-nat.c: Ditto.
1062 * rs6000-tdep.c: Ditto.
1064 2011-01-10 Michael Snyder <msnyder@vmware.com>
1066 * charset.c (validate): Internationalization.
1067 * coffread.c (read_one_sym): Ditto.
1068 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1069 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1070 * inflow.c (new_tty): Ditto.
1071 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1072 * m32c-tdep.c (m32c_return_value): Ditto.
1073 * mep-tdep.c (mep_store_return_value): Ditto.
1074 * score-tdep.c (score7_fetch_insn): Ditto.
1075 * ser-mingw.c (pipe_windows_open): Ditto.
1076 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1077 * spu-tdep.c (spu_register_type): Ditto.
1078 * tracepoint.c (trace_find_command): Ditto.
1079 * valarith.c (value_pos): Ditto.
1081 2011-01-10 Joel Brobecker <brobecker@adacore.com>
1083 * ada-valprint.c (printstr): Minor comment reformatting.
1085 2011-01-08 Michael Snyder <msnyder@vmware.com>
1087 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1090 2011-01-08 Michael Snyder <msnyder@vmware.com>
1092 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1093 * hppa-hpux-tdep.c: Ditto.
1094 * hppa-linux-nat.c: Ditto.
1095 * hppa-linux-tdep.c: Ditto.
1096 * hppanbsd-tdep.c: Ditto.
1097 * hppa-tdep.c: Ditto.
1098 * hppa-tdep.h: Ditto.
1099 * hpux-thread.c: Ditto.
1100 * i386-cygwin-tdep.c: Ditto.
1101 * i386-darwin-nat.c: Ditto.
1102 * i386gnu-nat.c: Ditto.
1103 * i386-linux-nat.c: Ditto.
1104 * i386-linux-tdep.c: Ditto.
1105 * i386-nat.c: Ditto.
1106 * i386-nat.h: Ditto.
1107 * i386nbsd-tdep.c: Ditto.
1108 * i386-sol2-nat.c: Ditto.
1109 * i386-stub.c: Ditto.
1110 * i386-tdep.c: Ditto.
1111 * i386-tdep.h: Ditto.
1112 * i387-tdep.c: Ditto.
1113 * ia64-linux-nat.c: Ditto.
1114 * ia64-linux-tdep.c: Ditto.
1115 * ia64-tdep.c: Ditto.
1119 * inferior.c: Ditto.
1120 * inferior.h: Ditto.
1126 * iq2000-tdep.c: Ditto.
1127 * irix5-nat.c: Ditto.
1133 * jv-typeprint.c: Ditto.
1134 * jv-valprint.c: Ditto.
1135 * language.c: Ditto.
1136 * language.h: Ditto.
1137 * linespec.c: Ditto.
1138 * linux-fork.c: Ditto.
1139 * linux-nat.c: Ditto.
1140 * linux-thread-db.c: Ditto.
1141 * lm32-tdep.c: Ditto.
1143 2011-01-08 Michael Snyder <msnyder@vmware.com>
1145 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1147 * m2-typeprint.c: Ditto.
1148 * m2-valprint.c: Ditto.
1149 * m32c-tdep.c: Ditto.
1150 * m32r-linux-nat.c: Ditto.
1151 * m32r-rom.c: Ditto.
1152 * m32r-tdep.c: Ditto.
1153 * m32r-tdep.h: Ditto.
1154 * m68hc11-tdep.c: Ditto.
1155 * m58klinux-nat.c: Ditto.
1156 * m68k-tdep.c: Ditto.
1157 * m88k-tdep.c: Ditto.
1158 * m88k-tdep.h: Ditto.
1159 * machoread.c: Ditto.
1160 * macrocmd.c: Ditto.
1161 * macroexp.c: Ditto.
1162 * macrotab.c: Ditto.
1165 * mdebugread.c: Ditto.
1166 * mdebugread.h: Ditto.
1169 * memory-map.h: Ditto.
1170 * mep-tdep.c: Ditto.
1171 * microblaze-rom.c: Ditto.
1172 * microblaze-tdep.c: Ditto.
1174 * mips-irix-tdep.c: Ditto.
1175 * mips-linux-nat.c: Ditto.
1176 * mips-linux-tdep.c: Ditto.
1177 * mips-linux-tdep.h: Ditto.
1178 * mipsnbsd-nat.c: Ditto.
1179 * mipsnbsd-tdep.c: Ditto.
1180 * mipsread.c: Ditto.
1181 * mips-tdep.c: Ditto.
1182 * mips-tdep.h: Ditto.
1183 * mn10300-linux-tdep.c: Ditto.
1184 * mn10300-tdep.c: Ditto.
1185 * mn10300-tdep.h: Ditto.
1188 * moxie-tdep.c: Ditto.
1189 * moxie-tdep.h: Ditto.
1192 2011-01-08 Mike Frysinger <vapier@gentoo.org>
1194 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1196 2011-01-08 Robert Millan <rmh@gnu.org>
1198 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1200 2011-01-07 Michael Snyder <msnyder@vmware.com>
1202 * charset.c (_initialize_charset): Fix typo in string.
1204 2011-01-07 Michael Snyder <msnyder@vmware.com>
1206 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1208 * tui/tui-layout.c (tui_set_layout_for_display_command):
1209 Split line so that operator goes to beginning of line.
1210 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1211 assignment out of if statement.
1213 2011-01-07 Michael Snyder <msnyder@vmware.com>
1215 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1216 * ada-lang.h: Ditto.
1217 * ada-tasks.c: Ditto.
1218 * ada-valprint.c: Ditto.
1219 * aix-threads.c: Ditto.
1220 * alpha-linux-nat.c: Ditto.
1221 * alpha-linux-tdep.c: Ditto.
1222 * alpha-mdebug-tdep.c: Ditto.
1223 * alpha-nat.c: Ditto.
1224 * alpha-osf1-tdep.c: Ditto.
1225 * alpha-tdep.c: Ditto.
1226 * alphabsd-nat.c: Ditto.
1227 * alphabsd-tdep.c: Ditto.
1228 * amd64-darwin-tdep.c: Ditto.
1229 * amd64-linux-nat.c: Ditto.
1230 * amd64-linux-tdep.c: Ditto.
1231 * amd64-sol2-tdep.c: Ditto.
1232 * amd64-tdep.c: Ditto.
1233 * amd64-fbsd-tdep.c: Ditto.
1234 * amd64-nbsd-tdep.c: Ditto.
1235 * amd64-obsd-tdep.c: Ditto.
1236 * amd64-linux-nat.c: Ditto.
1237 * amd64-linux-tdep.c: Ditto.
1238 * arm-tdep.c: Ditto.
1239 * arm-tdep.h: Ditto.
1240 * armnbsd-nat.c: Ditto.
1241 * avr-tdep.c: Ditto.
1242 * bfin-tdep.c: Ditto.
1244 * c-typeprintc: Ditto.
1245 * c-valprint.c: Ditto.
1246 * coff-pe-read.h: Ditto.
1247 * coffreead.c: Ditto.
1248 * cris-tdep.c: Ditto.
1250 * darwin-nat-info.c: Ditto.
1251 * darwin-nat.c: Ditto.
1252 * dbug-rom.c: Ditto.
1256 * dec-thread.c: Ditto.
1258 * demangle.c: Ditto.
1259 * dicos-tdep.c: Ditto.
1260 * dictionary.c: Ditto.
1261 * dictionary.h: Ditto.
1262 * dink32-rom.c: Ditto.
1264 * doublest.c: Ditto.
1266 * dummy-frame.c: Ditto.
1267 * dwarf2-frame.c: Ditto.
1268 * dwarf2expr.c: Ditto.
1269 * dwarf2loc.c: Ditto.
1270 * dwarf2read.c: Ditto.
1274 * event-top.h: Ditto.
1275 * exceptions.c: Ditto.
1276 * exceptions.h: Ditto.
1278 * expprint.c: Ditto.
1279 * expression.h: Ditto.
1283 * f-typeprint.c: Ditto.
1284 * f-valprint.c: Ditto.
1285 * fbsd-nat.c: Ditto.
1287 * fork-child.c: Ditto.
1290 * frv-linux-tdep.c: Ditto.
1291 * frv-tdep.c: Ditto.
1293 * gdb-stabs.h: Ditto.
1294 * gdb_assert.h: Ditto.
1295 * gdb_string.h: Ditto.
1296 * gdb_thread_db.h: Ditto.
1297 * gdb_wait.h: Ditto.
1298 * gdbarch.sh: Ditto.
1300 * gdbthread.h: Ditto.
1301 * gdbtypes.c: Ditto.
1302 * gdbtypes.h: Ditto.
1305 * gnu-v2-abi.c: Ditto.
1306 * gnu-v3-abi.c: Ditto.
1307 * go32-nat.c: Ditto.
1308 * gdbarch.c: Regenerate.
1309 * gdbarch.h: Regenerate.
1311 2011-01-07 Michael Snyder <msnyder@vmware.com>
1313 * ax-gdb.c: Adjust some long output strings.
1314 * breakpoint.c: Ditto.
1319 * linux-nat.c: Ditto.
1320 * solib-pa64.c: Ditto.
1321 * solib-som.c: Ditto.
1323 2011-01-06 Tom Tromey <tromey@redhat.com>
1327 * python/python.c (GdbMethods): Add "newest_frame" method.
1328 * python/python-internal.h (gdbpy_newest_frame): Declare.
1329 * python/py-frame.c (gdbpy_newest_frame): New function.
1331 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1333 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1334 * jit.c (jit_debug): New variable.
1335 (show_jit_debug): New function.
1336 (struct target_buffer): Use ULONGEST.
1337 (bfd_open_from_target_memory): Likewise.
1338 (jit_register_code, jit_inferior_init): Add debug output.
1339 (_initialize_jit): Register "debug jit" command.
1341 2011-01-06 Tom Tromey <tromey@redhat.com>
1343 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1344 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1347 2011-01-06 Tom Tromey <tromey@redhat.com>
1349 * python/py-frame.c (frapy_block): Use get_frame_block.
1351 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1353 Do not stop on SIGPRIO signals by default
1354 * infrun.c (_initialize_infrun): Unset signal_stop and
1355 signal_print for TARGET_SIGNAL_PRIO.
1357 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1359 * ada-tasks.c: Fix style violation in comment.
1361 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1363 * linespec.c (decode_compound, find_method): Remove trailing \n
1364 at end of error string.
1365 * solib-irix.c (irix_current_sos): Likewise.
1366 * varobj.c (uninstall_variable): Likewise.
1368 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1370 * copyright.py: New script.
1371 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1372 Launch emacs without exec'ing. Call copyright.py afterwards.
1374 2011-01-05 Michael Snyder <msnyder@vmware.com>
1376 * addrmap.c: Shorten lines of >= 80 columns.
1377 * arch-utils.c: Ditto.
1378 * arch-utils.h: Ditto.
1380 * ax-general.c: Ditto.
1382 * blockframe.c: Ditto.
1383 * breakpoint.c: Ditto.
1384 * buildsym.c: Ditto.
1386 * c-typeprint.c: Ditto.
1388 * coffread.c: Ditto.
1392 * cp-namespace.c: Ditto.
1393 * cp-support.c: Ditto.
1394 * dbug-rom.c: Ditto.
1399 * dictionary.c: Ditto.
1401 * doublest.c: Ditto.
1402 * dwarf2-frame.c: Ditto.
1403 * dwarf2expr.c: Ditto.
1404 * dwarf2loc.c: Ditto.
1405 * dwarf2read.c: Ditto.
1408 * event-loop.c: Ditto.
1409 * event-loop.h: Ditto.
1410 * exceptions.h: Ditto.
1412 * expprint.c: Ditto.
1413 * expression.h: Ditto.
1415 * f-valprint.c: Ditto.
1417 * frame-base.c: Ditto.
1418 * frame-unwind.c: Ditto.
1419 * frame-unwind.h: Ditto.
1423 * gdb-stabs.h: Ditto.
1424 * gdb_assert.h: Ditto.
1425 * gdb_dirent.h: Ditto.
1426 * gdb_obstack.h: Ditto.
1428 * gdbtypes.c: Ditto.
1429 * gdbtypes.h: Ditto.
1430 * inf-ttrace.c: Ditto.
1435 * inline-frame.h: Ditto.
1436 * language.c: Ditto.
1437 * language.h: Ditto.
1438 * libunwind-frame.c: Ditto.
1439 * libunwind-frame.h: Ditto.
1440 * linespec.c: Ditto.
1441 * linux-nat.c: Ditto.
1442 * linux-nat.h: Ditto.
1443 * linux-thread-db.c: Ditto.
1444 * machoread.c: Ditto.
1445 * macroexp.c: Ditto.
1446 * macrotab.c: Ditto.
1449 * mdebugread.c: Ditto.
1454 * objfiles.c: Ditto.
1455 * objfiles.h: Ditto.
1457 * p-typeprint.c: Ditto.
1458 * p-valprint.c: Ditto.
1460 * printcmd.c: Ditto.
1461 * proc-events.c: Ditto.
1463 * progspace.c: Ditto.
1464 * progspace.h: Ditto.
1465 * psympriv.h: Ditto.
1468 * regcache.c: Ditto.
1469 * regcache.h: Ditto.
1470 * remote-fileio.c: Ditto.
1472 * ser-mingw.c: Ditto.
1474 * ser-unix.c: Ditto.
1477 * solib-frv.c: Ditto.
1478 * solib-irix.c: Ditto.
1479 * solib-osf.c: Ditto.
1480 * solib-pa64.c: Ditto.
1481 * solib-som.c: Ditto.
1482 * solib-sunos.c: Ditto.
1483 * solib-svr4.c: Ditto.
1484 * solib-target.c: Ditto.
1488 * stabsread.c: Ditto.
1489 * stabsread.c: Ditto.
1492 * symfile-mem.c: Ditto.
1498 * target-descriptions.c: Ditto.
1499 * target-memory.c: Ditto.
1502 * terminal.h: Ditto.
1505 * tracepoint.c: Ditto.
1506 * tracepoint.h: Ditto.
1510 * user-regs.c: Ditto.
1511 * user-regs.h: Ditto.
1513 * valarith.c: Ditto.
1515 * valprint.c: Ditto.
1516 * valprint.h: Ditto.
1521 * xcoffread.c: Ditto.
1522 * xcoffsolib.c: Ditto.
1523 * xcoffsolib.h: Ditto.
1524 * xml-syscall.c: Ditto.
1525 * xml-tdesc.c: Ditto.
1527 2011-01-05 Michael Snyder <msnyder@vmware.com>
1529 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1530 * cli/cli-decode.c: Ditto.
1531 * cli/cli-dump.c: Ditto.
1532 * cli/cli-logging.c: Ditto.
1533 * cli/cli-script.c: Ditto.
1534 * cli/cli-setshow.c: Ditto.
1535 * common/signals.c: Ditto.
1536 * mi/mi-cmd-break.c: Ditto.
1537 * mi/mi-cmd-disas.c: Ditto.
1538 * mi/mi-cmd-stack.c: Ditto.
1539 * mi/mi-cmd-var.c: Ditto.
1540 * mi/mi-cmds.c: Ditto.
1541 * mi/mi-common.h: Ditto.
1542 * mi/mi-console.c: Ditto.
1543 * mi/mi-interp.c: Ditto.
1544 * mi/mi-main.c: Ditto.
1545 * osf-share/cma_attr.c: Ditto.
1546 * osf-share/cma_deb_core.h: Ditto.
1547 * osf-share/cma_debug_client.h: Ditto.
1548 * osf-share/cma_handle.h: Ditto.
1549 * osf-share/cma_mutex.h: Ditto.
1550 * osf-share/cma_stack_int.h: Ditto.
1551 * osf-share/cma_tcb_defs.h: Ditto.
1552 * python/py-auto-load.c: Ditto.
1553 * python/py-breakpoint.c: Ditto.
1554 * python/py-cmd.c: Ditto.
1555 * python/py-frame.c: Ditto.
1556 * python/py-objfile.c: Ditto.
1557 * python/py-param.c: Ditto.
1558 * python/py-progspace.c: Ditto.
1559 * python/py-symbol.c: Ditto.
1560 * python/py-value.c: Ditto.
1561 * python/python-internal.h: Ditto.
1562 * python/python.c: Ditto.
1563 * tui/tui-data.c: Ditto.
1564 * tui/tui-disasm.c: Ditto.
1565 * tui/tui-hooks.c: Ditto.
1566 * tui/tui-io.c: Ditto.
1567 * tui/tui-layout.c: Ditto.
1568 * tui/tui-regs.c: Ditto.
1569 * tui/tui-source.c: Ditto.
1570 * tui/tui-stack.c: Ditto.
1571 * tui/tui-win.c: Ditto.
1572 * tui/tui-windata.c: Ditto.
1573 * tui/tui-winsource.c: Ditto.
1575 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1577 * configure.ac, gdb.1: Copyright year update.
1579 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1581 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1582 this_pc_in_block, morestack_msym and morestack_name. Check for
1583 "__morestack" minimal symbol there.
1585 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1587 * symfile.c (find_sym_fns): Add call to dont_repeat.
1589 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1591 Copyright year update in most files (performed by copyright.sh).
1593 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1595 * top.c (print_gdb_version): Update copyright year in version output.
1597 For older changes see ChangeLog-2010.
1603 version-control: never