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