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