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