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