]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
2011-02-21 Michael Snyder <msnyder@vmware.com>
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
e5a67952
MS
12011-02-23 Michael Snyder <msnyder@vmware.com>
2
3 * breakpoint.c (breakpoint_1): Change first argument from an int
4 to a char pointer, so that the function now accepts a list of
5 breakpoints rather than just one. Use new function
6 'number_is_in_list' to implement.
7 (breakpoints_info): Pass char * instead of int to breakpoint_1.
8 (watchpoints_info): Ditto.
9 (tracepoints_info): Ditto.
10 (maintenance_info_breakpoints): Ditto.
11 (_initialize_breakpoint): Update help strings to reflect the fact
12 that these functions can now take more than one argument.
13 * cli/cli-utils.c (number_is_in_list): New function.
14 * cli/cli-utils.h (number_is_in_list): Export.
15
162011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
17
18 * memattr.c (mem_enable_command): Use get_number_or_range.
19 (mem_disable_command): Ditto.
20 (mem_delete_command): Ditto.
21 (_initialize_mem): Tweak usage message to reflect multiple
22 arguments.
23
6e6fbe60
DE
242011-02-22 Doug Evans <dje@google.com>
25
26 Add gdb.lookup_global_symbol python function.
27 * NEWS: Add entry.
28 * python/py-symbol.c (gdbpy_lookup_global_symbol): New function.
29 * python/python-internal.h (gdbpy_lookup_global_symbol): Declare it.
30 * python/python.c (GdbMethods): Add entry for lookup_global_symbol.
31
79b97fa8
TT
322011-02-22 Tom Tromey <tromey@redhat.com>
33
34 * language.c (language_class_name_from_physname): Rename
35 'curr_language' argument to 'lang'; use in body.
36
298f437a
MS
372011-02-22 Michael Snyder <msnyder@vmware.com>
38
39 * cli/cli-utils.c (number_is_in_list): Check for zero return.
40
b7ea3126
PA
412011-02-22 Pedro Alves <pedro@codesourcery.com>
42
43 * frame-unwind.h: Fix comment to mention the this frame, not the
44 next.
45
58ee6d60
TT
462011-02-22 Tom Tromey <tromey@redhat.com>
47
48 * symfile.c (auto_solib_limit): Remove.
49 * symfile.h (auto_solib_limit): Remove.
50
36238dbc
JB
512011-02-22 Joel Brobecker <brobecker@adacore.com>
52
53 * Makefile.in (INSTALLED_LIBS): Delete. Update comment.
54
aea5b279
MS
552011-02-21 Michael Snyder <msnyder@vmware.com>
56
57 * gdbthread.h (print_thread_info): Change prototype.
58 * thread.c (print_thread_info): Accept char* instead of int for
59 requested_threads argument. Use new function number_is_in_list
60 to determine which threads to list.
61 (info_threads_command): Pass char* to print_thread_info.
62 * cli/cli-utils.c (number_is_in_list): New function.
63 * cli/cli-utils.h (number_is_in_list): Export.
64 * mi/mi-main.c (mi_cmd_thread_info): Pass char* to
65 print_thread_info.
66 (print_one_inferior): Ditto.
67 (mi_cmd_list_thread_groups): Ditto.
68
8caa75ee
JK
692011-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
70
71 * common/Makefile.in (CFLAGS): New.
72 (COMPILE): Add $(CFLAGS).
73
ea666128
TT
742011-02-21 Tom Tromey <tromey@redhat.com>
75
76 * breakpoint.c (catch_syscall_command_1): Fix typo.
77
e9cafbcc
TT
782011-02-21 Tom Tromey <tromey@redhat.com>
79
80 * reverse.c: Include cli-utils.h.
81 * printcmd.c: Include cli-utils.h.
82 (string_printf): Use skip_spaces.
83 * cli/cli-utils.h: New file.
84 * cli/cli-utils.c: New file.
85 * cli/cli-dump.h (skip_spaces): Move to cli-utils.h.
86 * cli/cli-dump.c (skip_spaces): Move to cli-utils.c.
87 * breakpoint.h (get_number, get_number_or_range): Move to
88 cli-utils.h.
89 * breakpoint.c: Include cli-utils.h.
90 (get_number_trailer, get_number, get_number_or_range)
91 (ep_skip_leading_whitespace): Move to cli-utils.c.
92 (create_breakpoint_sal, find_condition_and_thread)
93 (decode_static_tracepoint_spec, watch_command_1)
94 (watch_maybe_just_location, ep_parse_optional_if_clause)
95 (catch_fork_command_1, catch_exec_command_1)
96 (catch_syscall_command_1): Use skip_spaces, skip_to_space.
97 * Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o.
98 (SUBDIR_CLI_SRCS): Add cli-utils.c.
99 (HFILES_NO_SRCDIR): Add cli-utils.h.
100 (cli-utils.o): New target.
101
f67fd822
PM
1022011-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
103
104 * remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID
105 before calling discard_all_inferiors.
106
c9def01d
UW
1072011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
108
109 * opencl-lang.c (STRUCT_OCL_TYPE): Remove.
110 (struct builtin_opencl_type): Remove.
111 (builtin_opencl_type): Change return type to "struct type **".
112 (lookup_opencl_vector_type): Update caller.
113 (opencl_language_arch_info): Copy primitive type vector from gdbarch.
114 (build_opencl_types): Install plain array of "struct type *"
115 instead of "struct builtin_opencl_type".
116
e3039479
UW
1172011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
118 Ulrich Weigand <uweigand@de.ibm.com>
119
120 * arm-linux-nat.c: Include "observer.h" and "gdbthread.h".
121 (PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define.
122 (struct arm_linux_hwbp_cap): New type.
123 (arm_linux_get_hwbp_cap): New function.
124 (arm_linux_get_hw_breakpoint_count): Likewise.
125 (arm_linux_get_hw_watchpoint_count): Likewise.
126 (arm_linux_can_use_hw_breakpoint): Likewise.
127 (arm_hwbp_type): New type.
128 (arm_hwbp_control_t): Likewise.
129 (struct arm_linux_hw_breakpoint): Likewise.
130 (struct arm_linux_thread_points): Likewise.
131 (arm_threads): New global variable.
132 (arm_linux_find_breakpoints_by_tid): New function.
133 (arm_hwbp_control_initialize): Likewise.
134 (arm_hwbp_control_is_enabled): Likewise.
135 (arm_hwbp_control_disable): Likewise.
136 (arm_linux_hw_breakpoint_initialize): Likewise.
137 (arm_linux_get_hwbp_type): Likewise.
138 (arm_linux_hw_watchpoint_initialize): Likewise.
139 (arm_linux_hw_breakpoint_equal): Likewise.
140 (arm_linux_insert_hw_breakpoint1): Likewise.
141 (arm_linux_remove_hw_breakpoint1): Likewise.
142 (arm_linux_insert_hw_breakpoint): Likewise.
143 (arm_linux_remove_hw_breakpoint): Likewise.
144 (arm_linux_region_ok_for_hw_watchpoint): Likewise.
145 (arm_linux_insert_watchpoint): Likewise.
146 (arm_linux_remove_watchpoint): Likewise.
147 (arm_linux_stopped_data_address): Likewise.
148 (arm_linux_stopped_by_watchpoint): Likewise.
149 (arm_linux_watchpoint_addr_within_range): Likewise.
150 (arm_linux_new_thread): Likewise.
151 (arm_linux_thread_exit): Likewise.
152 (_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint
153 related target callbacks. Register arm_linux_new_thread and
154 arm_linux_thread_exit.
155 * arm-tdep.h (arm_pc_is_thumb): Add prototype.
156 * arm-tdep.c (arm_pc_is_thumb): Make global.
157 (arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint.
158
b5db5dfc
UW
1592011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
160
161 * breakpoint.c (update_watchpoint): Do not attempt to recreate
162 per-frame locations while within a function epilogue.
163
e25b2cfa
PM
1642011-02-21 Pierre Muller <muller@ics.u-strasbg.fr>
165
166 * ser-mingw.c (ser_windows_close): Reformat comment to better conform
167 to GNU coding standards.
168
4af53f97
PM
1692011-02-21 Pierre Muller <muller@ics.u-strasbg.fr>
170
171 Allow use of mingw native on Windows 95 OS.
e25b2cfa 172 * ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry.
4af53f97
PM
173 (ser_windows_close): Only call CancelIo if function exists.
174 (_initialize_ser_windows): Use LoadLirary/GetProcAddress
175 to check for existence of CancelIo function in kernel32 DLL.
176
d0e92d82
HZ
1772011-02-21 Hui Zhu <teawater@gmail.com>
178
179 * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h.
180 * ax-gdb.c (gen_printf_expr_callback): New function.
181 * ax-gdb.h (gen_printf_expr_callback): Forward declare.
182 * ax-general.c (ax_memcpy): New function.
183 (ax_print): Handle "printf".
184 (ax_reqs): Ditto.
185 * ax.h (ax_memcpy): Forward declare.
186 * common/ax.def (invalid2): Removed.
187 (printf): New entry.
188 * printcmd.c (printcmd.h): New include.
189 (string_printf): New function.
190 (ui_printf): Removed.
191 (printf_command): Remove static. Call string_printf.
192 (eval_command): Call string_printf.
193 * printcmd.h: New file.
194 * tracepoint.c (validate_actionline,
195 encode_actions_1): handle printf_command.
196
7d357efd
MS
1972011-02-19 Michael Snyder <msnyder@vmware.com>
198
199 * reverse.c (delete_one_bookmark): Argument is now bookmark
200 id rather than pointer to bookmark struct.
201 (delete_bookmark_command): Use get_number_or_range.
202 (goto_bookmark_command): Parse with get_number instead of strtoul.
203 (bookmark_1): New function. Print info for one bookmark.
204 (bookmarks_info): Use get_number_or_range and bookmark_1.
205
7a45ebd7
MS
2062011-02-18 Michael Snyder <msnyder@vmware.com>
207
208 * thread.c (info_threads_command): Re-implement using
209 get_number_or_range.
65ebfb52 210 (thread_apply_command): Ditto.
7a45ebd7 211
94d5e490
TT
2122011-02-18 Tom Tromey <tromey@redhat.com>
213
214 * common/ax.def: New file.
215 * ax.h (enum agent_op): Use ax.def.
216 * ax-general.c (aop_map): Use ax.def.
217
c7f96d2b
TT
2182011-02-18 Tom Tromey <tromey@redhat.com>
219
220 * ax-general.c (aop_map): Add pick and rot.
221 * dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement.
222 <DW_OP_rot>: Implement.
223 * ax.h (enum agent_op) <aop_pick, aop_rot>: New constants.
224 (ax_pick): Declare.
225 * ax-general.c (ax_pick): New function.
226
66694b75
TT
2272011-02-18 Tom Tromey <tromey@redhat.com>
228
229 * Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc.
230
eeaafae2
JK
2312011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
232 Tom Tromey <tromey@redhat.com>
233
234 * cp-support.c (make_symbol_overload_list_namespace): Do not call
235 make_symbol_overload_list_block with NULL BLOCK.
236 * valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF.
237
3c3fe74c
PA
2382011-02-18 Pedro Alves <pedro@codesourcery.com>
239
240 * breakpoint.c (get_number_trailer): No longer accept a NULL PP.
241 * breakpoint.h (get_number_or_range): Declare.
242 * printcmd.c (ALL_DISPLAYS): Declare.
243 (delete_display): Reimplement taking a display pointer.
244 (undisplay_command): Accept a range of displays to delete, using
245 get_number_or_range.
246
13163d80
PM
2472011-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
248
249 * c-valprint.c (c_val_print): Add embedded_offset to address
250 for arrays of unspecified length.
251 * p-valprint.c (pascal_val_print): Likewise.
252
b434a28f
YQ
2532011-02-18 Yao Qi <yao@codesourcery.com>
254
255 * gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ...
256 (arm_process_displaced_insn): .. here. Remove parameter INSN.
257 (thumb_process_displaced_insn): New.
258 * gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update
259 call to arm_process_displaced_insn.
260 * gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn.
261
9f6f94ff
TT
2622011-02-17 Tom Tromey <tromey@redhat.com>
263
264 * dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare.
265 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from
266 compile_dwarf_to_ax. No longer static. Call
267 dwarf2_compile_cfa_to_ax.
268 (locexpr_tracepoint_var_ref): Update.
269 (loclist_tracepoint_var_ref): Update.
270 * dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare.
271 * dwarf2-frame.c (execute_cfa_program): Remove 'this_frame'
272 argument; add 'gdbarch' and 'pc'.
273 (dwarf2_compile_cfa_to_ax): New function.
274 (dwarf2_frame_cache): Update.
275
e67ad678
JB
2762011-02-17 Joel Brobecker <brobecker@adacore.com>
277
278 * ada-lang.c (ada_type_of_array): Fix the size of the array
279 in the case of an unconstrained packed array.
280
946ebb0d
YQ
2812011-02-17 Yao Qi <yao@codesourcery.com>
282
283 * common/Makefile.in: Add more targets for make.
284
1ba1b353
TT
2852011-02-16 Tom Tromey <tromey@redhat.com>
286
287 * dwarf2loc.c (unimplemented): Fix typo.
288
b1bfef65
TT
2892011-02-16 Tom Tromey <tromey@redhat.com>
290
291 * dwarf2loc.c (unimplemented): Handle unnamed opcodes.
292 (compile_dwarf_to_ax) <default>: Use unimplemented.
293 <DW_OP_deref>: Update.
294 (disassemble_dwarf_expression): Update.
295 * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument.
296 (decode_locdesc): Update.
297 * dwarf2expr.h (dwarf_stack_op_name): Update.
298
5f1e6f19
TT
2992011-02-16 Tom Tromey <tromey@redhat.com>
300
301 * ax.h (struct aop_map) <name>: Now const.
302
a0c78a73
PA
3032011-02-16 Tom Tromey <tromey@redhat.com>
304
305 * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other
306 than axs_rvalue.
307
946ebb0d 3082011-02-16 Yao Qi <yao@codesourcery.com>
a42244db
YQ
309
310 * infrun.c (get_displaced_step_closure_by_addr): New.
311 * inferior.h: Declare it.
312 * arm-tdep.c: (arm_pc_is_thumb): Call
313 get_displaced_step_closure_by_addr. Adjust MEMADDR if it
314 returns non-NULL.
315
08807d5a
PA
3162011-02-16 Pedro Alves <pedro@codesourcery.com>
317 Jan Kratochvil <jan.kratochvil@redhat.com>
318
319 gdb/
320 * tracepoint.c (memrange_sortmerge): Fix list A's end calculation.
321
29976f3f
PA
3222011-02-16 Pedro Alves <pedro@codesourcery.com>
323 Jan Kratochvil <jan.kratochvil@redhat.com>
324
325 * value.c (value_contents_copy_raw): Extend describing comment.
326 Assert that the destination contents we're overwriting are wholly
327 available.
fb68ae73 328 (value_contents_copy): Extend describing comment.
29976f3f 329
cd24cfaa
PA
3302011-02-16 Pedro Alves <pedro@codesourcery.com>
331 Jan Kratochvil <jan.kratochvil@redhat.com>
332
333 * value.c (value_available_contents_eq): Remove redundant local
334 variables. Fix available contents comparision.
335 * value.h (value_available_contents_eq): Extend describing
336 comment.
337
60bbf338
YQ
3382011-02-16 Yao Qi <yao@codesourcery.com>
339
340 * thread.c (info_threads_command): Add missing i18n markup and remove
341 trailing newline.
342
17450429
PP
3432011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com>
344
345 * breakpoint.c (longjmp_names): New variable.
346 (struct breakpoint_objfile_data): New type.
347 (breakpoint_objfile_key): New variable.
348 (msym_not_found): New variable.
349 (msym_not_found_p): New predicate.
350 (get_breakpoint_objfile_data): New function.
351 (create_overlay_event_breakpoint): Check per-objfile cache for
352 symbols first.
353 (create_longjmp_master_breakpoint): Likewise.
354 (create_std_terminate_master_breakpoint): Likewise.
355 (create_exception_master_breakpoint): Likewise.
356 (_initialize_breakpoint): Register per-objfile data key.
357
af02033e
PP
3582011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com>
359
360 * breakpoint.c ((create_overlay_event_breakpoint): Const-propagate
361 parameter value.
362 (create_longjmp_master_breakpoint): Loop over longjmp names.
363 (create_std_terminate_master_breakpoint): Const-propagate parameter
364 value.
365 (update_breakpoints_after_exec): Adjust.
366 (breakpoint_re_set): Adjust.
367
60f98dde
MS
3682011-02-15 Michael Snyder <msnyder@vmware.com>
369
cdf99611
MS
370 * thread.c (info_threads_command): Process arg as thread id,
371 or list of thread ids.
372 (thread_find_command): New command.
373 (_initialize_thread): Document argument for info threads.
374 Document 'thread find' command.
375 * NEWS: Document new command "thread find".
60f98dde 376
0feedb2c
JK
3772011-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
378
379 * Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'.
380 * aclocal.m4: Regenerated with aclocal-1.11.1.
381 * common/configure: Regenerate with autoconf-2.64.
382
648cd113
KW
3832011-02-15 Ken Werner <ken.werner@de.ibm.com>
384
385 * opencl-lang.c (build_opencl_types): Set the size of the built-in
386 bool data type to a size of one byte.
387
5657161f
PA
3882011-02-15 Pedro Alves <pedro@codesourcery.com>
389 Jan Kratochvil <jan.kratochvil@redhat.com>
390
391 * target.c (memory_xfer_live_readonly_partial): Document where to
392 look for interface description.
393
494e194e
YQ
3942011-02-15 Yao Qi <yao@codesourcery.com>
395
396 PR tdep/12352
397 * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in
398 order to store PC value on stack instead of text section.
399
d9492458
TJB
4002011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
401
402 * rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for
403 the EFP register set size.
404 (efpr_pseudo_register_read): Use regcache_raw_read_part to read
405 data from the VMX register.
406 (efpr_pseudo_register_write): Use regcache_raw_write_part to read
407 and write data from/to the VMX register.
408
cdf99611
MS
4092011-02-14 Michael Snyder <msnyder@vmware.com>
410
411 * command.h (enum command_class): New class 'no_set_class', for
412 "show" commands without a corresponding "set" command.
413 * value.c (_initialize_values): Use 'no_set_class' for "show values".
414 * copying.c (_initialize_copying): Ditto for "show copying" and
415 "show warranty".
416 * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and
417 "show version".
418 * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for
419 which there is no corresponding "set" command (eg. "show copying").
420
424447ee
PA
4212011-02-14 Pedro Alves <pedro@codesourcery.com>
422 Jan Kratochvil <jan.kratochvil@redhat.com>
423
424 * exec.c (section_table_available_memory): Change `len' parameter
425 type to ULONGEST.
426 * exec.h (section_table_available_memory): Ditto.
427 * value.h (read_value_memory): Rename the `offset' parameter to
428 `embedded_offset'.
429
c0f61f9c 4302011-02-14 Pedro Alves <pedro@codesourcery.com>
e0ccc0c7 431 Jan Kratochvil <jan.kratochvil@redhat.com>
c0f61f9c
PA
432
433 * memrange.c (compare_mem_ranges): Mention sort order in
434 describing comment.
435 (normalize_mem_ranges): Add comment. Fix ra->length calculation.
436 * tracepoint.c (traceframe_available_memory): Extend comment to
437 mention what happens to RESULT when the target does not support
438 the query.
439
6bfc80c7
PA
4402011-02-14 Pedro Alves <pedro@codesourcery.com>
441 Jan Kratochvil <jan.kratochvil@redhat.com>
442
443 * value.c (mark_value_bytes_unavailable): Fix indexing the `bef'
444 range.
445
e7303042
PA
4462011-02-14 Pedro Alves <pedro@codesourcery.com>
447
448 * value.c (value_bits_valid, value_bits_synthetic_pointer):
449 No longer handle NULL values.
450
8af8e3bc
PA
4512011-02-14 Pedro Alves <pedro@codesourcery.com>
452
453 * exceptions.h (NOT_AVAILABLE_ERROR): New error.
454 * value.c: Include "exceptions.h".
455 (require_available): Throw NOT_AVAILABLE_ERROR instead of a
456 generic error.
457 * cp-abi.c: Include gdb_assert.h.
458 (baseclass_offset): Add `embedded_offset' and `val' parameters.
459 Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR
460 errors.
461 * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val'
462 parameters. No longer returns -1 on error.
463 (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and
464 `val' parameters.
465 * cp-valprint.c: Include exceptions.h.
466 (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching
467 the baseclass_offset. Handle unavailable base classes. Use
468 val_print_invalid_address.
469 * p-valprint.c: Include exceptions.h.
470 (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors
471 when fetching the baseclass_offset. No longer expect
472 baseclass_offset returning -1. Handle unavailable base classes.
473 Use val_print_invalid_address.
474 * valops.c (dynamic_cast_check_1): Rename `contents' parameter to
475 `valaddr' parameter, and change its type to gdb_byte pointer. Add
476 `embedded_offset' and `val' parameters. Adjust.
477 (dynamic_cast_check_2): Rename `contents' parameter to `valaddr'
478 parameter, and change its type to gdb_byte pointer. Add
479 `embedded_offset' and `val' parameters. Adjust. No longer expect
480 baseclass_offset returning -1.
481 (value_dynamic_cast): Use value_contents_for_printing rather than
482 value_contents. Adjust.
483 (search_struct_field): No longer expect baseclass_offset returning
484 -1.
485 (search_struct_method): If reading memory from the target is
486 necessary, wrap it in a new value to pass to baseclass_offset. No
487 longer expect baseclass_offset returning -1.
488 (find_method_list): No longer expect baseclass_offset returning
489 -1. Use value_contents_for_printing rather than value_contents.
490 * valprint.c (val_print_invalid_address): New function.
491 * valprint.h (val_print_invalid_address): Declare.
492 * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset'
493 and `val' parameters. No longer expect baseclass_offset returning
494 -1. Adjust.
495 * gnu-v2-abi.c: Include "exceptions.h".
496 (gnuv2_baseclass_offset): Add `embedded_offset' and `val'
497 parameters. Handle unavailable memory. Recurse through
498 gnuv2_baseclass_offset directly, rather than through
499 baseclass_offset. No longer returns -1 on not found, instead
500 throw an error.
501 * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and
502 `val' parameters. Adjust.
503
1b28d0b3
PA
5042011-02-14 Pedro Alves <pedro@codesourcery.com>
505
506 * tracepoint.c (memrange_sortmerge): Don't merge ranges that are
507 almost but not quite adjacent.
508
ec0a52e1
PA
5092011-02-14 Pedro Alves <pedro@codesourcery.com>
510
511 * value.h (value_entirely_available): Declare.
512 * value.c (value_entirely_available): New function.
513 * c-valprint.c (c_value_print): Don't try fetching the pointer's
514 real type if the pointer is unavailable.
515
24e6bcee
PA
5162011-02-14 Pedro Alves <pedro@codesourcery.com>
517
518 * valops.c (value_repeat): Use read_value_memory instead of
519 read_memory.
520
39d37385
PA
5212011-02-14 Pedro Alves <pedro@codesourcery.com>
522
523 * value.h (value_contents_copy, value_contents_copy_raw): Declare.
524 * value.c (value_contents_copy_raw, value_contents_copy): New
525 functions.
526 (value_primitive_field): Use value_contents_copy_raw instead of
527 memcpy.
528 * valops.c (value_fetch_lazy): Use value_contents_copy instead of
529 memcpy.
530 (value_array, value_slice): Ditto.
531 * valarith.c (value_subscripted_rvalue): Use
532 value_contents_copy_raw instead of memcpy.
533
a3d34bf4
PA
5342011-02-14 Pedro Alves <pedro@codesourcery.com>
535
536 <unavailable> references.
537
538 * valops.c (get_value_at): Use value_from_contents_and_address,
539 avoiding read_memory.
540
9fc6d940
PA
5412011-02-14 Pedro Alves <pedro@codesourcery.com>
542
543 * c-valprint.c (c_val_print): Print a string with unavailable
544 contents as an array.
545
5467c6c8
PA
5462011-02-14 Pedro Alves <pedro@codesourcery.com>
547
548 * value.h (unpack_bits_as_long): Delete declaration.
549 (unpack_value_bits_as_long): Declare.
550 (unpack_value_field_as_long): Declare.
551 (value_field_bitfield): Declare.
552 * value.c (unpack_bits_as_long): Rename to...
553 (unpack_value_bits_as_long_1): ... this. Add embedded_offset and
554 value parameters. Return the extracted result in a new output
555 parameter. If the value contents are unavailable, return false,
556 otherwise return true.
557 (unpack_value_bits_as_long): New.
558 (unpack_field_as_long): Rename to...
559 (unpack_value_field_as_long_1): ... this. Add embedded_offset and
560 Add embedded_offset and value parameters. Return the extracted
561 result in a new output parameter. If the value contents are
562 unavailable, return false, otherwise return true.
563 (unpack_value_field_as_long): New.
564 (unpack_field_as_long_1): New.
565 (unpack_field_as_long): Reimplement as wrapper around
566 unpack_value_field_as_long_1.
567 (value_field_bitfield): New function.
568 * valops.c (value_fetch_lazy): When fetching a bitfield, use
569 unpack_value_bits_as_long. Mark the value as unavailable, if it
570 is unavailable.
571 * jv-valprint.c (java_print_value_fields): Use
572 value_field_bitfield.
573 * p-valprint.c (pascal_object_print_value_fields): Use
574 value_field_bitfield.
575 * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield.
576
3158c6ed
PA
5772011-02-14 Pedro Alves <pedro@codesourcery.com>
578
579 * value.c (get_internalvar_integer): Also return the int value of
580 TYPE_CODE_INT INTERNALVAR_VALUE values.
581 (set_internalvar): Don't special case TYPE_CODE_INT.
582
9fbdca0d
PA
5832011-02-14 Pedro Alves <pedro@codesourcery.com>
584
585 * value.c (struct internalvar) <enum internalvar_kind>: Remove
586 INTERNALVAR_POINTER.
587 <pointer>: Delete.
588 (value_of_internalvar): Remove INTERNALVAR_POINTER handling.
589 (set_internalvar): Remove special TYPE_CODE_PTR handling.
590 (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling.
591
c8c1c22f
PA
5922011-02-14 Pedro Alves <pedro@codesourcery.com>
593
594 * value.h (value_available_contents_eq): Declare.
595 * value.c (find_first_range_overlap): New function.
596 (value_available_contents_eq): New function.
597 * valprint.c (val_print_array_elements): Use
598 value_available_contents_eq.
599 * ada-valprint.c (val_print_packed_array_elements): Use
600 value_available_contents_eq.
601 * jv-valprint.c (java_value_print): Use
602 value_available_contents_eq.
603
e6e4e701
PA
6042011-02-14 Pedro Alves <pedro@codesourcery.com>
605
606 * target.c (target_read_live_memory): New function.
607 (memory_xfer_live_readonly_partial): New.
608 (memory_xfer_partial): If reading from a traceframe, fallback to
609 reading unavailable read-only memory from read-only regions of
610 live target memory.
611 * tracepoint.c (disconnect_tracing): Adjust.
612 (set_current_traceframe): New, factored out from
613 set_traceframe_number.
614 (set_traceframe_number): Reimplement to only change the traceframe
615 number on the GDB side.
616 (do_restore_current_traceframe_cleanup): Adjust.
617 (make_cleanup_restore_traceframe_number): New.
618 (cur_traceframe_number): New global.
619 (tfile_open): Set cur_traceframe_number to no traceframe.
620 (set_tfile_traceframe): New function.
621 (tfile_trace_find): If looking up a traceframe using any method
622 other than by number, make sure the current tfile traceframe
623 matches gdb's current traceframe. Update the current tfile
624 traceframe if the lookup succeeded.
625 (tfile_fetch_registers, tfile_xfer_partial)
626 (tfile_get_trace_state_variable_value): Make sure the remote
627 traceframe matches gdb's current traceframe.
628 * remote.c (remote_traceframe_number): New global.
629 (remote_open_1): Set it to -1.
630 (set_remote_traceframe): New function.
631 (remote_fetch_registers, remote_store_registers)
632 (remote_xfer_memory, remote_xfer_partial)
633 (remote_get_trace_state_variable_value): Make sure the remote
634 traceframe matches gdb's current traceframe.
635 (remote_trace_find): If looking up a traceframe using any method
636 other than by number, make sure the current remote traceframe
637 matches gdb's current traceframe. Update the current remote
638 traceframe if the lookup succeeded.
639 * infrun.c (fetch_inferior_event): Adjust.
640 * tracepoint.h (set_current_traceframe): Declare.
641 (get_traceframe_number, set_traceframe_number): Add describing
642 comments.
643
e6ca34fc
PA
6442011-02-14 Pedro Alves <pedro@codesourcery.com>
645
646 Mark pieces of values as unavailable if the corresponding memory
647 is unavailable.
648
649 * valops.c: Include tracepoint.h.
650 (value_fetch_lazy): Use read_value_memory.
651 (read_value_memory): New.
652 * value.h (read_value_memory): Declare.
653 * dwarf2loc.c (read_pieced_value): Use read_value_memory.
654 * exec.c (section_table_available_memory): New function.
655 * exec.h (section_table_available_memory): Declare.
656
2a7498d8
PA
6572011-02-14 Pedro Alves <pedro@codesourcery.com>
658
659 * Makefile.in (SFILES): Add memrange.c.
660 (HFILES_NO_SRCDIR): Add memrange.h.
661 (COMMON_OBS): Add memrange.o.
662 * memrange.c: New file.
663 * memrange.h: New file.
664 * tracepoint.c: Include memrange.h.
665 (struct mem_range): Delete.
666 (mem_range_s): Delete.
667 (traceframe_available_memory): New function.
668 * tracepoint.h (traceframe_available_memory): Declare.
669
b3b9301e
PA
6702011-02-14 Pedro Alves <pedro@codesourcery.com>
671
672 * target.h (struct traceframe_info): Forward declare.
673 (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
674 (struct target_ops) <to_traceframe_info>: New field.
675 (target_traceframe_info): New.
676 * target.c (update_current_target): Inherit and default
677 to_traceframe_info.
678 * remote.c (PACKET_qXfer_traceframe_info): New.
679 (remote_protocol_features): Register qXfer:traceframe-info:read.
680 (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
681 (remote_traceframe_info): New.
682 (init_remote_ops): Install it.
683 (_initialize_remote): Install "set/show remote traceframe-info"
684 commands.
685 * tracepoint.h (parse_traceframe_info): Declare.
686 * tracepoint.c (struct mem_range): New.
687 (mem_range_s): New typedef.
688 (struct traceframe_info): New.
689 (traceframe_info): New global.
690 (free_traceframe_info): New function.
691 (clear_traceframe_info): New function.
692 (start_tracing, tfind_1, set_traceframe_number): Clear traceframe
693 info.
694 (build_traceframe_info): New function.
695 (tfile_traceframe_info): New function.
696 (init_tfile_ops): Install tfile_traceframe_info.
697 (traceframe_info_start_memory, free_result): New functions.
698 (memory_attributes, traceframe_info_elements): New globals.
699 (parse_traceframe_info, get_traceframe_info): New functions.
700 * features/traceframe-info.dtd: New file.
701 * Makefile.in (XMLFILES): Add traceframe-info.dtd.
702
4e07d55f
PA
7032011-02-14 Pedro Alves <pedro@codesourcery.com>
704
705 Base support for <unavailable> value contents.
706
4e07d55f
PA
707 * value.h (value_bytes_available): Declare.
708 (mark_value_bytes_unavailable): Declare.
709 * value.c (struct range): New struct.
710 (range_s): New typedef.
711 (ranges_overlap): New function.
712 (range_lessthan): New function.
713 (ranges_contain_p): New function.
714 (struct value) <unavailable>: New field.
715 (value_bytes_available): New function.
716 (mark_value_bytes_unavailable): New function.
717 (require_not_optimized_out): Constify parameter.
718 (require_available): New function.
719 (value_contents_all, value_contents): Require all bytes be
720 available.
721 (value_free): Free `unavailable'.
722 (value_copy): Copy `unavailable'.
723 * valprint.h (val_print_unavailable): Declare.
724 * valprint.c (valprint_check_validity): Rename `offset' parameter
725 to `embedded_offset'. If printing a scalar, check whether the
726 value chunk is available.
727 (val_print_unavailable): New.
728 (val_print_scalar_formatted): Check whether the value is
729 available.
730 * python/py-prettyprint.c (apply_val_pretty_printer): Refuse
731 pretty-printing unavailable values.
732
bc9a5551
JK
7332011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
734
735 Fix const/volatile qualifiers of C++ types, PR c++/12328.
736 * c-typeprint.c (c_type_print_args): Update the function comment. New
737 variable param_type, initialize it. Remove const/volatile qualifiers
738 for language_cplus and !show_artificial. Use param_type.
739
93b55aa1
JK
7402011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
741
742 * symtab.c (find_pc_sect_line): New variable objfile, initialize it
743 from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S.
744 * symtab.h (struct symtab) <next>: Comment extension.
745
181d9476
YQ
7462011-02-12 Yao Qi <yao@codesourcery.com>
747
748 * Makefile.in (CLEANDIRS): Remove duplicated common dir.
749
b708a5c7
JK
7502011-02-11 Yao Qi <yao@codesourcery.com>
751
752 * common/Makefile.in: Add copyright header.
753
c5187ac6
PA
7542011-02-11 Pedro Alves <pedro@codesourcery.com>
755
756 * infrun.c (proceed): Move switching out and in of tfind mode from
757 here ...
758 (fetch_inferior_event): ... to here.
759
4f3e6fb7
YQ
7602011-02-11 Yao Qi <yao@codesourcery.com>
761
762 * Makefile.in: Remove signals.o from COMMON_OBS. Link
763 libcommon.a.
764 * configure.ac: Add common to sub dir.
765 * configure: Regenerate.
766
b708a5c7
JK
7672011-02-11 Yao Qi <yao@codesourcery.com>
768
769 Build libcommon.a.
770
771 * common/Makefile.in: New.
772 * common/configure.ac: New.
773 * common/aclocal.m4: New.
774 * common/configure: Generate.
775
2287cc7e
PA
7762011-02-10 Pedro Alves <pedro@codesourcery.com>
777
778 * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
779 side of the parenthesis.
780
781 Merge from GCC:
782 2010-07-13 Jakub Jelinek <jakub@redhat.com>
fc013618 783 * vec.h (VEC_block_remove): Fix comment.
2287cc7e 784
fd62cb89
MS
7852011-02-08 Michael Snyder <msnyder@vmware.com>
786
787 * linux-nat.c (linux_nat_filter_event): Fix typo in comment.
788
56d2815c
JK
7892011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
790
791 * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
792 in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
793 psubd and paddd.
794
4f7d61a8
JK
7952011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
796
797 PR 12361.
798 * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
799 phsubsw.
800 (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
801 (i386_process_record) <0x0f3807>: Fix the comment to phsubsw.
802
54fcddd0
UW
8032011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
804
805 * dwarf2read.c (read_subroutine_type): Set special calling
806 convention flag for functions compiled by IBM XL C for OpenCL.
807 * ppc-sysv-tdep.c: Include "dwarf2.h"
808 (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
809 calling convention.
810 (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement
811 IBM OpenCL vector types calling convention.
812 (ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
813 (ppc_sysv_abi_broken_return_value): Likewise.
814 (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
815 types calling convention.
816 (ppc64_sysv_abi_return_value): Likewise.
817 * spu-tdep.c: Include "dwarf2.h"
818 (spu_return_value): Implement IBM OpenCL vector types calling
819 convention.
820
d6dafb7c
UW
8212011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
822
823 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
824 correct ABI for AltiVec vector arguments.
825
32b72a42
PA
8262011-02-07 Pedro Alves <pedro@codesourcery.com>
827
828 * valprint.c (val_print): Extend comment.
829 * ada-valprint.c (ada_valprint): Rewrite comment deferring
830 interface explanation to val_print.
831 (ada_val_print_array): Adjust comment to current interface.
832 (print_field_values): Adjust comment to current interface.
833 * c-valprint.c (c_val_print): Rewrite comment deferring interface
834 explanation to val_print.
835 * f-valprint.c (f_val_print): Ditto.
836 * jv-valprint.c (java_val_print): Ditto.
837 * m2-valprint.c (m2_val_print): Ditto.
838 * p-valprint.c (pascal_val_print): Ditto.
839
9998af43
TJB
8402011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
841
842 * breakpoint.c (parse_breakpoint_sals): Fix description.
843
505500db 8442011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
9998af43 845 Oguz Kayral <oguzkayral@gmail.com>
505500db
SW
846
847 * python/py-inferior.c (python_on_normal_stop): New function.
848 (python_on_resume): New function.
849 (python_inferior_exit): New function.
850 (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
851 inferior_exit observers.
852 * python/py-evtregistry.c: New file.
853 * python/py-threadevent.c : New file.
854 * python/py-event.c: New file.
855 * python/py-evts.c: New file.
856 * python/py-continueevent.c: New file.
857 * python/py-bpevent.c: New file.
858 * python/py-signalevent.c: New file.
859 * python/py-exetiedevent.c: New file.
860 * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
861 Move struct breakpoint_object from here...
862 * python/python-internal.h: ... to here.
863 * python/py-event.h: New file.
864 * python/py-events.h: New file.
865 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
866 py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
867 py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
868 (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
869 py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
870 py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
871 Add build rules for all the above.
872
9e0ac564
TT
8732011-02-04 Tom Tromey <tromey@redhat.com>
874
875 * dwarf2read.c (dwarf2_section_empty_p): New function.
876 (dwarf2_read_section): Use dwarf2_section_empty_p.
877 (dwarf2_section_size): New function.
878 (dwarf2_get_section_info): Unconditionally read section.
879 (dwarf2_read_index): Use dwarf2_section_empty_p.
880 (partial_read_comp_unit_head): Use dwarf2_section_size.
881 (dwarf2_symbol_mark_computed): Likewise.
882
eee5b35e
DD
8832011-02-04 David Daney <ddaney@caviumnetworks.com>
884
885 * NEWS: Add item for "catch syscall" on mips*-linux* targets.
886
385203ed
DD
8872011-02-04 David Daney <ddaney@caviumnetworks.com>
888
889 * mips-linux-tdep.c: Include xml-syscall.h.
890 (mips_linux_get_syscall_number): New function.
891 (mips_linux_init_abi): Add calls to
892 mips_linux_get_syscall_number() and set_xml_syscall_file_name().
893 * data-directory/Makefile.in (SYSCALLS_FILES): Add
894 mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
895 * syscalls/mips-n32-linux.xml: New file.
896 * syscalls/mips-n64-linux.xml: New file.
897 * syscalls/mips-o32-linux.xml: New file.
898
9277c30c
UW
8992011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org>
900
901 * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
902 Complain about inverted range entries.
903 (dwarf2_record_block_ranges): Likewise.
904
a3be7890
TJB
9052011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
906
907 Fix some typos.
908 * breakpoint.c (update_watchpoint): Fix name of the
909 update_global_location_list function.
910 (print_one_breakpoint): Fix typo.
911 (_initialize_breakpoint): Remove extra space in hbreak help
912 string.
913 * breakpoint.h (struct bp_location) <length>: Fix field
914 description.
915
041274d8
PA
9162011-02-04 Pedro Alves <pedro@codesourcery.com>
917
918 * regcache.c (registers_changed_ptid): Don't explictly always
919 clear `current_regcache'. Only clear current_thread_ptid and
920 current_thread_arch when PTID matches. Only reinit the frame
921 cache if PTID matches the current inferior_ptid. Move alloca(0)
922 call to ...
923 (registers_changed): ... here.
924
c1c2ab58
UW
9252011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org>
926
927 * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
928 starts with __stack_chk_guard as stack guard symbol.
929
9011945e
AB
9302011-02-03 Andrew Burgess <aburgess@broadcom.com>
931
932 * disasm.c (compare_lines): Handle the end of sequence markers
933 within the line table to better support disassembling over
934 compilation unit boundaries.
935
e0634ccf
UW
9362011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
937
938 * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
939 arguments. Skip in-prologue calls to glibc __aeabi_read_tp
940 implementation even if no symbols are available.
941 (thumb_analyze_prologue): Update call to skip_prologue_function.
942 (arm_analyze_prologue): Likewise.
943
0e9e9abd
UW
9442011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
945
946 * arm-tdep.c: Include "observer.h".
947 (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
948 (arm_exidx_data_key): New static variable.
949 (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
950 (struct arm_exidx_data): Likewise.
951 (arm_exidx_data_free): New function.
952 (arm_compare_exidx_entries): Likewise.
953 (arm_obj_section_from_vma): Likewise.
954 (arm_exidx_new_objfile): Likewise.
955 (arm_find_exidx_entry): Likewise.
956 (arm_exidx_fill_cache): Likewise.
957 (arm_exidx_unwind_sniffer): Likewise.
958 (arm_exidx_unwind): New global variable.
959 (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
960 (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
961 observer. Register arm_exidx_data_key as objfile data.
962
2e9e421f
UW
9632011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
964
965 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
966 due to accessing uninitialized variable. Fix indentation.
967
580688f3
PA
9682011-02-02 Pedro Alves <pedro@codesourcery.com>
969
970 * c-valprint.c (c_value_print): When doing virtual base pointer
971 adjustment, create a new value with adjusted contents rather than
972 changing the contents of the value being printed (and getting it
973 wrong).
974
3d2c1d41
PA
9752011-02-02 Pedro Alves <pedro@codesourcery.com>
976
977 * xml-support.c (xml_find_attribute): New.
978 (xinclude_start_include): Use it.
979 * xml-support.h (xml_find_attribute): Declare.
980 * memory-map.c (memory_map_start_memory)
981 (memory_map_start_property): Use xml_find_attribute.
982 * osdata.c (osdata_start_osdata, osdata_start_column): Use
983 xml_find_attribute.
984 * remote.c (start_thread): Use xml_find_attribute.
985 * solib-target.c (library_list_start_segment)
986 (library_list_start_section, library_list_start_library)
987 (library_list_start_list): Use xml_find_attribute.
988 * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
989 (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
990 (tdesc_start_field): Use xml_find_attribute.
991
0af3e2db
UW
9922011-02-02 Ulrich Weigand <uweigand@de.ibm.com>
993
994 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
995 (BUILD_OCL_VTYPES): Update.
996
c1039e3c
JB
9972011-02-02 Joel Brobecker <brobecker@adacore.com>
998
999 * configure.ac: Work around non-GNU sed limitation when computing
1000 python version number.
1001 * configure: Regenerate.
1002
600ea1be
JK
10032011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1004
1005 Fix debug printing of TYPE_INSTANCE.
1006 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
1007 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
1008
56c12414
JK
10092011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1010
1011 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
1012 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
1013 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
1014 * ada-operator.inc: Rename the file to ...
1015 * ada-operator.def: ... here, wrap all the entries by macro OP.
1016 * expprint.c (op_name_standard): Remove all the entries. Include
1017 "std-operator.def" instead.
1018 * expression.h (enum exp_opcode): Include "std-operator.def" and
1019 "ada-operator.def". Move all the entries ...
1020 * std-operator.def: ... here, wrap all the entries by macro OP.
1021
c52b559d
PP
10222011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1023
1024 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
1025 * breakpoint.c (remove_jit_event_breakpoints): New function.
1026 * jit.c (jit_descriptor_addr): Delete.
1027 (registering_code): Delete.
1028 (clear_int): Delete.
1029 (jit_inferior_data): New variable.
1030 (struct jit_inferior_data): New type.
1031 (get_jit_inferior_data): New function.
1032 (jit_inferior_data_cleanup): New function.
1033 (jit_read_descriptor): Adjust.
1034 (jit_register_code): Adjust.
1035 (jit_breakpoint_re_set_internal): New function; move code here ...
1036 (jit_inferior_init): ... from here.
1037 (jit_breakpoint_re_set): Adjust.
1038 (jit_reset_inferior_data_and_breakpoints): New function.
1039 (jit_inferior_created_observer): Adjust.
1040 (jit_inferior_exit_hook): Adjust.
1041 (jit_executable_changed_observer): New function.
1042 (jit_event_handler): Adjust.
1043 (_initialize_jit): Adjust.
1044
e839132d
MS
10452011-01-31 Michael Snyder <msnyder@vmware.com>
1046
1047 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
1048 line.
1049
47a80e90
TT
10502011-01-31 Tom Tromey <tromey@redhat.com>
1051
1052 PR python/12216:
1053 * python/python.c (execute_gdb_command): Call
1054 prevent_dont_repeat.
1055 * top.c (suppress_dont_repeat): New global.
1056 (dont_repeat): Use it.
1057 (prevent_dont_repeat): New function.
1058 * command.h (prevent_dont_repeat): Declare.
1059
45a43567
TT
10602011-01-31 Tom Tromey <tromey@redhat.com>
1061
1062 * infcmd.c (finish_backward): Use breakpoint_set_silent.
1063 * python/py-breakpoint.c (bppy_set_silent): Use
1064 breakpoint_set_silent.
1065 (bppy_set_thread): Use breakpoint_set_thread.
1066 (bppy_set_task): Use breakpoint_set_task.
1067 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
1068 (breakpoint_set_task): Declare.
1069 (make_breakpoint_silent): Remove.
1070 * breakpoint.c (breakpoint_set_silent): New function.
1071 (breakpoint_set_thread): Likewise.
1072 (breakpoint_set_task): Likewise.
1073 (make_breakpoint_silent): Remove.
1074
09d682a4
TT
10752011-01-31 Tom Tromey <tromey@redhat.com>
1076
1077 * breakpoint.h (user_breakpoint_p): Declare.
1078 * breakpoint.c (user_breakpoint_p): New function.
1079 (breakpoint_1): Use it.
1080 (save_breakpoints): Likewise.
1081
9c4ea6c5
JB
10822011-01-31 Joel Brobecker <brobecker@adacore.com>
1083
1084 * configure.ac: Add handling of Python distribution on Windows.
1085 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
1086 sysconfig variables are not defined, then do not use them.
1087 On Windows, if LIBPL is not defined, then use prefix + '/libs'
1088 instead. On Windows, return all paths using forward-slashes
1089 rather than backslashes.
1090
ac534cba
JB
10912011-01-31 Joel Brobecker <brobecker@adacore.com>
1092
1093 * configure.ac: Remove fallback behavior for building
1094 against Python. Remove tweaking of Python include path.
1095 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
1096 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
1097 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
1098 Always restore CPPFLAGS and LIBS after linking test.
1099 * configure: Regenerated.
1100 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
1101 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
1102 * python/python-internal.h: Adjust includes of Python .h files.
1103
c2f0d045
JB
11042011-01-31 Joel Brobecker <brobecker@adacore.com>
1105
1106 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
1107 in error message.
1108
6b0c4c1f
JB
11092011-01-31 Joel Brobecker <brobecker@adacore.com>
1110
1111 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
1112 value test.
1113
672c9795
YQ
11142011-01-31 Yao Qi <yao@codesourcery.com>
1115
1116 * arm-linux-nat.c: Update calls to regcache_register_status
1117 instead of regcache_valid_p.
1118 * aix-thread.c: Likewise.
1119 * i386gnu-nat.c: Likewise.
1120
80b23b6a
JK
11212011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1122
1123 Fix crash.
1124 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
1125 touching TYPE_FIELD_ARTIFICIAL.
1126
4cd712bd
RE
11272011-01-28 Richard Earnshaw <rearnsha@arm.com>
1128
1129 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
1130 Committers.
1131
ffd5ec24
PA
11322011-01-28 Pedro Alves <pedro@codesourcery.com>
1133
1134 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
1135 selected, don't try iterating over the traceframe's blocks.
1136 (tfile_has_stack): If there's no traceframe selected, then there's
1137 no stack.
1138 (tfile_has_registers): If there's no traceframe selected, then
1139 there's no registers.
1140
e8c9e0a1
PA
11412011-01-28 Pedro Alves <pedro@codesourcery.com>
1142
1143 * target.c (memory_xfer_partial): No need to restore shadows if we
1144 haven't read anything.
1145
de15c4ab
PA
11462011-01-28 Pedro Alves <pedro@codesourcery.com>
1147
1148 * mips-tdep.c (mips_print_register): Use get_frame_register_value
1149 and val_print_scalar_formatted.
1150
9f41c731
PA
11512011-01-27 Pedro Alves <pedro@codesourcery.com>
1152
1153 * tracepoint.c (tfile_read): New.
1154 (tfile_open): Use it.
1155 (tfile_get_traceframe_address): Use it.
1156 (tfile_trace_find): Use it.
1157 (walk_blocks_callback_func): New typedef.
1158 (match_blocktype): New function.
1159 (traceframe_walk_blocks): New function.
1160 (traceframe_find_block_type): New function.
1161 (tfile_fetch_registers, tfile_xfer_partial)
1162 (tfile_get_trace_state_variable_value): Use
1163 traceframe_find_block_type and tfile_read.
1164
cdefc55d
KB
11652011-01-26 Kevin Buettner <kevinb@redhat.com>
1166
1167 * remote-mips.c: Add internationalization mark ups. Remove
1168 trailing \n from already marked up strings.
1169
a81766d8
TT
11702011-01-26 Tom Tromey <tromey@redhat.com>
1171
1172 * python/py-prettyprint.c (print_string_repr): Clear
1173 'addressprint' option when calling val_print_string.
1174 (print_children): Handle Val_pretty_default. Clear 'addressprint'
1175 option when calling val_print_string.
1176
74aedc46
TT
11772011-01-26 Tom Tromey <tromey@redhat.com>
1178
1179 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
1180 GDB_PY_LL_ARG.
1181 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
1182 macros.
1183 (gdb_py_longest, gdb_py_ulongest): New typedefs.
1184 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
1185 (gdb_py_long_as_ulongest): New defines.
1186 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
1187 (gdb_py_int_as_long): Declare.
1188 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
1189 GDB_PY_LL_ARG, gdb_py_object_from_longest.
1190 (valpy_long): Add comment.
1191 * python/py-utils.c (get_addr_from_python): Use
1192 gdb_py_long_as_ulongest. Handle overflow properly.
1193 (gdb_py_object_from_longest): New function.
1194 (gdb_py_object_from_ulongest): Likewise.
1195 (gdb_py_int_as_long): Likewise.
1196 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
1197 * python/py-symtab.c (salpy_get_pc): Use
1198 gdb_py_long_from_ulongest.
1199 (salpy_get_line): Use PyInt_FromLong.
1200 * python/py-param.c (set_parameter_value): Use
1201 gdb_py_int_as_long.
1202 * python/py-lazy-string.c (stpy_get_address): Use
1203 gdb_py_long_from_ulongest.
1204 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
1205 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
1206 * python/py-breakpoint.c (bppy_set_thread): Use
1207 gdb_py_int_as_long.
1208 (bppy_set_task): Likewise.
1209 (bppy_set_ignore_count): Likewise.
1210 (bppy_set_hit_count): Likewise.
1211 * python/py-block.c (blpy_get_start): Use
1212 gdb_py_object_from_ulongest.
1213 (blpy_get_end): Likewise.
1214 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
1215
e4f6d2ec
TJB
12162011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
1217
1218 PR/symtab 11766:
1219 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
1220 * gdb/solib.c (solib_read_symbols): Check for addr_low in
1221 equality test for objfile, initialize addr_low if needed.
1222
b30aa278
PA
12232011-01-25 Pedro Alves <pedro@codesourcery.com>
1224
1225 * tui/tui-regs.c (tui_register_format): Remove dead code.
1226
ab2188aa
PA
12272011-01-25 Pedro Alves <pedro@codesourcery.com>
1228
1229 * printcmd.c (print_formatted): Use val_print_scalar_formatted
1230 instead of print_scalar_formatted.
1231 (print_scalar_formatted): Don't handle 's' format strings here,
1232 and add an assertion that we never see such format here.
1233 * valprint.h (val_print_scalar_formatted): Declare.
1234 * valprint.c (val_print_scalar_formatted): New.
1235 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
1236 instead of print_scalar_formatted.
1237 * jv-valprint.c (java_val_print): Ditto.
1238 * p-valprint.c (pascal_val_print): Ditto.
1239 * ada-valprint.c (ada_val_print_1): Ditto.
1240 * f-valprint.c (f_val_print): Ditto.
1241 * infcmd.c (registers_info): Ditto.
1242 * m2-valprint.c (m2_val_print): Ditto.
1243
66d61a4c
PA
12442011-01-25 Pedro Alves <pedro@codesourcery.com>
1245
1246 * m2-valprint.c (print_unbounded_array): Pass
1247 value_contents_for_printing rather than value_contents, to
1248 m2_print_array_contents. Also pass in the value.
1249
831adc1f
JK
12502011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1251
1252 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
1253 (save_gdb_index_command): Switch to .gdb_index version 4.
1254
20622269
PA
12552011-01-25 Pedro Alves <pedro@codesourcery.com>
1256
1257 * mi/mi-main.c (get_register): Use get_frame_register_value rather
1258 than frame_register, and always pass a valid value to val_print.
1259
585fdaa1
PA
12602011-01-25 Pedro Alves <pedro@codesourcery.com>
1261
1262 Centralize printing "<optimized out>".
1263
1264 * valprint.h (val_print_optimized_out): Declare.
1265 * cp-valprint.c (cp_print_value_fields): Use
1266 val_print_optimized_out.
1267 * jv-valprint.c (java_print_value_fields): Ditto.
1268 * p-valprint.c (pascal_object_print_value_fields): Ditto.
1269 * printcmd.c (print_formatted): Ditto.
1270 * valprint.c (valprint_check_validity): Ditto.
1271 (value_check_printable): Ditto.
1272 (val_print_optimized_out): New.
1273
29ec5263
PA
12742011-01-25 Pedro Alves <pedro@codesourcery.com>
1275
1276 * infcmd.c (default_print_registers_info): Allocate values so to
1277 never pass a NULL value to val_print.
1278
de4127a3
PA
12792011-01-25 Pedro Alves <pedro@codesourcery.com>
1280
1281 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
1282 boolean. Make sure to always pass a value that matches the
1283 contents buffer to callees. Preserve `address' for following
1284 iterations.
1285 * value.c (value_contents_for_printing_const): New.
1286 (value_address): Constify value argument.
1287 * value.h (value_contents_for_printing_const): Declare.
1288 (value_address): Constify value argument.
1289
ee99023e
PA
12902011-01-25 Pedro Alves <pedro@codesourcery.com>
1291
1292 * regcache.c (struct regcache_descr): Rename
1293 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
1294 and sizeof_cooked_register_valid_p to
1295 sizeof_cooked_register_status.
1296 (init_regcache_descr): Adjust.
1297 (struct regcache): Rename register_valid_p field to
1298 register_status.
1299 (regcache_xmalloc_1, regcache_xfree, regcache_save)
1300 (do_cooked_read): Adjust.
1301 (regcache_valid_p): Rename to ...
1302 (regcache_register_status): ... this. Adjust.
1303 (regcache_invalidate): Adjust.
1304 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
1305 Adjust.
1306 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
1307 as unavailable, not valid.
1308 (regcache_dump): Adjust.
1309 * regcache.h (enum register_status): New.
1310 (regcache_register_status): Declare.
1311 (regcache_invalidate): Delete declaration.
1312 * corelow.c (get_core_registers): Adjust.
1313 * tracepoint.c (tfile_fetch_registers): Adjust.
1314 * trad-frame.c (REG_VALUE): Rename to ...
1315 (TF_REG_VALUE): ... this.
1316 (REG_UNKNOWN): Rename to ...
1317 (TF_REG_UNKNOWN): ... this.
1318 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
1319 * mi/mi-main.c (register_changed_p): Adjust.
1320
99e42fd8
PA
13212011-01-25 Pedro Alves <pedro@codesourcery.com>
1322
1323 * regcache.c (struct regcache_descr): Remove outdated comment.
1324 (init_regcache_descr): Remove sizeof_raw_register_valid_p
1325 overallocate hack.
1326 (regcache_xmalloc): Rename to ...
1327 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
1328 Allocate the regcache type accordingly.
1329 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
1330 (regcache_xfree): Asser the source is also readonly. Copy sizeof
1331 cooked registers, not raw.
1332 (regcache_dup_no_passthrough): Delete.
1333 (get_thread_arch_regcache): Use regcache_xmalloc_1.
1334 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
1335 mention obsolete write_register_bytes.
1336 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
1337
f7605bc2
PA
13382011-01-25 Pedro Alves <pedro@codesourcery.com>
1339
1340 Stop remote_read_bytes from handling partial reads itself.
1341
1342 * remote-fileio.c: Include target.h.
1343 (remote_fileio_write_bytes): Delete.
1344 (remote_fileio_func_open, remote_fileio_func_write)
1345 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
1346 target_read_memory.
1347 (remote_fileio_func_stat): Use target_read_memory and
1348 target_write_memory.
1349 (remote_fileio_func_gettimeofday): Use target_write_memory.
1350 (remote_fileio_func_system): Use target_read_memory.
1351 * remote.c (remote_write_bytes): Make it static.
1352 (remote_read_bytes): Don't handle partial reads here.
1353 * remote.h (remote_read_bytes): Delete declaration.
1354
efc0eabd
PA
13552011-01-25 Pedro Alves <pedro@codesourcery.com>
1356
1357 Simplify XML parsing a bit.
1358
1359 * xml-support.h (gdb_xml_parse_quick): Declare.
1360 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
1361 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
1362 parameter.
1363 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
1364 gdb_xml_create_parser_and_cleanup_1.
1365 (gdb_xml_parse_quick): New.
1366 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
1367 * osdata.c (osdata_parse): Ditto.
1368 * remote.c (remote_threads_info): Ditto.
1369 * solib-target.c (solib_target_parse_libraries): Ditto.
1370 * xml-syscall.c (syscall_parse_xml): Ditto.
1371 * xml-tdesc.c (tdesc_parse_xml): Ditto.
1372
314d366a
KB
13732011-01-24 Kevin Buettner <kevinb@redhat.com>
1374
1375 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
1376 with remote-mips.o added to gdb_target_obs.
1377 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
1378
a491d753
PA
13792011-01-24 Pedro Alves <pedro@codesourcery.com>
1380
1381 * ada-valprint.c (val_print_packed_array_elements): Pass the
1382 correct struct value to val_print.
1383 (ada_val_print_1): Ditto.
1384
490f124f
PA
13852011-01-24 Pedro Alves <pedro@codesourcery.com>
1386
1387 Don't lose embedded_offset in printing routines throughout.
1388
1389 * valprint.h (val_print_array_elements): Change prototype.
1390 * valprint.c (val_print_array_elements): Add `embedded_offset'
1391 parameter, and adjust to pass it down to val_print, while passing
1392 `valaddr' or `address' unmodified. Take embedded_offset into
1393 account when checking repetitions.
1394 * c-valprint.c (c_val_print): Pass embedded_offset to
1395 val_print_array_elements instead of adjusting `valaddr' and
1396 `address'.
1397 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
1398 embedded_offset to val_print_array_elements instead of adjusting
1399 `valaddr'.
1400 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
1401 * p-valprint.c (pascal_val_print): Pass embedded_offset to
1402 val_print_array_elements and pascal_object_print_value_fields
1403 instead of adjusting `valaddr'.
1404 (pascal_object_print_value_fields): Add `offset' parameter, and
1405 adjust to use it.
1406 (pascal_object_print_value): Add `offset' parameter, and adjust to
1407 use it.
1408 (pascal_object_print_static_field): Use
1409 value_contents_for_printing/value_embedded_offset, rather than
1410 value_contents.
1411 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
1412 parameter, and adjust to use it. Use
1413 value_contents_for_printing/value_embedded_offset, rather than
1414 value_contents.
1415 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
1416 (ada_val_print_array): Add `offset' parameter, and adjust to use
1417 it.
1418 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
1419 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
1420 Instead work with offsets. Use
1421 value_contents_for_printing/value_embedded_offset, rather than
1422 value_contents. Change `defer_val_int' local type to CORE_ADDR,
1423 and use value_from_pointer to extract a target pointer, rather
1424 than value_from_longest.
1425 (print_variant_part): Add `offset' parameter. Replace
1426 `outer_valaddr' parameter by a new `outer_offset' parameter.
1427 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1428 (ada_value_print): Use
1429 value_contents_for_printing/value_embedded_offset, rather than
1430 value_contents.
1431 (print_record): Add `offset' parameter, and adjust to pass it
1432 down.
1433 (print_field_values): Add `offset' parameter. Replace
1434 `outer_valaddr' parameter by a new `outer_offset' parameter.
1435 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1436 Use value_contents_for_printing/value_embedded_offset, rather than
1437 value_contents.
1438 * d-valprint.c (dynamic_array_type): Use
1439 value_contents_for_printing/value_embedded_offset, rather than
1440 value_contents.
1441 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
1442 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1443 (java_print_value_fields): Take `offset' into account. Don't
1444 re-adjust `valaddr'. Instead pass down adjusted offsets.
1445 (java_val_print): Take `embedded_offset' into account. Pass it to
1446 java_print_value_fields.
1447 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
1448 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
1449 down adjusted offsets.
1450 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
1451 (f_val_print): Take `embedded_offset' into account.
1452
7bfc9434
JB
14532011-01-21 Joel Brobecker <brobecker@adacore.com>
1454
1455 * inflow.c: Include "gdbcmd.h".
1456 (interactive_mode): New static global, moved here from top.c.
1457 (show_interactive_mode): New function, moved here from top.c.
1458 use gdb_has_a_terminal instead of input_from_terminal_p to
1459 determine the current mode.
1460 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
1461 setting.
1462 (_initialize_inflow): Add the "set/show interactive-mode"
1463 commands. Moved here from top.c, after having adjusted slightly
1464 the help text.
1465 * top.c (interactive_mode, show_interactive_mode): Delete, moved
1466 to inflow.c.
1467 (input_from_terminal_p): Remove handling of "interactive-mode"
1468 setting, moved to infow.c.
1469 (init_main): Remove creation of the "set/show interactive-mode"
1470 commands, moved to inflow.c.
1471
44603653
JB
14722011-01-19 Joel Brobecker <brobecker@adacore.com>
1473
1474 * NEWS: Add entry for native ia64-hpux support.
1475
4694da01
TT
14762011-01-19 Tom Tromey <tromey@redhat.com>
1477
1478 PR mi/8618:
1479 * thread.c (free_thread): Free 'name'.
1480 (print_thread_info): Emit thread name. Change CLI output.
1481 (thread_name_command): New function.
1482 (do_captured_thread_select): Emit newline.
1483 (_initialize_thread): Register 'thread name' command.
1484 * target.h (struct target_ops) <to_thread_name>: New field.
1485 (target_thread_name): New macro.
1486 * target.c (update_current_target): Handle to_thread_name.
1487 * python/py-infthread.c (thpy_get_name): New function.
1488 (thpy_set_name): Likewise.
1489 (thread_object_getset): Add "name".
1490 * linux-nat.c (linux_nat_thread_name): New function.
1491 (linux_nat_add_target): Set to_thread_name.
1492 * gdbthread.h (struct thread_info) <name>: New field.
1493
10d44370
JB
14942011-01-18 Joel Brobecker <brobecker@adacore.com>
1495
1496 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
1497 (ada_val_print_1): Likewise.
1498
e3acb115
JB
14992011-01-18 Joel Brobecker <brobecker@adacore.com>
1500
1501 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
1502 upper limit address is not greater than the function end address
1503 when the upper limit could not be computed using the debugging
1504 info.
1505
dc92e161
TT
15062011-01-17 Tom Tromey <tromey@redhat.com>
1507
1508 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
1509 get_regcomp_error.
1510 * utils.c: Include gdb_regex.h.
1511 (do_regfree_cleanup): New function.
1512 (make_regfree_cleanup): Likewise.
1513 (get_regcomp_error): Likewise.
1514 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
1515
f55af66d
TT
15162011-01-17 Tom Tromey <tromey@redhat.com>
1517
1518 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
1519 re_compile_fastmap.
1520
a5a44b53
PM
15212011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
1522
1523 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
1524 for internal variables.
1525 (last_was_structop): New static variable.
1526 (COMPLETE): New token.
1527 (field_exp): New rule to group all '.' suffix handling.
1528 Add mark_struct_expression calls when approriate to be able
1529 to correctly find fields for completion.
1530 (yylex): Adapt to handle field completion and set INTVAR when
1531 required.
1532
2c291032
YQ
15332011-01-14 Yao Qi <yao@codesourcery.com>
1534
1535 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
1536 save_reggroup, restore_reggroup and all_reggroup.
1537
447b483c
JB
15382011-01-14 Joel Brobecker <brobecker@adacore.com>
1539
1540 * ada-valprint. (ada_printchar): Use the correct type length
1541 in call to ada_emit_char.
1542 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
1543
7b64a93b
PM
15442011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
1545
1546 * solib-som.h (hpux_major_release): Declare variable here.
1547 * solib-som.c: Remove <sys/utsname.h> header.
1548 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
1549 (hpux_major_release): Make global, change default value to
1550 DEFAULT_HPUX_MAJOR_RELEASE.
1551 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
1552 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
1553 Add "solib-som.h" header.
1554 (set_hpux_major_release): New function.
1555 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
1556
4e18c053
MF
15572011-01-14 Mike Frysinger <vapier@gentoo.org>
1558
1559 * configure.tgt (*-*-uclinux*): Match more Linux os targets
1560
a9df6b22
JB
15612011-01-14 Joel Brobecker <brobecker@adacore.com>
1562
1563 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
1564 new-line at end of warning message.
1565 (ia64_hpux_store_register): Remove trailing new-line at end of
1566 error message.
1567 * ia64-hpux-tdep.c: Rephrase comment.
1568 * solib-ia64-hpux.c (struct dld_info): Change type of field
1569 dld_flags from "long long" to ULONGEST.
1570
ecb956dd
PA
15712011-01-14 Pedro Alves <pedro@codesourcery.com>
1572
1573 * target.h (deprecated_child_ops): Delete declaration.
1574 * target.c (deprecated_child_ops): Delete definition.
1575
76adfcae
PA
15762011-01-14 Pedro Alves <pedro@codesourcery.com>
1577
1578 * Makefile.in (hpux-thread.o): Delete rule.
1579 * configure.ac: Don't check for HPUX DCE threads support.
1580 * configure, config.in: Regenerate.
1581 * hppa-hpux-nat.c (child_suppress_run): Delete.
1582 (hppa_hpux_child_can_run): Delete.
1583 (_initialize_hppa_hpux_nat): Don't override to_can_run.
1584 * hpux-thread.c: Delete.
1585
042e866e
JB
15862011-01-13 Joel Brobecker <brobecker@adacore.com>
1587
1588 * hpux-thread.c (hpux_pid_to_str): Delete.
1589
4ffa5a33
JB
15902011-01-13 Joel Brobecker <brobecker@adacore.com>
1591
1592 * ada-valprint.c (ada_emit_char): Remove strange code.
1593 Check that c is <= UCHAR_MAX before passing it to isascii.
1594 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
1595
de8fa76c
JB
15962011-01-13 Joel Brobecker <brobecker@adacore.com>
1597
1598 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
1599 to the case where instream is stdin.
1600
c4de7027
JB
16012011-01-13 Joel Brobecker <brobecker@adacore.com>
1602
1603 * ia64-tdep.h (struct regcache): Forward declare.
1604 (struct ia64_infcall_ops): New struct type.
1605 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
1606 and "infcall_ops".
1607 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
1608 Renames ia64_find_global_pointer.
1609 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
1610 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
1611 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
1612 methods.
1613 (ia64_infcall_ops): New static global constant.
1614 (ia64_gdbarch_init): Set tdep->infcall_ops.
1615 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
1616 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
1617 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
1618 (ia64_hpux_dummy_code): New static global constant.
1619 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
1620 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
1621 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
1622 New function.
1623 (ia64_hpux_infcall_ops): New static global constant.
1624 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
1625 for inferior function calls to work properly on ia64-hpux.
1626
77ca787b
JB
16272011-01-13 Joel Brobecker <brobecker@adacore.com>
1628
1629 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
1630 * ia64-tdep.h (struct frame_info): forward declaration.
1631 (struct gdbarch_tdep): Add field size_of_register_frame.
1632 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
1633 to determine the size of the register frame.
1634 (ia64_size_of_register_frame): New function.
1635 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
1636 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
1637 (IA64_HPUX_UREG_REASON): New macro.
1638 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
1639 New functions.
1640 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
1641 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
1642 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
1643 objects.
1644
92c9a463
JB
16452011-01-13 Joel Brobecker <brobecker@adacore.com>
1646
1647 Add support for ia64-hpux.
1648 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
1649 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
1650
1651 * configure.host: Add handling for ia64-hpux hosts. Add associated
1652 floatformats.
1653 * configure.tgt: Add handling for ia64-hpux targets.
1654 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
1655 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
1656 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
1657
f688d93f
JB
16582011-01-13 Joel Brobecker <brobecker@adacore.com>
1659
1660 [ttrace] Compute thread list immediately after attach.
1661 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
1662 New subprogram.
1663 (inf_ttrace_attach): Use it.
1664
1b89e62f
JB
16652011-01-13 Joel Brobecker <brobecker@adacore.com>
1666
1667 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
1668 if we could not determine the frame's function address. Instead,
1669 use the frame's PC, and then continue.
1670
3e5e6e2a
JB
16712011-01-13 Joel Brobecker <brobecker@adacore.com>
1672
1673 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
1674 not already defined.
1675
825d6d8a
JB
16762011-01-13 Joel Brobecker <brobecker@adacore.com>
1677
1678 * ia64-tdep.c (ia64_struct_type_p): New function.
1679 (ia64_extract_return_value): Handle integral values that are
1680 less than 8 bytes long.
1681 (ia64_push_dummy_call): Likewise.
1682
7458e667
JB
16832011-01-13 Joel Brobecker <brobecker@adacore.com>
1684
1685 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
1686 floatformat_ia64_ext.
1687 (floatformat_ia64_ext_big): New static const.
1688 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
1689
1b05df00
TT
16902011-01-12 Tom Tromey <tromey@redhat.com>
1691
1692 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
1693 messages.
1694 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
1695 (mi_cmd_thread_list_ids): Likewise.
1696 (mi_cmd_data_list_changed_registers): Likewise.
1697 (mi_cmd_data_list_register_values): Likewise.
1698 (mi_cmd_data_write_register_values): Likewise.
1699 (mi_cmd_data_evaluate_expression): Likewise.
1700 (mi_cmd_data_read_memory): Likewise.
1701 (mi_cmd_data_read_memory_bytes): Likewise.
1702 (mi_cmd_data_write_memory): Likewise.
1703 (mi_cmd_enable_timings): Likewise.
1704 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
1705 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
1706 (mi_cmd_var_delete): Likewise.
1707 (mi_cmd_var_set_format): Likewise.
1708 (mi_cmd_var_show_format): Likewise.
1709 (mi_cmd_var_info_num_children): Likewise.
1710 (mi_cmd_var_list_children): Likewise.
1711 (mi_cmd_var_info_type): Likewise.
1712 (mi_cmd_var_info_expression): Likewise.
1713 (mi_cmd_var_show_attributes): Likewise.
1714 (mi_cmd_var_assign): Likewise.
1715 (mi_cmd_var_update): Likewise.
1716 (mi_cmd_enable_pretty_printing): Likewise.
1717 (mi_cmd_var_set_update_range): Likewise.
1718 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
1719 messages.
1720 (mi_cmd_target_file_put): Likewise.
1721 (mi_cmd_target_file_delete): Likewise.
1722 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
1723 messages.
1724 (mi_cmd_stack_info_depth): Likewise.
1725 (mi_cmd_stack_list_locals): Likewise.
1726 (mi_cmd_stack_list_args): Likewise.
1727 (mi_cmd_stack_select_frame): Likewise.
1728 (mi_cmd_stack_select_frame): Likewise.
1729 (mi_cmd_stack_info_frame): Likewise.
1730 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
1731 messages.
1732 (mi_cmd_file_list_exec_source_files): Likewise.
1733 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
1734 (mi_cmd_env_cd): Likewise.
1735 (mi_cmd_env_path): Likewise.
1736 (mi_cmd_env_dir): Likewise.
1737 (mi_cmd_inferior_tty_show): Likewise.
1738 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
1739 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
1740 (mi_cmd_break_watch): Likewise.
1741
ad422571
TJB
17422011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
1743
1744 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
1745 (ppc_linux_insert_hw_breakpoint): Likewise.
1746 (ppc_linux_remove_hw_breakpoint): Likewise.
1747 (ppc_linux_insert_watchpoint): Likewise.
1748
c2ff108b
JK
17492011-01-12 Andrew Burgess <aburgess@broadcom.com>
1750 Jan Kratochvil <jan.kratochvil@redhat.com>
1751
1752 PR fortran/11104 and DWARF unbound arrays detection.
1753 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
1754 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
1755 unspecified upper bound.
1756 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
1757 variables array_size_array, tmp_type and offset_item. New variable
1758 array. Remove call to f77_get_upperbound. New variables array_type
1759 and index. Call value_subscripted_rvalue for each dimenasion. Remove
1760 the final call to deprecated_set_value_type.
1761
41e8491f
JK
17622011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1763
1764 Make value allocations more lazy.
1765 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
1766 instead of allocate_value and set_value_lazy when possible.
1767 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
1768 instead of allocate_value and set_value_lazy.
1769 * findvar.c (value_of_register_lazy): Likewise.
1770 (read_var_value): Remove V preallocation, call just check_typedef in
1771 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
1772 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
1773 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
1774 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
1775 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
1776 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
1777 the end, remove set_value_lazy there.
1778 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
1779 instead of allocate_value and set_value_lazy when possible.
1780 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
1781 * value.c (allocate_computed_value): Use allocate_value_lazy instead
1782 of allocate_value and set_value_lazy.
1783 (value_from_contents_and_address): Use allocate_value_lazy instead of
1784 allocate_value and set_value_lazy when possible.
1785
b716877b
AB
17862011-01-12 Andrew Burgess <aburgess@broadcom.com>
1787
1788 * disasm.c (dump_insns): Support dumping opcodes for MI.
1789 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
1790 dumping of instruction opcodes.
1791
d5ae309f
JB
17922011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
1793
1794 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
1795 appropiately.
1796
98871305
TT
17972011-01-11 Tom Tromey <tromey@redhat.com>
1798
1799 * thread.c (do_captured_thread_select): Emit newline before
1800 printing frame.
1801
c378eb4e
MS
18022011-01-11 Michael Snyder <msnyder@vmware.com>
1803
1804 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
1805 * score-tdep.c: Ditto.
1806 * score-tdep.h: Ditto.
1807 * ser-base.c: Ditto.
1808 * ser-go32.c: Ditto.
1809 * serial.c: Ditto.
1810 * serial.h: Ditto.
1811 * ser-mingw.c: Ditto.
1812 * ser-pipe.c: Ditto.
1813 * ser-tcp.c: Ditto.
1814 * ser-unix.c: Ditto.
1815 * sh64-tdep.c: Ditto.
1816 * shnbsd-nat.c: Ditto.
1817 * sh-tdep.c: Ditto.
1818 * sh-tdep.h: Ditto.
1819 * solib.c: Ditto.
1820 * solib-darwin.c: Ditto.
1821 * solib-frv.c: Ditto.
1822 * solib.h: Ditto.
1823 * solib-irix.c: Ditto.
1824 * solib-osf.c: Ditto.
1825 * solib-pa64.c: Ditto.
1826 * solib-som.c: Ditto.
1827 * solib-spu.c: Ditto.
1828 * solib-sunos.c: Ditto.
1829 * solib-svr4.c: Ditto.
1830 * solist.h: Ditto.
1831 * sol-thread.c: Ditto.
1832 * somread.c: Ditto.
1833 * source.c: Ditto.
1834 * source.h: Ditto.
1835 * sparc64-linux-tdep.c: Ditto.
1836 * sparc64-tdep.c: Ditto.
1837 * sparc-linux-nat.c: Ditto.
1838 * sparc-linux-tdep.c: Ditto.
1839 * sparc-sol2-nat.c: Ditto.
1840 * sparc-sol2-tdep.c: Ditto.
1841 * sparc-tdep.c: Ditto.
1842 * sparc-tdep.h: Ditto.
1843 * spu-tdep.c: Ditto.
1844 * stabsread.c: Ditto.
1845 * stabsread.h: Ditto.
1846 * stack.c: Ditto.
1847 * symfile.c: Ditto.
1848 * symfile.h: Ditto.
1849 * symmisc.c: Ditto.
1850 * symtab.c: Ditto.
1851 * symtab.h: Ditto.
1852 * target.c: Ditto.
1853 * target-descriptions.c: Ditto.
1854 * target-descriptions.h: Ditto.
1855 * target.h: Ditto.
1856 * target-memory.c: Ditto.
1857 * terminal.h: Ditto.
1858 * thread.c: Ditto.
1859 * top.c: Ditto.
1860 * tracepoint.c: Ditto.
1861 * tracepoint.h: Ditto.
1862 * trad-frame.h: Ditto.
1863 * typeprint.c: Ditto.
1864
581e13c1
MS
18652011-01-11 Michael Snyder <msnyder@vmware.com>
1866
1867 * ui-file.c: Comment cleanup, mostly periods and spaces.
1868 * ui-file.h: Ditto.
1869 * ui-out.c: Ditto.
1870 * ui-out.h: Ditto.
1871 * utils.c: Ditto.
1872 * v850-tdep.c: Ditto.
1873 * valarith.c: Ditto.
1874 * valops.c: Ditto.
1875 * valprint.c: Ditto.
1876 * valprint.h: Ditto.
1877 * value.c: Ditto.
1878 * value.h: Ditto.
1879 * varobj.c: Ditto.
1880 * varobj.h: Ditto.
1881 * vax-tdep.c: Ditto.
1882 * vec.c: Ditto.
1883 * vec.h: Ditto.
1884 * version.h: Ditto.
1885 * windows-nat.c: Ditto.
1886 * windows-tdep.c: Ditto.
1887 * xcoffread.c: Ditto.
1888 * xcoffsolib.c: Ditto.
1889 * xml-support.c: Ditto.
1890 * xstormy16-tdep.c: Ditto.
1891 * xtensa-tdep.c: Ditto.
1892 * xtensa-tdep.h: Ditto.
1893
90e4670f
TJB
18942011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1895
1896 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
1897 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
1898
e09342b5
TJB
18992011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
1900 Thiago Jung Bauermann <bauerman@br.ibm.com>
1901
1902 Implement support for PowerPC BookE ranged watchpoints.
1903 * breakpoint.h
1904 (struct breakpoint_ops) <resources_needed>: New method.
1905 Initialize to NULL in all existing breakpoint_ops instances.
1906 (struct breakpoint) <exact>: New field.
1907 (target_exact_watchpoints): Declare external global.
1908 * breakpoint.c (target_exact_watchpoints): New global flag.
1909 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
1910 b->enable_state to bp_enabled before calling
1911 hw_watchpoint_used_count.
1912 (hw_watchpoint_used_count): Iterate over all bp_locations in a
1913 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
1914 if available.
1915 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
1916 if the watchpoint is exact.
1917 (resources_needed_watchpoint): New function.
1918 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
1919 (watch_command_1): Set b->exact if the user asked for an exact
1920 watchpoint and one can be set.
1921 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
1922 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
1923 the user asks for an exact watchpoint and one can be set. Return
1924 number of needed debug registers to watch the expression.
1925 * gdbtypes.c (is_scalar_type): New function, based on
1926 valprint.c:scalar_type_p.
1927 (is_scalar_type_recursive): New function.
1928 * gdbtypes.h (is_scalar_type_recursive): Declare.
1929 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
1930 handle regions when ranged watchpoints are available.
1931 (create_watchpoint_request): New function.
1932 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
1933 create_watchpoint_request.
1934 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
1935 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
1936 `set powerpc' and `show powerpc' commands.
1937 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1938 Mention documentation comment in the target macro.
1939 (target_region_ok_for_hw_watchpoint): Document return value.
1940
9fa40276
TJB
19412011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1942
1943 * breakpoint.c (update_watchpoint): Decide on using a software or
1944 hardware watchpoint after the bp_locations are created.
1945
77b06cd7
TJB
19462010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1947
1948 Convert hardware watchpoints to use breakpoint_ops.
1949 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
1950 <insert_location>: ... this. Return int instead of void.
1951 Accept pointer to struct bp_location instead of pointer to
1952 struct breakpoint. Adapt all implementations.
1953 (breakpoint_ops) <remove>: Rename to...
1954 <remove_location>: ... this. Accept pointer to struct bp_location
1955 instead of pointer to struct breakpoint. Adapt all implementations.
1956 * breakpoint.c (insert_catchpoint): Delete function.
1957 (insert_bp_location): Call the watchpoint or catchpoint's
1958 breakpoint_ops.insert method.
1959 (remove_breakpoint_1): Call the watchpoint or catchpoint's
1960 breakpoint_ops.remove method.
1961 (insert_watchpoint, remove_watchpoint): New functions.
1962 (watchpoint_breakpoint_ops): New structure.
1963 (watch_command_1): Initialize the OPS field.
1964 * inf-child.c (inf_child_insert_fork_catchpoint)
1965 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
1966 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
1967 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
1968 Delete functions.
1969 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
1970 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
1971 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
1972 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
1973 * target.c (update_current_target): Change default implementation of
1974 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
1975 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1976 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
1977 to_set_syscall_catchpoint to return_one.
1978 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
1979 (debug_to_insert_exec_catchpoint): Report return value.
1980 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
1981 (to_insert_exec_catchpoint): Change declaration to return int instead
1982 of void.
1983
9b20d036
MS
19842011-01-11 Michael Snyder <msnyder@vmware.com>
1985
1986 * arm-tdep.c: Internationalization.
1987 * c-lang.c: Ditto.
1988 * charset.c: Ditto.
1989 * fork-child.c: Ditto.
1990 * nto-procfs.c: Ditto.
1991 * ppc-sysv-tdep.c: Ditto.
1992 * procfs.c: Ditto.
1993 * remote-mips.c: Ditto.
1994 * remote.c: Ditto.
1995 * rs6000-nat.c: Ditto.
1996 * rs6000-tdep.c: Ditto.
1997 * target.c: Ditto.
1998 * valops.c: Ditto.
1999 * value.c: Ditto.
2000 * xml-support.c: Ditto.
2001 * mi/mi-cmd-break.c: Ditto.
2002 * mi/mi-cmd-var.c: Ditto.
2003 * mi/mi-interp.c: Ditto.
2004 * mi/mi-main.c: Ditto.
2005
dae477fe
AB
20062011-01-11 Andrew Burgess <aburgess@broadcom.com>
2007
2008 * remote-sim.c (gdbsim_store_register): Update API to
2009 sim_store_register to check more error conditions.
2010
0df8b418
MS
20112011-01-10 Michael Snyder <msnyder@vmware.com>
2012
2013 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
2014 * nto-tdep.c: Ditto.
2015 * nto-tdep.h: Ditto.
2016 * objc-exp.y: Ditto.
2017 * objc-lang.c: Ditto.
2018 * objfiles.c: Ditto.
2019 * objfiles.h: Ditto.
2020 * observer.c: Ditto.
2021 * opencl-lang.c: Ditto.
2022 * osabi.c: Ditto.
2023 * parse.c: Ditto.
2024 * parser-defs.h: Ditto.
2025 * p-exp.y: Ditto.
2026 * p-lang.c: Ditto.
2027 * posix-hdep.c: Ditto.
2028 * ppcbug-rom.c: Ditto.
2029 * ppc-linux-nat.c: Ditto.
2030 * ppc-linux-tdep.c: Ditto.
2031 * ppc-linux-tdep.h: Ditto.
2032 * ppcnbsd-tdep.c: Ditto.
2033 * ppcobsd-tdep.c: Ditto.
2034 * ppcobsd-tdep.h: Ditto.
2035 * ppc-sysv-tdep.c: Ditto.
2036 * ppc-tdep.h: Ditto.
2037 * printcmd.c: Ditto.
2038 * proc-abi.c: Ditto.
2039 * proc-flags.c: Ditto.
2040 * procfs.c: Ditto.
2041 * proc-utils.h: Ditto.
2042 * progspace.h: Ditto.
2043 * prologue-value.c: Ditto.
2044 * prologue-value.h: Ditto.
2045 * psympriv.h: Ditto.
2046 * psymtab.c: Ditto.
2047 * p-typeprint.c: Ditto.
2048 * p-valprint.c: Ditto.
2049 * ravenscar-sparc-thread.c: Ditto.
2050 * ravenscar-thread.c: Ditto.
2051 * ravenscar-thread.h: Ditto.
2052 * record.c: Ditto.
2053 * regcache.c: Ditto.
2054 * regcache.h: Ditto.
2055 * remote.c: Ditto.
2056 * remote-fileio.c: Ditto.
2057 * remote-fileio.h: Ditto.
2058 * remote.h: Ditto.
2059 * remote-m32r-sdi.c: Ditto.
2060 * remote-mips.c: Ditto.
2061 * remote-sim.c: Ditto.
2062 * rs6000-aix-tdep.c: Ditto.
2063 * rs6000-nat.c: Ditto.
2064 * rs6000-tdep.c: Ditto.
2065
0d7a18f7
MS
20662011-01-10 Michael Snyder <msnyder@vmware.com>
2067
2068 * charset.c (validate): Internationalization.
2069 * coffread.c (read_one_sym): Ditto.
2070 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
2071 * h8300-tdep.c (H8300_extract_return_value): Ditto.
2072 * inflow.c (new_tty): Ditto.
2073 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
2074 * m32c-tdep.c (m32c_return_value): Ditto.
2075 * mep-tdep.c (mep_store_return_value): Ditto.
2076 * score-tdep.c (score7_fetch_insn): Ditto.
2077 * ser-mingw.c (pipe_windows_open): Ditto.
2078 * sh64-tdep.c (sh64_extract_return_value): Ditto.
2079 * spu-tdep.c (spu_register_type): Ditto.
2080 * tracepoint.c (trace_find_command): Ditto.
2081 * valarith.c (value_pos): Ditto.
2082
9a153e0b
JB
20832011-01-10 Joel Brobecker <brobecker@adacore.com>
2084
2085 * ada-valprint.c (printstr): Minor comment reformatting.
2086
35ecd2d6
MS
20872011-01-08 Michael Snyder <msnyder@vmware.com>
2088
2089 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
2090 markup.
2091
1777feb0
MS
20922011-01-08 Michael Snyder <msnyder@vmware.com>
2093
2094 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
2095 * hppa-hpux-tdep.c: Ditto.
2096 * hppa-linux-nat.c: Ditto.
2097 * hppa-linux-tdep.c: Ditto.
2098 * hppanbsd-tdep.c: Ditto.
2099 * hppa-tdep.c: Ditto.
2100 * hppa-tdep.h: Ditto.
2101 * hpux-thread.c: Ditto.
2102 * i386-cygwin-tdep.c: Ditto.
2103 * i386-darwin-nat.c: Ditto.
2104 * i386gnu-nat.c: Ditto.
2105 * i386-linux-nat.c: Ditto.
2106 * i386-linux-tdep.c: Ditto.
2107 * i386-nat.c: Ditto.
2108 * i386-nat.h: Ditto.
2109 * i386nbsd-tdep.c: Ditto.
2110 * i386-sol2-nat.c: Ditto.
2111 * i386-stub.c: Ditto.
2112 * i386-tdep.c: Ditto.
2113 * i386-tdep.h: Ditto.
2114 * i387-tdep.c: Ditto.
2115 * ia64-linux-nat.c: Ditto.
2116 * ia64-linux-tdep.c: Ditto.
2117 * ia64-tdep.c: Ditto.
2118 * infcall.c: Ditto.
2119 * infcall.h: Ditto.
2120 * infcmd.c: Ditto.
2121 * inferior.c: Ditto.
2122 * inferior.h: Ditto.
2123 * infloop.c: Ditto.
2124 * inflow.c: Ditto.
2125 * infrun.c: Ditto.
2126 * interps.c: Ditto.
2127 * interps.h: Ditto.
2128 * iq2000-tdep.c: Ditto.
2129 * irix5-nat.c: Ditto.
2130 * jit.c: Ditto.
2131 * jit.h: Ditto.
2132 * jv-exp.y: Ditto.
2133 * jv-lang.c: Ditto.
2134 * jv-lang.h: Ditto.
2135 * jv-typeprint.c: Ditto.
2136 * jv-valprint.c: Ditto.
2137 * language.c: Ditto.
2138 * language.h: Ditto.
2139 * linespec.c: Ditto.
2140 * linux-fork.c: Ditto.
2141 * linux-nat.c: Ditto.
2142 * linux-thread-db.c: Ditto.
2143 * lm32-tdep.c: Ditto.
2144
025bb325
MS
21452011-01-08 Michael Snyder <msnyder@vmware.com>
2146
2147 * m2-exp.y: Comment cleanup, mostly periods and spaces.
2148 * m2-lang.c: Ditto.
2149 * m2-typeprint.c: Ditto.
2150 * m2-valprint.c: Ditto.
2151 * m32c-tdep.c: Ditto.
2152 * m32r-linux-nat.c: Ditto.
2153 * m32r-rom.c: Ditto.
2154 * m32r-tdep.c: Ditto.
2155 * m32r-tdep.h: Ditto.
2156 * m68hc11-tdep.c: Ditto.
2157 * m58klinux-nat.c: Ditto.
2158 * m68k-tdep.c: Ditto.
2159 * m88k-tdep.c: Ditto.
2160 * m88k-tdep.h: Ditto.
2161 * machoread.c: Ditto.
2162 * macrocmd.c: Ditto.
2163 * macroexp.c: Ditto.
2164 * macrotab.c: Ditto.
2165 * main.c: Ditto.
2166 * maint.c: Ditto.
2167 * mdebugread.c: Ditto.
2168 * mdebugread.h: Ditto.
2169 * memattr.c: Ditto.
2170 * memattr.h: Ditto.
2171 * memory-map.h: Ditto.
2172 * mep-tdep.c: Ditto.
2173 * microblaze-rom.c: Ditto.
2174 * microblaze-tdep.c: Ditto.
2175 * minsyms.c: Ditto.
2176 * mips-irix-tdep.c: Ditto.
2177 * mips-linux-nat.c: Ditto.
2178 * mips-linux-tdep.c: Ditto.
2179 * mips-linux-tdep.h: Ditto.
2180 * mipsnbsd-nat.c: Ditto.
2181 * mipsnbsd-tdep.c: Ditto.
2182 * mipsread.c: Ditto.
2183 * mips-tdep.c: Ditto.
2184 * mips-tdep.h: Ditto.
2185 * mn10300-linux-tdep.c: Ditto.
2186 * mn10300-tdep.c: Ditto.
2187 * mn10300-tdep.h: Ditto.
2188 * monitor.c: Ditto.
2189 * monitor.h: Ditto.
2190 * moxie-tdep.c: Ditto.
2191 * moxie-tdep.h: Ditto.
2192 * mt-tdep.c: Ditto.
2193
1642781b
MF
21942011-01-08 Mike Frysinger <vapier@gentoo.org>
2195
2196 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
2197
394b0adb
JB
21982011-01-08 Robert Millan <rmh@gnu.org>
2199
2200 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
2201
b670013c
MS
22022011-01-07 Michael Snyder <msnyder@vmware.com>
2203
2204 * charset.c (_initialize_charset): Fix typo in string.
2205
a743e542
MS
22062011-01-07 Michael Snyder <msnyder@vmware.com>
2207
2208 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
2209 for i18n.
2210 * tui/tui-layout.c (tui_set_layout_for_display_command):
2211 Split line so that operator goes to beginning of line.
2212 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
2213 assignment out of if statement.
2214
0963b4bd
MS
22152011-01-07 Michael Snyder <msnyder@vmware.com>
2216
2217 * ada-lang.c: Comment cleanup, mostly periods and spaces.
2218 * ada-lang.h: Ditto.
2219 * ada-tasks.c: Ditto.
2220 * ada-valprint.c: Ditto.
2221 * aix-threads.c: Ditto.
2222 * alpha-linux-nat.c: Ditto.
2223 * alpha-linux-tdep.c: Ditto.
2224 * alpha-mdebug-tdep.c: Ditto.
2225 * alpha-nat.c: Ditto.
2226 * alpha-osf1-tdep.c: Ditto.
2227 * alpha-tdep.c: Ditto.
2228 * alphabsd-nat.c: Ditto.
2229 * alphabsd-tdep.c: Ditto.
2230 * amd64-darwin-tdep.c: Ditto.
2231 * amd64-linux-nat.c: Ditto.
2232 * amd64-linux-tdep.c: Ditto.
2233 * amd64-sol2-tdep.c: Ditto.
2234 * amd64-tdep.c: Ditto.
2235 * amd64-fbsd-tdep.c: Ditto.
2236 * amd64-nbsd-tdep.c: Ditto.
2237 * amd64-obsd-tdep.c: Ditto.
2238 * amd64-linux-nat.c: Ditto.
2239 * amd64-linux-tdep.c: Ditto.
2240 * arm-tdep.c: Ditto.
2241 * arm-tdep.h: Ditto.
2242 * armnbsd-nat.c: Ditto.
2243 * avr-tdep.c: Ditto.
2244 * bfin-tdep.c: Ditto.
2245 * bsd-kvm.c: Ditto.
2246 * c-typeprintc: Ditto.
2247 * c-valprint.c: Ditto.
2248 * coff-pe-read.h: Ditto.
2249 * coffreead.c: Ditto.
2250 * cris-tdep.c: Ditto.
2251 * d-lang.c: Ditto.
2252 * darwin-nat-info.c: Ditto.
2253 * darwin-nat.c: Ditto.
2254 * dbug-rom.c: Ditto.
2255 * dbxread.c: Ditto.
2256 * dcache.c: Ditto.
2257 * dcache.h: Ditto.
2258 * dec-thread.c: Ditto.
2259 * defs.h: Ditto.
2260 * demangle.c: Ditto.
2261 * dicos-tdep.c: Ditto.
2262 * dictionary.c: Ditto.
2263 * dictionary.h: Ditto.
2264 * dink32-rom.c: Ditto.
2265 * disasm.c: Ditto.
2266 * doublest.c: Ditto.
2267 * dsrec.c: Ditto.
2268 * dummy-frame.c: Ditto.
2269 * dwarf2-frame.c: Ditto.
2270 * dwarf2expr.c: Ditto.
2271 * dwarf2loc.c: Ditto.
2272 * dwarf2read.c: Ditto.
2273 * elfread.c: Ditto.
2274 * environ.c: Ditto.
2275 * eval.c: Ditto.
2276 * event-top.h: Ditto.
2277 * exceptions.c: Ditto.
2278 * exceptions.h: Ditto.
2279 * exec.c: Ditto.
2280 * expprint.c: Ditto.
2281 * expression.h: Ditto.
2282 * f-exp.y: Ditto.
2283 * f-lang.c: Ditto.
2284 * f-lang.h: Ditto.
2285 * f-typeprint.c: Ditto.
2286 * f-valprint.c: Ditto.
2287 * fbsd-nat.c: Ditto.
2288 * findvar.c: Ditto.
2289 * fork-child.c: Ditto.
2290 * frame.c: Ditto.
2291 * frame.h: Ditto.
2292 * frv-linux-tdep.c: Ditto.
2293 * frv-tdep.c: Ditto.
2294 * gcore.c: Ditto.
2295 * gdb-stabs.h: Ditto.
2296 * gdb_assert.h: Ditto.
2297 * gdb_string.h: Ditto.
2298 * gdb_thread_db.h: Ditto.
2299 * gdb_wait.h: Ditto.
2300 * gdbarch.sh: Ditto.
2301 * gdbcore.h: Ditto.
2302 * gdbthread.h: Ditto.
2303 * gdbtypes.c: Ditto.
2304 * gdbtypes.h: Ditto.
2305 * gnu-nat.c: Ditto.
2306 * gnu-nat.h: Ditto.
2307 * gnu-v2-abi.c: Ditto.
2308 * gnu-v3-abi.c: Ditto.
2309 * go32-nat.c: Ditto.
2310 * gdbarch.c: Regenerate.
2311 * gdbarch.h: Regenerate.
2312
ac74f770
MS
23132011-01-07 Michael Snyder <msnyder@vmware.com>
2314
2315 * ax-gdb.c: Adjust some long output strings.
2316 * breakpoint.c: Ditto.
2317 * charset.c: Ditto.
2318 * cp-abi.c: Ditto.
2319 * infcall.c: Ditto.
2320 * infrun.c: Ditto.
2321 * linux-nat.c: Ditto.
2322 * solib-pa64.c: Ditto.
2323 * solib-som.c: Ditto.
2324
d8e22779
TT
23252011-01-06 Tom Tromey <tromey@redhat.com>
2326
2327 PR python/12367:
2328 * NEWS: Add item.
2329 * python/python.c (GdbMethods): Add "newest_frame" method.
2330 * python/python-internal.h (gdbpy_newest_frame): Declare.
2331 * python/py-frame.c (gdbpy_newest_frame): New function.
2332
a255712f
PP
23332010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2334
2335 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
2336 * jit.c (jit_debug): New variable.
2337 (show_jit_debug): New function.
2338 (struct target_buffer): Use ULONGEST.
2339 (bfd_open_from_target_memory): Likewise.
2340 (jit_register_code, jit_inferior_init): Add debug output.
2341 (_initialize_jit): Register "debug jit" command.
2342
ccfc3d6e
TT
23432011-01-06 Tom Tromey <tromey@redhat.com>
2344
2345 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
2346 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
2347 and ARCH_FRAME.
2348
57126e4a
TT
23492011-01-06 Tom Tromey <tromey@redhat.com>
2350
2351 * python/py-frame.c (frapy_block): Use get_frame_block.
2352
16dfc9ce
JB
23532011-01-06 Joel Brobecker <brobecker@adacore.com>
2354
2355 Do not stop on SIGPRIO signals by default
2356 * infrun.c (_initialize_infrun): Unset signal_stop and
2357 signal_print for TARGET_SIGNAL_PRIO.
2358
b1ce2347
JB
23592011-01-06 Joel Brobecker <brobecker@adacore.com>
2360
2361 * ada-tasks.c: Fix style violation in comment.
2362
8f7e195f
JB
23632011-01-06 Joel Brobecker <brobecker@adacore.com>
2364
2365 * linespec.c (decode_compound, find_method): Remove trailing \n
2366 at end of error string.
2367 * solib-irix.c (irix_current_sos): Likewise.
2368 * varobj.c (uninstall_variable): Likewise.
2369
e9bdf92c
JB
23702011-01-06 Joel Brobecker <brobecker@adacore.com>
2371
2372 * copyright.py: New script.
2373 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
2374 Launch emacs without exec'ing. Call copyright.py afterwards.
2375
3e43a32a
MS
23762011-01-05 Michael Snyder <msnyder@vmware.com>
2377
2378 * addrmap.c: Shorten lines of >= 80 columns.
2379 * arch-utils.c: Ditto.
2380 * arch-utils.h: Ditto.
2381 * ax-gdb.c: Ditto.
2382 * ax-general.c: Ditto.
2383 * bcache.c: Ditto.
2384 * blockframe.c: Ditto.
2385 * breakpoint.c: Ditto.
2386 * buildsym.c: Ditto.
2387 * c-lang.c: Ditto.
2388 * c-typeprint.c: Ditto.
2389 * charset.c: Ditto.
2390 * coffread.c: Ditto.
2391 * command.h: Ditto.
2392 * corelow.c: Ditto.
2393 * cp-abi.c: Ditto.
2394 * cp-namespace.c: Ditto.
2395 * cp-support.c: Ditto.
2396 * dbug-rom.c: Ditto.
2397 * dbxread.c: Ditto.
2398 * defs.h: Ditto.
2399 * dfp.c: Ditto.
2400 * dfp.h: Ditto.
2401 * dictionary.c: Ditto.
2402 * disasm.c: Ditto.
2403 * doublest.c: Ditto.
2404 * dwarf2-frame.c: Ditto.
2405 * dwarf2expr.c: Ditto.
2406 * dwarf2loc.c: Ditto.
2407 * dwarf2read.c: Ditto.
2408 * elfread.c: Ditto.
2409 * eval.c: Ditto.
2410 * event-loop.c: Ditto.
2411 * event-loop.h: Ditto.
2412 * exceptions.h: Ditto.
2413 * exec.c: Ditto.
2414 * expprint.c: Ditto.
2415 * expression.h: Ditto.
2416 * f-lang.c: Ditto.
2417 * f-valprint.c: Ditto.
2418 * findcmd.c: Ditto.
2419 * frame-base.c: Ditto.
2420 * frame-unwind.c: Ditto.
2421 * frame-unwind.h: Ditto.
2422 * frame.c: Ditto.
2423 * frame.h: Ditto.
2424 * gcore.c: Ditto.
2425 * gdb-stabs.h: Ditto.
2426 * gdb_assert.h: Ditto.
2427 * gdb_dirent.h: Ditto.
2428 * gdb_obstack.h: Ditto.
2429 * gdbcore.h: Ditto.
2430 * gdbtypes.c: Ditto.
2431 * gdbtypes.h: Ditto.
2432 * inf-ttrace.c: Ditto.
2433 * infcall.c: Ditto.
2434 * infcmd.c: Ditto.
2435 * inflow.c: Ditto.
2436 * infrun.c: Ditto.
2437 * inline-frame.h: Ditto.
2438 * language.c: Ditto.
2439 * language.h: Ditto.
2440 * libunwind-frame.c: Ditto.
2441 * libunwind-frame.h: Ditto.
2442 * linespec.c: Ditto.
2443 * linux-nat.c: Ditto.
2444 * linux-nat.h: Ditto.
2445 * linux-thread-db.c: Ditto.
2446 * machoread.c: Ditto.
2447 * macroexp.c: Ditto.
2448 * macrotab.c: Ditto.
2449 * main.c: Ditto.
2450 * maint.c: Ditto.
2451 * mdebugread.c: Ditto.
2452 * memattr.c: Ditto.
2453 * minsyms.c: Ditto.
2454 * monitor.c: Ditto.
2455 * monitor.h: Ditto.
2456 * objfiles.c: Ditto.
2457 * objfiles.h: Ditto.
2458 * osabi.c: Ditto.
2459 * p-typeprint.c: Ditto.
2460 * p-valprint.c: Ditto.
2461 * parse.c: Ditto.
2462 * printcmd.c: Ditto.
2463 * proc-events.c: Ditto.
2464 * procfs.c: Ditto.
2465 * progspace.c: Ditto.
2466 * progspace.h: Ditto.
2467 * psympriv.h: Ditto.
2468 * psymtab.c: Ditto.
2469 * record.c: Ditto.
2470 * regcache.c: Ditto.
2471 * regcache.h: Ditto.
2472 * remote-fileio.c: Ditto.
2473 * remote.c: Ditto.
2474 * ser-mingw.c: Ditto.
2475 * ser-tcp.c: Ditto.
2476 * ser-unix.c: Ditto.
2477 * serial.c: Ditto.
2478 * serial.h: Ditto.
2479 * solib-frv.c: Ditto.
2480 * solib-irix.c: Ditto.
2481 * solib-osf.c: Ditto.
2482 * solib-pa64.c: Ditto.
2483 * solib-som.c: Ditto.
2484 * solib-sunos.c: Ditto.
2485 * solib-svr4.c: Ditto.
2486 * solib-target.c: Ditto.
2487 * solib.c: Ditto.
2488 * somread.c: Ditto.
2489 * source.c: Ditto.
2490 * stabsread.c: Ditto.
2491 * stabsread.c: Ditto.
2492 * stack.c: Ditto.
2493 * stack.h: Ditto.
2494 * symfile-mem.c: Ditto.
2495 * symfile.c: Ditto.
2496 * symfile.h: Ditto.
2497 * symmisc.c: Ditto.
2498 * symtab.c: Ditto.
2499 * symtab.h: Ditto.
2500 * target-descriptions.c: Ditto.
2501 * target-memory.c: Ditto.
2502 * target.c: Ditto.
2503 * target.h: Ditto.
2504 * terminal.h: Ditto.
2505 * thread.c: Ditto.
2506 * top.c: Ditto.
2507 * tracepoint.c: Ditto.
2508 * tracepoint.h: Ditto.
2509 * ui-file.c: Ditto.
2510 * ui-file.h: Ditto.
2511 * ui-out.h: Ditto.
2512 * user-regs.c: Ditto.
2513 * user-regs.h: Ditto.
2514 * utils.c: Ditto.
2515 * valarith.c: Ditto.
2516 * valops.c: Ditto.
2517 * valprint.c: Ditto.
2518 * valprint.h: Ditto.
2519 * value.c: Ditto.
2520 * varobj.c: Ditto.
2521 * varobj.h: Ditto.
2522 * vec.h: Ditto.
2523 * xcoffread.c: Ditto.
2524 * xcoffsolib.c: Ditto.
2525 * xcoffsolib.h: Ditto.
2526 * xml-syscall.c: Ditto.
2527 * xml-tdesc.c: Ditto.
2528
9a2b4c1b
MS
25292011-01-05 Michael Snyder <msnyder@vmware.com>
2530
2531 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
2532 * cli/cli-decode.c: Ditto.
2533 * cli/cli-dump.c: Ditto.
2534 * cli/cli-logging.c: Ditto.
2535 * cli/cli-script.c: Ditto.
2536 * cli/cli-setshow.c: Ditto.
2537 * common/signals.c: Ditto.
2538 * mi/mi-cmd-break.c: Ditto.
2539 * mi/mi-cmd-disas.c: Ditto.
2540 * mi/mi-cmd-stack.c: Ditto.
2541 * mi/mi-cmd-var.c: Ditto.
2542 * mi/mi-cmds.c: Ditto.
2543 * mi/mi-common.h: Ditto.
2544 * mi/mi-console.c: Ditto.
2545 * mi/mi-interp.c: Ditto.
2546 * mi/mi-main.c: Ditto.
2547 * osf-share/cma_attr.c: Ditto.
2548 * osf-share/cma_deb_core.h: Ditto.
2549 * osf-share/cma_debug_client.h: Ditto.
2550 * osf-share/cma_handle.h: Ditto.
2551 * osf-share/cma_mutex.h: Ditto.
2552 * osf-share/cma_stack_int.h: Ditto.
2553 * osf-share/cma_tcb_defs.h: Ditto.
2554 * python/py-auto-load.c: Ditto.
2555 * python/py-breakpoint.c: Ditto.
2556 * python/py-cmd.c: Ditto.
2557 * python/py-frame.c: Ditto.
2558 * python/py-objfile.c: Ditto.
2559 * python/py-param.c: Ditto.
2560 * python/py-progspace.c: Ditto.
2561 * python/py-symbol.c: Ditto.
2562 * python/py-value.c: Ditto.
2563 * python/python-internal.h: Ditto.
2564 * python/python.c: Ditto.
2565 * tui/tui-data.c: Ditto.
2566 * tui/tui-disasm.c: Ditto.
2567 * tui/tui-hooks.c: Ditto.
2568 * tui/tui-io.c: Ditto.
2569 * tui/tui-layout.c: Ditto.
2570 * tui/tui-regs.c: Ditto.
2571 * tui/tui-source.c: Ditto.
2572 * tui/tui-stack.c: Ditto.
2573 * tui/tui-win.c: Ditto.
2574 * tui/tui-windata.c: Ditto.
2575 * tui/tui-winsource.c: Ditto.
2576
44944448
JB
25772011-01-05 Joel Brobecker <brobecker@adacore.com>
2578
2579 * configure.ac, gdb.1: Copyright year update.
2580
ebedcab5
JK
25812011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2582
2583 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
2584 this_pc_in_block, morestack_msym and morestack_name. Check for
2585 "__morestack" minimal symbol there.
2586
e5cc9f32
JB
25872011-01-03 Joel Brobecker <brobecker@adacore.com>
2588
2589 * symfile.c (find_sym_fns): Add call to dont_repeat.
2590
7b6bb8da
JB
25912011-01-01 Joel Brobecker <brobecker@adacore.com>
2592
2593 Copyright year update in most files (performed by copyright.sh).
2594
71ce852c
JB
25952011-01-01 Joel Brobecker <brobecker@adacore.com>
2596
2597 * top.c (print_gdb_version): Update copyright year in version output.
0e2de366 2598
c3c1ebe8 2599For older changes see ChangeLog-2010.
c906108c
SS
2600\f
2601Local Variables:
2602mode: change-log
2603left-margin: 8
2604fill-column: 74
2605version-control: never
57da7796 2606coding: utf-8
c906108c 2607End: