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