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