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