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