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