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