* target.h (struct target_ops): Remove to_notice_signals;
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
2455069d
UW
12011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
2
3 * target.h (struct target_ops): Remove to_notice_signals;
4 add to_pass_signals.
5 (target_notice_signals): Remove.
6 (target_pass_signals): Add prototype.
7 * target.c (update_current_target): Remove to_notice_signals;
8 mention to_pass_signals.
9 (target_pass_signals): New function.
10 (debug_to_notice_signals): Remove.
11 (setup_target_debug): Do not install debug_to_notice_signals.
12
13 * infrun.c (signal_pass): New global.
14 (resume): Call target_pass_signals.
15 (handle_inferior_event): Report all signals while stepping over
16 non-steppable watchpoint. Reset trap_expected to ensure breakpoints
17 are re-inserted when stepping over a signal handler.
18 (signal_cache_update): New function.
19 (signal_stop_update): Call it.
20 (signal_print_update): Likewise.
21 (signal_pass_update): Likewise.
22 (handle_command): Call signal_cache_update and target_pass_signals
23 instead of target_notice_signals.
24 (_initialize_infrun): Initialize signal_pass.
25
26 * linux-nat.c (pass_mask): New global.
27 (linux_nat_pass_signals): New function.
28 (linux_nat_create_inferior): Report all signals initially.
29 (linux_nat_attach): Likewise.
30 (linux_nat_resume): Use pass_mask to decide whether to directly
31 handle an inferior signal.
32 (linux_nat_wait_1): Likewise.
33 (linux_nat_add_target): Install to_pass_signals callback.
34
35 * nto-procfs.c (notice_signals): Remove.
36 (procfs_resume): Do not call notice_signals.
37 (procfs_notice_signals): Remove.
38 (procfs_pass_signals): New function.
39 (init_procfs_ops): Install to_pass_signals callback instead of
40 to_notice_signals callback.
41 (_initialize_procfs): Report all signals initially.
42
43 * procfs.c (procfs_notice_signals): Remove.
44 (procfs_pass_signals): New function.
45 (procfs_target): Install to_pass_signals callback instead of
46 to_notice_signals callback.
47 (register_gdb_signals): Remove.
48 (procfs_debug_inferior): Report all signals initially.
49 (procfs_init_inferior): Remove redundant register_gdb_signals call.
50
51 * remote.c (remote_pass_signals): Add numsigs and pass_signals
52 parameters; use them instead of calling signal_..._state routines.
53 (remote_notice_signals): Remove.
54 (remote_start_remote): Report all signals initially.
55 (remote_resume): Do not call remote_pass_signals.
56 (_initialize_remote): Install to_pass_signals callback instead of
57 to_notice_signals callback.
58
46c6471b
PA
592011-04-27 Pedro Alves <pedro@codesourcery.com>
60
61 * breakpoint.c (user_settable_breakpoint): Delete.
62 (user_breakpoint_p): Remove check on user_settable_breakpoint.
63 (delete_command): Check user_breakpoint_p instead of looking at
64 the breakpoint's type.
65 (disable_command): Ditto.
66 (enable_command): Ditto.
67 (delete_trace_command): Use user_breakpoint_p instead of looking
68 at the breakpoint number directly. When checking if there are
69 user visible tracepoints, in order to know whether to ask the user
70 for confirmation, check whether the breakpoint is actually a
71 tracepoint.
72
f6d90398
VP
732011-04-27 Vladimir Prus <vladimir@codesourcery.com>
74
75 * python/py-breakpoint.c (gdbpy_breakpoint_created): Fix
76 compilation.
77
8d3788bd
VP
782011-04-27 Vladimir Prus <vladimir@codesourcery.com>
79
80 MI breakpoint notifications.
81
82 * annotate.c (breakpoint_changed): Adjust parameter type.
83 * breakpoint.c (set_breakpoint_condition): Adjust to change
84 in breakpoint_modified type.
85 (breakpoint_set_commands): Likewise.
86 (do_map_commands_command): Likewise.
87 (bpstat_check_breakpoint_conditions): Notify that breakpoint has
88 changed after bumping hit count.
89 (bpstat_stop_status): Likewise.
90 (print_one_breakpoint_location): Don't wrap in tuple here.
91 (print_one_breakpoint): Always print individual locations.
92 For locations, use unnamed tuple.
93 (disable_breakpoints_in_unloaded_shlib): Notify that breakpoint
94 has changed.
95 (create_catchpoint, create_syscall_event_catchpoint): Call
96 breakpoint_created obsever.
97 (mention): Don't call breakpoint_created observer.
98 (create_breakpoint_sal): Call breakpoint_created observer.
99 (create_breakpoint, watch_command_1): Likewise.
100 (create_ada_exception_breakpoint): Likewise.
101 (delete_breakpoint): Call breakpoint_deleted breakpoint.
102 (locations_are_equal): New.
103 (update_breakpoint_locations): If locations were changed, notify.
104 (set_ignore_count, disable_breakpoint, do_enable_breakpoint):
105 Call breakpoint_modified observer.
106
107 * mi/mi-cmd-break.c (breakpoint_notify): Adjust.
108 (mi_cmd_break_insert): Don't set observers for modify and delete.
109 * mi/mi-interp.c (mi_suppress_breakpoint_notifications): New.
110 (mi_breakpoint_created, mi_breakpoint_deleted)
111 (mi_breakpoint_modified): New.
112 (mi_interpreter_init): Hook the above.
113 * mi/mi-main.c (mi_cmd_execute): Disable breakpoint notifications
114 while -break-* commands are executing.
115 * mi/mi-main.h (mi_suppress_breakpoint_notifications): New.
116 * mi/mi-out.c (struct ui_out_data): New field original_buffer.
117 (mi_redirect): New.
118 (mi_ui_out_impl): Hook in mi_redirect.
119 (mi_field_skip): True to the name, skip the field, don't output
120 a field with an empty value.
121
122 * python/py-breakpoint.c (gdbpy_breakpoint_created)
123 (gdbpy_breakpoint_deleted): Adjust.
124 * tui/tui-hooks.c (tui_event_create_breakpoint)
125 (tui_event_delete_breakpoint, tui_event_modify_breakpoint): Adjust.
126
a8f42b45
UW
1272011-04-26 Aleksandar Ristovski <aristovski@qnx.com>
128
129 * nto-procfs.c (procfs_insert_hw_watchpoint): Fix prototype.
130 (procfs_remove_hw_watchpoint): Likewise.
131
57e12211
TT
1322011-04-26 Michael Walle <michael@walle.cc>
133
134 * remote.c (remote_start_remote): Ack packet after sending the
135 interrupt sequence.
136
af96c192
YQ
1372011-04-26 Yao Qi <yao@codesourcery.com>
138
139 * linux-nat.c: Move common macros to ...
140 Include linux-ptrace.h.
141 * common/linux-ptrace.h: ... here. New.
142
3e03848b
JK
1432011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
144
145 * elfread.c (elf_symfile_read): Protect dwarf2_initialize_objfile by
146 !objfile_has_partial_symbols. New comment.
147 * objfiles.c (objfile_has_partial_symbols): Call HAS_SYMBOLS if
148 SYM_READ_PSYMBOLS is not present. Extend the comment.
149 * symfile.h (struct sym_fns): Extend the sym_read_psymbols comment.
150
1ae0d051
JK
1512011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
152
153 * defs.h (ENUM_BITFIELD): Remove.
154
03f2bd59
JK
1552011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
156 Eli Zaretskii <eliz@gnu.org>
157
158 * NEWS: Document the new gdbserver --once option.
159
4161fbb0
JZ
1602011-04-21 Jie Zhang <jzhang918@gmail.com>
161
162 * MAINTAINERS: Update my email address.
163
bcb28afc
PM
1642011-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
165
166 * gdb_wchar.h (USE_INTERMEDIATE_ENCODING_FUNCTION): New macro.
167 (INTERMEDIATE_ENCODING): Change value to intermediate_encoding
168 function call if __STDC_ISO_10646__ macro is defined.
169 (intermediate_encoding): New prototype.
170 * charset.c (your_gdb_wchar_t_is_bogus): New extern test variable
171 to generate compile time error for unsupported gdb_wchar_t size.
172 (ENDIAN_SUFFIX): New macro.
173 (intermediate_encoding): New function.
174
7b08b9eb
JK
1752011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
176
177 * ada-lang.c (struct add_partial_datum): Update the comment for
178 expand_partial_symbol_name.
179 (ada_add_partial_symbol_completions): Rename to ...
180 (ada_expand_partial_symbol_name): ... here, change return type, update
181 function comment, call symbol_completion_match instead of
182 symbol_completion_add.
183 (ada_make_symbol_completion_list): Use now expand_partial_symbol_names
184 and ada_expand_partial_symbol_name.
185 * dwarf2read.c (dw2_expand_symtabs_matching): Support NULL
186 FILE_MATCHER.
187 (dw2_map_symbol_names): Remove.
188 (dwarf2_gdb_index_functions): Unlist dw2_map_symbol_names.
189 * psymtab.c (map_symbol_names_psymtab): Remove.
190 (expand_symtabs_matching_via_partial): Support NULL FILE_MATCHER.
191 Support KIND == ALL_DOMAIN. Exchange the NAME_MATCHER and KIND check
192 order.
193 (psym_functions): Unlist map_symbol_names_psymtab.
194 (map_partial_symbol_names): Rename to ...
195 (expand_partial_symbol_names): ... here, change the FUN type, call
196 expand_symtabs_matching with ALL_DOMAIN and NULL FILE_MATCHER now.
197 * psymtab.h (map_partial_symbol_names): Rename to ...
198 (expand_partial_symbol_names): ... here, change the FUN type.
199 * symfile.h (struct quick_symbol_functions): Update the description of
200 expand_symtabs_matching. Remove map_symbol_names.
201 * symtab.c (search_symbols): Add ALL_DOMAIN to the function comment.
202 (struct add_name_data): Update the comment for
203 expand_partial_symbol_name.
204 (add_partial_symbol_name): Rename to ...
205 (expand_partial_symbol_name): ... here. Replace
206 completion_list_add_name call by strncmp.
207 (default_make_symbol_completion_list_break_on): Use now
208 expand_partial_symbol_names and expand_partial_symbol_name.
209 * symtab.h (enum search_domain): New element ALL_DOMAIN.
210
90476074
TT
2112011-04-20 Tom Tromey <tromey@redhat.com>
212
213 * dwarf2read.c (save_gdb_index_command): Replace format
214 documentation with a pointer to the manual.
215
c21236dc
PA
2162011-04-20 Pedro Alves <pedro@codesourcery.com>
217
218 * regcache.c: Include remote.h.
219 (enum regcache_dump_what) <regcache_dump_remote>: New enum value.
220 (regcache_dump): Handle regcache_dump_remote.
221 (maintenance_print_remote_registers): New function.
222 (_initialize_regcache): Install "maint print remote-registers"
223 command.
224 * remote.c (map_regcache_remote_table): New function, factored out
225 from ...
226 (init_remote_state): ... here.
227 (remote_register_number_and_offset): New.
228 * remote.h (remote_register_number_and_offset): Declare.
229
b78974c3
PA
2302011-04-20 Pedro Alves <pedro@codesourcery.com>
231
232 * regcache.c (get_thread_arch_regcache): If creating a regcache for
233 null_ptid, assume and allow a NULL address space, instead of
234 asking the target for the ptid's address space.
235 * infrun.c (ptid_is_pid): Remove assertion.
236
7a9dd1b2
TT
2372011-04-19 Tom Tromey <tromey@redhat.com>
238
239 * windows-tdep.c (windows_xfer_shared_library):
240 * windows-nat.c (get_module_name, windows_make_so):
241 * v850-tdep.c (v850_handle_pushm):
242 * utils.c (null_cleanup, gdb_realpath):
243 * ui-out.c (get_next_header):
244 * tracepoint.c (clear_traceframe_info):
245 * symtab.c (lookup_symtab):
246 * serial.h (struct serial_ops):
247 * mipsread.c (read_alphacoff_dynamic_symtab):
248 * infcmd.c (print_return_value):
249 * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address):
250 * f-exp.y (parse_number):
251 * exceptions.c (catch_exceptions):
252 * dummy-frame.c (dummy_frame_this_id):
253 * defs.h (struct cleanup):
254 * breakpoint.c (disable_breakpoints_in_unloaded_shlib):
255 * arm-tdep.c (arm_push_dummy_call):
256 * amd64-tdep.h (amd64_collect_xsave):
257 * amd64-tdep.c (amd64_collect_xsave):
258 * alpha-tdep.c (alpha_heuristic_frame_unwind_cache):
259 * README (typing): Remove duplicate words.
260 * cli/cli-decode.c (lookup_cmd_composition): Add comma.
261 * infrun.c (siginfo_value_read): Fix typo.
262 * solib-frv.c (frv_fdpic_find_global_pointer): Likewise.
263 * top.c (source_line_number): Add comma.
264
9941e0c5
MK
2652011-04-19 Marc Khouzam <marc.khouzam@ericsson.com>
266
267 * thread.c (any_live_thread_of_process): Prioritize threads
268 that are not executing.
269 * gdbthread.h (any_live_thread_of_process): Update comment
270 as per above change.
271
ed4b0e6a
AS
2722011-04-19 Andreas Schwab <schwab@linux-m68k.org>
273
274 * xcoffread.c (process_xcoff_symbol): Remove useless cast.
275 (scan_xcoff_symtab): Likewise.
276
9b13a2db
PM
2772011-04-19 Pierre Muller <muller@ics.u-strasbg.fr>
278
279 * xcoffread.c (process_xcoff_symbol): ARI fix: Avoid assignment
280 inside if clause.
281
1c6e1b0d
PM
2822011-04-19 Pierre Muller <muller@ics.u-strasbg.fr>
283 Pedro Alves <pedro@codesourcery.com>
284
285 * xstormy16-tdep.c (xstormy16_push_dummy_call): Add local
286 variables to simplify code and avoid == operator at end of
287 line as this is against GNU coding standards.
288
74de0234
PM
2892011-04-19 Pierre Muller <muller@ics.u-strasbg.fr>
290
291 * solib-svr4.c (svr4_keep_data_in_core): Rename local variable
292 lm_name to name_lm to avoid conflict with lm_name function.
293
b23518f0
PM
2942011-04-19 Pierre Muller <muller@ics.u-strasbg.fr>
295
296 ARI fixes: Use only lowercase function name for static functions.
297 * nto-tdep.c (LM_ADDR): Rename to...
298 (lm_addr): New function name.
299 (nto_relocate_section_addresses): Adapt to change above.
300 * solib-sunos.c (LM_ADDR): Rename to...
301 (lm_addr): New function name.
302 (LM_NEXT): Rename to...
303 (lm_next): New function name.
304 (sunos_current_sos, sunos_relocate_section_addresses): Adapt to
305 function name changes above.
306 * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Rename to...
307 (lm_addr_from_link_map): New function name.
308 (HAS_LM_DYNAMIC_FROM_LINK_MAP): Rename to...
309 (has_lm_dynamic_from_link_map): New function name.
310 (LM_DYNAMIC_FROM_LINK_MAP): Rename to...
311 (lm_dynamic_from_link_map): New function name.
312 (LM_ADDR_CHECK): Rename to...
313 (lm_addr_check): New function name.
314 (LM_NEXT): Rename to...
315 (lm_next): New function name.
316 (LM_PREV): Rename to...
317 (lm_prev): New function name.
318 (LM_NAME): Rename to...
319 (lm_name): New function name.
320 (IGNORE_FIRST_LINK_MAP_ENTRY): Rename to...
321 (ignore_first_link_map_entry): New function name.
322 (svr4_keep_data_in_core): Adapt to function name changes above.
323 (svr4_current_sos): Likewise.
324 (enable_break): Likewise.
325 (svr4_relocate_section_addresses): Likewise.
326
1448a0a2
PM
3272011-04-19 Pierre Muller <muller@ics.u-strasbg.fr>
328
329 ARI cleanup.
330 * xtensa-tdep.c (xtensa_register_type): Use xstrprintf instead of
331 sprintf. Simplify code and avoid loosing memory.
332 (xtensa_register_reggroup_p): Extract assignment out of IF clause.
333 (call0_frame_cache): Remove && operator from end of line.
334
02835898
JK
3352011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
336
337 Fix libraries displacement if they change whether they were prelinked.
338 * solib-svr4.c (LM_ADDR_CHECK): Set L_ADDR even if the DYNAMIC pointer
339 does not match. Comment why.
340
9a845ea2
JK
3412011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
342
343 * corelow.c: Include wrapper.h.
344 (core_open): Call now gdb_target_find_new_threads.
345 * wrapper.c: Include target.h.
346 (gdb_target_find_new_threads): New.
347 * wrapper.h (gdb_target_find_new_threads): New declaration.
348
254f582e
JK
3492011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
350
351 * linux-thread-db.c (find_new_threads_callback): Exit on zero TI_TID
352 even if !TARGET_HAS_EXECUTION.
353
63524580
JK
3542011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
355
356 Fix convert_code_addr_to_desc_addr for ppc64 files after eu-strip.
357 * elfread.c (elf_symfile_read): New variable synth_abfd, pass it to
358 bfd_get_synthetic_symtab.
359 * jit.c (jit_register_code): Pass NULL to the new parameter parent.
360 * machoread.c (macho_add_oso_symfile): Pass main_objfile to the new
361 parameter parent, remove the call to add_separate_debug_objfile.
362 * solib.c (solib_read_symbols): Pass NULL to the new parameter parent.
363 * symfile-mem.c (symbol_file_add_from_memory): Likewise.
364 * symfile.c (symbol_file_add_with_addrs_or_offsets): New parameter
365 parent, new comment for it, call add_separate_debug_objfile for it.
366 (symbol_file_add_separate): Pass objfile as the parameter parent,
367 remove the call to add_separate_debug_objfile.
368 (symbol_file_add_from_bfd): New parameter parent, pass it.
369 (symbol_file_add): Pass NULL to the new parameter parent.
370 * symfile.h (symbol_file_add_from_bfd): New parameter parent.
371
90359a16
JK
3722011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
373
374 * elfread.c (elf_symtab_read): Do not ignore .L symbols if they are
375 BSF_SYNTHETIC.
376
626e7282
JK
3772011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
378
379 Fix Python access to inlined frames.
380 * python/py-frame.c (frapy_read_var): Find BLOCK using get_frame_block.
381 * python/py-symbol.c (gdbpy_lookup_symbol): Likewise.
382
cf31e6f9
TT
3832011-04-15 Tom Tromey <tromey@redhat.com>
384
385 * dwarf2read.c (add_index_entry): Use VEC_last, not VEC_length.
386
c8d895f1
GB
3872011-04-15 Gary Benson <gbenson@redhat.com>
388
389 * MAINTAINERS: Add myself to write-after-approval section.
390
56a9aa1d
MF
3912011-04-14 Mike Frysinger <vapier@gentoo.org>
392
393 * remote-sim.c (sim_command_completer): New function.
394 (_initialize_remote_sim): Set completer to sim_command_completer.
395
ba770c9c
TJB
3962011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
397
398 * breakpoint.c (print_exception_catchpoint): Rename to ...
399 (print_it_exception_catchpoint): ... this.
400 (gnu_v3_exception_catchpoint_ops): Update with new name
401 for print_it_exception_catchpoint.
402
51bf2553
EBM
4032011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
404
405 * MAINTAINERS: Add myself for write after approval privileges.
406
d242658c
MP
4072011-04-13 Marek Polacek <mpolacek@redhat.com>
408
409 * MAINTAINERS: Add myself as a write-after-approval maintainer.
410
4a4106ca
TJB
4112011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
412
413 * breakpoint.c (watch_command_1): Remove colon from exp_string.
414
26063d49
TJB
4152011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
416
417 * breakpoint.c (save_breakpoints): Verify whether
418 breakpoint_ops.print_recreate is defined before calling it.
419
7782b183
GB
4202011-04-11 Gary Benson <gbenson@redhat.com>
421
422 Fix failure with --enable-maintainer-mode.
423 * Makefile.in (aclocal_m4_deps): Updated gnulib dependencies.
424
e8930875
JK
4252011-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
426
427 Code cleanup.
428 * symtab.c (search_symbols): Reorder the KIND description in the
429 function comment. Remove the unused 4th element of types, types2,
430 types3 and types4. New gdb_assert on KIND.
431 (symtab_symbol_info): Remove the unused 4th element of classnames.
432 New gdb_assert on KIND.
433 * symtab.h (enum search_domain): New warning in the enum comment.
434 Assign numbers to the elements VARIABLES_DOMAIN, FUNCTIONS_DOMAIN and
435 TYPES_DOMAIN.
436
b4f2f049
JK
4372011-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
438
439 Fix crash of gdb save-index on a STABS file.
440 * dwarf2read.c (write_psymtabs_to_index): Return also on no
441 PSYMTABS_ADDRMAP.
442
60d5a603
JK
4432011-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
444
445 Fix DW_AT_accessibility compatibility with gcc-4.6+.
446 * dwarf2read.c: Include ctype.h.
447 (producer_is_gxx_lt_4_6, dwarf2_default_access_attribute): New
448 functions.
449 (dwarf2_add_field): Fix new_field->accessibility by calling
450 dwarf2_default_access_attribute. Restructure setting accessibility
451 vs. virtuality.
452 (dwarf2_add_member_fn): New variable accessibility. Fix fnp
453 is_private and is_protected by calling
454 dwarf2_default_access_attribute.
455
e0f68161
KB
4562011-04-08 Kevin Buettner <kevinb@redhat.com>
457
458 * rx-tdep.c (rx_frame_unwind): Add default_frame_unwind_stop_reason
459 to the initialization.
460
2e1aae43
SE
4612011-04-08 Steve Ellcey <sje@cup.hp.com>
462
463 * Add default_frame_unwind_stop_reason value to libunwind_frame_unwind
464 initalization.
465
c6ca3dab
PM
4662011-04-07 Pierre Muller <muller@ics.u-strasbg.fr>
467
468 Remove support for old Cygwin 1.5 versions.
469 * remote-fileio.c: Remove macros used to emulate new cygwin_conv_path
470 function on old Cygwin version.
471 * windows-nat.c: Remove cygwin version check and always define
472 __USEWIDE for Cygwin compilation.
473
bd18283a
YQ
4742011-04-07 Yao Qi <yao@codesourcery.com>
475
476 * arm-linux-tdep.c (arm_linux_copy_svc): Remove parameters INSN
477 and TO.
478 * arm-tdep.c (cleanup_svc): Handle variable instruction size.
479 (arm_copy_svc): Remove parameters INSN and TO.
480 (decode_svc_copro): Update caller.
481 * arm-tdep.h (struct displaced_step_closure): Remove parameters
482 from function pointer `copy_svc_os'.
483
8c8dba6d
YQ
4842011-04-07 Yao Qi <yao@codesourcery.com>
485
486 * arm-tdep.c (cleanup_branch): Set a correct return address in
487 LR for ARM and Thumb.
488
59d7bcaf
JK
4892011-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
490
491 Code cleanup.
492 * dictionary.c (dict_hash): Use SYMBOL_HASH_NEXT.
493 * dwarf2read.c (mapped_index_string_hash): Refer to SYMBOL_HASH_NEXT
494 in the function comment, a new note on values compatibility.
495 * minsyms.c (msymbol_hash_iw, msymbol_hash): Use SYMBOL_HASH_NEXT.
496 * symtab.h (SYMBOL_HASH_NEXT): New.
497
e7db58ea
TJB
4982011-04-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
499
500 * ppc-linux-nat.c (check_condition): Add len output parameter.
501 Set it based on the memory region referenced in the condition
502 expression. Update all callers.
503
9f743ef6
JK
5042011-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
505
506 Fix crash regression on systems featuring .gdb_index.
507 * objfiles.c (free_objfile): Move the
508 forget_cached_source_info_for_objfile call earlier. Comment it.
509 Extend the comment for objfile_free_data.
510
9182c5bc
JK
5112011-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
512
513 Fix regression of displaying the debug format.
514 * buildsym.c (end_symtab): Set symtab's debugformat and producer from
515 subfile.
516
04bd08de
TT
5172011-04-04 Tom Tromey <tromey@redhat.com>
518
519 * cli/cli-interp.c (struct captured_execute_command_args):
520 Remove.
521 (do_captured_execute_command): Remove.
522 (safe_execute_command): Use TRY_CATCH.
523 * cli/cli-script.c (struct wrapped_read_command_file_args):
524 Remove.
525 (wrapped_read_command_file): Remove.
526 (script_from_file): Use TRY_CATCH.
527 * exceptions.c (catch_exception): Remove.
528 * exceptions.h (catch_exception): Remove.
529 (deprecated_throw_reason): Update comment.
530 * mi/mi-main.c (captured_mi_execute_command): Change 'data'
531 argument to 'context'.
532 (mi_execute_command): Use TRY_CATCH.
533 * remote.c (struct start_remote_args): Remove.
534 (remote_start_remote): Update; change arguments.
535 (remote_open_1): Use TRY_CATCH.
536
58438ac1
TT
5372011-04-04 Tom Tromey <tromey@redhat.com>
538
539 * tracepoint.c (scope_info): Update.
540 * symtab.c (decode_line_spec): Update.
541 * python/python.c (gdbpy_decode_line): Update.
542 * linespec.h (decode_line_1): Update.
543 * linespec.c (decode_line_1): Remove 'not_found_ptr' argument.
544 (decode_compound, find_method, symtab_from_filename)
545 (decode_variable): Likewise.
546 * cli/cli-cmds.c (edit_command): Update.
547 (list_command): Update.
548 * breakpoint.c (parse_breakpoint_sals): Remove 'not_found_ptr'
549 argument.
550 (create_breakpoint): Update.
551 (until_break_command): Update.
552 (addr_string_to_sals): Update.
553 (decode_line_spec_1): Update.
554
b78a6381
TT
5552011-04-04 Tom Tromey <tromey@redhat.com>
556
557 * breakpoint.c (struct captured_parse_breakpoint_args): Remove.
558 (do_captured_parse_breakpoint): Remove.
559 (create_breakpoint): `e' is now volatile. Remove `parse_args'.
560 Use TRY_CATCH directly.
561
00174a86
TT
5622011-04-04 Tom Tromey <tromey@redhat.com>
563
564 * symtab.h (free_symtab): Remove.
565 (forget_cached_source_info_for_objfile): Declare.
566 * symmisc.c (free_symtab): Remove.
567 * source.c (forget_cached_source_info_for_objfile): New function.
568 (forget_cached_source_info): Use it.
569 * objfiles.c (free_objfile): Simplify check before calling
570 clear_current_source_symtab_and_line. Call
571 forget_cached_source_info_for_objfile.
572
30cc903e
TT
5732011-04-04 Tom Tromey <tromey@redhat.com>
574
575 * mdebugread.c (psymtab_to_symtab_1): Copy linetable to obstack.
576 (new_symtab): Don't set `free_code' on symtab.
577 (new_linetable): Properly handle size==0.
578 * symtab.h (struct symtab) <free_code, free_func>: Remove.
579 * symmisc.c (free_symtab): Don't free the linetable. Don't call
580 free_func.
581 * jv-lang.c (struct jv_per_objfile_data): New.
582 (jv_per_objfile_free): Free the data.
583 (get_dynamics_objfile): Allocate a jv_per_objfile_data.
584 (get_java_class_symtab): Set the `dict' field on the
585 jv_per_objfile_data.
586 (free_class_block): Remove.
587 * buildsym.c (end_symtab): Don't set `free_code' or `free_func' on
588 the symtab.
589
0c2e6019
TT
5902011-04-04 Tom Tromey <tromey@redhat.com>
591
592 * symfile.c (reread_symbols): Update.
593 * objfiles.h (struct objfile) <cp_namespace_symtab>: Remove
594 field.
595 * objfiles.c (allocate_objfile): Update.
596 * cp-support.h (cp_check_possible_namespace_symbols): Don't
597 declare.
598 * cp-namespace.c (lookup_symbol_file): Don't call
599 lookup_possible_namespace_symbol.
600 (initialize_namespace_symtab, get_possible_namespace_block)
601 (free_namespace_block, cp_check_possible_namespace_symbols)
602 (check_possible_namespace_symbols_loop)
603 (check_one_possible_namespace_symbol)
604 (lookup_possible_namespace_symbol): Remove.
605 (maintenance_cplus_namespace): Replace with notice.
606 (_initialize_cp_namespace): Deprecate `maint cplus namespace'.
607
554d387d
TT
6082011-04-04 Tom Tromey <tromey@redhat.com>
609
610 * xcoffread.c (read_xcoff_symtab): Make `debugfmt' const.
611 * symtab.h (struct symtab) <producer, debugformat>: Now const.
612 * symmisc.c (free_symtab): Don't free debugformat.
613 * buildsym.h (struct subfile) <producer, debugformat>: Now const.
614 (record_debugformat, record_producer): Document.
615 * buildsym.c (end_symtab): Don't save debugformat and producer
616 names on obstack.
617 (end_symtab): Don't free debugformat and producer fields.
618 (record_debugformat): Don't call xstrdup.
619 (record_producer): Likewise.
620
d4d4db8a
TT
6212011-04-04 Tom Tromey <tromey@redhat.com>
622
623 * source.c (find_source_lines): Remove LSEEK_NOT_LINEAR code.
624 (source_line_charpos, source_charpos_line): Remove.
625
8903c50d
TT
6262011-04-04 Tom Tromey <tromey@redhat.com>
627
628 * symtab.h (domain_enum): Split in two...
629 (enum search_domain): New.
630 (search_symbols): Update.
631 * symtab.c (print_symbol_info, symtab_symbol_info): Remove
632 redundant declarations.
633 (search_symbols): Change 'kind' argument to search_domain.
634 Update.
635 (print_symbol_info): Likewise.
636 (symtab_symbol_info): Likewise.
637 * symfile.h (struct quick_symbol_functions)
638 <pre_expand_symtabs_matching>: Change type of 'kind' argument.
639 <expand_symtabs_matching>: Likewise.
640 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Update.
641 (expand_symtabs_matching_via_partial): Update.
642 * dwarf2read.c (dw2_pre_expand_symtabs_matching): Update.
643 (dw2_expand_symtabs_for_function): Update.
644 * block.h: Moved anonymous enum...
645 * defs.h (enum block_enum): ... here. Now named.
646
d9351f5f 6472011-04-03 Joel Brobecker <brobecker@adacore.com>
648
649 GDB 7.3 branch created (branch timestamp: 2011-04-01 01:00 UTC)
650 * version.in: Bump version to 7.3.50.20110403-cvs.
651
d6e00af6
JB
6522011-04-03 Joel Brobecker <brobecker@adacore.com>
653
654 * NEWS: Create a new section for the next release branch.
655 Rename the section of the current branch, now that it has
656 been cut.
657
2b9e5ea6
UW
6582011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
659
660 * arm-tdep.c (arm_gdbarch_init): Enfore correct register number
661 for "fpscr" in target description.
662
0cf03b49
JK
6632011-04-01 Jan Kratochvil <jan.kratochvil@redhat.com>
664
665 * dwarf2read.c (find_slot_in_mapped_hash): New variable back_to,
666 initialize it. Delay HASH initialization. Strip the part after open
667 parenthesis for languages with qualifiers. Call do_cleanups.
668
5d901a73
TT
6692011-04-01 Tom Tromey <tromey@redhat.com>
670
671 * utils.c (report_command_stats): Don't print `-' for negative
672 number.
673
b0dd7688
JB
6742011-04-01 Eric Botcazou <ebotcazou@adacore.com>
675
676 * ada-lang.c (ada_is_simple_array_type, ada_value_slice_from_ptr)
677 (ada_value_slice, empty_array, to_fixed_array_type): Deal with
678 typedefs.
679
956a9fb9
JB
6802011-04-01 Joel Brobecker <brobecker@adacore.com>
681
682 * breakpoint.h (bpdisp_text): Add declaration.
683 * breakpoint.c (bpdisp_text): Make non-static.
684 * ada-lang.c: #include "mi/mi-common.h".
685 (print_it_exception): Rewrite to improve GDB/MI output.
686
3352110b
PA
6872011-04-01 Pedro Alves <pedro@codesourcery.com>
688
689 * arm-tdep.h (struct address_space): Add forward declaration.
690
18819fa6
UW
6912011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
692
693 * arm-tdep.h (arm_insert_single_step_breakpoint): Add prototype.
694 * arm-tdep.c (arm_override_mode): New global.
695 (arm_pc_is_thumb): Respect arm_override_mode. Remove single-step
696 execution mode heuristics.
697 (thumb_get_next_pc_raw): Remove INSERT_BKTP argument; always insert
698 second single-step breakpoint if needed, using
699 arm_insert_single_step_breakpoint.
700 (arm_get_next_pc_raw): Remove INSERT_BKTP argument. Only handle
701 ARM execution mode, do not call thumb_get_next_pc_raw.
702 (arm_get_next_pc): Encode execution mode in return value. Call
703 either arm_get_next_pc_raw or thumb_get_next_pc_raw.
704 (arm_insert_single_step_breakpoint): New function.
705 (arm_software_single_step): Call it.
706 * arm-linux-tdep.c (arm_linux_sigreturn_return_addr): Add IS_THUMB
707 argument to return execution mode of sigreturn target.
708 (arm_linux_syscall_next_pc): Use it.
709 (arm_linux_copy_svc): Update call.
710 (arm_linux_software_single_step): Call
711 arm_insert_single_step_breakpoint.
712
a6e293d1
JK
7132011-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
714
715 * dwarf2read.c (dwarf2_read_index): Fix .gdb_index version number in
716 the comment.
717
a4c8e806
TT
7182011-03-31 Tom Tromey <tromey@redhat.com>
719
720 * varobj.c (update_dynamic_varobj_children): Properly handle
721 errors from iterator.
722
df5c6c50
JK
7232011-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
724
725 * dwarf2read.c (dwarf2_name): Initialize DEMANGLED. Avoid demangling
726 struct linkage name twice.
727
1dae3efc
TT
7282011-03-31 Tom Tromey <tromey@redhat.com>
729
730 * python/py-prettyprint.c (print_stack_unless_memory_error): Add
731 missing ">" to message.
732
f4f7ab05
TT
7332011-03-31 Tom Tromey <tromey@redhat.com>
734
735 * varobj.c (instantiate_pretty_printer): Remove duplicate
736 'return'.
737
fcf250e2
UW
7382011-03-31 Ulrich Weigand <ulrich.weigand@linaro.org>
739
740 * i386-tdep.c (i386_frame_prev_register): Unwind SP from memory
741 if neither saved value nor register available (e.g. signal frame).
742
ee6436e3
TJB
7432011-03-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
744
745 * macroexp.c (expand): Avoid uninitialized variable
746 compiler warning.
747
423f41a5
TJB
7482011-03-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
749
750 * breakpoint.c (break_range_command): Fix typo in comment.
751
f1310107
TJB
7522011-03-31 Thiago Jung Bauermann <bauerman@br.ibm.com>
753 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
754
755 Implement support for PowerPC BookE ranged breakpoints.
756 * NEWS: Mention support for ranged breakpoints on embedded PowerPC.
757 * breakpoint.h (struct bp_target_info) <length>: New member
758 variable.
759 (struct breakpoint_ops) <breakpoint_hit>: Take struct bp_location
760 instead of struct breakpoint as argument, and also add ASPACE
761 and BP_ADDR arguments. Update all callers.
762 (struct breakpoint_ops) <print_one_detail>: New method.
763 (struct breakpoint) <addr_string_range_end>: New member variable.
764 * breakpoint.c (breakpoint_location_address_match): Add function
765 prototype.
766 (insert_bp_location): Set bl->target_info.length.
767 (breakpoint_here_p): Call breakpoint_location_address_match.
768 (moribund_breakpoint_here_p): Likewise.
769 (regular_breakpoint_inserted_here_p): Likewise.
770 (breakpoint_thread_match): Likewise.
771 (bpstat_stop_status): Likewise.
772 (bpstat_check_location): Move call to
773 breakpoint_ops.breakpoint_hit to the top.
774 (print_one_breakpoint_location): Call
775 breakpoint_ops.print_one_detail if available.
776 (breakpoint_address_match_range): New function.
777 (breakpoint_location_address_match): Likewise.
778 (breakpoint_locations_match): Compare the length field of the
779 locations too.
780 (hw_breakpoint_used_count): Count resources used by all locations
781 in a breakpoint, and use breakpoint_ops.resources_needed if
782 available.
783 (breakpoint_hit_ranged_breakpoint): New function.
784 (resources_needed_ranged_breakpoint): Likewise.
785 (print_it_ranged_breakpoint): Likewise.
786 (print_one_ranged_breakpoint): Likewise.
787 (print_one_detail_ranged_breakpoint): Likewise.
788 (print_mention_ranged_breakpoint): Likewise.
789 (print_recreate_ranged_breakpoint): Likewise.
790 (ranged_breakpoint_ops): New structure.
791 (find_breakpoint_range_end): New function.
792 (break_range_command): Likewise.
793 (delete_breakpoint): Free addr_string_range_end.
794 (update_breakpoint_locations): Add SALS_END argument. Update
795 all callers. Calculate breakpoint length if a non-zero SALS_END
796 is given. Call breakpoint_locations_match instead of
797 breakpoint_address_match.
798 (reset_breakpoint): Find SaL of the end of the range if B is a
799 ranged breakpoint.
800 (_initialize_breakpoint): Register break-range command.
801 * defs.h (print_core_address): Add function prototype.
802 * ppc-linux-nat.c (ppc_linux_ranged_break_num_registers): New
803 function.
804 (ppc_linux_insert_hw_breakpoint): Support ranged breakpoints.
805 (ppc_linux_remove_hw_breakpoint): Likewise.
806 (_initialize_ppc_linux_nat): Initialize
807 to_ranged_break_num_registers.
808 * target.c (update_current_target): Add comment about
809 to_ranged_break_num_registers.
810 (target_ranged_break_num_registers): New function.
811 * target.h (struct target_ops) <to_ranged_break_num_registers>:
812 New method.
813 (target_ranged_break_num_registers): Add function prototype.
814 * ui-out.c (ui_out_field_core_addr): Move address-printing logic to ...
815 * utils.c (print_core_address): ... here.
816
02d20e4a
UW
8172011-03-31 Ulrich Weigand <uweigand@de.ibm.com>
818
819 * breakpoint.c (addr_string_to_sals): Avoid uninitialized
820 variable compiler warning.
821
ef23e705
TJB
8222011-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
823
824 * breakpoint.c (breakpoint_re_set_one): Factor out breakpoint-resetting
825 code from here ...
826 (re_set_breakpoint): ... to here ...
827 (addr_string_to_sals): ... and here.
828
311e6ab3
PM
8292011-03-29 Pierre Muller <muller@ics.u-strasbg.fr>
830
831 * Makefile.in (SFILES): Add missing C sources.
832 (HFILES_NO_SRCDIR): Remove gdbserver subdirectory headers.
833 Add missing headers.
834
acd1d99c
MF
8352011-03-29 Mike Frysinger <vapier@gentoo.org>
836
837 * .gitignore: New file.
838
66ee2731
MF
8392011-03-29 Mike Frysinger <vapier@gentoo.org>
840
841 * NEWS: Mention new cfi device simulation.
842
53832f31
TT
8432011-03-29 Tom Tromey <tromey@redhat.com>
844
845 * dwarf2read.c (fixup_partial_die): Handle linkage name on
846 otherwise anonymous types.
847 (dwarf2_name): Likewise.
848 * valops.c (value_struct_elt_for_reference): Refine artificial
849 type logic. Call error if j==-1.
850
09b58708
JK
8512011-03-29 Andreas Tobler <andreast-list@fgznet.ch>
852
853 Fix false GCC warning.
854 * infcall.c (find_function_addr): Initialize funaddr.
855
6023c606
PM
8562011-03-29 Pierre Muller <muller@ics.u-strasbg.fr>
857
858 Fix mingw compilation with --enable-targets=all.
859 * remote-mips.c (gdb_usleep.h): Include header.
860 (mips_enter_debug): Use gdb_usleep instead of sleep.
861
0e30163f
JK
8622011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
863
864 Support resolution of STT_GNU_IFUNC via breakpoints.
865 * breakpoint.c (print_it_typical): Support bp_gnu_ifunc_resolver and
866 bp_gnu_ifunc_resolver_return.
867 (bpstat_what): Rename parameter to bs_head, new variable bs, adjust
868 the loop. Support bp_gnu_ifunc_resolver and
869 bp_gnu_ifunc_resolver_return. New comment after the loop. New loop
870 for bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return
871 breakpoints.
872 (bptype_string, print_one_breakpoint_location): Support
873 bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return.
874 (user_settable_breakpoint): Return true also for
875 bp_gnu_ifunc_resolver.
876 (allocate_bp_location): Support bp_gnu_ifunc_resolver and
877 bp_gnu_ifunc_resolver_return.
878 (set_breakpoint_location_function): New parameter explicit_loc,
879 describe it. Call find_pc_partial_function_gnu_ifunc with new
880 variable IS_GNU_IFUNC and adjust the address for STT_GNU_IFUNC if
881 EXPLICIT_LOC is not set.
882 (set_raw_breakpoint): Set EXPLICIT_LOC for
883 set_breakpoint_location_function.
884 (clone_momentary_breakpoint): Use true for EXPLICIT_LOC of
885 set_breakpoint_location_function.
886 (mention): Support bp_gnu_ifunc_resolver and
887 bp_gnu_ifunc_resolver_return.
888 (add_location_to_breakpoint): Set EXPLICIT_LOC for
889 set_breakpoint_location_function.
890 (update_breakpoint_locations): Remove static.
891 (breakpoint_re_set_one): Support bp_gnu_ifunc_resolver and
892 bp_gnu_ifunc_resolver_return.
893 * breakpoint.h (enum bptype): New fields bp_gnu_ifunc_resolver and
894 bp_gnu_ifunc_resolver_return.
895 (update_breakpoint_locations): New declaration.
896 * elfread.c: Include gdbthread.h and regcache.h.
897 (elf_gnu_ifunc_resolver_stop, elf_gnu_ifunc_resolver_return_stop): New
898 functions.
899 (elf_gnu_ifunc_fns): Install them.
900 * minsyms.c (stub_gnu_ifunc_resolver_stop)
901 (stub_gnu_ifunc_resolver_return_stop): New functions.
902 (stub_gnu_ifunc_fns): Install them.
903 * symtab.h (struct gnu_ifunc_fns): New fields gnu_ifunc_resolver_stop
904 and gnu_ifunc_resolver_return_stop.
905 (gnu_ifunc_resolver_stop, gnu_ifunc_resolver_return_stop): New.
906
07be84bf
JK
9072011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
908
909 STT_GNU_IFUNC reader implementation.
910 * elfread.c: Include gdbtypes.h, value.h and infcall.h.
911 (SYMBOL_GOT_PLT_SUFFIX, elf_rel_plt_read)
912 (elf_objfile_gnu_ifunc_cache_data, struct elf_gnu_ifunc_cache)
913 (elf_gnu_ifunc_cache_hash, elf_gnu_ifunc_cache_eq)
914 (elf_gnu_ifunc_record_cache, elf_gnu_ifunc_resolve_by_cache)
915 (elf_gnu_ifunc_resolve_by_got, elf_gnu_ifunc_resolve_name)
916 (elf_gnu_ifunc_resolve_addr): New.
917 (elf_symfile_read): Call elf_rel_plt_read.
918 (elf_gnu_ifunc_fns): New.
919 (_initialize_elfread): Initialize elf_objfile_gnu_ifunc_cache_data.
920 Install elf_gnu_ifunc_fns.
921 * infcall.c (find_function_return_type): New function.
922 (find_function_addr): Resolve TYPE_GNU_IFUNC functions, if possible.
923 * minsyms.c (stub_gnu_ifunc_resolve_addr)
924 (stub_gnu_ifunc_resolve_name): New functions.
925 (stub_gnu_ifunc_fns, gnu_ifunc_fns_p): New variables.
926 * symtab.h (struct gnu_ifunc_fns, gnu_ifunc_resolve_addr)
927 (gnu_ifunc_resolve_name, gnu_ifunc_fns_p): New.
928
300f8e10
JK
9292011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
930
931 Code cleanup for later STT_GNU_IFUNC support.
932 * infcall.c (find_function_addr): Remove variable code, use explicit
933 dereferences for it. Move VALUE_TYPE initialization later.
934
11c81455
JK
9352011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
936
937 GDB find_pc_partial_function support for STT_GNU_IFUNC.
938 * blockframe.c (cache_pc_function_is_gnu_ifunc): New variable.
939 (clear_pc_function_cache): Clear it.
940 (find_pc_partial_function): Rename to ...
941 (find_pc_partial_function_gnu_ifunc): ... this function. New
942 parameter is_gnu_ifunc_p, describe it. Set *IS_GNU_IFUNC_P.
943 (find_pc_partial_function): New wrapper for this function.
944 * symtab.h (find_pc_partial_function_gnu_ifunc): New declaration.
945
0875794a
JK
9462011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
947
948 GDB internal type support for STT_GNU_IFUNC.
949 * elfread.c (record_minimal_symbol): Support mst_text_gnu_ifunc.
950 (elf_symtab_read): Set mst_text_gnu_ifunc for
951 BSF_GNU_INDIRECT_FUNCTION.
952 * eval.c (evaluate_subexp_standard): Support TYPE_GNU_IFUNC.
953 * gdbtypes.c (init_type): Support TYPE_FLAG_GNU_IFUNC,
954 builtin_func_func, nodebug_text_gnu_ifunc_symbol and
955 nodebug_got_plt_symbol.
956 * gdbtypes.h (enum type_flag_value): New entry TYPE_FLAG_GNU_IFUNC.
957 (TYPE_GNU_IFUNC): New.
958 (struct main_type): New field flag_gnu_ifunc.
959 (struct builtin_type): New field builtin_func_func.
960 (struct objfile_type): New fields nodebug_text_gnu_ifunc_symbol and
961 nodebug_got_plt_symbol.
962 * minsyms.c (lookup_minimal_symbol_text): Support mst_text_gnu_ifunc.
963 (in_gnu_ifunc_stub): New.
964 (prim_record_minimal_symbol, find_solib_trampoline_target): Support
965 mst_text_gnu_ifunc.
966 * parse.c (write_exp_msymbol): New variable ifunc_msym. Detect and
967 support mst_text_gnu_ifunc. Support mst_slot_got_plt.
968 * solib-svr4.c (svr4_in_dynsym_resolve_code): Return true also for
969 in_gnu_ifunc_stub.
970 * symmisc.c (dump_msymbols): Support mst_text_gnu_ifunc.
971 * symtab.c (search_symbols): Likewise.
972 * symtab.h (enum minimal_symbol_type): New fields mst_text_gnu_ifunc
973 and mst_slot_got_plt.
974 (in_gnu_ifunc_stub): New declaration.
975
d0fb5eae
JK
9762011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
977
978 Support a ring of related breakpoints.
979 * breakpoint.c (watchpoint_del_at_next_stop): New, move here code from
980 other functions, add gdb_assert.
981 (update_watchpoint, watchpoint_check): Add gdb_assert. Use
982 watchpoint_del_at_next_stop.
983 (bpstat_check_watchpoint): Use watchpoint_del_at_next_stop.
984 (bpstat_stop_status): Handle ring in related_breakpoint.
985 (set_raw_breakpoint_without_location): Initialize ring in
986 related_breakpoint.
987 (delete_breakpoint): Handle ring in related_breakpoint, use
988 watchpoint_del_at_next_stop.
989 (map_breakpoint_numbers): Handle ring in related_breakpoint.
990
9cded63f
TT
9912011-03-28 Tom Tromey <tromey@redhat.com>
992
993 PR symtab/12441:
994 * dwarf2read.c (prepare_one_comp_unit): Don't call set_cu_language
995 with `language_minimal'.
996
467d42c4
UW
9972011-03-25 Ulrich Weigand <ulrich.weigand@linaro.org>
998
999 * arm-tdep.c (arm_elf_make_msymbol_special): Use ARM_SYM_BRANCH_TYPE
1000 instead of checking for STT_ARM_TFUNC symbol type.
1001
62853458
TT
10022011-03-25 Tom Tromey <tromey@redhat.com>
1003
1004 * linespec.c (symbol_found): Restore line-based result for
1005 non-LOC_LABEL symbols.
1006
a7417d46
KT
10072011-03-25 Kai Tietz <ktietz@redhat.com>
1008
1009 * tui/tui-source.c (tui_set_source_content): Use filename_cmp
1010 instead of strcmp for comparison.
1011 (tui_source_is_displayed): Likewise.
1012 * tui/tui-winsource.c (tui_update_breakpoint_info): Likewise.
1013
55f1336d
TT
10142011-03-24 Mark Wielaard <mjw@redhat.com>
1015
1016 * dwarf2read.c (lookup_signatured_type): Use DW_FORM_ref_sig8 in
1017 complaint.
1018 (skip_one_die): Use DW_FORM_ref_sig8, not DW_FORM_sig8.
1019 (find_partial_die_in_comp_unit): Likewise in comment.
1020 (read_attribute_value): Likewise.
1021 (lookup_die_type): Likewise.
1022 (dwarf_form_name): Likewise.
1023 (dump_die_shallow): Likewise.
1024 (follow_die_ref_or_sig): Likewise.
1025
9ef07c8c
TT
10262011-03-24 Tom Tromey <tromey@redhat.com>
1027
1028 PR breakpoints/11816:
1029 * linespec.c (decode_line_1): Parse `function:label' linespecs.
1030 (decode_compound): Update.
1031 (find_function_symbol): New function.
1032 (decode_dollar): Update.
1033 (decode_label): Add 'function_symbol' parameter. Handle
1034 function-relative labels.
1035 (decode_variable): Update.
1036 (symbol_found): Add 'function_symbol' parameter. Use label's PC,
1037 not its line. Set `special_display' and canonical name for
1038 labels.
1039
56435ebe
TT
10402011-03-24 Tom Tromey <tromey@redhat.com>
1041
1042 * linespec.h (struct linespec_result) <special_display>: New
1043 field.
1044 * breakpoint.h (struct breakpoint) <display_canonical>: New
1045 field.
1046 * breakpoint.c (print_breakpoint_location): Respect
1047 display_canonical.
1048 (create_breakpoint_sal): Add 'display_canonical' parameter.
1049 (create_breakpoints_sal): Update.
1050 (create_breakpoint): Update.
1051
7efd8fc2
TT
10522011-03-24 Tom Tromey <tromey@redhat.com>
1053
1054 * symtab.c (decode_line_spec): Update.
1055 * linespec.c (build_canonical_line_spec): Change type of
1056 'canonical'.
1057 (decode_line_2, decode_line_1, decode_objc, decode_compound)
1058 (find_method, decode_all_digits, decode_dollar, decode_label)
1059 (symbol_found): Likewise.
1060 (init_linespec_result): New function.
1061 * breakpoint.c (struct captured_parse_breakpoint_args)
1062 <canonical_p>: New field, replaces addr_string_p.
1063 (create_breakpoints_sal): Add 'canonical' parameter, replacing
1064 'addr_string'.
1065 (parse_breakpoint_sals): Likewise.
1066 (do_captured_parse_breakpoint): Update.
1067 (create_breakpoint): Use struct linespec_result.
1068 (until_break_command): Update.
1069 (breakpoint_re_set_one): Update.
1070 (decode_line_spec_1): Update.
1071 * linespec.h (struct linespec_result): New.
1072 (init_linespec_result): Declare.
1073
788c8b10
PA
10742011-03-23 Pedro Alves <pedro@codesourcery.com>
1075
1076 * regcache.c (regcache_raw_read): If the target didn't supply a
1077 given raw register, mark it as unavailable.
1078
0ba1096a
KT
10792011-03-23 Kai Tietz <ktietz@redhat.com>
1080
1081 * breakpoint.c (clear_command): Use filename_cmp
1082 instead of strcmp for comparison.
1083 * buildsym.c (watch_main_source_file_lossage): Likewise.
1084 (patch_subfile_names): Use IS_DIR_SEPARATOR instead of
1085 checking just for slash.
1086 * dbxread.c (read_dbx_symtab): Use lbasename instead of
1087 strrchr and filename_cmp instead of strcmp for filenames.
1088 (add_old_header_file): Use filename_cmp
1089 instead of strcmp for comparison.
1090 * exec.c (exec_set_section_address): Likewise.
1091 * macrotab.c (macro_lookup_inclusion): Likewise.
1092 (macro_lookup_inclusion): Likewise.
1093 * elfread.c (_initialize_elfread): Likewise.
1094 (elfstab_offset_sections): Likewise.
1095 (elfstab_offset_sections): Use lbasename instead of
1096 strrchr.
1097 * mdebugread.c (parse_partial_symbols): Likewise.
1098 (arse_partial_symbols): Use filename_(n)cmp instead of
1099 str(n)cmp for comparison.
1100 * minsyms.c (lookup_minimal_symbol): Likewise.
1101 * psymtab.c (read_psymtabs_with_filename): Likewise.
1102 * solib.c (solib_read_symbols): Likewise.
1103 (reload_shared_libraries_1): Likewise.
1104 * symmisc.c (maintenance_print_symbols): Likewise.
1105 * symfile.c (separate_debug_file_exists): Likewise.
1106 (reread_symbols): Likewise.
1107 (find_separate_debug_file_by_debuglink): Likewise.
1108 * remote-fileio.c (remote_fileio_func_rename): Likewise.
1109 * source.c (add_path): Likewise.
1110 * symtab.c (filename_seen): Likewise.
1111 (file_matches): Likewise.
1112 (print_symbol_info): Likewise.
1113 (maybe_add_partial_symtab_filename): Likewise.
1114 (make_source_files_completion_list): Likewise.
1115 * xml-syscall.c (init_sysinfo): Likewise.
1116 * windows-nat.c (_initialize_check_for_gdb_ini): Use
1117 IS_DIR_SEPARATOR for checking for trailing path separator.
1118
dd90784c
JK
11192011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1120
1121 * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_entry_value. New
1122 label abort_expression.
1123 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle
1124 DWARF_VALUE_OPTIMIZED_OUT.
1125
3167638f
JK
11262011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1127
1128 Code cleanup.
1129 * c-typeprint.c (c_type_print_args): Change parameter show_artificial
1130 to linkage_name. Invert its value. Update the function comment.
1131 (c_type_print_varspec_suffix): Invert it at the caller.
1132 * dwarf2read.c (dwarf2_compute_name): Invert it at the caller.
1133
ce406537
PA
11342011-03-22 Pedro Alves <pedro@codesourcery.com>
1135
1136 * infcmd.c (post_create_inferior): Ignore NOT_AVAILABLE_ERROR
1137 errors when reading the `stop_pc'.
1138 * printcmd.c (pc_prefix): Use get_frame_pc_if_available instead of
1139 get_frame_pc.
1140
da5d4055
PM
11412011-03-22 Phil Muldoon <pmuldoon@redhat.com>
1142
1143 * NEWS: Document gdb.Write stream keyword.
1144
29e0eb9c
JK
11452011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1146
1147 Revert:
1148 2011-03-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1149 * dwarf2read.c (producer_is_gxx_lt_4_6): New function.
1150 (dwarf2_add_field): Fix new_field->accessibility for
1151 cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6.
1152
05775840
PM
11532011-03-22 Phil Muldoon <pmuldoon@redhat.com>
1154
1155 PR python/12183
1156
1157 * python/py-function.c (fnpy_call): Treat GdbErrors differently to
1158 other error classes. Do not print stack trace.
1159
a0cb7835
JK
11602011-03-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1161
1162 * dwarf2read.c (producer_is_gxx_lt_4_6): New function.
1163 (dwarf2_add_field): Fix new_field->accessibility for
1164 cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6.
1165
d19f7eee
UW
11662011-03-21 Ulrich Weigand <ulrich.weigand@linaro.org>
1167
1168 * arm-tdep.c (arm_analyze_prologue): Do not abort parsing when
1169 encountering a load via a non-SP register.
1170
4a2fbb50
UW
11712011-03-21 Ulrich Weigand <uweigand@de.ibm.com>
1172
1173 * tramp-frame.c (tramp_frame_prepend_unwinder): Set stop_reason
1174 field in returned unwinder.
1175
3489610d
JB
11762012-03-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1177
1178 * ada-lang.c (replace_operator_with_call): Copy also GDBARCH.
1179
8c1a34e7
JB
11802012-03-21 Joel Brobecker <brobecker@adacore.com>
1181
1182 * ada-lang.c (replace_operator_with_call): Use xzalloc instead
1183 of xmalloc.
1184
8fbca658
PA
11852012-03-18 Pedro Alves <pedro@codesourcery.com>
1186
1187 * frame.c (frame_unwind_register): Throw an error if unwinding the
1188 register failed.
1189 * get_prev_frame_1 (get_prev_frame_1): Ask the unwinder if there's
1190 an unwind stop reason.
1191 (frame_stop_reason_string): Handle UNWIND_UNAVAILABLE.
1192 * frame.h (enum unwind_stop_reason) <UNWIND_OUTERMOST,
1193 UNWIND_UNAVAILABLE>: New.
1194 * inline-frame.c (inline_frame_unwind): Install
1195 default_frame_unwind_stop_reason.
1196 * frame-unwind.c: Include "exceptions.h".
1197 (frame_unwind_find_by_frame): Swallow NOT_AVAILABLE_ERROR errors.
1198 (default_frame_unwind_stop_reason): New.
1199 * frame-unwind.h (frame_unwind_stop_reason_ftype): New typedef.
1200 (default_frame_unwind_stop_reason): Declare.
1201 (struct frame_unwind) <stop_reason>: New function pointer.
1202
1203 * dummy-frame.c: Install default_frame_unwind_stop_reason.
1204 * dwarf2-frame.c: Include exceptions.h.
1205 (struct dwarf2_frame_cache) <unavailable_retaddr>: New field.
1206 (dwarf2_frame_cache): Swallow NOT_AVAILABLE_ERROR errors when
1207 computing the CFA. If such an error was thrown, set
1208 unavailable_retaddr.
1209 (dwarf2_frame_unwind_stop_reason): New.
1210 (dwarf2_frame_this_id): Don't build a frame id if the CFA was
1211 unavailable.
1212 (dwarf2_frame_unwind): Install dwarf2_frame_unwind_stop_reason.
1213 (dwarf2_signal_frame_unwind): Ditto.
1214
1215 * amd64-tdep.c: Include "exceptions.h".
1216 (struct amd64_frame_cache): New field "base_p".
1217 (amd64_init_frame_cache): Clear it.
1218 (amd64_frame_cache_1): New, factored out from amd64_frame_cache.
1219 Avoid reading registers with functions that throw if the register
1220 is not necessary to compute the frame base.
1221 (amd64_frame_cache): Reimplement wrapping amd64_frame_cache_1, and
1222 swallowing NOT_AVAILABLE_ERROR.
1223 (amd64_frame_unwind_stop_reason): New.
1224 (amd64_frame_this_id): Don't build a frame id if the frame base
1225 was unavailable.
1226 (amd64_frame_unwind): Install amd64_frame_unwind_stop_reason.
1227 (amd64_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set
1228 base_p if the frame base was computable.
1229 (amd64_sigtramp_frame_unwind_stop_reason): New.
1230 (amd64_sigtramp_frame_this_id): Don't build a frame id if the
1231 frame base was unavailable.
1232 (amd64_sigtramp_frame_unwind): Install
1233 amd64_sigtramp_frame_unwind_stop_reason.
1234 (amd64_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set
1235 base_p if the frame base was computable.
1236 (amd64_epilogue_frame_unwind_stop_reason): New.
1237 (amd64_epilogue_frame_this_id): Don't build a frame id if the
1238 frame base was unavailable.
1239 (amd64_epilogue_frame_unwind): Install
1240 amd64_epilogue_frame_unwind_stop_reason.
1241 * i386-tdep.c: Include "exceptions.h".
1242 (struct i386_frame_cache): New field "base_p".
1243 (i386_init_frame_cache): Clear it.
1244 (i386_frame_cache_1): New, factored out from amd64_frame_cache.
1245 Avoid reading registers with functions that throw if the register
1246 is not necessary to compute the frame base.
1247 (i386_frame_cache): Reimplement wrapping amd64_frame_cache_1, and
1248 swallowing NOT_AVAILABLE_ERROR.
1249 (i386_frame_unwind_stop_reason): New.
1250 (i386_frame_this_id): Don't build a frame id if the frame base was
1251 unavailable.
1252 (i386_frame_prev_register): Handle unavailable SP.
1253 (i386_frame_unwind): Install i386_frame_unwind_stop_reason.
1254 (i386_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set
1255 base_p if the frame base was computable.
1256 (i386_epilogue_frame_unwind_stop_reason): New.
1257 (i386_epilogue_frame_this_id): Don't build a frame id if the frame
1258 base was unavailable.
1259 (i386_epilogue_frame_unwind): Install
1260 i386_epilogue_frame_unwind_stop_reason.
1261 (i386_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set
1262 base_p if the frame base was computable.
1263 (i386_sigtramp_frame_unwind_stop_reason): New.
1264 (i386_sigtramp_frame_this_id): Don't build a frame id if the frame
1265 base was unavailable.
1266 (i386_sigtramp_frame_unwind): Install
1267 i386_sigtramp_frame_unwind_stop_reason.
1268 * sentinel-frame.c (sentinel_frame_prev_register): Use the value
1269 type's size, not the register's.
1270 (sentinel_frame_unwind): Install default_frame_unwind_stop_reason.
1271
1272 * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind): Install
1273 default_frame_unwind_stop_reason.
1274 * alpha-tdep.c (alpha_sigtramp_frame_unwind)
1275 (alpha_heuristic_frame_unwind): Ditto.
1276 * amd64obsd-tdep.c (amd64obsd_trapframe_unwind): Ditto.
1277 * arm-tdep.c (arm_prologue_unwind, arm_stub_unwind): Ditto.
1278 * avr-tdep.c (avr_frame_unwind): Ditto.
1279 * cris-tdep.c (cris_sigtramp_frame_unwind, cris_frame_unwind):
1280 Ditto.
1281 * frv-linux-tdep.c (frv_linux_sigtramp_frame_unwind): Ditto.
1282 * frv-tdep.c (frv_frame_unwind): Ditto.
1283 * h8300-tdep.c (h8300_frame_unwind): Ditto.
1284 * hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind): Ditto.
1285 * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_unwind): Ditto.
1286 * hppa-tdep.c (hppa_frame_unwind, hppa_fallback_frame_unwind)
1287 (hppa_stub_frame_unwind): Ditto.
1288 * i386obsd-tdep.c (i386obsd_trapframe_unwind): Ditto.
1289 * ia64-tdep.c (ia64_frame_unwind, ia64_sigtramp_frame_unwind)
1290 (ia64_libunwind_frame_unwind)
1291 (ia64_libunwind_sigtramp_frame_unwind): Ditto.
1292 * iq2000-tdep.c (iq2000_frame_unwind): Ditto.
1293 * lm32-tdep.c (lm32_frame_unwind): Ditto.
1294 * m32c-tdep.c (m32c_unwind): Ditto.
1295 * m32r-linux-tdep.c (m32r_linux_sigtramp_frame_unwind): Ditto.
1296 * m32r-tdep.c (m32r_frame_unwind): Ditto.
1297 * m68hc11-tdep.c (m68hc11_frame_unwind): Ditto.
1298 * m68k-tdep.c (m68k_frame_unwind): Ditto.
1299 * m68klinux-tdep.c (m68k_linux_sigtramp_frame_unwind): Ditto.
1300 * m88k-tdep.c (m88k_frame_unwind): Ditto.
1301 * mep-tdep.c (mep_frame_unwind): Ditto.
1302 * microblaze-tdep.c (microblaze_frame_unwind): Ditto.
1303 * mips-tdep.c (mips_insn16_frame_unwind, mips_insn32_frame_unwind)
1304 (mips_stub_frame_unwind): Ditto.
1305 * mn10300-tdep.c (mn10300_frame_unwind): Ditto.
1306 * moxie-tdep.c (moxie_frame_unwind): Ditto.
1307 * mt-tdep.c (mt_frame_unwind): Ditto.
1308 * ppc-linux-tdep.c (ppu2spu_unwind): Ditto.
1309 * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_unwind): Ditto.
1310 * rs6000-tdep.c (rs6000_frame_unwind): Ditto.
1311 * s390-tdep.c (s390_frame_unwind, s390_stub_frame_unwind)
1312 (s390_sigtramp_frame_unwind): Ditto.
1313 * score-tdep.c (score_prologue_unwind): Ditto.
1314 * sh-tdep.c (sh_frame_unwind): Ditto.
1315 * sh64-tdep.c (sh64_frame_unwind): Ditto.
1316 * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_unwind): Ditto.
1317 * sparc-tdep.c (sparc32_frame_unwind): Ditto.
1318 * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind): Ditto.
1319 * sparc64-tdep.c (sparc64_frame_unwind): Ditto.
1320 * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_unwind): Ditto.
1321 * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_unwind): Ditto.
1322 * sparc64obsd-tdep.c (sparc64obsd_frame_unwind)
1323 (sparc64obsd_trapframe_unwind): Ditto.
1324 * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_unwind): Ditto.
1325 * sparcobsd-tdep.c (sparc32obsd_sigtramp_frame_unwind): Ditto.
1326 * spu-tdep.c (spu_frame_unwind, spu2ppu_unwind): Ditto.
1327 * v850-tdep.c (v850_frame_unwind): Ditto.
1328 * vax-tdep.c (vax_frame_unwind): Ditto.
1329 * vaxobsd-tdep.c (vaxobsd_sigtramp_frame_unwind): Ditto.
1330 * xstormy16-tdep.c (frame_unwind xstormy16_frame_unwind): Ditto.
1331 * xtensa-tdep.c (xtensa_unwind): Ditto.
1332
f23d1b92
PA
13332011-03-18 Pedro Alves <pedro@codesourcery.com>
1334
1335 * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Assume
1336 there's always a frame. Use get_frame_pc_if_available instead of
1337 get_frame_pc, and if there's no PC available, don't look up a
1338 symtab.
1339
1d4f5741
PA
13402011-03-18 Pedro Alves <pedro@codesourcery.com>
1341
1342 * stack.c (print_frame_local_vars, print_frame_arg_vars): Handle
1343 unavailable PC.
1344
dba09041
PA
13452011-03-18 Pedro Alves <pedro@codesourcery.com>
1346
1347 * tracepoint.c (set_traceframe_context): Handle unavailable PC
1348 gracefully.
1349
9a26e44c
PA
13502011-03-18 Pedro Alves <pedro@codesourcery.com>
1351
1352 * frame.h (frame_unwind_caller_pc_if_available): Declare.
1353 * frame.c (frame_unwind_caller_pc_if_available): New.
1354 * stack.c (frame_info): Handle unavailable PC.
1355
13562011-03-18 Pedro Alves <pedro@codesourcery.com>
1357
1358 * frame.c (frame_unwind_pc): Rename to ...
1359 (frame_unwind_pc_if_available): ... this. New `pc' output
1360 parameter. Change return type to int. Gracefully handle
1361 gdbarch_unwind_pc throwing NOT_AVAILABLE_ERROR. Return 0 if that
1362 happened, or 1 otherwise.
1363 (frame_unwind_pc): Reimplement on top of
1364 frame_unwind_pc_if_available.
1365 (get_frame_func): Rename to ...
1366 (get_frame_func_if_available): New `pc' output parameter. Change
1367 return type to int. Gracefully handle the PC not being available.
1368 (get_frame_func): Reimplement on top of
1369 get_frame_func_if_available.
1370 (select_frame): Handle the PC being unavailable.
1371 (get_prev_frame): Handle the PC being unavailable.
1372 (get_frame_pc_if_available): New.
1373 (get_frame_address_in_block_if_available): New.
1374 (find_frame_sal): Handle the frame PC not being available.
1375 * frame.h (get_frame_pc_if_available): Declare.
1376 (get_frame_address_in_block_if_available): Declare.
1377 (get_frame_func_if_available): Declare.
1378 * stack.c (print_frame_info): Handle the PC being unavailable.
1379 (find_frame_funname): Ditto.
1380 (print_frame): Handle the PC being unavailable.
1381 (get_frame_language): Ditto.
1382 * blockframe.c (get_frame_block): Ditto.
1383 * macroscope.c (default_macro_scope): Ditto.
1384 * tui/tui-stack.c (tui_show_frame_info): Ditto.
1385
13862011-03-18 Pedro Alves <pedro@codesourcery.com>
1387
1388 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Catch
1389 NOT_AVAILABLE_ERROR when evaluating the location expression.
1390
13912011-03-18 Pedro Alves <pedro@codesourcery.com>
1392
1393 * dwarf2loc.c (read_pieced_value): Handle get_frame_register_bytes
1394 returning that the register piece is unavailable/optimized out.
1395 (write_pieced_value): Handle get_frame_register_bytes returning
1396 that the register piece is unavailable/optimized out when doing a
1397 read-modify write of a bitfield.
1398 * findvar.c (value_from_register): Handle get_frame_register_bytes
1399 returning that the register piece is unavailable/optimized out.
1400 * frame.c (get_frame_register_bytes): New parameters `optimizedp'
1401 and `unavailablep'. Throw error on bad debug info. Use
1402 frame_register instead of frame_register_read, to fill in the new
1403 arguments.
1404 * frame.h (get_frame_register_bytes): New parameters `optimizedp'
1405 and `unavailablep'.
1406 * valops.c: (value_assign): Adjust, and handle
1407 get_frame_register_bytes failing.
1408 * spu-tdep.c: Include exceptions.h.
1409 (spu_software_single_step): Adjust, and handle
1410 get_frame_register_bytes failing.
1411 (spu_get_longjmp_target): Ditto.
1412 * gdbarch.sh (register_to_value): Change to return int. New
1413 parameters `optimizedp' and `unavailablep'.
1414 * gdbarch.h, gdbarch.c: Regenerate.
1415 * i386-tdep.c (i386_register_to_value): Adjust to new
1416 gdbarch_register_to_value interface.
1417 * i387-tdep.c (i387_register_to_value): Ditto.
1418 * i387-tdep.h (i387_register_to_value): Ditto.
1419 * alpha-tdep.c (alpha_register_to_value): Ditto.
1420 * ia64-tdep.c (ia64_register_to_value): Ditto.
1421 * m68k-tdep.c (m68k_register_to_value): Ditto.
1422 * mips-tdep.c (mips_register_to_value): Ditto.
1423 * rs6000-tdep.c (rs6000_register_to_value): Ditto.
1424
0fdb4f18
PA
14252011-03-18 Pedro Alves <pedro@codesourcery.com>
1426
1427 * findvar.c (value_of_register): Mark the value as unavailable, if
1428 the register is unavailable.
1429 * frame.h (frame_register_unwind): New `unavailablep' parameter.
1430 (frame_register): New `unavailablep' parameter.
1431 (frame_register_read): Update comment.
1432 * frame.c (frame_register_unwind): New `unavailablep' parameter.
1433 Set it if the register is unavailable. If the register is
1434 unavailable, clear the output buffer.
1435 (frame_register): New `unavailablep' parameter. Pass it down.
1436 (frame_unwind_register): Adjust.
1437 (put_frame_register): Adjust.
1438 (frame_register_read): Adjust. Also return false if the register
1439 is not available.
1440 (frame_register_unwind_location): Adjust.
1441 * sentinel-frame.c (sentinel_frame_prev_register): If the register
1442 is unavailable, mark the value accordingly.
1443 * stack.c (frame_info): Handle unavailable registers.
1444
e69aa73e
PA
14452011-03-18 Pedro Alves <pedro@codesourcery.com>
1446
1447 * mi/mi-main.c (register_changed_p): Handle REG_UNAVAILABLE, and
1448 simplify, using regcache_cooked_read.
1449
05d1431c
PA
14502011-03-18 Pedro Alves <pedro@codesourcery.com>
1451
1452 * regcache.h (regcache_raw_read, regcache_raw_read_signed)
1453 (regcache_raw_read_unsigned, regcache_raw_read_signed)
1454 (regcache_raw_read_unsigned, regcache_raw_read_part)
1455 (regcache_cooked_read, regcache_cooked_read_signed)
1456 (regcache_cooked_read_unsigned, regcache_cooked_read_part)
1457 (regcache_cooked_read_ftype): Change return to enum
1458 register_status.
1459 * regcache.c: Include exceptions.h
1460 (regcache_save): Adjust to handle REG_UNAVAILABLE registers.
1461 (do_cooked_read): Change return to enum register_status. Always
1462 forward to regcache_cooked_read.
1463 (regcache_raw_read): Change return to enum register_status. If
1464 the register is not REG_VALID, memset the buffer. Return the
1465 register's status.
1466 (regcache_raw_read_signed): Handle non-REG_VALID registers and
1467 return the register's status.
1468 (regcache_raw_read_unsigned): Ditto.
1469 (regcache_cooked_read): Change return to enum register_status.
1470 Assert that with read-only regcaches, the register's status must
1471 be known. If the regcache is read-only, and the register is not
1472 REG_VALID, memset the buffer. Return the register's status.
1473 (regcache_cooked_read_signed): Change return to enum
1474 register_status. Handle non-REG_VALID registers and return the
1475 register's status.
1476 (regcache_cooked_read_unsigned): Change return to enum
1477 register_status. Handle non-REG_VALID registers and return the
1478 register's status.
1479 (regcache_xfer_part, regcache_raw_read_part)
1480 (regcache_cooked_read_part): Change return to enum
1481 register_status. Return the register's status.
1482 (regcache_read_pc): Throw NOT_AVAILABLE_ERROR if the register is
1483 unavailable.
1484 (regcache_dump): Handle unavailable cooked registers.
1485 * frame.c (do_frame_register_read): Adjust interface to match
1486 regcache_cooked_read_ftype.
1487 * gdbarch.sh (pseudo_register_read): Change return to enum
1488 register_status.
1489 * gdbarch.h, gdbarch.c: Regenerate.
1490
1491 * i386-tdep.h (i386_pseudo_register_read): Change return to enum
1492 register_status.
1493 * i386-tdep.c (i386_pseudo_register_read): Change return to enum
1494 register_status. If reading a raw register indicates the raw
1495 register is not valid, return the raw register's status,
1496 otherwise, return REG_VALID.
1497 * amd64-tdep.c (amd64_pseudo_register_read): Change return to enum
1498 register_status. Handle non-REG_VALID raw registers and return
1499 the register's status.
1500 * arm-tdep.c (arm_neon_quad_read)
1501 (arm_pseudo_read): Change return to enum register_status. Handle
1502 non-REG_VALID raw registers and return the register's status.
1503 * avr-tdep.c (avr_pseudo_register_read): Ditto.
1504 * frv-tdep.c (frv_pseudo_register_read): Ditto.
1505 * h8300-tdep.c (h8300_pseudo_register_read): Ditto.
1506 * hppa-tdep.c (hppa_pseudo_register_read): Ditto.
1507 * m32c-tdep.c (m32c_move_reg_t): Change return to enum
1508 register_status.
1509 (m32c_raw_read, m32c_raw_write, m32c_banked_read)
1510 (m32c_banked_write, m32c_sb_read, m32c_sb_write, m32c_part_read)
1511 (m32c_part_write, m32c_cat_read, m32c_cat_write)
1512 (m32c_r3r2r1r0_read, m32c_r3r2r1r0_write)
1513 (m32c_pseudo_register_read): Change return to enum
1514 register_status. Adjust.
1515 * m68hc11-tdep.c (m68hc11_pseudo_register_read): Change return to
1516 enum register_status. Return the register's status.
1517 * mep-tdep.c (mep_pseudo_cr32_read): Change return to enum
1518 register_status. Return the register's status.
1519 (mep_pseudo_cr64_read, mep_pseudo_register_read): Ditto.
1520 * mips-tdep.c (mips_pseudo_register_read): Ditto.
1521 * mt-tdep.c (mt_pseudo_register_read): Ditto.
1522 * rs6000-tdep.c (move_ev_register_func): New typedef.
1523 (e500_move_ev_register): Use it. Change return to enum
1524 register_status. Return the register's status.
1525 (do_regcache_raw_read): New function.
1526 (do_regcache_raw_write): New function.
1527 (e500_pseudo_register_read): Change return to enum
1528 register_status. Return the register's status. Use
1529 do_regcache_raw_read.
1530 (e500_pseudo_register_write): Adjust. Use do_regcache_raw_write.
1531 (dfp_pseudo_register_read): Change return to enum register_status.
1532 Return the register's status.
1533 (vsx_pseudo_register_read): Ditto.
1534 (efpr_pseudo_register_read): Ditto.
1535 (rs6000_pseudo_register_read): Ditto.
1536 * s390-tdep.c (s390_pseudo_register_read): Change return to enum
1537 register_status. Return the register's status.
1538 * sh64-tdep.c (pseudo_register_read_portions): New function.
1539 (sh64_pseudo_register_read): Change return to enum
1540 register_status. Use pseudo_register_read_portions. Return the
1541 register's status.
1542 * ia64-tdep.c (ia64_pseudo_register_read): Change return to enum
1543 register_status. Return the register's status.
1544 * sh-tdep.c (pseudo_register_read_portions): New function.
1545 (sh_pseudo_register_read): Change return to enum register_status.
1546 Use pseudo_register_read_portions. Return the register's status.
1547 * sparc-tdep.c (sparc32_pseudo_register_read): Change return to
1548 enum register_status. Return the register's status.
1549 * sparc64-tdep.c (sparc64_pseudo_register_read): Ditto.
1550 * spu-tdep.c (spu_pseudo_register_read_spu)
1551 (spu_pseudo_register_read): Ditto.
1552 * xtensa-tdep.c (xtensa_register_read_masked)
1553 (xtensa_pseudo_register_read): Ditto.
1554 * bfin-tdep.c (bfin_pseudo_register_read): Ditto.
1555
e10abd8f
PM
15562011-03-18 Pierre Muller <muller@ics.u-strasbg.fr>
1557
1558 * python/py-value.c (valpy_getitem): Fix formatting of error function
1559 call.
1560
7ea6d463
PM
15612011-03-18 Pierre Muller <muller@ics.u-strasbg.fr>
1562
1563 ARI fixes: Add missing internationalization markups throughout
1564 C source files.
1565 * darwin-nat-info.c: Ditto.
1566 * record.c: Ditto.
1567 * remote.c: Ditto.
1568 * mi/mi-main.c: Ditto.
1569
001083c6
PM
15702011-03-18 Pierre Muller <muller@ics.u-strasbg.fr>
1571
1572 ARI fixes: Add missing internationalization markups throughout
1573 yacc files.
1574 * c-exp.y: Ditto.
1575 * cp-name-parser.y: Ditto.
1576 * f-exp.y: Ditto.
1577 * m2-exp.y: Ditto.
1578 * objc-exp.y: Ditto.
1579 * p-exp.y: Ditto.
1580
4f1cdeec
PM
15812011-03-18 Pierre Muller <muller@ics.u-strasbg.fr>
1582
1583 ARI fixes: Messages should have no trailing new lines.
1584 * darwin-nat.c (mach_check_error): Remove trailing new line from
1585 warning function call message.
1586 * record.c (bfdcore_read): Idem for error call.
1587
28e698f1
PM
15882011-03-18 Pierre Muller <muller@ics.u-strasbg.fr>
1589
1590 * common/signals.c (target_signal_from_host): Add _ markup to error
1591 function call message.
1592 (target_signal_to_host): Add _ markup and remove trailing new line
1593 from warning call message.
1594 (target_signal_from_command): Add _ markup to error function call
1595 message.
1596
99c3dc11
PM
15972011-03-18 Phil Muldoon <pmuldoon@redhat.com>
1598
1599 PR python/12149
1600
1601 * python/python.c (gdbpy_write): Accept a stream argument and
1602 operate to the appropriate stream.
1603 (gdbpy_flush): Likewise.
1604 (_initialize_python): Add stream constants.
1605 (finish_python_initialization): Add GdbOutputErrorFile class.
1606
c20800be
KY
16072011-03-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1608
1609 * MAINTAINERS: Add myself as a write-after-approval maintainer.
1610
f4a1794a
KY
16112011-03-18 Kwok Cheung Yeung <kcy@codesourcery.com>
1612
1613 * amd64-tdep.c (amd64_relocate_instruction): Fix ordering of arguments
1614 to store_signed_integer. Add debug message when relocating CALL
1615 instructions. Fix formatting of debug message.
1616 * i386-tdep.c (i386_relocate_instruction): Ditto.
1617
d4862372
JB
16182011-03-17 Joel Brobecker <brobecker@gnat.com>
1619
1620 * target.h (struct target_ops): Remove to_lookup_symbol field.
1621 (target_lookup_symbol): Delete macro.
1622 * target.c (nosymbol, debug_to_lookup_symbol): Delete.
1623 (update_current_target, setup_target_debug): Remove handling
1624 of to_lookup_symbol target_ops field.
1625 * ada-tasks.c (get_known_tasks_addr): Remove use of
1626 target_lookup_symbol.
1627 * coffread.c (coff_symtab_read): Likewise.
1628 * dbxread.c (read_dbx_symtab): Ditto.
1629
d645e32e
JB
16302011-03-17 Joel Brobecker <brobecker@gnat.com>
1631
1632 PR gdb/12116:
1633 * configure.ac: Add getthrds declaration check.
1634 * configure, config.in: Regenerate.
1635 * aix-thread.c (getthrds): Declare only if not already declared
1636 in procinfo.h. More declaration out of get_signaled_thread to
1637 global scope.
1638
29703da4
PM
16392011-03-17 Phil Muldoon <pmuldoon@redhat.com>
1640
1641 * python/py-symtab.c: Populate symtab_object_methods,
1642 sal_object_methods.
1643 (stpy_is_valid): New function.
1644 (salpy_is_valid): Ditto.
1645 * python/py-symbol.c: Declare symbol_object_methods. Populate.
1646 (sympy_is_valid): New function.
1647 * python/py-objfile.c: Declare objfile_object_methods. Populate.
1648 (objfpy_is_valid): New function.
1649 * python/py-inferior.c: Populate inferior_object_methods.
1650 (infpy_is_valid): New function.
1651 * python/py-infthread.c: Populate thread_object_methods.
1652 (thpy_is_valid): New function.
1653 * python/py-block.c: Declare block_object_methods. Populate. Declare
1654 block_iterator_object_methods. Populate.
1655 (blpy_is_valid): New function.
1656 (blpy_iter_is_valid): Ditto.
1657
c00f8484
KS
16582011-03-16 Keith Seitz <keiths@redhat.com>
1659
1660 * linespec.c (find_methods): Canonicalize NAME before looking
1661 up the symbol.
1662 (name_end): New function.
1663 (keep_name_info): New function.
1664 (decode_line_1): Use keep_name_info.
1665 (decode_compound): Likewise.
1666 * cli/cli-utils.h (remove_trailing_whitespace): New function.
1667 * cli/cli-utils.c (remove_trailing_whitespace): Likewise.
1668
1669 PR c++/12273
1670 * linespec.c (locate_first_half): Keep overload information, too.
1671 (decode_compound): Use a string to represent break characters
1672 to escape the loop.
1673 If P points to a break character, do not increment it.
1674 For C++ and Java, keep overload information and relevant keywords.
1675 If we cannot find a symbol, search the minimal symbols.
1676
1677 PR c++/11734
1678 * linespec.c (decode_compound): Rename SAVED_ARG to
1679 THE_REAL_SAVED_ARG.
1680 Make a copy of THE_REAL_SAVED_ARG in SAVED_ARG and strip
1681 single-quotes.
1682 Pass a valid block to lookup_symbol.
1683 (lookup_prefix_sym): Likewise.
1684 (find_method): Construct search name based on SYM_CLASS instead
1685 of SAVED_ARG.
1686 * psymtab.c (lookup_partial_symbol): Add language parameter.
1687 (lookup_symbol_aux_psymtabs): Likewise.
1688 Don't assume that the psymtab we found was the right one. Search
1689 for the desired symbol in the symtab to be certain.
1690 (psymtab_search_name): New function.
1691 (lookup_partial_symbol): Use psymtab_search_name.
1692 Add language parameter.
1693 (read_symtabs_for_function): Add language parameter and pass to
1694 lookup_partial_symbol.
1695 (find_symbol_file_from_partial): Likewise.
1696
c91513d8
PP
16972011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1698
1699 PR gdb/12528
1700 * dwarf2read.c (noop_record_line): New function.
1701 (dwarf_decode_lines): Ignore line tables for GCd functions.
1702
b37520b6
PM
17032011-03-16 Pierre Muller <muller@ics.u-strasbg.fr>
1704
1705 Fix ARI warnings about new lines at the end of messages, which
1706 are unneeded as there is a new line added at the end of the message
1707 automatically.
1708 * darwin-nat.c (darwin_stop_inferior): Ditto.
1709 * dec-thread.c (dec_thread_get_ada_task_ptid): Ditto.
1710 * dfp.c (decimal_to_number): Ditto.
1711 * exec.c (print_section_info): Ditto.
1712 * i386-darwin-nat.c (darwin_set_sstep): Ditto.
1713 * osdata.c (get_osdata): Ditto.
1714 * record.c (bfdcore_write): Ditto.
1715 * remote-mips.c (mips_readchar): Ditto.
1716 * remote.c (read_ptid): Ditto.
1717 * ser-mingw.c (ser_windows_raw): Ditto.
1718 * tracepoint.c (add_local_symbols): Ditto.
1719 * windows-nat.c (fake_create_process): Ditto.
1720
b08ee6a2
TT
17212011-03-16 Tom Tromey <tromey@redhat.com>
1722
1723 * tracepoint.c (stop_tracing): Don't declare.
1724 * event-top.c (after_char_processing_hook): Add `(void)'.
1725
9a6f1302
PM
17262011-03-16 Phil Muldoon <pmuldoon@redhat.com>
1727
1728 * NEWS: Add Parameter sub-classing description.
1729
7ceb86b1
KT
17302011-03-16 Kai Tietz <ktietz@redhat.com>
1731
1732 * MAINTAINERS: Update my e-mail address.
1733
efeff6cf
AT
17342011-03-15 Andreas Tobler <andreast@fgznet.ch>
1735
1736 * MAINTAINERS: Add myself for write after approval privileges.
1737
681c238c
MS
17382011-03-15 Michael Snyder <msnyder@vmware.com>
1739
f3df5b08
MS
1740 * frame.c (find_frame_sal): Assert sym is not null.
1741
13f6513c
MS
1742 * dbxread.c (process_one_symbol): Assert 'name' is not null.
1743
50412521
MS
1744 * objc-lang.c (selectors_info): Check strchr for null result.
1745
681c238c
MS
1746 * stabsread.c (define_symbol): Guard against bad stabstring input.
1747
6ced1581
PM
17482011-03-15 Pierre Muller <muller@ics.u-strasbg.fr>
1749
1750 Remove trailing spaces and tabulations from pascal language
1751 support sources.
1752 p-exp.y: Ditto.
1753 p-lang.c: Ditto.
1754 p-lang.h: Ditto.
1755 p-valprint.c: Ditto.
1756
9373cf26
JK
17572011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1758
1759 * dwarf2read.c (dwarf2_get_pc_bounds): Require HIGH strictly higher
1760 than LOW. Comment it.
1761 (read_partial_die): Call complaint for inappropriate zero LOWPC or
1762 HIGHPC not strictly higher than LOWPC.
1763
9a1edae6
PM
17642011-03-15 Pierre Muller <muller@ics.u-strasbg.fr>
1765
1766 Fix formatting of function declarations returning a pointer in
1767 previous commit.
1768 * varobj.c (varobj_add_child): Ditto.
1769 * hppa-tdep.h (hppa_init_objfile_priv_data): Ditto.
1770 * inferior.h (get_displaced_step_closure_by_addr): Ditto.
1771
24e9cda0
UW
17722011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
1773
1774 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Add support
1775 for the "generic" vector ABI used with GCC 4.3 and later.
1776 (ppc64_sysv_abi_return_value): Likewise.
1777
17782011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
81b4675a
UW
1779
1780 * infcall.c (call_function_by_hand): Function return value is
1781 always a non_lval, even when using struct_return.
1782
c9174737
PA
17832011-03-15 Pedro Alves <pedro@codesourcery.com>
1784
1785 * printcmd.c (ALL_DISPLAYS_SAFE): New.
1786 (map_display_numbers): New.
1787 (do_delete_display): New.
1788 (undisplay_command): Use map_display_numbers.
1789 (do_enable_disable_display): New.
1790 (enable_disable_display_command): New function.
1791 (enable_display): Delete.
1792 (enable_display_command): New.
1793 (disable_display_command): Reimplement.
1794 (_initialize_printcmd): Adjust "enable display" command to use
1795 `enable_display_command' as callback.
1796
350c6c65
PM
17972011-03-14 Phil Muldoon <pmuldoon@redhat.com>
1798
1799 * NEWS: Add Python breakpoint 'stop' operation.
1800
824446ad
PM
18012011-03-14 Phil Muldoon <pmuldoon@redhat.com>
1802
1803 * NEWS: Delete duplicate entry. Fix typo.
1804
2021ad3a
PM
18052011-03-14 Pierre Muller <muller@ics.u-strasbg.fr>
1806
1807 Fix ARI warning about function names in first column.
1808 Put prototype declaration on same line as return type.
1809 * objc-exp.y: Ditto.
1810 * p-exp.y: Ditto.
1811 * python/py-stopevent.h: Ditto.
1812 For long function names, split parameters to
1813 allow function name on same line as return type.
1814 * solib-pa64.c: Ditto.
1815 * varobj.c: Ditto.
1816 * varobj.h: Ditto.
1817 For long function declaration, use single line.
1818 * hppa-tdep.h: Ditto.
1819 * inferior.h: Ditto.
1820
7371cf6d
PM
18212011-03-14 Phil Muldoon <pmuldoon@redhat.com>
1822
1823 * python/python.h: Declare gdbpy_should_stop and
1824 gdbpy_breakpoint_has_py_cond.
1825 * python/python.c: Add python.h to includes. Remove python.h from
1826 HAVE_PYTHON definition
1827 (gdbpy_should_stop): New dummy function.
1828 (gdbpy_breakpoint_has_py_cond): New dummy function.
1829 * python/py-breakpoint.c (bppy_init): Rewrite to allow
1830 sub-classing capabilities.
1831 (gdbpy_should_stop): New function.
1832 (gdbpy_breakpoint_has_py_cond): New function.
1833 (local_setattro): New function.
1834 * breakpoint.c (condition_command): Add check for Python 'stop'
1835 operation.
1836 (bpstat_check_breakpoint_conditions): Execute Python 'stop'
1837 operation function as part of stop/continue tests.
1838
37b50a69
TT
18392011-03-14 Tom Tromey <tromey@redhat.com>
1840
1841 PR gdb/12576:
1842 * dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'.
1843 (needs_frame_dwarf_call): Likewise.
1844
eeae04df
PM
18452011-03-14 Pierre Muller <muller@ics.u-strasbg.fr>
1846
1847 Fix ARI warning about functions without parameters that do not
1848 use (void).
1849 * breakpoint.c (all_tracepoints): Replace () by (void).
1850 * f-exp.y (match_string_literal): Ditto.
1851 (yylex): Ditto.
1852 * m2-exp.y (yylex): Ditto.
1853 * mep-tdep.c (current_me_module): Ditto.
1854 (current_options): Ditto.
1855 (current_cop_data_bus_width): Ditto.
1856 (current_cr_names): Ditto.
1857 (current_cr_is_float): Ditto.
1858 (current_ccr_names): Ditto.
1859 * objc-exp.y (yylex): Ditto.
1860 * p-exp.y (yylex): Ditto.
1861 * remote.c (send_interrupt_sequence): Ditto.
1862 * tracepoint.c (current_trace_status): Ditto.
1863 * python/py-evts.c (gdbpy_initialize_py_events): Ditto.
1864 * python/py-prettyprint.c (push_dummy_python_frame): Ditto.
1865
6dc3565d
MS
18662011-03-11 Michael Snyder <msnyder@vmware.com>
1867
1427fe5e
MS
1868 * cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define.
1869 * cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS.
1870 (lookup_cmd): Test for CMD_LIST_AMBIGUOUS.
1871 * completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS.
1872 * top.c (set_verbose): Use CMD_LIST_AMBIGUOUS.
1873
60bc018f
MS
1874 * event-loop-c (delete_async_signal_handler): Assert prev_ptr.
1875 (delete_async_event_handler): Ditto.
1876
f3be5b64
MS
1877 * python/py-breakpoint.c (bppy_set_condition): Stop memory leak.
1878
4c2d5724
MS
1879 * python/py-breakpoint.c (bppy_get_commands): Fix memory leak.
1880
6dc3565d
MS
1881 * top.c (set_verbose): Assert showcmd was found.
1882
4e6ca6d5
MG
18832011-03-11 Maxim Grigoriev <maxim2405@gmail.com>
1884
1885 * xtensa-tdep.c (warning_once): Correct style issues.
1886
815a83e4
YQ
18872011-03-11 Yao Qi <yao@codesourcery.com>
1888
1889 * arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements.
1890
f2eb0bc8
AS
18912011-03-11 Andreas Schwab <schwab@redhat.com>
1892
1893 * common/aclocal.m4: Remove.
1894
b801de47
MG
18952011-03-10 Maxim Grigoriev <maxim2405@gmail.com>
1896
1897 * xtensa-tdep.c (windowing_enabled): Remove inline attribute.
1898 (xtensa_write_register, xtensa_read_register): Likewise.
1899 (xtensa_hextochar): Removed.
1900 (xtensa_init_reggroups): Replace xtensa_hextochar () by explicit code.
1901
dbab50de
MG
19022011-03-10 Maxim Grigoriev <maxim2405@gmail.com>
1903
1904 * xtensa-tdep.c (xtensa_c0reg_t): Update comments.
c2a6b390 1905 (xtensa_call0_frame_cache_t): Update comments. New fields added.
dbab50de
MG
1906 (xtensa_alloc_frame_cache): Add initialization for new fields.
1907 (xtensa_frame_cache): Change the way how call0_frame_cache () is called.
1908 (warning_once): New function.
1909 (xtensa_insn_kind): New item c0opc_and.
1910 (call0_classify_opcode): Add the case for AND instruction.
c2a6b390
MG
1911 (call0_track_op): Change arguments. New local variable litbase.
1912 Add the case to handle c0opc_and. Update algorithms for c0opc_mov,
1913 c0opc_l32r, c0opc_s32i to take into account dynamic stack adjustments
1914 in the prologue.
dbab50de 1915 Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu.
c2a6b390 1916 (call0_analyze_prologue): Update the comments. Change arguments.
dbab50de
MG
1917 Add the variety of updates to handle extended prologues, which now can
1918 conduct dynamic stack adjustments.
1919 (call0_frame_cache): Likewise.
1920 (xtensa_skip_prologue): Update call0_analyze_prologue () function call.
1921 (xtensa_gdbarch_init): Initialize xtensa_session_once_reported.
1922
b2c04452
MS
19232011-03-10 Michael Snyder <msnyder@vmware.com>
1924
f8f67713
MS
1925 * tracepoint.c (cmd_qtv): Discard unused value 'packet'.
1926 (cmd_qtframe): Ditto.
1927 (cmd_qtbuffer): Ditto.
1928 (cmd_bigqtbuffer): Ditto.
1929
197f0a60
TT
19302011-03-10 Tom Tromey <tromey@redhat.com>
1931
1932 * tracepoint.c (trace_actions_command): Update.
1933 * thread.c (thread_apply_command): Update.
1934 * reverse.c (delete_bookmark_command): Update.
1935 (bookmarks_info): Update.
1936 * printcmd.c (undisplay_command): Update.
1937 * memattr.c (mem_enable_command): Update.
1938 (mem_disable_command): Update.
1939 (mem_delete_command): Update.
1940 * inferior.c (detach_inferior_command): Update.
1941 (kill_inferior_command): Update.
1942 (remove_inferior_command): Update.
1943 * cli/cli-utils.h (struct get_number_or_range_state): New.
1944 (init_number_or_range): Declare.
1945 (get_number_or_range): Update.
1946 * cli/cli-utils.c (init_number_or_range): New function.
1947 (get_number_or_range): Change 'pp' parameter to 'state'. Remove
1948 static variables.
1949 (number_is_in_list): Update.
1950 * breakpoint.h (get_tracepoint_by_number): Update.
1951 * breakpoint.c (map_breakpoint_numbers): Update for change to
1952 get_number_or_range.
1953 (find_location_by_number): Use get_number, not
1954 get_number_or_range.
1955 (trace_pass_set_count): New function.
1956 (trace_pass_command): Update for change to get_number_or_range.
1957 Rework loop logic.
1958 (get_tracepoint_by_number): Remove 'multi_p' parameter; add
1959 'state' parameter.
1960
ecec24e6
PM
19612011-03-10 Phil Muldoon <pmuldoon@redhat.com>
1962
1963 * python/py-param.c (add_setshow_generic): Add set/show callback
1964 parameters. Register Python object context.
1965 (get_show_value): New function.
1966 (get_set_value): New function.
1967 (call_doc_function): New function.
1968 (get_doc_string): Move behind get_show_value/get_set_value.
1969
6d6c6b1f
JK
19702011-03-10 Andreas Tobler <andreast-list@fgznet.ch>
1971
1972 * fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'.
1973
68d6df83
MG
19742011-03-09 Maxim Grigoriev <maxim2405@gmail.com>
1975
dbab50de 1976 * xtensa-tdep.c (xtensa_read_register): Add comment.
68d6df83
MG
1977 (xtensa_write_register): Likewise.
1978 (xtensa_hextochar): Add comment and update to match coding conventions.
1979 (xtensa_frame_cache, xtensa_return_value): Follow coding conventions.
1980 (execute_l32e, execute_s32e, execute_code): Update comments.
1981 (xtensa_exception_handler_t): Update to match coding conventions.
1982 (xtensa_insn_kind): Likewise.
1983
85c9d6a6
MS
19842011-03-09 Michael Snyder <msnyder@vmware.com>
1985
1986 * mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak.
1987
91495617
PA
19882011-03-09 Pedro Alves <pedro@codesourcery.com>
1989
1990 * nto-tdep.c (nto_find_and_open_solib): Constify local `base'.
1991
eb8c0621
TT
19922011-03-09 Tom Tromey <tromey@redhat.com>
1993
1994 * thread.c (restore_selected_frame): Handle frame_level == -1.
1995 (make_cleanup_restore_current_thread): Use
1996 get_selected_frame_if_set.
1997 * frame.h (get_selected_frame_if_set): Declare.
1998 * frame.c (get_selected_frame_if_set): New function.
1999
9f37bbcc
PA
20002011-03-09 Pedro Alves <pedro@codesourcery.com>
2001
2002 * cli/cli-cmds.c (shell_escape): Use lbasename.
2003 * coffread.c (coff_start_symtab): Constify parameter.
2004 (complete_symtab): Constify `name' parameter.
2005 (coff_symtab_read): Constify `filestring' local.
2006 (coff_getfilename): Constify return and `result' local.
2007 Use lbasename.
2008 * fbsd-nat.c (fbsd_make_corefile_notes): Use lbasename.
2009 * linux-fork.c (info_checkpoints_command): Use lbasename.
2010 * linux-nat.c (linux_nat_make_corefile_notes): Use lbasename.
2011 * minsyms.c (lookup_minimal_symbol): Use lbasename.
2012 * nto-tdep.c (nto_find_and_open_solib): Use lbasename.
2013 * procfs.c (procfs_make_note_section): Use lbasename.
2014 * tui/tui-io.c (printable_part): Constity return and parameter.
2015 Use lbasename.
2016 (print_filename): Constify parameters, and local `s'.
2017 (tui_rl_display_match_list): Constify local `temp'.
2018
f8de3c55
JK
20192011-03-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2020
2021 Revert:
2022 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2023 Fix DWARF-3+ DW_AT_accessibility default assumption.
2024 * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
2025 cu->header.version >= 3.
2026
d9837b00
YQ
20272011-03-09 Yao Qi <yao@codesourcery.com>
2028
2029 * common/Makefile.in: Remove.
2030 * common/configure: Remove.
2031 * common/configure.ac: Remove.
2032
e637a4f5
YQ
20332011-03-09 Yao Qi <yao@codesourcery.com>
2034
2035 Revert:
2036 2011-02-11 Yao Qi <yao@codesourcery.com>
2037
2038 * common/Makefile.in: Add copyright header.
2039
2040 2011-02-11 Yao Qi <yao@codesourcery.com>
2041
2042 * Makefile.in: Remove signals.o from COMMON_OBS. Link
2043 libcommon.a.
2044 * configure.ac: Add common to sub dir.
2045 * configure: Regenerate.
2046
f976a05d
MG
20472011-03-08 Maxim Grigoriev <maxim2405@gmail.com>
2048
2049 * xtensa-tdep.c (call0_ret): New function.
2050 (xtensa_skip_prologue): Speed up analysis.
2051
57041825
MG
20522011-03-08 Maxim Grigoriev <maxim2405@gmail.com>
2053
2054 * xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers
2055 while executing MI command -data-list-changed-registers.
2056
08b9c608
MG
20572011-03-08 Maxim Grigoriev <maxim2405@gmail.com>
2058
2059 * xtensa-tdep.c (xtensa_read_register): New function.
2060 (xtensa_write_register): New function.
2061 (xtensa_find_register_by_name): New function.
2062 (xtensa_windowed_frame_cache): Update comments in type description.
2063 (xtensa_frame_cache): Likewise.
2064 (xtensa_window_interrupt_insn): New function.
2065 (xtensa_frame_cache): Add analysis for Xtensa Window Exception frames.
2066 (xtensa_insn_kind): Add new instructions.
2067 (rwx_special_register): New function.
2068 (call0_classify_opcode): Add new instructions to the analysis.
2069 (a0_saved, a7_saved, a11_saved): New variables.
2070 (a0_was_saved, a7_was_saved, a11_was_saved): New variables.
2071 (execute_l32e): New function.
2072 (execute_s32e): New function.
2073 (xtensa_exception_handler_t): New type.
2074 (execute_code): New function.
2075 (xtensa_window_interrupt_frame_cache): New function to conduct frame
2076 analysis for Xtensa Window Exception handlers.
2077
4d1acb11
MG
20782011-03-08 Maxim Grigoriev <maxim2405@gmail.com>
2079
98689b25
MG
2080 * xtensa-tdep.c (TX_PS): New.
2081 (windowing_enabled): Update to count for Call0 ABI.
2082 (xtensa_hextochar): New.
2083 (xtensa_init_reggroups): Make algorithm generic.
2084 (xtensa_frame_cache): Use TX_PS on Tiny Xtensa.
2085
20862011-03-08 Maxim Grigoriev <maxim2405@gmail.com>
2087
2088 * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): Update.
4d1acb11 2089
d3f323f3
MS
20902011-03-08 Michael Snyder <msnyder@vmware.com>
2091
3dcabaa8
MS
2092 * i386-tdep.c (i386_follow_jump): Check return value of
2093 target_read_memory.
2094 (i386_analyze_struct_return): Ditto.
2095 (i386_skip_probe): Ditto.
2096 (i386_match_insn): Ditto.
2097 (i386_skip_noop): Ditto.
2098 (i386_analyze_frame_setup): Ditto.
2099 (i386_analyze_register_saves): Ditto.
2100 (i386_skip_prologue): Ditto.
2101 (i386_skip_main_prologue): Ditto.
2102
13b3fd9b
MS
2103 * target.c (read_whatever_is_readable): Fix memory leak.
2104
d3f323f3
MS
2105 * i386-tdep.c (i386_process_record): Document fall through.
2106
421d5c74
JK
21072011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2108
2109 Fix DWARF-3+ DW_AT_accessibility default assumption.
2110 * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
2111 cu->header.version >= 3.
2112
63154eca
PA
21132011-03-08 Pedro Alves <pedro@codesourcery.com>
2114
2115 * remote.c (remote_check_symbols): Skip if the target has no
2116 execution.
2117
f1a507a1
JB
21182011-03-08 Joel Brobecker <brobecker@adacore.com>
2119
2120 * target.c (read_whatever_is_readable): Reformat comment,
2121 with a minor typo fix. Minor reformatting of the code.
2122
36073a92
YQ
21232011-03-08 Yao Qi <yao@codesourcery.com>
2124
2125 * arm-tdep.c: Remove prototype declaration displaced_in_arm_mode.
2126 (displaced_read_reg): Add `dsc' parameter, remove `from' parameter.
2127 Use cached result instead of calling displaced_in_arm_mode again.
2128 (branch_write_pc, alu_write_pc, load_write_pc): Add `dsc' parameter.
2129 (displaced_write_reg, copy_preload, copy_preload_reg): Callers update.
2130 (cleanup_copro_load_store, copy_copro_load_store): Likewise.
2131 (cleanup_branch, copy_bx_blx_reg, copy_alu_imm): Likewise.
2132 (cleanup_alu_reg, copy_alu_reg, cleanup_alu_shifted_reg): Likewise.
2133 (copy_alu_shifted_reg, cleanup_load, cleanup_store): Likewise.
2134 (copy_extra_ld_st, copy_ldr_str_ldrb_strb): Likewise.
2135 (cleanup_block_load_all, cleanup_block_store_pc): Likewise.
2136 (cleanup_block_load_pc, copy_block_xfer): Likewise.
2137 * arm-linux-tdep.c (arm_linux_copy_svc): Callers update.
2138 (arm_catch_kernel_helper_return): Likewise.
2139 * gdb/arm-tdep.h : Update function declarations.
2140
d3f323f3 21412011-03-07 Michael Snyder <msnyder@vmware.com>
e6040cbd 2142
e0e40094
MS
2143 * dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null.
2144
0b2381f5
MS
2145 * ser-unix.c (hardwire_get_tty_state): Stop memory leak.
2146
0350914a
MS
2147 * mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment.
2148
69feea6f
MS
2149 * elfread.c (elf_symtab_read): Stop memory leak.
2150
e6040cbd
MS
2151 * main.c (captured_main): Fix memory leak.
2152
052874e8
AS
21532011-03-07 Andreas Schwab <schwab@linux-m68k.org>
2154
2155 * ada-lang.c (compare_names): Call is_name_suffix with string1
2156 instead of string2.
2157
b11896a5
TT
21582011-03-07 Tom Tromey <tromey@redhat.com>
2159
2160 * xcoffread.c (xcoff_sym_fns): Update.
2161 * symfile.h (struct sym_fns) <sym_read_psymbols>: New field.
2162 (enum symfile_add_flags) <SYMFILE_NO_READ>: New constant.
2163 * symfile.c (syms_from_objfile): Handle SYMFILE_NO_READ.
2164 (symbol_file_add_with_addrs_or_offsets): Likewise.
2165 (reread_symbols): Handle OBJF_PSYMTABS_READ.
2166 * somread.c (som_sym_fns): Update.
2167 * psymtab.h (require_partial_symbols): Declare.
2168 * psymtab.c (require_partial_symbols): New function.
2169 (ALL_OBJFILE_PSYMTABS_REQUIRED): New macro.
2170 (ALL_OBJFILE_PSYMTABS): Undef.
2171 (ALL_PSYMTABS): Move from psympriv.h.
2172 (lookup_partial_symtab, find_pc_sect_psymtab)
2173 (lookup_symbol_aux_psymtabs, relocate_psymtabs)
2174 (find_last_source_symtab_from_partial)
2175 (forget_cached_source_info_partial)
2176 (print_psymtab_stats_for_objfile, read_symtabs_for_function)
2177 (expand_partial_symbol_tables, read_psymtabs_with_filename)
2178 (map_symbol_names_psymtab, map_symbol_filenames_psymtab)
2179 (find_symbol_file_from_partial, map_matching_symbols_psymtab)
2180 (expand_symtabs_matching_via_partial, maintenance_info_psymtabs):
2181 Use ALL_OBJFILE_PSYMTABS_REQUIRED.
2182 * psympriv.h (ALL_PSYMTABS): Move to psymtab.c.
2183 * objfiles.h (OBJF_PSYMTABS_READ): New macro.
2184 * objfiles.c (objfile_has_partial_symbols): Handle lazily-read
2185 psymtabs.
2186 * mipsread.c (ecoff_sym_fns): Update.
2187 * machoread.c (macho_sym_fns): Update.
2188 * elfread.c (elf_symfile_read): Set up for lazy psymtab reading.
2189 (read_psyms): New function.
2190 (elf_sym_fns, elf_sym_fns_gdb_index): Update.
2191 (elf_sym_fns_lazy_psyms): New global.
2192 * dwarf2read.c (dwarf2_initialize_objfile): Don't call
2193 dwarf2_build_psymtabs.
2194 * dbxread.c (aout_sym_fns): Update.
2195 * coffread.c (coff_sym_fns): Update.
2196
fda326dd
TT
21972011-03-07 Tom Tromey <tromey@redhat.com>
2198
2199 * infrun.c (print_exited_reason): Include inferior id and pid in
2200 message.
2201
aeaec162
TT
22022011-03-07 Tom Tromey <tromey@redhat.com>
2203
2204 * target.h (struct target_ops) <to_has_execution>: Add ptid_t
2205 parameter.
2206 (target_has_execution_1): Update.
2207 (target_has_execution_current): Declare.
2208 (target_has_execution): Call target_has_execution_current.
2209 (default_child_has_execution): Update.
2210 * target.c (default_child_has_execution): Add 'the_ptid'
2211 parameter.
2212 (target_has_execution_1): Likewise.
2213 (target_has_execution_current): New function.
2214 (add_target): Update.
2215 (init_dummy_target): Update.
2216 * remote-m32r-sdi.c (m32r_has_execution): New function.
2217 (init_m32r_ops): Use it.
2218 * record.c (record_core_has_execution): Now static. Add
2219 'the_ptid' parameter.
2220 * inferior.c (have_live_inferiors): Don't save current thread.
2221 Use target_has_execution_1.
2222
08e14083
YQ
22232011-03-07 Yao Qi <yao@codesourcery.com>
2224
2225 * Makefile.in (aclocal_m4_deps): Remove gnulib/m4/memcmp.m4.
2226
c05d19c5
JB
22272011-03-07 Joel Brobecker <brobecker@adacore.com>
2228
2229 * elfread.c (elf_symtab_read): Minor reformatting.
2230
3e6ef9e4
JB
22312011-03-07 Joel Brobecker <brobecker@adacore.com>
2232
2233 * objc-lang.c (selectors_info): Minor reformatting.
2234
dbb8534f
JB
22352011-03-07 Joel Brobecker <brobecker@adacore.com>
2236
2237 * ada-lang.c (compare_names): Add FALLTHROUGH comment.
2238
dd70cc93
JB
22392011-03-07 Joel Brobecker <brobecker@adacore.com>
2240 Michael Snyder <msnyder@vmware.com>
2241
2242 * ada-valprint.c (ada_val_print_array): Move the declaration of
2243 "byte_order" and "elttype" inside the block where these variables
2244 are actually used. Remove some special handling for the case
2245 where "elttype" and "eltlen" are null. Replace by a comment
2246 and a couple of assertion checks.
2247
b27cf2b3
MS
22482011-03-05 Michael Snyder <msnyder@vmware.com>
2249
2250 * source.c (add_path): Replace semicolon at end of block.
2251 * dwarf2expr.c (execute_stack_op): Ditto.
2252
5387a0c6
MF
22532011-03-05 Mike Frysinger <vapier@gentoo.org>
2254
2255 * bfin-tdep.c: Include sim-regno.h and gdb/sim-bfin.h.
2256 * configure.tgt (bfin-*-*linux*): Define gdb_sim.
2257 (bfin-*-*): Likewise.
2258
e3aa49af
MS
22592011-03-05 Michael Snyder <msnyder@vmware.com>
2260
82ae4854
MS
2261 * dwarf2expr.c (execute_stack_op): Delete superfluous semicolon.
2262 * mdebugread.c (parse_symbol): Ditto.
2263 * parse.c (parse_exp_in_context): Ditto.
2264 * source.c (add_path): Ditto.
2265 * utils.c (gnu_debuglink_crc32): Ditto.
2266 * varobj.c (variable_language): Ditto.
2267
e3aa49af
MS
2268 * linux-tdep.c (linux_get_siginfo_type): Stop memory leak.
2269
154f592e
MS
22702011-03-04 Michael Snyder <msnyder@vmware.com>
2271
da3ecdc6
MS
2272 * linux-fork.c (inferior_call_waitptid): Fix copy/paste error.
2273
9cc89665
MS
2274 * symfile.c (simple_overlay_update): Check for null return value
2275 from lookup_minimal_symbol.
2276
154f592e
MS
2277 * xml-syscall.c (syscall_start_syscall): Assert name is non null.
2278
63ffa6ee
TJB
22792011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
2280
2281 * eval.c (parse_and_eval_address_1): Remove function.
2282 * linespec.c (decode_indirect): Call parse_to_comma_and_eval
2283 instead of parse_and_eval_address_1.
2284 * value.h (parse_and_eval_address_1): Remove prototype.
2285
a17d146e
MS
22862011-03-04 Michael Snyder <msnyder@vmware.com>
2287
2288 * remote.c (putpkt_binary): Document that case stmt falls through.
2289
1a6a67de
TJB
22902011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
2291
2292 * breakpointc (print_it_typical): Move NULL check from here...
2293 (print_bp_stop_message): ... to here.
2294
488919c4
MS
22952011-03-04 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
2296
2297 * breakpoint.c (enable_command): Use break instead of continue,
2298 and fill in a missing break.
2299 (disable_command): Ditto.
2300
1e182ce8
UW
23012011-03-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2302
2303 * inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate.
2304 (terminal_save_ours): Remove misleading comment.
2305 (inflow_inferior_data_cleanup): Free ttystate.
2306 (inflow_inferior_exit): Likewise.
2307 (copy_terminal_info): Copy ttystate.
2308
2309 * serial.c (serial_copy_tty_state): New function.
2310 * serial.h (serial_copy_tty_state): Add prototype.
2311 (struct serial_ops): Add copy_tty_state callback.
2312 * ser-base.c (ser_base_copy_tty_state): New function.
2313 * ser-base.h (ser_base_copy_tty_state): Add prototype.
2314 * ser-go32.c (dos_copy_tty_state): New function.
2315 (dos_ops): Install copy_tty_state callback.
2316 * ser-mingw.c (_initialize_ser_windows): Likewise.
2317 * ser-pipe.c (_initialize_ser_pipe): Likewise.
2318 * ser-unix.c (hardwire_copy_tty_state): New function.
2319 (_initialize_ser_hardwire): Install it.
2320
b2c5f112
MS
23212011-03-04 Michael Snyder <msnyder@vmware.com>
2322
2abae994
MS
2323 * breakpoint.c (create_breakpoint): Add missing break statement.
2324
7f5936f9
MS
2325 Reverting this patch:
2326 * infcall.c (call_function_by_hand): Add break statements for lint.
2327
b2c5f112
MS
2328 Reverting this patch:
2329 * cli/cli-script.c (script_from_file): Add break for lint.
2330
42b1321c
MS
23312011-03-04 Michael Snyder <msnyder@vmware.com>
2332
2333 * solib.c (reload_shared_libraries_1): Close memory leak.
2334
3e2a0cee
TT
23352011-03-03 Tom Tromey <tromey@redhat.com>
2336
2337 PR gdb/12538:
2338 * dwarf2read.c (process_psymtab_comp_unit): Handle case where
2339 DW_STRING is NULL.
2340
58397cb7
MS
23412011-03-03 Michael Snyder <msnyder@vmware.com>
2342
2e3fd767
MS
2343 * remote-fileio.c (remote_fileio_func_fstat): Initialize all
2344 fields of struct 'st' to zero.
2345
58397cb7
MS
2346 * tui/tui-winsource.c (tui_update_source_window_as_is): Initialize
2347 sal.pspace before calling set_current_source_symtab_and_line.
2348
ced54c8f
YQ
23492011-03-03 Yao Qi <yao@codesourcery.com>
2350
2351 * Makefile.in (configure-common): Remove. Let Makefile
2352 in dir common to rebuild itself.
2353 (common/Makefile): Likewise.
2354
3351ea09
JB
23552011-03-03 Joel Brobecker <brobecker@adacore.com>
2356
2357 * utils.c (parse_escape): Add i18n markup in error message.
2358
bf9f652a
YQ
23592011-03-03 Yao Qi <yao@codesourcery.com>
2360
2361 * gdb/arm-tdep.c (shifted_reg_val): Replace magic number 15 with
2362 ARM_PC_REGNUM.
2363 (thumb_get_next_pc_raw, arm_get_next_pc_raw): Likewise.
2364 (displaced_write_reg, displaced_read_reg): Likewise.
2365 (copy_ldr_str_ldrb_strb, cleanup_block_load_all): Likewise.
2366 (cleanup_block_load_pc, copy_block_xfer): Likewise.
2367 (cleanup_branch): Replace magic number 14 and 15 with
2368 ARM_LR_REGNUM and ARM_PC_REGNUM respectively.
2369
d42de051
MS
23702011-03-02 Michael Snyder <msnyder@vmware.com>
2371
240f9570
MS
2372 * maint.c (maintenance_do_deprecate): No need to check for NULL.
2373
10dd8b54
MS
2374 * cli/cli-script.c (script_from_file): Add break for lint.
2375
b98bd911
MS
2376 * mdebugread.c (parse_partial_symbols): Fix indent.
2377
3494b66d
MS
2378 * target-descriptions.c (tdesc_gdb_type): No need to call
2379 xstrdup, callee saves a copy.
2380
daac021a
MS
2381 * printcmd.c (print_scalar_formatted): Use strncpy for safety.
2382
c38d16a7
MS
2383 * infcall.c (call_function_by_hand): Add break statements for lint.
2384
905b671b
MS
2385 * utils.c (parse_escape): Escape the escape char.
2386
f2eb0bc8 2387 * python/py-inferior.c (build_inferior_list): Error out if
2d565757
MS
2388 PyList_Append fails.
2389 (gdbpy_inferiors): Error out if build_inferior_list fails.
2390
8c6a60d1
MS
2391 * linux-nat.c (linux_nat_xfer_partial): Preserve errno around
2392 a function call.
2393
d42de051
MS
2394 * record.c (record_restore): Move printf to before error return.
2395
4db71c0b
YQ
23962011-03-02 Yao Qi <yao@codesourcery.com>
2397
2398 * arm-tdep.h (struct displaced_step_closure): Add two new fields
2399 is_thumb and insn_size.
2400 * arm-tdep.c (displaced_read_reg): Adjust correct pipeline offset
2401 on both ARM and Thumb mode.
2402 (arm_process_displaced_insn): Set is_thumb and insn_size.
2403 (arm_displaced_init_closure): Handle both 16-bit and 32-bit.
2404 (arm_displaced_step_fixup): Likewise.
2405
a9dc8dcc
MS
24062011-03-01 Michael Snyder <msnyder@vmware.com>
2407
53624a93
MS
2408 * cli/cli-dump.c (dump_bfd_file): Check error return and warn.
2409
77766669
MS
2410 * jv-lang.c (evaluate_subexp_java): Conditional can't be true.
2411
62d5b8da
MS
2412 * dwarf2read.c (dwarf2_compute_name): NAME cannot be null here.
2413
5e9e105f
MS
2414 * cli/cli-dump.c (restore_binary_file): Validate ftell return value.
2415
dc19db01
MS
2416 * ada-lang.c (ada_make_symbol_completion_list): Replace malloc
2417 with xmalloc.
2418
5ce64950
MS
2419 * ada-lang.c (aggregate_assign_others): Rename inner scope variable
2420 which shadows function parameter.
2421
a0aa2878
MS
2422 * tracepoint.c (create_tsv_from_upload): Superfluous call
2423 to xstrdup. Callee already calls xstrdup.
2424
e325fb69
MS
2425 * linespec.c (decode_line_1): Remove unnecessary null check.
2426
21cbba77
MS
2427 * tracepoint.c (scope_info): Fix mem leak, remove underused
2428 variable.
2429
63360adc
MS
2430 * python/py-prettyprint.c (apply_val_pretty_printer): Remove
2431 superfluous null check.
2432
18ea20ac 2433 * std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null.
23ce9890 2434 (value_of_builtin_frame_fp_reg): Ditto.
18ea20ac 2435
d014929c
MS
2436 * event-top.c (display_gdb_prompt): Remove superfluous null check.
2437
6e9130cf
MS
2438 * python/py-prettyprint.c (apply_val_pretty_printer): VAL may
2439 be null.
2440
5f01dbc0
MS
2441 * linespec.c (decode_line_1): Check for null before dereference.
2442
d684ab85
MS
2443 * reverse.c (record_restore): Move null-check to before pointer
2444 dereference.
2445
bfffb7e3
MS
2446 * python/py-utils.c (gdbpy_obj_to_string): Delete unused variable.
2447
a9dc8dcc
MS
2448 * objc-lang.c (selectors_info): Add explanitory comment.
2449 (classes_info): Ditto.
2450
478fd957
UW
24512011-03-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2452
2453 * arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define.
2454 (arm_linux_restart_syscall_init): Handle both on-stack and in-kernel
2455 versions of the trampoline. Handle Thumb vs. ARM addresses.
2456 (arm_kernel_linux_restart_syscall_tramp_frame): New global.
2457 (arm_linux_init_abi): Install it.
2458 * arm-tdep.c (arm_psr_thumb_bit): Make global.
2459 * arm-tdep.c (arm_psr_thumb_bit): Add prototype.
2460
0480cefa
MS
24612011-02-28 Michael Snyder <msnyder@vmware.com>
2462
ac50ab3b
MS
2463 * ui-out.c (ui_out_field_core_addr): Make local char buffer
2464 a little bigger, to avoid possibility of an overflow.
2465
f63fbe86
MS
2466 * breakpoint.c (breakpoint_adjustment_warning): Make local char
2467 buffers a little bigger, to avoid possibility of an overflow.
2468
9e91a352
MS
2469 * coffread.c (coff_getfilename): Add check to avoid overflow.
2470
f2eb0bc8 2471 * objc-lang.c (selectors_info): Add a small safety margin to
28288541
MS
2472 avoid overflow.
2473 (classes_info): Error out on too long REGEXP.
2474
098ab512
MS
2475 * infrun.c (handle_inferior_event): Remove unused function call.
2476
bcbd1de9
MS
2477 * fork-child.c (fork_inferior): Remove ifdef'd code and
2478 unused variable.
2479
2e456570
MS
2480 * linux-thread-db.c (attach_thread): Discard unused value.
2481
14571dad
MS
2482 * linux-nat.c (linux_handle_extended_wait): Delete unused variable.
2483
a9cbf802
MS
2484 * remote.c (remote_get_noisy_reply): Discard unused value.
2485 (remote_vcont_resume): Ditto.
2486 (remote_stop_ns): Ditto.
2487
5715d26e
MS
2488 * linespec.c (decode_objc): Delete unused variable.
2489
4a9bca80
MS
2490 * tui/tui-regs.c (tui_register_format): Delete unused variable.
2491
f47fb265
MS
2492 * dwarf2read.c (add_partial_symbol): Discard unused values.
2493 (read_base_type): Delete unused variable.
2494
e81cff30
MS
2495 * dbxread.c (read_dbx_symtab): Discard unused value.
2496
262acaeb
MS
2497 * eval.c (evaluate_subexp_standard): Delete unused variable,
2498 and discard unused values.
2499
df983543
MS
2500 * infcmd.c (_initialize_infcmd): Discard unused values.
2501
89acf84d
MS
2502 * stabsread.c (rs6000_builtin_type): Missing break statement.
2503
ab8b8aca
MS
2504 * dbxread.c (process_one_symbol): Discard unused value.
2505
6b4511ab
MS
2506 * coffread.c (coff_end_symtab): Delete unused variable.
2507
e8e80198
MS
2508 * dwarf2read.c (dw2_get_file_names): Discard unused value.
2509 (dwarf2_add_typedef): Delete unused variable.
2510 (read_namespace): Ditto.
2511 (dwarf_decode_macros): Ditto.
2512
976aa66e
MS
2513 * m2-lang.c (evaluate_subexp_modula2): Discard unused variable.
2514
5b92b49f
MS
2515 * opencl-lang.c (evaluate_subexp_opencl): Discard unused value.
2516
91e8df85
MS
2517 * p-valprint.c (pascal_val_print): Discard unused value.
2518
899500d6
MS
2519 * utils.c (nquery): Call va_end before return;
2520 (yquery): Ditto.
2521 (query): Ditto.
2522
0480cefa
MS
2523 * proc-service.c (ps_plog): Call va_end before return.
2524
fb6a3ed3
TT
25252011-02-28 Tom Tromey <tromey@redhat.com>
2526
2527 * python/python.c (gdbpy_value_cst): New global.
2528 (_initialize_python): Initialize it.
2529 * python/python-internal.h (gdbpy_value_cst): Declare.
2530 * python/py-value.c (convert_value_from_python): Use
2531 gdbpy_value_cst.
2532
c05202a1
MS
25332011-02-28 Michael Snyder <msnyder@vmware.com>
2534
e463f587
MS
2535 * python/py-cmd.c (cmdpy_init): Fix memory leak.
2536
c38eea1a
MS
2537 * breakpoint.c (catch_syscall_completer): Free malloced list.
2538
3ef09ab5
MS
2539 * jv-lang.c (java_primitive_type_from_name): Add missing break.
2540
8f9a01ee
MS
2541 * opencl-lang.c (lval_func_check_validity): Rename inner variables.
2542 (lval_func_check_synthetic_pointer): Ditto.
2543 (lval_func_free_closure): Fix use-after-free.
c05202a1 2544
477d0d57
TT
25452011-02-28 Tom Tromey <tromey@redhat.com>
2546
2547 * psymtab.c (expand_partial_symbol_tables): Use
2548 ALL_OBJFILE_PSYMTABS.
2549
20937029
JK
25502011-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2551
2552 * objc-lang.c (selectors_info): Error on too long REGEXP.
2553
907b7f4f
MS
25542011-02-28 Michael Snyder <msnyder@vmware.com>
2555
92e96192
MS
2556 * python/py-param.c (set_parameter_value): Add missing
2557 break statement.
2558
907b7f4f
MS
2559 * linux-record.c (record_linux_system_call): Add missing
2560 break statement.
2561
12c5a436
UW
25622011-02-28 Ulrich Weigand <uweigand@de.ibm.com>
2563
2564 * breakpoint.c (print_one_breakpoint_location): Remove unused
2565 argument PRINT_ADDRESS_BITS. Update callers.
2566 (print_one_breakpoint): Likewise.
2567
170b53b2
UW
25682011-02-28 Ulrich Weigand <uweigand@de.ibm.com>
2569
2570 * breakpoint.c (wrap_indent_at_field): New function.
2571 (print_breakpoint_location): Use it instead of WRAP_INDENT argument.
2572 Allocate ui_stream locally instead of using STB argument.
2573 (print_one_breakpoint_location): Update call.
2574 * ui-out.c (ui_out_query_field): New function.
2575 * ui-out.h (ui_out_query_field): Add prototype.
2576
8ab1f94d
JB
25772011-02-28 Joel Brobecker <brobecker@adacore.com>
2578
2579 From Michael Snyder <msnyder@vmware.com>
2580 * ada-exp.y (write_object_renaming): Add FALLTHROUGH comment.
2581
7d488639
MS
25822011-02-27 Michael Snyder <msnyder@vmware.com>
2583
ae179fba
MS
2584 * objc-lang.c (selectors_info): Prevent string overrun.
2585
086dbf66
MS
2586 * tui/tui-stack.c (tui_get_function_from_frame): Fix off by one
2587 error in strncpy.
2588
f2eb0bc8 2589 * symtab.c (rbreak_command): Move variable 'file_name' to
9c1e305a
MS
2590 outer scope.
2591
7d488639
MS
2592 * d-valprint.c (dynamic_array_type): Avoid shadowing a function
2593 param with a local variable of the same name.
2594
3bd0f5ef
MS
25952011-02-27 Michael Snyder <msnyder@vmware.com>
2596
2597 * value.c (value_from_history_ref): New function.
2598 * value.h (value_from_history_ref): Export.
2599 * cli/cli-utils.c (get_number_trailer): Use value_from_history_ref
2600 to parse value history references.
2601 * cli/cli-utils.h (get_number_trailer): Update comment.
2602
26032011-02-27 Michael Snyder <msnyder@vmware.com>
2604
2605 * inferior.c (detach_inferior_command): Use get_number_or_range.
2606 (kill_inferior_command): Ditto.
2607 (remove_inferior_command): Ditto.
2608 (initialize_inferiors): Make command names plural.
2609 Update help strings.
2610
766062f6
MS
26112011-02-27 Michael Snyder <msnyder@vmware.com>
2612
2613 * darwin-nat-info.c: Fix comment typo.
2614 * dwarf2expr.h: Ditto.
2615 * fbsd-nat.c: Ditto.
2616 * fbsd-nat.h: Ditto.
2617 * frame-unwind.h: Ditto.
2618 * frame.h: Ditto.
2619 * hppa-hpux-tdep.c: Ditto.
2620 * i386-linux-nat.c: Ditto.
2621 * linux-nat.c: Ditto.
2622 * nbsd-nat.c: Ditto.
2623 * nbsd-nat.h: Ditto.
2624 * ppc-linux-tdep.c: Ditto.
2625 * serial.c: Ditto.
2626 * ui-file.h: Ditto.
2627 * tui/tui-winsource.c: Ditto.
2628
f2c4ead5
MS
26292011-02-26 Michael Snyder <msnyder@vmware.com>
2630
86b887df
MS
2631 * breakpoint.c (reattach_breakpoints): Avoid resource leak (ui_file).
2632
66fd3b1e
MS
2633 * maint.c (maintenance_do_deprecate): Plug a memory leak.
2634
8c814cdd
MS
2635 * dwarf2loc.c (insert_bits): Avoid shadowing a function param
2636 with a local variable of the same name.
2637
6d5e094a 2638 * i387-tdep.c (i387_supply_fxsave): Avoid shadowing a function
e5b3d7d6 2639 param with a local variable of the same name.
6d5e094a 2640 (i387_supply_xsave): Ditto.
e5b3d7d6 2641
5eee517d
MS
2642 * linux-low.c (linux_nat_xfer_osdata): Rename local variable so
2643 that it does not shadow a function parameter.
2644
8fbf6b93
MS
2645 * i386-nat.c (i386_length_and_rw_bits): Document that case
2646 statement is meant to fall through.
2647
cb969d61
MS
2648 * expprint.c (dump_subexp_body_standard): Document that case
2649 statement is meant to fall through.
2650
f2c4ead5
MS
2651 * amd64-linux-tdep.c (amd64_linux_syscall_record): Delete
2652 dead if statement. Condition can't be false.
2653
b021a221
MS
26542011-02-25 Michael Snyder <msnyder@vmware.com>
2655
2656 * arm-tdep.c: Fix typos in comments.
2657 * bsd-uthread.c: Ditto.
2658 * completer.c: Ditto.
2659 * corelow.c: Ditto.
2660 * cp-namespace.c: Ditto.
2661 * cp-support.c: Ditto.
2662 * cris-tdep.c: Ditto.
2663 * dbxread.c: Ditto.
2664 * dwarf2read.c: Ditto.
2665 * frame.h: Ditto.
2666 * gdbtypes.h: Ditto.
2667 * inferior.h: Ditto.
2668 * mdebugread.c: Ditto.
2669 * mips-tdep.c: Ditto.
2670 * ppc-linux-nat.c: Ditto.
2671 * ppc-linux-tdep.c: Ditto.
2672 * printcmd.c: Ditto.
2673 * sol-thread.c: Ditto.
2674 * solib-frv.c: Ditto.
2675 * solist.h: Ditto.
2676 * sparc64-tdep.c: Ditto.
2677 * spu-tdep.c: Ditto.
2678 * stabsread.c: Ditto.
2679 * symfile.c: Ditto.
2680 * valops.c: Ditto.
2681 * varobj.c: Ditto.
2682 * vax-nat.c: Ditto.
2683 * python/py-block.c: Ditto.
2684 * python/py-symbol.c: Ditto.
2685 * python/py-symtab.c: Ditto.
2686 * python/py-value.c: Ditto.
2687 * tui/tui-win.c: Ditto.
2688
c82c0b55
MS
26892011-02-25 Michael Snyder <msnyder@vmware.com>
2690
2691 * inferior.c (print_inferior): Accept a string instead of an int
2692 for requested_inferiors, and use get_number_or_range to parse it.
2693 (info_inferiors_command): Pass args string to print_inferior.
2694 (initialize_inferiors): Change help string for info inferiors.
2695 * inferior.h (print_inferior): Export prototype change.
2696
ee00cd23
TT
26972011-02-25 Tom Tromey <tromey@redhat.com>
2698
2699 * common/ax.def (invalid2): Set to 0x31.
2700
0502ed8c
JK
27012011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2702
2703 * dwarf2loc.c (disassemble_dwarf_expression) <DW_OP_breg[0-9]+>: Use
2704 L and plongest.
2705 (disassemble_dwarf_expression) <DW_OP_bregx>: Drop variable offset,
2706 use L and plongest.
2707 (disassemble_dwarf_expression) <DW_OP_fbreg>: Use L and plongest.
2708
2c9de912
MS
27092011-02-24 Michael Snyder <msnyder@vmware.com>
2710
2711 * Makefile.in (clean): Make clean should remove generated files
2712 observer.h and observer.inc.
2713
a04b0428
JB
27142011-02-24 Joel Brobecker <brobecker@adacore.com>
2715
2716 Revert the following patch (not approved yet):
2717 2011-02-21 Hui Zhu <teawater@gmail.com>
2718 * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h.
2719 * ax-gdb.c (gen_printf_expr_callback): New function.
2720 * ax-gdb.h (gen_printf_expr_callback): Forward declare.
2721 * ax-general.c (ax_memcpy): New function.
2722 (ax_print): Handle "printf".
2723 (ax_reqs): Ditto.
2724 * ax.h (ax_memcpy): Forward declare.
2725 * common/ax.def (invalid2): Removed.
2726 (printf): New entry.
2727 * printcmd.c (printcmd.h): New include.
2728 (string_printf): New function.
2729 (ui_printf): Removed.
2730 (printf_command): Remove static. Call string_printf.
2731 (eval_command): Call string_printf.
2732 * printcmd.h: New file.
2733 * tracepoint.c (validate_actionline,
2734 encode_actions_1): handle printf_command.
2735
2b52013f
TT
27362011-02-23 Tom Tromey <tromey@redhat.com>
2737
2738 * ax-general.c (ax_pick): Add missing newline.
2739
e5a67952
MS
27402011-02-23 Michael Snyder <msnyder@vmware.com>
2741
2742 * breakpoint.c (breakpoint_1): Change first argument from an int
2743 to a char pointer, so that the function now accepts a list of
f2eb0bc8 2744 breakpoints rather than just one. Use new function
e5a67952
MS
2745 'number_is_in_list' to implement.
2746 (breakpoints_info): Pass char * instead of int to breakpoint_1.
2747 (watchpoints_info): Ditto.
2748 (tracepoints_info): Ditto.
2749 (maintenance_info_breakpoints): Ditto.
2750 (_initialize_breakpoint): Update help strings to reflect the fact
2751 that these functions can now take more than one argument.
2752 * cli/cli-utils.c (number_is_in_list): New function.
2753 * cli/cli-utils.h (number_is_in_list): Export.
2754
27552011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
2756
2757 * memattr.c (mem_enable_command): Use get_number_or_range.
2758 (mem_disable_command): Ditto.
2759 (mem_delete_command): Ditto.
2760 (_initialize_mem): Tweak usage message to reflect multiple
2761 arguments.
2762
6e6fbe60
DE
27632011-02-22 Doug Evans <dje@google.com>
2764
2765 Add gdb.lookup_global_symbol python function.
2766 * NEWS: Add entry.
2767 * python/py-symbol.c (gdbpy_lookup_global_symbol): New function.
2768 * python/python-internal.h (gdbpy_lookup_global_symbol): Declare it.
2769 * python/python.c (GdbMethods): Add entry for lookup_global_symbol.
2770
79b97fa8
TT
27712011-02-22 Tom Tromey <tromey@redhat.com>
2772
2773 * language.c (language_class_name_from_physname): Rename
2774 'curr_language' argument to 'lang'; use in body.
2775
298f437a
MS
27762011-02-22 Michael Snyder <msnyder@vmware.com>
2777
2778 * cli/cli-utils.c (number_is_in_list): Check for zero return.
2779
b7ea3126
PA
27802011-02-22 Pedro Alves <pedro@codesourcery.com>
2781
2782 * frame-unwind.h: Fix comment to mention the this frame, not the
2783 next.
2784
58ee6d60
TT
27852011-02-22 Tom Tromey <tromey@redhat.com>
2786
2787 * symfile.c (auto_solib_limit): Remove.
2788 * symfile.h (auto_solib_limit): Remove.
2789
36238dbc
JB
27902011-02-22 Joel Brobecker <brobecker@adacore.com>
2791
2792 * Makefile.in (INSTALLED_LIBS): Delete. Update comment.
2793
aea5b279
MS
27942011-02-21 Michael Snyder <msnyder@vmware.com>
2795
2796 * gdbthread.h (print_thread_info): Change prototype.
2797 * thread.c (print_thread_info): Accept char* instead of int for
2798 requested_threads argument. Use new function number_is_in_list
2799 to determine which threads to list.
2800 (info_threads_command): Pass char* to print_thread_info.
2801 * cli/cli-utils.c (number_is_in_list): New function.
2802 * cli/cli-utils.h (number_is_in_list): Export.
f2eb0bc8 2803 * mi/mi-main.c (mi_cmd_thread_info): Pass char* to
aea5b279
MS
2804 print_thread_info.
2805 (print_one_inferior): Ditto.
2806 (mi_cmd_list_thread_groups): Ditto.
2807
8caa75ee
JK
28082011-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2809
2810 * common/Makefile.in (CFLAGS): New.
2811 (COMPILE): Add $(CFLAGS).
2812
ea666128
TT
28132011-02-21 Tom Tromey <tromey@redhat.com>
2814
2815 * breakpoint.c (catch_syscall_command_1): Fix typo.
2816
e9cafbcc
TT
28172011-02-21 Tom Tromey <tromey@redhat.com>
2818
2819 * reverse.c: Include cli-utils.h.
2820 * printcmd.c: Include cli-utils.h.
2821 (string_printf): Use skip_spaces.
2822 * cli/cli-utils.h: New file.
2823 * cli/cli-utils.c: New file.
2824 * cli/cli-dump.h (skip_spaces): Move to cli-utils.h.
2825 * cli/cli-dump.c (skip_spaces): Move to cli-utils.c.
2826 * breakpoint.h (get_number, get_number_or_range): Move to
2827 cli-utils.h.
2828 * breakpoint.c: Include cli-utils.h.
2829 (get_number_trailer, get_number, get_number_or_range)
2830 (ep_skip_leading_whitespace): Move to cli-utils.c.
2831 (create_breakpoint_sal, find_condition_and_thread)
2832 (decode_static_tracepoint_spec, watch_command_1)
2833 (watch_maybe_just_location, ep_parse_optional_if_clause)
2834 (catch_fork_command_1, catch_exec_command_1)
2835 (catch_syscall_command_1): Use skip_spaces, skip_to_space.
2836 * Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o.
2837 (SUBDIR_CLI_SRCS): Add cli-utils.c.
2838 (HFILES_NO_SRCDIR): Add cli-utils.h.
2839 (cli-utils.o): New target.
2840
f67fd822
PM
28412011-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
2842
2843 * remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID
2844 before calling discard_all_inferiors.
2845
c9def01d
UW
28462011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
2847
2848 * opencl-lang.c (STRUCT_OCL_TYPE): Remove.
2849 (struct builtin_opencl_type): Remove.
2850 (builtin_opencl_type): Change return type to "struct type **".
2851 (lookup_opencl_vector_type): Update caller.
2852 (opencl_language_arch_info): Copy primitive type vector from gdbarch.
2853 (build_opencl_types): Install plain array of "struct type *"
2854 instead of "struct builtin_opencl_type".
2855
e3039479
UW
28562011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2857 Ulrich Weigand <uweigand@de.ibm.com>
2858
2859 * arm-linux-nat.c: Include "observer.h" and "gdbthread.h".
2860 (PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define.
2861 (struct arm_linux_hwbp_cap): New type.
2862 (arm_linux_get_hwbp_cap): New function.
2863 (arm_linux_get_hw_breakpoint_count): Likewise.
2864 (arm_linux_get_hw_watchpoint_count): Likewise.
2865 (arm_linux_can_use_hw_breakpoint): Likewise.
2866 (arm_hwbp_type): New type.
2867 (arm_hwbp_control_t): Likewise.
2868 (struct arm_linux_hw_breakpoint): Likewise.
2869 (struct arm_linux_thread_points): Likewise.
2870 (arm_threads): New global variable.
2871 (arm_linux_find_breakpoints_by_tid): New function.
2872 (arm_hwbp_control_initialize): Likewise.
2873 (arm_hwbp_control_is_enabled): Likewise.
2874 (arm_hwbp_control_disable): Likewise.
2875 (arm_linux_hw_breakpoint_initialize): Likewise.
2876 (arm_linux_get_hwbp_type): Likewise.
2877 (arm_linux_hw_watchpoint_initialize): Likewise.
2878 (arm_linux_hw_breakpoint_equal): Likewise.
2879 (arm_linux_insert_hw_breakpoint1): Likewise.
2880 (arm_linux_remove_hw_breakpoint1): Likewise.
2881 (arm_linux_insert_hw_breakpoint): Likewise.
2882 (arm_linux_remove_hw_breakpoint): Likewise.
2883 (arm_linux_region_ok_for_hw_watchpoint): Likewise.
2884 (arm_linux_insert_watchpoint): Likewise.
2885 (arm_linux_remove_watchpoint): Likewise.
2886 (arm_linux_stopped_data_address): Likewise.
2887 (arm_linux_stopped_by_watchpoint): Likewise.
2888 (arm_linux_watchpoint_addr_within_range): Likewise.
2889 (arm_linux_new_thread): Likewise.
2890 (arm_linux_thread_exit): Likewise.
2891 (_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint
2892 related target callbacks. Register arm_linux_new_thread and
2893 arm_linux_thread_exit.
2894 * arm-tdep.h (arm_pc_is_thumb): Add prototype.
2895 * arm-tdep.c (arm_pc_is_thumb): Make global.
2896 (arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint.
2897
b5db5dfc
UW
28982011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
2899
2900 * breakpoint.c (update_watchpoint): Do not attempt to recreate
2901 per-frame locations while within a function epilogue.
2902
e25b2cfa
PM
29032011-02-21 Pierre Muller <muller@ics.u-strasbg.fr>
2904
2905 * ser-mingw.c (ser_windows_close): Reformat comment to better conform
2906 to GNU coding standards.
2907
4af53f97
PM
29082011-02-21 Pierre Muller <muller@ics.u-strasbg.fr>
2909
2910 Allow use of mingw native on Windows 95 OS.
e25b2cfa 2911 * ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry.
4af53f97
PM
2912 (ser_windows_close): Only call CancelIo if function exists.
2913 (_initialize_ser_windows): Use LoadLirary/GetProcAddress
2914 to check for existence of CancelIo function in kernel32 DLL.
2915
d0e92d82
HZ
29162011-02-21 Hui Zhu <teawater@gmail.com>
2917
2918 * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h.
2919 * ax-gdb.c (gen_printf_expr_callback): New function.
2920 * ax-gdb.h (gen_printf_expr_callback): Forward declare.
2921 * ax-general.c (ax_memcpy): New function.
2922 (ax_print): Handle "printf".
2923 (ax_reqs): Ditto.
2924 * ax.h (ax_memcpy): Forward declare.
2925 * common/ax.def (invalid2): Removed.
2926 (printf): New entry.
2927 * printcmd.c (printcmd.h): New include.
2928 (string_printf): New function.
2929 (ui_printf): Removed.
2930 (printf_command): Remove static. Call string_printf.
2931 (eval_command): Call string_printf.
2932 * printcmd.h: New file.
2933 * tracepoint.c (validate_actionline,
2934 encode_actions_1): handle printf_command.
2935
7d357efd
MS
29362011-02-19 Michael Snyder <msnyder@vmware.com>
2937
2938 * reverse.c (delete_one_bookmark): Argument is now bookmark
2939 id rather than pointer to bookmark struct.
2940 (delete_bookmark_command): Use get_number_or_range.
2941 (goto_bookmark_command): Parse with get_number instead of strtoul.
2942 (bookmark_1): New function. Print info for one bookmark.
2943 (bookmarks_info): Use get_number_or_range and bookmark_1.
2944
7a45ebd7
MS
29452011-02-18 Michael Snyder <msnyder@vmware.com>
2946
f2eb0bc8 2947 * thread.c (info_threads_command): Re-implement using
7a45ebd7 2948 get_number_or_range.
65ebfb52 2949 (thread_apply_command): Ditto.
7a45ebd7 2950
94d5e490
TT
29512011-02-18 Tom Tromey <tromey@redhat.com>
2952
2953 * common/ax.def: New file.
2954 * ax.h (enum agent_op): Use ax.def.
2955 * ax-general.c (aop_map): Use ax.def.
2956
c7f96d2b
TT
29572011-02-18 Tom Tromey <tromey@redhat.com>
2958
2959 * ax-general.c (aop_map): Add pick and rot.
2960 * dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement.
2961 <DW_OP_rot>: Implement.
2962 * ax.h (enum agent_op) <aop_pick, aop_rot>: New constants.
2963 (ax_pick): Declare.
2964 * ax-general.c (ax_pick): New function.
2965
66694b75
TT
29662011-02-18 Tom Tromey <tromey@redhat.com>
2967
2968 * Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc.
2969
eeaafae2
JK
29702011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2971 Tom Tromey <tromey@redhat.com>
2972
2973 * cp-support.c (make_symbol_overload_list_namespace): Do not call
2974 make_symbol_overload_list_block with NULL BLOCK.
2975 * valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF.
2976
3c3fe74c
PA
29772011-02-18 Pedro Alves <pedro@codesourcery.com>
2978
2979 * breakpoint.c (get_number_trailer): No longer accept a NULL PP.
2980 * breakpoint.h (get_number_or_range): Declare.
2981 * printcmd.c (ALL_DISPLAYS): Declare.
2982 (delete_display): Reimplement taking a display pointer.
2983 (undisplay_command): Accept a range of displays to delete, using
2984 get_number_or_range.
2985
13163d80
PM
29862011-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
2987
2988 * c-valprint.c (c_val_print): Add embedded_offset to address
2989 for arrays of unspecified length.
2990 * p-valprint.c (pascal_val_print): Likewise.
2991
b434a28f
YQ
29922011-02-18 Yao Qi <yao@codesourcery.com>
2993
2994 * gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ...
2995 (arm_process_displaced_insn): .. here. Remove parameter INSN.
2996 (thumb_process_displaced_insn): New.
2997 * gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update
2998 call to arm_process_displaced_insn.
2999 * gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn.
3000
9f6f94ff
TT
30012011-02-17 Tom Tromey <tromey@redhat.com>
3002
3003 * dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare.
3004 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from
3005 compile_dwarf_to_ax. No longer static. Call
3006 dwarf2_compile_cfa_to_ax.
3007 (locexpr_tracepoint_var_ref): Update.
3008 (loclist_tracepoint_var_ref): Update.
3009 * dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare.
3010 * dwarf2-frame.c (execute_cfa_program): Remove 'this_frame'
3011 argument; add 'gdbarch' and 'pc'.
3012 (dwarf2_compile_cfa_to_ax): New function.
3013 (dwarf2_frame_cache): Update.
3014
e67ad678
JB
30152011-02-17 Joel Brobecker <brobecker@adacore.com>
3016
3017 * ada-lang.c (ada_type_of_array): Fix the size of the array
3018 in the case of an unconstrained packed array.
3019
946ebb0d
YQ
30202011-02-17 Yao Qi <yao@codesourcery.com>
3021
3022 * common/Makefile.in: Add more targets for make.
3023
1ba1b353
TT
30242011-02-16 Tom Tromey <tromey@redhat.com>
3025
3026 * dwarf2loc.c (unimplemented): Fix typo.
3027
b1bfef65
TT
30282011-02-16 Tom Tromey <tromey@redhat.com>
3029
3030 * dwarf2loc.c (unimplemented): Handle unnamed opcodes.
3031 (compile_dwarf_to_ax) <default>: Use unimplemented.
3032 <DW_OP_deref>: Update.
3033 (disassemble_dwarf_expression): Update.
3034 * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument.
3035 (decode_locdesc): Update.
3036 * dwarf2expr.h (dwarf_stack_op_name): Update.
3037
5f1e6f19
TT
30382011-02-16 Tom Tromey <tromey@redhat.com>
3039
3040 * ax.h (struct aop_map) <name>: Now const.
3041
a0c78a73
PA
30422011-02-16 Tom Tromey <tromey@redhat.com>
3043
3044 * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other
3045 than axs_rvalue.
3046
946ebb0d 30472011-02-16 Yao Qi <yao@codesourcery.com>
a42244db
YQ
3048
3049 * infrun.c (get_displaced_step_closure_by_addr): New.
3050 * inferior.h: Declare it.
3051 * arm-tdep.c: (arm_pc_is_thumb): Call
3052 get_displaced_step_closure_by_addr. Adjust MEMADDR if it
3053 returns non-NULL.
3054
08807d5a
PA
30552011-02-16 Pedro Alves <pedro@codesourcery.com>
3056 Jan Kratochvil <jan.kratochvil@redhat.com>
3057
3058 gdb/
3059 * tracepoint.c (memrange_sortmerge): Fix list A's end calculation.
3060
29976f3f
PA
30612011-02-16 Pedro Alves <pedro@codesourcery.com>
3062 Jan Kratochvil <jan.kratochvil@redhat.com>
3063
3064 * value.c (value_contents_copy_raw): Extend describing comment.
3065 Assert that the destination contents we're overwriting are wholly
3066 available.
fb68ae73 3067 (value_contents_copy): Extend describing comment.
29976f3f 3068
cd24cfaa
PA
30692011-02-16 Pedro Alves <pedro@codesourcery.com>
3070 Jan Kratochvil <jan.kratochvil@redhat.com>
3071
3072 * value.c (value_available_contents_eq): Remove redundant local
3073 variables. Fix available contents comparision.
3074 * value.h (value_available_contents_eq): Extend describing
3075 comment.
3076
60bbf338
YQ
30772011-02-16 Yao Qi <yao@codesourcery.com>
3078
3079 * thread.c (info_threads_command): Add missing i18n markup and remove
3080 trailing newline.
3081
17450429
PP
30822011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com>
3083
3084 * breakpoint.c (longjmp_names): New variable.
3085 (struct breakpoint_objfile_data): New type.
3086 (breakpoint_objfile_key): New variable.
3087 (msym_not_found): New variable.
3088 (msym_not_found_p): New predicate.
3089 (get_breakpoint_objfile_data): New function.
3090 (create_overlay_event_breakpoint): Check per-objfile cache for
3091 symbols first.
3092 (create_longjmp_master_breakpoint): Likewise.
3093 (create_std_terminate_master_breakpoint): Likewise.
3094 (create_exception_master_breakpoint): Likewise.
3095 (_initialize_breakpoint): Register per-objfile data key.
3096
af02033e
PP
30972011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com>
3098
3099 * breakpoint.c ((create_overlay_event_breakpoint): Const-propagate
3100 parameter value.
3101 (create_longjmp_master_breakpoint): Loop over longjmp names.
3102 (create_std_terminate_master_breakpoint): Const-propagate parameter
3103 value.
3104 (update_breakpoints_after_exec): Adjust.
3105 (breakpoint_re_set): Adjust.
3106
60f98dde
MS
31072011-02-15 Michael Snyder <msnyder@vmware.com>
3108
cdf99611
MS
3109 * thread.c (info_threads_command): Process arg as thread id,
3110 or list of thread ids.
3111 (thread_find_command): New command.
3112 (_initialize_thread): Document argument for info threads.
3113 Document 'thread find' command.
3114 * NEWS: Document new command "thread find".
60f98dde 3115
0feedb2c
JK
31162011-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3117
3118 * Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'.
3119 * aclocal.m4: Regenerated with aclocal-1.11.1.
3120 * common/configure: Regenerate with autoconf-2.64.
3121
648cd113
KW
31222011-02-15 Ken Werner <ken.werner@de.ibm.com>
3123
3124 * opencl-lang.c (build_opencl_types): Set the size of the built-in
3125 bool data type to a size of one byte.
3126
5657161f
PA
31272011-02-15 Pedro Alves <pedro@codesourcery.com>
3128 Jan Kratochvil <jan.kratochvil@redhat.com>
3129
3130 * target.c (memory_xfer_live_readonly_partial): Document where to
3131 look for interface description.
3132
494e194e
YQ
31332011-02-15 Yao Qi <yao@codesourcery.com>
3134
3135 PR tdep/12352
3136 * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in
3137 order to store PC value on stack instead of text section.
3138
d9492458
TJB
31392011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
3140
3141 * rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for
3142 the EFP register set size.
3143 (efpr_pseudo_register_read): Use regcache_raw_read_part to read
3144 data from the VMX register.
3145 (efpr_pseudo_register_write): Use regcache_raw_write_part to read
3146 and write data from/to the VMX register.
3147
cdf99611
MS
31482011-02-14 Michael Snyder <msnyder@vmware.com>
3149
3150 * command.h (enum command_class): New class 'no_set_class', for
3151 "show" commands without a corresponding "set" command.
3152 * value.c (_initialize_values): Use 'no_set_class' for "show values".
3153 * copying.c (_initialize_copying): Ditto for "show copying" and
3154 "show warranty".
3155 * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and
3156 "show version".
3157 * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for
3158 which there is no corresponding "set" command (eg. "show copying").
3159
424447ee
PA
31602011-02-14 Pedro Alves <pedro@codesourcery.com>
3161 Jan Kratochvil <jan.kratochvil@redhat.com>
3162
3163 * exec.c (section_table_available_memory): Change `len' parameter
3164 type to ULONGEST.
3165 * exec.h (section_table_available_memory): Ditto.
3166 * value.h (read_value_memory): Rename the `offset' parameter to
3167 `embedded_offset'.
3168
c0f61f9c 31692011-02-14 Pedro Alves <pedro@codesourcery.com>
e0ccc0c7 3170 Jan Kratochvil <jan.kratochvil@redhat.com>
c0f61f9c
PA
3171
3172 * memrange.c (compare_mem_ranges): Mention sort order in
3173 describing comment.
3174 (normalize_mem_ranges): Add comment. Fix ra->length calculation.
3175 * tracepoint.c (traceframe_available_memory): Extend comment to
3176 mention what happens to RESULT when the target does not support
3177 the query.
3178
6bfc80c7
PA
31792011-02-14 Pedro Alves <pedro@codesourcery.com>
3180 Jan Kratochvil <jan.kratochvil@redhat.com>
3181
3182 * value.c (mark_value_bytes_unavailable): Fix indexing the `bef'
3183 range.
3184
e7303042
PA
31852011-02-14 Pedro Alves <pedro@codesourcery.com>
3186
3187 * value.c (value_bits_valid, value_bits_synthetic_pointer):
3188 No longer handle NULL values.
3189
8af8e3bc
PA
31902011-02-14 Pedro Alves <pedro@codesourcery.com>
3191
3192 * exceptions.h (NOT_AVAILABLE_ERROR): New error.
3193 * value.c: Include "exceptions.h".
3194 (require_available): Throw NOT_AVAILABLE_ERROR instead of a
3195 generic error.
3196 * cp-abi.c: Include gdb_assert.h.
3197 (baseclass_offset): Add `embedded_offset' and `val' parameters.
3198 Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR
3199 errors.
3200 * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val'
3201 parameters. No longer returns -1 on error.
3202 (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and
3203 `val' parameters.
3204 * cp-valprint.c: Include exceptions.h.
3205 (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching
3206 the baseclass_offset. Handle unavailable base classes. Use
3207 val_print_invalid_address.
3208 * p-valprint.c: Include exceptions.h.
3209 (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors
3210 when fetching the baseclass_offset. No longer expect
3211 baseclass_offset returning -1. Handle unavailable base classes.
3212 Use val_print_invalid_address.
3213 * valops.c (dynamic_cast_check_1): Rename `contents' parameter to
3214 `valaddr' parameter, and change its type to gdb_byte pointer. Add
3215 `embedded_offset' and `val' parameters. Adjust.
3216 (dynamic_cast_check_2): Rename `contents' parameter to `valaddr'
3217 parameter, and change its type to gdb_byte pointer. Add
3218 `embedded_offset' and `val' parameters. Adjust. No longer expect
3219 baseclass_offset returning -1.
3220 (value_dynamic_cast): Use value_contents_for_printing rather than
3221 value_contents. Adjust.
3222 (search_struct_field): No longer expect baseclass_offset returning
3223 -1.
3224 (search_struct_method): If reading memory from the target is
3225 necessary, wrap it in a new value to pass to baseclass_offset. No
3226 longer expect baseclass_offset returning -1.
3227 (find_method_list): No longer expect baseclass_offset returning
3228 -1. Use value_contents_for_printing rather than value_contents.
3229 * valprint.c (val_print_invalid_address): New function.
3230 * valprint.h (val_print_invalid_address): Declare.
3231 * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset'
3232 and `val' parameters. No longer expect baseclass_offset returning
3233 -1. Adjust.
3234 * gnu-v2-abi.c: Include "exceptions.h".
3235 (gnuv2_baseclass_offset): Add `embedded_offset' and `val'
3236 parameters. Handle unavailable memory. Recurse through
3237 gnuv2_baseclass_offset directly, rather than through
3238 baseclass_offset. No longer returns -1 on not found, instead
3239 throw an error.
3240 * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and
3241 `val' parameters. Adjust.
3242
1b28d0b3
PA
32432011-02-14 Pedro Alves <pedro@codesourcery.com>
3244
3245 * tracepoint.c (memrange_sortmerge): Don't merge ranges that are
3246 almost but not quite adjacent.
3247
ec0a52e1
PA
32482011-02-14 Pedro Alves <pedro@codesourcery.com>
3249
3250 * value.h (value_entirely_available): Declare.
3251 * value.c (value_entirely_available): New function.
3252 * c-valprint.c (c_value_print): Don't try fetching the pointer's
3253 real type if the pointer is unavailable.
3254
24e6bcee
PA
32552011-02-14 Pedro Alves <pedro@codesourcery.com>
3256
3257 * valops.c (value_repeat): Use read_value_memory instead of
3258 read_memory.
3259
39d37385
PA
32602011-02-14 Pedro Alves <pedro@codesourcery.com>
3261
3262 * value.h (value_contents_copy, value_contents_copy_raw): Declare.
3263 * value.c (value_contents_copy_raw, value_contents_copy): New
3264 functions.
3265 (value_primitive_field): Use value_contents_copy_raw instead of
3266 memcpy.
3267 * valops.c (value_fetch_lazy): Use value_contents_copy instead of
3268 memcpy.
3269 (value_array, value_slice): Ditto.
3270 * valarith.c (value_subscripted_rvalue): Use
3271 value_contents_copy_raw instead of memcpy.
3272
a3d34bf4
PA
32732011-02-14 Pedro Alves <pedro@codesourcery.com>
3274
3275 <unavailable> references.
3276
3277 * valops.c (get_value_at): Use value_from_contents_and_address,
3278 avoiding read_memory.
3279
9fc6d940
PA
32802011-02-14 Pedro Alves <pedro@codesourcery.com>
3281
3282 * c-valprint.c (c_val_print): Print a string with unavailable
3283 contents as an array.
3284
5467c6c8
PA
32852011-02-14 Pedro Alves <pedro@codesourcery.com>
3286
3287 * value.h (unpack_bits_as_long): Delete declaration.
3288 (unpack_value_bits_as_long): Declare.
3289 (unpack_value_field_as_long): Declare.
3290 (value_field_bitfield): Declare.
3291 * value.c (unpack_bits_as_long): Rename to...
3292 (unpack_value_bits_as_long_1): ... this. Add embedded_offset and
3293 value parameters. Return the extracted result in a new output
3294 parameter. If the value contents are unavailable, return false,
3295 otherwise return true.
3296 (unpack_value_bits_as_long): New.
3297 (unpack_field_as_long): Rename to...
3298 (unpack_value_field_as_long_1): ... this. Add embedded_offset and
3299 Add embedded_offset and value parameters. Return the extracted
3300 result in a new output parameter. If the value contents are
3301 unavailable, return false, otherwise return true.
3302 (unpack_value_field_as_long): New.
3303 (unpack_field_as_long_1): New.
3304 (unpack_field_as_long): Reimplement as wrapper around
3305 unpack_value_field_as_long_1.
3306 (value_field_bitfield): New function.
3307 * valops.c (value_fetch_lazy): When fetching a bitfield, use
3308 unpack_value_bits_as_long. Mark the value as unavailable, if it
3309 is unavailable.
3310 * jv-valprint.c (java_print_value_fields): Use
3311 value_field_bitfield.
3312 * p-valprint.c (pascal_object_print_value_fields): Use
3313 value_field_bitfield.
3314 * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield.
3315
3158c6ed
PA
33162011-02-14 Pedro Alves <pedro@codesourcery.com>
3317
3318 * value.c (get_internalvar_integer): Also return the int value of
3319 TYPE_CODE_INT INTERNALVAR_VALUE values.
3320 (set_internalvar): Don't special case TYPE_CODE_INT.
3321
9fbdca0d
PA
33222011-02-14 Pedro Alves <pedro@codesourcery.com>
3323
3324 * value.c (struct internalvar) <enum internalvar_kind>: Remove
3325 INTERNALVAR_POINTER.
3326 <pointer>: Delete.
3327 (value_of_internalvar): Remove INTERNALVAR_POINTER handling.
3328 (set_internalvar): Remove special TYPE_CODE_PTR handling.
3329 (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling.
3330
c8c1c22f
PA
33312011-02-14 Pedro Alves <pedro@codesourcery.com>
3332
3333 * value.h (value_available_contents_eq): Declare.
3334 * value.c (find_first_range_overlap): New function.
3335 (value_available_contents_eq): New function.
3336 * valprint.c (val_print_array_elements): Use
3337 value_available_contents_eq.
3338 * ada-valprint.c (val_print_packed_array_elements): Use
3339 value_available_contents_eq.
3340 * jv-valprint.c (java_value_print): Use
3341 value_available_contents_eq.
3342
e6e4e701
PA
33432011-02-14 Pedro Alves <pedro@codesourcery.com>
3344
3345 * target.c (target_read_live_memory): New function.
3346 (memory_xfer_live_readonly_partial): New.
3347 (memory_xfer_partial): If reading from a traceframe, fallback to
3348 reading unavailable read-only memory from read-only regions of
3349 live target memory.
3350 * tracepoint.c (disconnect_tracing): Adjust.
3351 (set_current_traceframe): New, factored out from
3352 set_traceframe_number.
3353 (set_traceframe_number): Reimplement to only change the traceframe
3354 number on the GDB side.
3355 (do_restore_current_traceframe_cleanup): Adjust.
3356 (make_cleanup_restore_traceframe_number): New.
3357 (cur_traceframe_number): New global.
3358 (tfile_open): Set cur_traceframe_number to no traceframe.
3359 (set_tfile_traceframe): New function.
3360 (tfile_trace_find): If looking up a traceframe using any method
3361 other than by number, make sure the current tfile traceframe
3362 matches gdb's current traceframe. Update the current tfile
3363 traceframe if the lookup succeeded.
3364 (tfile_fetch_registers, tfile_xfer_partial)
3365 (tfile_get_trace_state_variable_value): Make sure the remote
3366 traceframe matches gdb's current traceframe.
3367 * remote.c (remote_traceframe_number): New global.
3368 (remote_open_1): Set it to -1.
3369 (set_remote_traceframe): New function.
3370 (remote_fetch_registers, remote_store_registers)
3371 (remote_xfer_memory, remote_xfer_partial)
3372 (remote_get_trace_state_variable_value): Make sure the remote
3373 traceframe matches gdb's current traceframe.
3374 (remote_trace_find): If looking up a traceframe using any method
3375 other than by number, make sure the current remote traceframe
3376 matches gdb's current traceframe. Update the current remote
3377 traceframe if the lookup succeeded.
3378 * infrun.c (fetch_inferior_event): Adjust.
3379 * tracepoint.h (set_current_traceframe): Declare.
3380 (get_traceframe_number, set_traceframe_number): Add describing
3381 comments.
3382
e6ca34fc
PA
33832011-02-14 Pedro Alves <pedro@codesourcery.com>
3384
3385 Mark pieces of values as unavailable if the corresponding memory
3386 is unavailable.
3387
3388 * valops.c: Include tracepoint.h.
3389 (value_fetch_lazy): Use read_value_memory.
3390 (read_value_memory): New.
3391 * value.h (read_value_memory): Declare.
3392 * dwarf2loc.c (read_pieced_value): Use read_value_memory.
3393 * exec.c (section_table_available_memory): New function.
3394 * exec.h (section_table_available_memory): Declare.
3395
2a7498d8
PA
33962011-02-14 Pedro Alves <pedro@codesourcery.com>
3397
3398 * Makefile.in (SFILES): Add memrange.c.
3399 (HFILES_NO_SRCDIR): Add memrange.h.
3400 (COMMON_OBS): Add memrange.o.
3401 * memrange.c: New file.
3402 * memrange.h: New file.
3403 * tracepoint.c: Include memrange.h.
3404 (struct mem_range): Delete.
3405 (mem_range_s): Delete.
3406 (traceframe_available_memory): New function.
3407 * tracepoint.h (traceframe_available_memory): Declare.
3408
b3b9301e
PA
34092011-02-14 Pedro Alves <pedro@codesourcery.com>
3410
3411 * target.h (struct traceframe_info): Forward declare.
3412 (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
3413 (struct target_ops) <to_traceframe_info>: New field.
3414 (target_traceframe_info): New.
3415 * target.c (update_current_target): Inherit and default
3416 to_traceframe_info.
3417 * remote.c (PACKET_qXfer_traceframe_info): New.
3418 (remote_protocol_features): Register qXfer:traceframe-info:read.
3419 (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
3420 (remote_traceframe_info): New.
3421 (init_remote_ops): Install it.
3422 (_initialize_remote): Install "set/show remote traceframe-info"
3423 commands.
3424 * tracepoint.h (parse_traceframe_info): Declare.
3425 * tracepoint.c (struct mem_range): New.
3426 (mem_range_s): New typedef.
3427 (struct traceframe_info): New.
3428 (traceframe_info): New global.
3429 (free_traceframe_info): New function.
3430 (clear_traceframe_info): New function.
3431 (start_tracing, tfind_1, set_traceframe_number): Clear traceframe
3432 info.
3433 (build_traceframe_info): New function.
3434 (tfile_traceframe_info): New function.
3435 (init_tfile_ops): Install tfile_traceframe_info.
3436 (traceframe_info_start_memory, free_result): New functions.
3437 (memory_attributes, traceframe_info_elements): New globals.
3438 (parse_traceframe_info, get_traceframe_info): New functions.
3439 * features/traceframe-info.dtd: New file.
3440 * Makefile.in (XMLFILES): Add traceframe-info.dtd.
3441
4e07d55f
PA
34422011-02-14 Pedro Alves <pedro@codesourcery.com>
3443
3444 Base support for <unavailable> value contents.
3445
4e07d55f
PA
3446 * value.h (value_bytes_available): Declare.
3447 (mark_value_bytes_unavailable): Declare.
3448 * value.c (struct range): New struct.
3449 (range_s): New typedef.
3450 (ranges_overlap): New function.
3451 (range_lessthan): New function.
3452 (ranges_contain_p): New function.
3453 (struct value) <unavailable>: New field.
3454 (value_bytes_available): New function.
3455 (mark_value_bytes_unavailable): New function.
3456 (require_not_optimized_out): Constify parameter.
3457 (require_available): New function.
3458 (value_contents_all, value_contents): Require all bytes be
3459 available.
3460 (value_free): Free `unavailable'.
3461 (value_copy): Copy `unavailable'.
3462 * valprint.h (val_print_unavailable): Declare.
3463 * valprint.c (valprint_check_validity): Rename `offset' parameter
3464 to `embedded_offset'. If printing a scalar, check whether the
3465 value chunk is available.
3466 (val_print_unavailable): New.
3467 (val_print_scalar_formatted): Check whether the value is
3468 available.
3469 * python/py-prettyprint.c (apply_val_pretty_printer): Refuse
3470 pretty-printing unavailable values.
3471
bc9a5551
JK
34722011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3473
3474 Fix const/volatile qualifiers of C++ types, PR c++/12328.
3475 * c-typeprint.c (c_type_print_args): Update the function comment. New
3476 variable param_type, initialize it. Remove const/volatile qualifiers
3477 for language_cplus and !show_artificial. Use param_type.
3478
93b55aa1
JK
34792011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3480
3481 * symtab.c (find_pc_sect_line): New variable objfile, initialize it
3482 from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S.
3483 * symtab.h (struct symtab) <next>: Comment extension.
3484
181d9476
YQ
34852011-02-12 Yao Qi <yao@codesourcery.com>
3486
3487 * Makefile.in (CLEANDIRS): Remove duplicated common dir.
3488
b708a5c7
JK
34892011-02-11 Yao Qi <yao@codesourcery.com>
3490
3491 * common/Makefile.in: Add copyright header.
3492
c5187ac6
PA
34932011-02-11 Pedro Alves <pedro@codesourcery.com>
3494
3495 * infrun.c (proceed): Move switching out and in of tfind mode from
3496 here ...
3497 (fetch_inferior_event): ... to here.
3498
4f3e6fb7
YQ
34992011-02-11 Yao Qi <yao@codesourcery.com>
3500
3501 * Makefile.in: Remove signals.o from COMMON_OBS. Link
3502 libcommon.a.
3503 * configure.ac: Add common to sub dir.
3504 * configure: Regenerate.
3505
b708a5c7
JK
35062011-02-11 Yao Qi <yao@codesourcery.com>
3507
3508 Build libcommon.a.
3509
3510 * common/Makefile.in: New.
3511 * common/configure.ac: New.
3512 * common/aclocal.m4: New.
3513 * common/configure: Generate.
3514
2287cc7e
PA
35152011-02-10 Pedro Alves <pedro@codesourcery.com>
3516
3517 * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
3518 side of the parenthesis.
3519
3520 Merge from GCC:
3521 2010-07-13 Jakub Jelinek <jakub@redhat.com>
fc013618 3522 * vec.h (VEC_block_remove): Fix comment.
2287cc7e 3523
fd62cb89
MS
35242011-02-08 Michael Snyder <msnyder@vmware.com>
3525
3526 * linux-nat.c (linux_nat_filter_event): Fix typo in comment.
3527
56d2815c
JK
35282011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3529
3530 * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
3531 in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
3532 psubd and paddd.
3533
4f7d61a8
JK
35342011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3535
3536 PR 12361.
3537 * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
3538 phsubsw.
3539 (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
3540 (i386_process_record) <0x0f3807>: Fix the comment to phsubsw.
3541
54fcddd0
UW
35422011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3543
3544 * dwarf2read.c (read_subroutine_type): Set special calling
3545 convention flag for functions compiled by IBM XL C for OpenCL.
3546 * ppc-sysv-tdep.c: Include "dwarf2.h"
3547 (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
3548 calling convention.
3549 (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement
3550 IBM OpenCL vector types calling convention.
3551 (ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
3552 (ppc_sysv_abi_broken_return_value): Likewise.
3553 (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
3554 types calling convention.
3555 (ppc64_sysv_abi_return_value): Likewise.
3556 * spu-tdep.c: Include "dwarf2.h"
3557 (spu_return_value): Implement IBM OpenCL vector types calling
3558 convention.
3559
d6dafb7c
UW
35602011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3561
3562 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
3563 correct ABI for AltiVec vector arguments.
3564
32b72a42
PA
35652011-02-07 Pedro Alves <pedro@codesourcery.com>
3566
3567 * valprint.c (val_print): Extend comment.
3568 * ada-valprint.c (ada_valprint): Rewrite comment deferring
3569 interface explanation to val_print.
3570 (ada_val_print_array): Adjust comment to current interface.
3571 (print_field_values): Adjust comment to current interface.
3572 * c-valprint.c (c_val_print): Rewrite comment deferring interface
3573 explanation to val_print.
3574 * f-valprint.c (f_val_print): Ditto.
3575 * jv-valprint.c (java_val_print): Ditto.
3576 * m2-valprint.c (m2_val_print): Ditto.
3577 * p-valprint.c (pascal_val_print): Ditto.
3578
9998af43
TJB
35792011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
3580
3581 * breakpoint.c (parse_breakpoint_sals): Fix description.
3582
505500db 35832011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
9998af43 3584 Oguz Kayral <oguzkayral@gmail.com>
505500db
SW
3585
3586 * python/py-inferior.c (python_on_normal_stop): New function.
3587 (python_on_resume): New function.
3588 (python_inferior_exit): New function.
3589 (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
3590 inferior_exit observers.
3591 * python/py-evtregistry.c: New file.
3592 * python/py-threadevent.c : New file.
3593 * python/py-event.c: New file.
3594 * python/py-evts.c: New file.
3595 * python/py-continueevent.c: New file.
3596 * python/py-bpevent.c: New file.
3597 * python/py-signalevent.c: New file.
3598 * python/py-exetiedevent.c: New file.
3599 * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
3600 Move struct breakpoint_object from here...
3601 * python/python-internal.h: ... to here.
3602 * python/py-event.h: New file.
3603 * python/py-events.h: New file.
3604 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
3605 py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
3606 py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
3607 (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
3608 py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
3609 py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
3610 Add build rules for all the above.
3611
9e0ac564
TT
36122011-02-04 Tom Tromey <tromey@redhat.com>
3613
3614 * dwarf2read.c (dwarf2_section_empty_p): New function.
3615 (dwarf2_read_section): Use dwarf2_section_empty_p.
3616 (dwarf2_section_size): New function.
3617 (dwarf2_get_section_info): Unconditionally read section.
3618 (dwarf2_read_index): Use dwarf2_section_empty_p.
3619 (partial_read_comp_unit_head): Use dwarf2_section_size.
3620 (dwarf2_symbol_mark_computed): Likewise.
3621
eee5b35e
DD
36222011-02-04 David Daney <ddaney@caviumnetworks.com>
3623
3624 * NEWS: Add item for "catch syscall" on mips*-linux* targets.
3625
385203ed
DD
36262011-02-04 David Daney <ddaney@caviumnetworks.com>
3627
3628 * mips-linux-tdep.c: Include xml-syscall.h.
3629 (mips_linux_get_syscall_number): New function.
3630 (mips_linux_init_abi): Add calls to
3631 mips_linux_get_syscall_number() and set_xml_syscall_file_name().
3632 * data-directory/Makefile.in (SYSCALLS_FILES): Add
3633 mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
3634 * syscalls/mips-n32-linux.xml: New file.
3635 * syscalls/mips-n64-linux.xml: New file.
3636 * syscalls/mips-o32-linux.xml: New file.
3637
9277c30c
UW
36382011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org>
3639
3640 * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
3641 Complain about inverted range entries.
3642 (dwarf2_record_block_ranges): Likewise.
3643
a3be7890
TJB
36442011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com>
3645
3646 Fix some typos.
3647 * breakpoint.c (update_watchpoint): Fix name of the
3648 update_global_location_list function.
3649 (print_one_breakpoint): Fix typo.
3650 (_initialize_breakpoint): Remove extra space in hbreak help
3651 string.
3652 * breakpoint.h (struct bp_location) <length>: Fix field
3653 description.
3654
041274d8
PA
36552011-02-04 Pedro Alves <pedro@codesourcery.com>
3656
3657 * regcache.c (registers_changed_ptid): Don't explictly always
3658 clear `current_regcache'. Only clear current_thread_ptid and
3659 current_thread_arch when PTID matches. Only reinit the frame
3660 cache if PTID matches the current inferior_ptid. Move alloca(0)
3661 call to ...
3662 (registers_changed): ... here.
3663
c1c2ab58
UW
36642011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org>
3665
3666 * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
3667 starts with __stack_chk_guard as stack guard symbol.
3668
9011945e
AB
36692011-02-03 Andrew Burgess <aburgess@broadcom.com>
3670
3671 * disasm.c (compare_lines): Handle the end of sequence markers
3672 within the line table to better support disassembling over
3673 compilation unit boundaries.
3674
e0634ccf
UW
36752011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
3676
3677 * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
3678 arguments. Skip in-prologue calls to glibc __aeabi_read_tp
3679 implementation even if no symbols are available.
3680 (thumb_analyze_prologue): Update call to skip_prologue_function.
3681 (arm_analyze_prologue): Likewise.
3682
0e9e9abd
UW
36832011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
3684
3685 * arm-tdep.c: Include "observer.h".
3686 (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
3687 (arm_exidx_data_key): New static variable.
3688 (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
3689 (struct arm_exidx_data): Likewise.
3690 (arm_exidx_data_free): New function.
3691 (arm_compare_exidx_entries): Likewise.
3692 (arm_obj_section_from_vma): Likewise.
3693 (arm_exidx_new_objfile): Likewise.
3694 (arm_find_exidx_entry): Likewise.
3695 (arm_exidx_fill_cache): Likewise.
3696 (arm_exidx_unwind_sniffer): Likewise.
3697 (arm_exidx_unwind): New global variable.
3698 (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
3699 (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
3700 observer. Register arm_exidx_data_key as objfile data.
3701
2e9e421f
UW
37022011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org>
3703
3704 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
3705 due to accessing uninitialized variable. Fix indentation.
3706
580688f3
PA
37072011-02-02 Pedro Alves <pedro@codesourcery.com>
3708
3709 * c-valprint.c (c_value_print): When doing virtual base pointer
3710 adjustment, create a new value with adjusted contents rather than
3711 changing the contents of the value being printed (and getting it
3712 wrong).
3713
3d2c1d41
PA
37142011-02-02 Pedro Alves <pedro@codesourcery.com>
3715
3716 * xml-support.c (xml_find_attribute): New.
3717 (xinclude_start_include): Use it.
3718 * xml-support.h (xml_find_attribute): Declare.
3719 * memory-map.c (memory_map_start_memory)
3720 (memory_map_start_property): Use xml_find_attribute.
3721 * osdata.c (osdata_start_osdata, osdata_start_column): Use
3722 xml_find_attribute.
3723 * remote.c (start_thread): Use xml_find_attribute.
3724 * solib-target.c (library_list_start_segment)
3725 (library_list_start_section, library_list_start_library)
3726 (library_list_start_list): Use xml_find_attribute.
3727 * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
3728 (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
3729 (tdesc_start_field): Use xml_find_attribute.
3730
0af3e2db
UW
37312011-02-02 Ulrich Weigand <uweigand@de.ibm.com>
3732
3733 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
3734 (BUILD_OCL_VTYPES): Update.
3735
c1039e3c
JB
37362011-02-02 Joel Brobecker <brobecker@adacore.com>
3737
3738 * configure.ac: Work around non-GNU sed limitation when computing
3739 python version number.
3740 * configure: Regenerate.
3741
600ea1be
JK
37422011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3743
3744 Fix debug printing of TYPE_INSTANCE.
3745 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
3746 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
3747
56c12414
JK
37482011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3749
3750 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
3751 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
3752 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
3753 * ada-operator.inc: Rename the file to ...
3754 * ada-operator.def: ... here, wrap all the entries by macro OP.
3755 * expprint.c (op_name_standard): Remove all the entries. Include
3756 "std-operator.def" instead.
3757 * expression.h (enum exp_opcode): Include "std-operator.def" and
3758 "ada-operator.def". Move all the entries ...
3759 * std-operator.def: ... here, wrap all the entries by macro OP.
3760
c52b559d
PP
37612011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3762
3763 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
3764 * breakpoint.c (remove_jit_event_breakpoints): New function.
3765 * jit.c (jit_descriptor_addr): Delete.
3766 (registering_code): Delete.
3767 (clear_int): Delete.
3768 (jit_inferior_data): New variable.
3769 (struct jit_inferior_data): New type.
3770 (get_jit_inferior_data): New function.
3771 (jit_inferior_data_cleanup): New function.
3772 (jit_read_descriptor): Adjust.
3773 (jit_register_code): Adjust.
3774 (jit_breakpoint_re_set_internal): New function; move code here ...
3775 (jit_inferior_init): ... from here.
3776 (jit_breakpoint_re_set): Adjust.
3777 (jit_reset_inferior_data_and_breakpoints): New function.
3778 (jit_inferior_created_observer): Adjust.
3779 (jit_inferior_exit_hook): Adjust.
3780 (jit_executable_changed_observer): New function.
3781 (jit_event_handler): Adjust.
3782 (_initialize_jit): Adjust.
3783
e839132d
MS
37842011-01-31 Michael Snyder <msnyder@vmware.com>
3785
3786 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
3787 line.
3788
47a80e90
TT
37892011-01-31 Tom Tromey <tromey@redhat.com>
3790
3791 PR python/12216:
3792 * python/python.c (execute_gdb_command): Call
3793 prevent_dont_repeat.
3794 * top.c (suppress_dont_repeat): New global.
3795 (dont_repeat): Use it.
3796 (prevent_dont_repeat): New function.
3797 * command.h (prevent_dont_repeat): Declare.
3798
45a43567
TT
37992011-01-31 Tom Tromey <tromey@redhat.com>
3800
3801 * infcmd.c (finish_backward): Use breakpoint_set_silent.
3802 * python/py-breakpoint.c (bppy_set_silent): Use
3803 breakpoint_set_silent.
3804 (bppy_set_thread): Use breakpoint_set_thread.
3805 (bppy_set_task): Use breakpoint_set_task.
3806 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
3807 (breakpoint_set_task): Declare.
3808 (make_breakpoint_silent): Remove.
3809 * breakpoint.c (breakpoint_set_silent): New function.
3810 (breakpoint_set_thread): Likewise.
3811 (breakpoint_set_task): Likewise.
3812 (make_breakpoint_silent): Remove.
3813
09d682a4
TT
38142011-01-31 Tom Tromey <tromey@redhat.com>
3815
3816 * breakpoint.h (user_breakpoint_p): Declare.
3817 * breakpoint.c (user_breakpoint_p): New function.
3818 (breakpoint_1): Use it.
3819 (save_breakpoints): Likewise.
3820
9c4ea6c5
JB
38212011-01-31 Joel Brobecker <brobecker@adacore.com>
3822
3823 * configure.ac: Add handling of Python distribution on Windows.
3824 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
3825 sysconfig variables are not defined, then do not use them.
3826 On Windows, if LIBPL is not defined, then use prefix + '/libs'
3827 instead. On Windows, return all paths using forward-slashes
3828 rather than backslashes.
3829
ac534cba
JB
38302011-01-31 Joel Brobecker <brobecker@adacore.com>
3831
3832 * configure.ac: Remove fallback behavior for building
3833 against Python. Remove tweaking of Python include path.
3834 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
3835 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
3836 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
3837 Always restore CPPFLAGS and LIBS after linking test.
3838 * configure: Regenerated.
3839 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
3840 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
3841 * python/python-internal.h: Adjust includes of Python .h files.
3842
c2f0d045
JB
38432011-01-31 Joel Brobecker <brobecker@adacore.com>
3844
3845 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
3846 in error message.
3847
6b0c4c1f
JB
38482011-01-31 Joel Brobecker <brobecker@adacore.com>
3849
3850 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
3851 value test.
3852
672c9795
YQ
38532011-01-31 Yao Qi <yao@codesourcery.com>
3854
3855 * arm-linux-nat.c: Update calls to regcache_register_status
3856 instead of regcache_valid_p.
3857 * aix-thread.c: Likewise.
3858 * i386gnu-nat.c: Likewise.
3859
80b23b6a
JK
38602011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3861
3862 Fix crash.
3863 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
3864 touching TYPE_FIELD_ARTIFICIAL.
3865
4cd712bd
RE
38662011-01-28 Richard Earnshaw <rearnsha@arm.com>
3867
3868 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
3869 Committers.
3870
ffd5ec24
PA
38712011-01-28 Pedro Alves <pedro@codesourcery.com>
3872
3873 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
3874 selected, don't try iterating over the traceframe's blocks.
3875 (tfile_has_stack): If there's no traceframe selected, then there's
3876 no stack.
3877 (tfile_has_registers): If there's no traceframe selected, then
3878 there's no registers.
3879
e8c9e0a1
PA
38802011-01-28 Pedro Alves <pedro@codesourcery.com>
3881
3882 * target.c (memory_xfer_partial): No need to restore shadows if we
3883 haven't read anything.
3884
de15c4ab
PA
38852011-01-28 Pedro Alves <pedro@codesourcery.com>
3886
3887 * mips-tdep.c (mips_print_register): Use get_frame_register_value
3888 and val_print_scalar_formatted.
3889
9f41c731
PA
38902011-01-27 Pedro Alves <pedro@codesourcery.com>
3891
3892 * tracepoint.c (tfile_read): New.
3893 (tfile_open): Use it.
3894 (tfile_get_traceframe_address): Use it.
3895 (tfile_trace_find): Use it.
3896 (walk_blocks_callback_func): New typedef.
3897 (match_blocktype): New function.
3898 (traceframe_walk_blocks): New function.
3899 (traceframe_find_block_type): New function.
3900 (tfile_fetch_registers, tfile_xfer_partial)
3901 (tfile_get_trace_state_variable_value): Use
3902 traceframe_find_block_type and tfile_read.
3903
cdefc55d
KB
39042011-01-26 Kevin Buettner <kevinb@redhat.com>
3905
3906 * remote-mips.c: Add internationalization mark ups. Remove
3907 trailing \n from already marked up strings.
3908
a81766d8
TT
39092011-01-26 Tom Tromey <tromey@redhat.com>
3910
3911 * python/py-prettyprint.c (print_string_repr): Clear
3912 'addressprint' option when calling val_print_string.
3913 (print_children): Handle Val_pretty_default. Clear 'addressprint'
3914 option when calling val_print_string.
3915
74aedc46
TT
39162011-01-26 Tom Tromey <tromey@redhat.com>
3917
3918 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
3919 GDB_PY_LL_ARG.
3920 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
3921 macros.
3922 (gdb_py_longest, gdb_py_ulongest): New typedefs.
3923 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
3924 (gdb_py_long_as_ulongest): New defines.
3925 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
3926 (gdb_py_int_as_long): Declare.
3927 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
3928 GDB_PY_LL_ARG, gdb_py_object_from_longest.
3929 (valpy_long): Add comment.
3930 * python/py-utils.c (get_addr_from_python): Use
3931 gdb_py_long_as_ulongest. Handle overflow properly.
3932 (gdb_py_object_from_longest): New function.
3933 (gdb_py_object_from_ulongest): Likewise.
3934 (gdb_py_int_as_long): Likewise.
3935 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
3936 * python/py-symtab.c (salpy_get_pc): Use
3937 gdb_py_long_from_ulongest.
3938 (salpy_get_line): Use PyInt_FromLong.
3939 * python/py-param.c (set_parameter_value): Use
3940 gdb_py_int_as_long.
3941 * python/py-lazy-string.c (stpy_get_address): Use
3942 gdb_py_long_from_ulongest.
3943 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
3944 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
3945 * python/py-breakpoint.c (bppy_set_thread): Use
3946 gdb_py_int_as_long.
3947 (bppy_set_task): Likewise.
3948 (bppy_set_ignore_count): Likewise.
3949 (bppy_set_hit_count): Likewise.
3950 * python/py-block.c (blpy_get_start): Use
3951 gdb_py_object_from_ulongest.
3952 (blpy_get_end): Likewise.
3953 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
3954
e4f6d2ec
TJB
39552011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr>
3956
3957 PR/symtab 11766:
3958 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
3959 * gdb/solib.c (solib_read_symbols): Check for addr_low in
3960 equality test for objfile, initialize addr_low if needed.
3961
b30aa278
PA
39622011-01-25 Pedro Alves <pedro@codesourcery.com>
3963
3964 * tui/tui-regs.c (tui_register_format): Remove dead code.
3965
ab2188aa
PA
39662011-01-25 Pedro Alves <pedro@codesourcery.com>
3967
3968 * printcmd.c (print_formatted): Use val_print_scalar_formatted
3969 instead of print_scalar_formatted.
3970 (print_scalar_formatted): Don't handle 's' format strings here,
3971 and add an assertion that we never see such format here.
3972 * valprint.h (val_print_scalar_formatted): Declare.
3973 * valprint.c (val_print_scalar_formatted): New.
3974 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
3975 instead of print_scalar_formatted.
3976 * jv-valprint.c (java_val_print): Ditto.
3977 * p-valprint.c (pascal_val_print): Ditto.
3978 * ada-valprint.c (ada_val_print_1): Ditto.
3979 * f-valprint.c (f_val_print): Ditto.
3980 * infcmd.c (registers_info): Ditto.
3981 * m2-valprint.c (m2_val_print): Ditto.
3982
66d61a4c
PA
39832011-01-25 Pedro Alves <pedro@codesourcery.com>
3984
3985 * m2-valprint.c (print_unbounded_array): Pass
3986 value_contents_for_printing rather than value_contents, to
3987 m2_print_array_contents. Also pass in the value.
3988
831adc1f
JK
39892011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3990
3991 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
3992 (save_gdb_index_command): Switch to .gdb_index version 4.
3993
20622269
PA
39942011-01-25 Pedro Alves <pedro@codesourcery.com>
3995
3996 * mi/mi-main.c (get_register): Use get_frame_register_value rather
3997 than frame_register, and always pass a valid value to val_print.
3998
585fdaa1
PA
39992011-01-25 Pedro Alves <pedro@codesourcery.com>
4000
4001 Centralize printing "<optimized out>".
4002
4003 * valprint.h (val_print_optimized_out): Declare.
4004 * cp-valprint.c (cp_print_value_fields): Use
4005 val_print_optimized_out.
4006 * jv-valprint.c (java_print_value_fields): Ditto.
4007 * p-valprint.c (pascal_object_print_value_fields): Ditto.
4008 * printcmd.c (print_formatted): Ditto.
4009 * valprint.c (valprint_check_validity): Ditto.
4010 (value_check_printable): Ditto.
4011 (val_print_optimized_out): New.
4012
29ec5263
PA
40132011-01-25 Pedro Alves <pedro@codesourcery.com>
4014
4015 * infcmd.c (default_print_registers_info): Allocate values so to
4016 never pass a NULL value to val_print.
4017
de4127a3
PA
40182011-01-25 Pedro Alves <pedro@codesourcery.com>
4019
4020 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
4021 boolean. Make sure to always pass a value that matches the
4022 contents buffer to callees. Preserve `address' for following
4023 iterations.
4024 * value.c (value_contents_for_printing_const): New.
4025 (value_address): Constify value argument.
4026 * value.h (value_contents_for_printing_const): Declare.
4027 (value_address): Constify value argument.
4028
ee99023e
PA
40292011-01-25 Pedro Alves <pedro@codesourcery.com>
4030
4031 * regcache.c (struct regcache_descr): Rename
4032 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
4033 and sizeof_cooked_register_valid_p to
4034 sizeof_cooked_register_status.
4035 (init_regcache_descr): Adjust.
4036 (struct regcache): Rename register_valid_p field to
4037 register_status.
4038 (regcache_xmalloc_1, regcache_xfree, regcache_save)
4039 (do_cooked_read): Adjust.
4040 (regcache_valid_p): Rename to ...
4041 (regcache_register_status): ... this. Adjust.
4042 (regcache_invalidate): Adjust.
4043 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
4044 Adjust.
4045 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
4046 as unavailable, not valid.
4047 (regcache_dump): Adjust.
4048 * regcache.h (enum register_status): New.
4049 (regcache_register_status): Declare.
4050 (regcache_invalidate): Delete declaration.
4051 * corelow.c (get_core_registers): Adjust.
4052 * tracepoint.c (tfile_fetch_registers): Adjust.
4053 * trad-frame.c (REG_VALUE): Rename to ...
4054 (TF_REG_VALUE): ... this.
4055 (REG_UNKNOWN): Rename to ...
4056 (TF_REG_UNKNOWN): ... this.
4057 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
4058 * mi/mi-main.c (register_changed_p): Adjust.
4059
99e42fd8
PA
40602011-01-25 Pedro Alves <pedro@codesourcery.com>
4061
4062 * regcache.c (struct regcache_descr): Remove outdated comment.
4063 (init_regcache_descr): Remove sizeof_raw_register_valid_p
4064 overallocate hack.
4065 (regcache_xmalloc): Rename to ...
4066 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
4067 Allocate the regcache type accordingly.
4068 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
4069 (regcache_xfree): Asser the source is also readonly. Copy sizeof
4070 cooked registers, not raw.
4071 (regcache_dup_no_passthrough): Delete.
4072 (get_thread_arch_regcache): Use regcache_xmalloc_1.
4073 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
4074 mention obsolete write_register_bytes.
4075 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
4076
f7605bc2
PA
40772011-01-25 Pedro Alves <pedro@codesourcery.com>
4078
4079 Stop remote_read_bytes from handling partial reads itself.
4080
4081 * remote-fileio.c: Include target.h.
4082 (remote_fileio_write_bytes): Delete.
4083 (remote_fileio_func_open, remote_fileio_func_write)
4084 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
4085 target_read_memory.
4086 (remote_fileio_func_stat): Use target_read_memory and
4087 target_write_memory.
4088 (remote_fileio_func_gettimeofday): Use target_write_memory.
4089 (remote_fileio_func_system): Use target_read_memory.
4090 * remote.c (remote_write_bytes): Make it static.
4091 (remote_read_bytes): Don't handle partial reads here.
4092 * remote.h (remote_read_bytes): Delete declaration.
4093
efc0eabd
PA
40942011-01-25 Pedro Alves <pedro@codesourcery.com>
4095
4096 Simplify XML parsing a bit.
4097
4098 * xml-support.h (gdb_xml_parse_quick): Declare.
4099 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
4100 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
4101 parameter.
4102 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
4103 gdb_xml_create_parser_and_cleanup_1.
4104 (gdb_xml_parse_quick): New.
4105 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
4106 * osdata.c (osdata_parse): Ditto.
4107 * remote.c (remote_threads_info): Ditto.
4108 * solib-target.c (solib_target_parse_libraries): Ditto.
4109 * xml-syscall.c (syscall_parse_xml): Ditto.
4110 * xml-tdesc.c (tdesc_parse_xml): Ditto.
4111
314d366a
KB
41122011-01-24 Kevin Buettner <kevinb@redhat.com>
4113
4114 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
4115 with remote-mips.o added to gdb_target_obs.
4116 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
4117
a491d753
PA
41182011-01-24 Pedro Alves <pedro@codesourcery.com>
4119
4120 * ada-valprint.c (val_print_packed_array_elements): Pass the
4121 correct struct value to val_print.
4122 (ada_val_print_1): Ditto.
4123
490f124f
PA
41242011-01-24 Pedro Alves <pedro@codesourcery.com>
4125
4126 Don't lose embedded_offset in printing routines throughout.
4127
4128 * valprint.h (val_print_array_elements): Change prototype.
4129 * valprint.c (val_print_array_elements): Add `embedded_offset'
4130 parameter, and adjust to pass it down to val_print, while passing
4131 `valaddr' or `address' unmodified. Take embedded_offset into
4132 account when checking repetitions.
4133 * c-valprint.c (c_val_print): Pass embedded_offset to
4134 val_print_array_elements instead of adjusting `valaddr' and
4135 `address'.
4136 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
4137 embedded_offset to val_print_array_elements instead of adjusting
4138 `valaddr'.
4139 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
4140 * p-valprint.c (pascal_val_print): Pass embedded_offset to
4141 val_print_array_elements and pascal_object_print_value_fields
4142 instead of adjusting `valaddr'.
4143 (pascal_object_print_value_fields): Add `offset' parameter, and
4144 adjust to use it.
4145 (pascal_object_print_value): Add `offset' parameter, and adjust to
4146 use it.
4147 (pascal_object_print_static_field): Use
4148 value_contents_for_printing/value_embedded_offset, rather than
4149 value_contents.
4150 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
4151 parameter, and adjust to use it. Use
4152 value_contents_for_printing/value_embedded_offset, rather than
4153 value_contents.
4154 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
4155 (ada_val_print_array): Add `offset' parameter, and adjust to use
4156 it.
4157 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
4158 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
4159 Instead work with offsets. Use
4160 value_contents_for_printing/value_embedded_offset, rather than
4161 value_contents. Change `defer_val_int' local type to CORE_ADDR,
4162 and use value_from_pointer to extract a target pointer, rather
4163 than value_from_longest.
4164 (print_variant_part): Add `offset' parameter. Replace
4165 `outer_valaddr' parameter by a new `outer_offset' parameter.
4166 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
4167 (ada_value_print): Use
4168 value_contents_for_printing/value_embedded_offset, rather than
4169 value_contents.
4170 (print_record): Add `offset' parameter, and adjust to pass it
4171 down.
4172 (print_field_values): Add `offset' parameter. Replace
4173 `outer_valaddr' parameter by a new `outer_offset' parameter.
4174 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
4175 Use value_contents_for_printing/value_embedded_offset, rather than
4176 value_contents.
4177 * d-valprint.c (dynamic_array_type): Use
4178 value_contents_for_printing/value_embedded_offset, rather than
4179 value_contents.
4180 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
4181 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
4182 (java_print_value_fields): Take `offset' into account. Don't
4183 re-adjust `valaddr'. Instead pass down adjusted offsets.
4184 (java_val_print): Take `embedded_offset' into account. Pass it to
4185 java_print_value_fields.
4186 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
4187 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
4188 down adjusted offsets.
4189 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
4190 (f_val_print): Take `embedded_offset' into account.
4191
7bfc9434
JB
41922011-01-21 Joel Brobecker <brobecker@adacore.com>
4193
4194 * inflow.c: Include "gdbcmd.h".
4195 (interactive_mode): New static global, moved here from top.c.
4196 (show_interactive_mode): New function, moved here from top.c.
4197 use gdb_has_a_terminal instead of input_from_terminal_p to
4198 determine the current mode.
4199 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
4200 setting.
4201 (_initialize_inflow): Add the "set/show interactive-mode"
4202 commands. Moved here from top.c, after having adjusted slightly
4203 the help text.
4204 * top.c (interactive_mode, show_interactive_mode): Delete, moved
4205 to inflow.c.
4206 (input_from_terminal_p): Remove handling of "interactive-mode"
4207 setting, moved to infow.c.
4208 (init_main): Remove creation of the "set/show interactive-mode"
4209 commands, moved to inflow.c.
4210
44603653
JB
42112011-01-19 Joel Brobecker <brobecker@adacore.com>
4212
4213 * NEWS: Add entry for native ia64-hpux support.
4214
4694da01
TT
42152011-01-19 Tom Tromey <tromey@redhat.com>
4216
4217 PR mi/8618:
4218 * thread.c (free_thread): Free 'name'.
4219 (print_thread_info): Emit thread name. Change CLI output.
4220 (thread_name_command): New function.
4221 (do_captured_thread_select): Emit newline.
4222 (_initialize_thread): Register 'thread name' command.
4223 * target.h (struct target_ops) <to_thread_name>: New field.
4224 (target_thread_name): New macro.
4225 * target.c (update_current_target): Handle to_thread_name.
4226 * python/py-infthread.c (thpy_get_name): New function.
4227 (thpy_set_name): Likewise.
4228 (thread_object_getset): Add "name".
4229 * linux-nat.c (linux_nat_thread_name): New function.
4230 (linux_nat_add_target): Set to_thread_name.
4231 * gdbthread.h (struct thread_info) <name>: New field.
4232
10d44370
JB
42332011-01-18 Joel Brobecker <brobecker@adacore.com>
4234
4235 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
4236 (ada_val_print_1): Likewise.
4237
e3acb115
JB
42382011-01-18 Joel Brobecker <brobecker@adacore.com>
4239
4240 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
4241 upper limit address is not greater than the function end address
4242 when the upper limit could not be computed using the debugging
4243 info.
4244
dc92e161
TT
42452011-01-17 Tom Tromey <tromey@redhat.com>
4246
4247 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
4248 get_regcomp_error.
4249 * utils.c: Include gdb_regex.h.
4250 (do_regfree_cleanup): New function.
4251 (make_regfree_cleanup): Likewise.
4252 (get_regcomp_error): Likewise.
4253 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
4254
f55af66d
TT
42552011-01-17 Tom Tromey <tromey@redhat.com>
4256
4257 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
4258 re_compile_fastmap.
4259
a5a44b53
PM
42602011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
4261
4262 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
4263 for internal variables.
4264 (last_was_structop): New static variable.
4265 (COMPLETE): New token.
4266 (field_exp): New rule to group all '.' suffix handling.
4267 Add mark_struct_expression calls when approriate to be able
4268 to correctly find fields for completion.
4269 (yylex): Adapt to handle field completion and set INTVAR when
4270 required.
4271
2c291032
YQ
42722011-01-14 Yao Qi <yao@codesourcery.com>
4273
4274 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
4275 save_reggroup, restore_reggroup and all_reggroup.
4276
447b483c
JB
42772011-01-14 Joel Brobecker <brobecker@adacore.com>
4278
4279 * ada-valprint. (ada_printchar): Use the correct type length
4280 in call to ada_emit_char.
4281 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
4282
7b64a93b
PM
42832011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
4284
4285 * solib-som.h (hpux_major_release): Declare variable here.
4286 * solib-som.c: Remove <sys/utsname.h> header.
4287 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
4288 (hpux_major_release): Make global, change default value to
4289 DEFAULT_HPUX_MAJOR_RELEASE.
f2eb0bc8 4290 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
7b64a93b
PM
4291 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
4292 Add "solib-som.h" header.
4293 (set_hpux_major_release): New function.
4294 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
4295
4e18c053
MF
42962011-01-14 Mike Frysinger <vapier@gentoo.org>
4297
4298 * configure.tgt (*-*-uclinux*): Match more Linux os targets
4299
a9df6b22
JB
43002011-01-14 Joel Brobecker <brobecker@adacore.com>
4301
4302 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
4303 new-line at end of warning message.
4304 (ia64_hpux_store_register): Remove trailing new-line at end of
4305 error message.
4306 * ia64-hpux-tdep.c: Rephrase comment.
4307 * solib-ia64-hpux.c (struct dld_info): Change type of field
4308 dld_flags from "long long" to ULONGEST.
4309
ecb956dd
PA
43102011-01-14 Pedro Alves <pedro@codesourcery.com>
4311
4312 * target.h (deprecated_child_ops): Delete declaration.
4313 * target.c (deprecated_child_ops): Delete definition.
4314
76adfcae
PA
43152011-01-14 Pedro Alves <pedro@codesourcery.com>
4316
4317 * Makefile.in (hpux-thread.o): Delete rule.
4318 * configure.ac: Don't check for HPUX DCE threads support.
4319 * configure, config.in: Regenerate.
4320 * hppa-hpux-nat.c (child_suppress_run): Delete.
4321 (hppa_hpux_child_can_run): Delete.
4322 (_initialize_hppa_hpux_nat): Don't override to_can_run.
4323 * hpux-thread.c: Delete.
4324
042e866e
JB
43252011-01-13 Joel Brobecker <brobecker@adacore.com>
4326
4327 * hpux-thread.c (hpux_pid_to_str): Delete.
4328
4ffa5a33
JB
43292011-01-13 Joel Brobecker <brobecker@adacore.com>
4330
4331 * ada-valprint.c (ada_emit_char): Remove strange code.
4332 Check that c is <= UCHAR_MAX before passing it to isascii.
4333 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
4334
de8fa76c
JB
43352011-01-13 Joel Brobecker <brobecker@adacore.com>
4336
4337 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
4338 to the case where instream is stdin.
4339
c4de7027
JB
43402011-01-13 Joel Brobecker <brobecker@adacore.com>
4341
4342 * ia64-tdep.h (struct regcache): Forward declare.
4343 (struct ia64_infcall_ops): New struct type.
4344 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
4345 and "infcall_ops".
4346 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
4347 Renames ia64_find_global_pointer.
4348 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
4349 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
4350 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
4351 methods.
4352 (ia64_infcall_ops): New static global constant.
4353 (ia64_gdbarch_init): Set tdep->infcall_ops.
4354 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
4355 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
4356 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
4357 (ia64_hpux_dummy_code): New static global constant.
4358 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
4359 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
4360 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
4361 New function.
4362 (ia64_hpux_infcall_ops): New static global constant.
4363 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
4364 for inferior function calls to work properly on ia64-hpux.
4365
77ca787b
JB
43662011-01-13 Joel Brobecker <brobecker@adacore.com>
4367
4368 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
4369 * ia64-tdep.h (struct frame_info): forward declaration.
4370 (struct gdbarch_tdep): Add field size_of_register_frame.
4371 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
4372 to determine the size of the register frame.
4373 (ia64_size_of_register_frame): New function.
4374 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
4375 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
4376 (IA64_HPUX_UREG_REASON): New macro.
4377 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
4378 New functions.
4379 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
4380 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
4381 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
4382 objects.
4383
92c9a463
JB
43842011-01-13 Joel Brobecker <brobecker@adacore.com>
4385
4386 Add support for ia64-hpux.
4387 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
4388 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
4389
4390 * configure.host: Add handling for ia64-hpux hosts. Add associated
4391 floatformats.
4392 * configure.tgt: Add handling for ia64-hpux targets.
4393 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
4394 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
4395 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
4396
f688d93f
JB
43972011-01-13 Joel Brobecker <brobecker@adacore.com>
4398
4399 [ttrace] Compute thread list immediately after attach.
4400 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
4401 New subprogram.
4402 (inf_ttrace_attach): Use it.
4403
1b89e62f
JB
44042011-01-13 Joel Brobecker <brobecker@adacore.com>
4405
4406 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
4407 if we could not determine the frame's function address. Instead,
4408 use the frame's PC, and then continue.
4409
3e5e6e2a
JB
44102011-01-13 Joel Brobecker <brobecker@adacore.com>
4411
4412 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
4413 not already defined.
4414
825d6d8a
JB
44152011-01-13 Joel Brobecker <brobecker@adacore.com>
4416
4417 * ia64-tdep.c (ia64_struct_type_p): New function.
4418 (ia64_extract_return_value): Handle integral values that are
4419 less than 8 bytes long.
4420 (ia64_push_dummy_call): Likewise.
4421
7458e667
JB
44222011-01-13 Joel Brobecker <brobecker@adacore.com>
4423
4424 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
4425 floatformat_ia64_ext.
4426 (floatformat_ia64_ext_big): New static const.
4427 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
4428
1b05df00
TT
44292011-01-12 Tom Tromey <tromey@redhat.com>
4430
4431 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
4432 messages.
4433 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
4434 (mi_cmd_thread_list_ids): Likewise.
4435 (mi_cmd_data_list_changed_registers): Likewise.
4436 (mi_cmd_data_list_register_values): Likewise.
4437 (mi_cmd_data_write_register_values): Likewise.
4438 (mi_cmd_data_evaluate_expression): Likewise.
4439 (mi_cmd_data_read_memory): Likewise.
4440 (mi_cmd_data_read_memory_bytes): Likewise.
4441 (mi_cmd_data_write_memory): Likewise.
4442 (mi_cmd_enable_timings): Likewise.
4443 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
4444 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
4445 (mi_cmd_var_delete): Likewise.
4446 (mi_cmd_var_set_format): Likewise.
4447 (mi_cmd_var_show_format): Likewise.
4448 (mi_cmd_var_info_num_children): Likewise.
4449 (mi_cmd_var_list_children): Likewise.
4450 (mi_cmd_var_info_type): Likewise.
4451 (mi_cmd_var_info_expression): Likewise.
4452 (mi_cmd_var_show_attributes): Likewise.
4453 (mi_cmd_var_assign): Likewise.
4454 (mi_cmd_var_update): Likewise.
4455 (mi_cmd_enable_pretty_printing): Likewise.
4456 (mi_cmd_var_set_update_range): Likewise.
4457 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
4458 messages.
4459 (mi_cmd_target_file_put): Likewise.
4460 (mi_cmd_target_file_delete): Likewise.
4461 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
4462 messages.
4463 (mi_cmd_stack_info_depth): Likewise.
4464 (mi_cmd_stack_list_locals): Likewise.
4465 (mi_cmd_stack_list_args): Likewise.
4466 (mi_cmd_stack_select_frame): Likewise.
4467 (mi_cmd_stack_select_frame): Likewise.
4468 (mi_cmd_stack_info_frame): Likewise.
4469 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
4470 messages.
4471 (mi_cmd_file_list_exec_source_files): Likewise.
4472 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
4473 (mi_cmd_env_cd): Likewise.
4474 (mi_cmd_env_path): Likewise.
4475 (mi_cmd_env_dir): Likewise.
4476 (mi_cmd_inferior_tty_show): Likewise.
4477 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
4478 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
4479 (mi_cmd_break_watch): Likewise.
4480
ad422571
TJB
44812011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
4482
4483 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
4484 (ppc_linux_insert_hw_breakpoint): Likewise.
4485 (ppc_linux_remove_hw_breakpoint): Likewise.
4486 (ppc_linux_insert_watchpoint): Likewise.
4487
c2ff108b
JK
44882011-01-12 Andrew Burgess <aburgess@broadcom.com>
4489 Jan Kratochvil <jan.kratochvil@redhat.com>
4490
4491 PR fortran/11104 and DWARF unbound arrays detection.
4492 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
4493 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
4494 unspecified upper bound.
4495 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
4496 variables array_size_array, tmp_type and offset_item. New variable
4497 array. Remove call to f77_get_upperbound. New variables array_type
4498 and index. Call value_subscripted_rvalue for each dimenasion. Remove
4499 the final call to deprecated_set_value_type.
4500
41e8491f
JK
45012011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4502
4503 Make value allocations more lazy.
4504 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
4505 instead of allocate_value and set_value_lazy when possible.
f2eb0bc8 4506 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
41e8491f
JK
4507 instead of allocate_value and set_value_lazy.
4508 * findvar.c (value_of_register_lazy): Likewise.
4509 (read_var_value): Remove V preallocation, call just check_typedef in
f2eb0bc8 4510 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
41e8491f
JK
4511 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
4512 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
4513 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
4514 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
4515 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
4516 the end, remove set_value_lazy there.
4517 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
4518 instead of allocate_value and set_value_lazy when possible.
4519 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
4520 * value.c (allocate_computed_value): Use allocate_value_lazy instead
4521 of allocate_value and set_value_lazy.
4522 (value_from_contents_and_address): Use allocate_value_lazy instead of
4523 allocate_value and set_value_lazy when possible.
4524
b716877b
AB
45252011-01-12 Andrew Burgess <aburgess@broadcom.com>
4526
4527 * disasm.c (dump_insns): Support dumping opcodes for MI.
4528 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
4529 dumping of instruction opcodes.
4530
d5ae309f
JB
45312011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
4532
4533 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
4534 appropiately.
4535
98871305
TT
45362011-01-11 Tom Tromey <tromey@redhat.com>
4537
4538 * thread.c (do_captured_thread_select): Emit newline before
4539 printing frame.
4540
c378eb4e
MS
45412011-01-11 Michael Snyder <msnyder@vmware.com>
4542
4543 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
4544 * score-tdep.c: Ditto.
4545 * score-tdep.h: Ditto.
4546 * ser-base.c: Ditto.
4547 * ser-go32.c: Ditto.
4548 * serial.c: Ditto.
4549 * serial.h: Ditto.
4550 * ser-mingw.c: Ditto.
4551 * ser-pipe.c: Ditto.
4552 * ser-tcp.c: Ditto.
4553 * ser-unix.c: Ditto.
4554 * sh64-tdep.c: Ditto.
4555 * shnbsd-nat.c: Ditto.
4556 * sh-tdep.c: Ditto.
4557 * sh-tdep.h: Ditto.
4558 * solib.c: Ditto.
4559 * solib-darwin.c: Ditto.
4560 * solib-frv.c: Ditto.
4561 * solib.h: Ditto.
4562 * solib-irix.c: Ditto.
4563 * solib-osf.c: Ditto.
4564 * solib-pa64.c: Ditto.
4565 * solib-som.c: Ditto.
4566 * solib-spu.c: Ditto.
4567 * solib-sunos.c: Ditto.
4568 * solib-svr4.c: Ditto.
4569 * solist.h: Ditto.
4570 * sol-thread.c: Ditto.
4571 * somread.c: Ditto.
4572 * source.c: Ditto.
4573 * source.h: Ditto.
4574 * sparc64-linux-tdep.c: Ditto.
4575 * sparc64-tdep.c: Ditto.
4576 * sparc-linux-nat.c: Ditto.
4577 * sparc-linux-tdep.c: Ditto.
4578 * sparc-sol2-nat.c: Ditto.
4579 * sparc-sol2-tdep.c: Ditto.
4580 * sparc-tdep.c: Ditto.
4581 * sparc-tdep.h: Ditto.
4582 * spu-tdep.c: Ditto.
4583 * stabsread.c: Ditto.
4584 * stabsread.h: Ditto.
4585 * stack.c: Ditto.
4586 * symfile.c: Ditto.
4587 * symfile.h: Ditto.
4588 * symmisc.c: Ditto.
4589 * symtab.c: Ditto.
4590 * symtab.h: Ditto.
4591 * target.c: Ditto.
4592 * target-descriptions.c: Ditto.
4593 * target-descriptions.h: Ditto.
4594 * target.h: Ditto.
4595 * target-memory.c: Ditto.
4596 * terminal.h: Ditto.
4597 * thread.c: Ditto.
4598 * top.c: Ditto.
4599 * tracepoint.c: Ditto.
4600 * tracepoint.h: Ditto.
4601 * trad-frame.h: Ditto.
4602 * typeprint.c: Ditto.
4603
581e13c1
MS
46042011-01-11 Michael Snyder <msnyder@vmware.com>
4605
4606 * ui-file.c: Comment cleanup, mostly periods and spaces.
4607 * ui-file.h: Ditto.
4608 * ui-out.c: Ditto.
4609 * ui-out.h: Ditto.
4610 * utils.c: Ditto.
4611 * v850-tdep.c: Ditto.
4612 * valarith.c: Ditto.
4613 * valops.c: Ditto.
4614 * valprint.c: Ditto.
4615 * valprint.h: Ditto.
4616 * value.c: Ditto.
4617 * value.h: Ditto.
4618 * varobj.c: Ditto.
4619 * varobj.h: Ditto.
4620 * vax-tdep.c: Ditto.
4621 * vec.c: Ditto.
4622 * vec.h: Ditto.
4623 * version.h: Ditto.
4624 * windows-nat.c: Ditto.
4625 * windows-tdep.c: Ditto.
4626 * xcoffread.c: Ditto.
4627 * xcoffsolib.c: Ditto.
4628 * xml-support.c: Ditto.
4629 * xstormy16-tdep.c: Ditto.
4630 * xtensa-tdep.c: Ditto.
4631 * xtensa-tdep.h: Ditto.
4632
90e4670f
TJB
46332011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
4634
4635 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
4636 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
4637
e09342b5
TJB
46382011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4639 Thiago Jung Bauermann <bauerman@br.ibm.com>
4640
4641 Implement support for PowerPC BookE ranged watchpoints.
f2eb0bc8 4642 * breakpoint.h
e09342b5
TJB
4643 (struct breakpoint_ops) <resources_needed>: New method.
4644 Initialize to NULL in all existing breakpoint_ops instances.
4645 (struct breakpoint) <exact>: New field.
4646 (target_exact_watchpoints): Declare external global.
4647 * breakpoint.c (target_exact_watchpoints): New global flag.
4648 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
4649 b->enable_state to bp_enabled before calling
4650 hw_watchpoint_used_count.
4651 (hw_watchpoint_used_count): Iterate over all bp_locations in a
4652 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
4653 if available.
4654 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
4655 if the watchpoint is exact.
4656 (resources_needed_watchpoint): New function.
4657 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
4658 (watch_command_1): Set b->exact if the user asked for an exact
4659 watchpoint and one can be set.
4660 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
4661 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
4662 the user asks for an exact watchpoint and one can be set. Return
4663 number of needed debug registers to watch the expression.
4664 * gdbtypes.c (is_scalar_type): New function, based on
4665 valprint.c:scalar_type_p.
4666 (is_scalar_type_recursive): New function.
4667 * gdbtypes.h (is_scalar_type_recursive): Declare.
4668 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
4669 handle regions when ranged watchpoints are available.
4670 (create_watchpoint_request): New function.
4671 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
4672 create_watchpoint_request.
4673 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
4674 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
4675 `set powerpc' and `show powerpc' commands.
4676 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
4677 Mention documentation comment in the target macro.
4678 (target_region_ok_for_hw_watchpoint): Document return value.
4679
9fa40276
TJB
46802011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
4681
4682 * breakpoint.c (update_watchpoint): Decide on using a software or
4683 hardware watchpoint after the bp_locations are created.
4684
77b06cd7
TJB
46852010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
4686
4687 Convert hardware watchpoints to use breakpoint_ops.
4688 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
4689 <insert_location>: ... this. Return int instead of void.
4690 Accept pointer to struct bp_location instead of pointer to
4691 struct breakpoint. Adapt all implementations.
f2eb0bc8 4692 (breakpoint_ops) <remove>: Rename to...
77b06cd7
TJB
4693 <remove_location>: ... this. Accept pointer to struct bp_location
4694 instead of pointer to struct breakpoint. Adapt all implementations.
4695 * breakpoint.c (insert_catchpoint): Delete function.
4696 (insert_bp_location): Call the watchpoint or catchpoint's
4697 breakpoint_ops.insert method.
4698 (remove_breakpoint_1): Call the watchpoint or catchpoint's
4699 breakpoint_ops.remove method.
4700 (insert_watchpoint, remove_watchpoint): New functions.
4701 (watchpoint_breakpoint_ops): New structure.
4702 (watch_command_1): Initialize the OPS field.
4703 * inf-child.c (inf_child_insert_fork_catchpoint)
4704 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
4705 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
4706 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
4707 Delete functions.
4708 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
4709 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
4710 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
4711 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
4712 * target.c (update_current_target): Change default implementation of
4713 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
4714 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
4715 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
4716 to_set_syscall_catchpoint to return_one.
4717 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
4718 (debug_to_insert_exec_catchpoint): Report return value.
4719 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
4720 (to_insert_exec_catchpoint): Change declaration to return int instead
4721 of void.
4722
9b20d036
MS
47232011-01-11 Michael Snyder <msnyder@vmware.com>
4724
4725 * arm-tdep.c: Internationalization.
4726 * c-lang.c: Ditto.
4727 * charset.c: Ditto.
4728 * fork-child.c: Ditto.
4729 * nto-procfs.c: Ditto.
4730 * ppc-sysv-tdep.c: Ditto.
4731 * procfs.c: Ditto.
4732 * remote-mips.c: Ditto.
4733 * remote.c: Ditto.
4734 * rs6000-nat.c: Ditto.
4735 * rs6000-tdep.c: Ditto.
4736 * target.c: Ditto.
4737 * valops.c: Ditto.
4738 * value.c: Ditto.
4739 * xml-support.c: Ditto.
4740 * mi/mi-cmd-break.c: Ditto.
4741 * mi/mi-cmd-var.c: Ditto.
4742 * mi/mi-interp.c: Ditto.
4743 * mi/mi-main.c: Ditto.
4744
dae477fe
AB
47452011-01-11 Andrew Burgess <aburgess@broadcom.com>
4746
4747 * remote-sim.c (gdbsim_store_register): Update API to
4748 sim_store_register to check more error conditions.
4749
0df8b418
MS
47502011-01-10 Michael Snyder <msnyder@vmware.com>
4751
4752 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
4753 * nto-tdep.c: Ditto.
4754 * nto-tdep.h: Ditto.
4755 * objc-exp.y: Ditto.
4756 * objc-lang.c: Ditto.
4757 * objfiles.c: Ditto.
4758 * objfiles.h: Ditto.
4759 * observer.c: Ditto.
4760 * opencl-lang.c: Ditto.
4761 * osabi.c: Ditto.
4762 * parse.c: Ditto.
4763 * parser-defs.h: Ditto.
4764 * p-exp.y: Ditto.
4765 * p-lang.c: Ditto.
4766 * posix-hdep.c: Ditto.
4767 * ppcbug-rom.c: Ditto.
4768 * ppc-linux-nat.c: Ditto.
4769 * ppc-linux-tdep.c: Ditto.
4770 * ppc-linux-tdep.h: Ditto.
4771 * ppcnbsd-tdep.c: Ditto.
4772 * ppcobsd-tdep.c: Ditto.
4773 * ppcobsd-tdep.h: Ditto.
4774 * ppc-sysv-tdep.c: Ditto.
4775 * ppc-tdep.h: Ditto.
4776 * printcmd.c: Ditto.
4777 * proc-abi.c: Ditto.
4778 * proc-flags.c: Ditto.
4779 * procfs.c: Ditto.
4780 * proc-utils.h: Ditto.
4781 * progspace.h: Ditto.
4782 * prologue-value.c: Ditto.
4783 * prologue-value.h: Ditto.
4784 * psympriv.h: Ditto.
4785 * psymtab.c: Ditto.
4786 * p-typeprint.c: Ditto.
4787 * p-valprint.c: Ditto.
4788 * ravenscar-sparc-thread.c: Ditto.
4789 * ravenscar-thread.c: Ditto.
4790 * ravenscar-thread.h: Ditto.
4791 * record.c: Ditto.
4792 * regcache.c: Ditto.
4793 * regcache.h: Ditto.
4794 * remote.c: Ditto.
4795 * remote-fileio.c: Ditto.
4796 * remote-fileio.h: Ditto.
4797 * remote.h: Ditto.
4798 * remote-m32r-sdi.c: Ditto.
4799 * remote-mips.c: Ditto.
4800 * remote-sim.c: Ditto.
4801 * rs6000-aix-tdep.c: Ditto.
4802 * rs6000-nat.c: Ditto.
4803 * rs6000-tdep.c: Ditto.
4804
0d7a18f7
MS
48052011-01-10 Michael Snyder <msnyder@vmware.com>
4806
4807 * charset.c (validate): Internationalization.
4808 * coffread.c (read_one_sym): Ditto.
4809 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
4810 * h8300-tdep.c (H8300_extract_return_value): Ditto.
4811 * inflow.c (new_tty): Ditto.
4812 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
4813 * m32c-tdep.c (m32c_return_value): Ditto.
4814 * mep-tdep.c (mep_store_return_value): Ditto.
4815 * score-tdep.c (score7_fetch_insn): Ditto.
4816 * ser-mingw.c (pipe_windows_open): Ditto.
4817 * sh64-tdep.c (sh64_extract_return_value): Ditto.
4818 * spu-tdep.c (spu_register_type): Ditto.
4819 * tracepoint.c (trace_find_command): Ditto.
4820 * valarith.c (value_pos): Ditto.
4821
9a153e0b
JB
48222011-01-10 Joel Brobecker <brobecker@adacore.com>
4823
4824 * ada-valprint.c (printstr): Minor comment reformatting.
4825
35ecd2d6
MS
48262011-01-08 Michael Snyder <msnyder@vmware.com>
4827
4828 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
4829 markup.
4830
1777feb0
MS
48312011-01-08 Michael Snyder <msnyder@vmware.com>
4832
4833 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
4834 * hppa-hpux-tdep.c: Ditto.
4835 * hppa-linux-nat.c: Ditto.
4836 * hppa-linux-tdep.c: Ditto.
4837 * hppanbsd-tdep.c: Ditto.
4838 * hppa-tdep.c: Ditto.
4839 * hppa-tdep.h: Ditto.
4840 * hpux-thread.c: Ditto.
4841 * i386-cygwin-tdep.c: Ditto.
4842 * i386-darwin-nat.c: Ditto.
4843 * i386gnu-nat.c: Ditto.
4844 * i386-linux-nat.c: Ditto.
4845 * i386-linux-tdep.c: Ditto.
4846 * i386-nat.c: Ditto.
4847 * i386-nat.h: Ditto.
4848 * i386nbsd-tdep.c: Ditto.
4849 * i386-sol2-nat.c: Ditto.
4850 * i386-stub.c: Ditto.
4851 * i386-tdep.c: Ditto.
4852 * i386-tdep.h: Ditto.
4853 * i387-tdep.c: Ditto.
4854 * ia64-linux-nat.c: Ditto.
4855 * ia64-linux-tdep.c: Ditto.
4856 * ia64-tdep.c: Ditto.
4857 * infcall.c: Ditto.
4858 * infcall.h: Ditto.
4859 * infcmd.c: Ditto.
4860 * inferior.c: Ditto.
4861 * inferior.h: Ditto.
4862 * infloop.c: Ditto.
4863 * inflow.c: Ditto.
4864 * infrun.c: Ditto.
4865 * interps.c: Ditto.
4866 * interps.h: Ditto.
4867 * iq2000-tdep.c: Ditto.
4868 * irix5-nat.c: Ditto.
4869 * jit.c: Ditto.
4870 * jit.h: Ditto.
4871 * jv-exp.y: Ditto.
4872 * jv-lang.c: Ditto.
4873 * jv-lang.h: Ditto.
4874 * jv-typeprint.c: Ditto.
4875 * jv-valprint.c: Ditto.
4876 * language.c: Ditto.
4877 * language.h: Ditto.
4878 * linespec.c: Ditto.
4879 * linux-fork.c: Ditto.
4880 * linux-nat.c: Ditto.
4881 * linux-thread-db.c: Ditto.
4882 * lm32-tdep.c: Ditto.
4883
025bb325
MS
48842011-01-08 Michael Snyder <msnyder@vmware.com>
4885
4886 * m2-exp.y: Comment cleanup, mostly periods and spaces.
4887 * m2-lang.c: Ditto.
4888 * m2-typeprint.c: Ditto.
4889 * m2-valprint.c: Ditto.
4890 * m32c-tdep.c: Ditto.
4891 * m32r-linux-nat.c: Ditto.
4892 * m32r-rom.c: Ditto.
4893 * m32r-tdep.c: Ditto.
4894 * m32r-tdep.h: Ditto.
4895 * m68hc11-tdep.c: Ditto.
4896 * m58klinux-nat.c: Ditto.
4897 * m68k-tdep.c: Ditto.
4898 * m88k-tdep.c: Ditto.
4899 * m88k-tdep.h: Ditto.
4900 * machoread.c: Ditto.
4901 * macrocmd.c: Ditto.
4902 * macroexp.c: Ditto.
4903 * macrotab.c: Ditto.
4904 * main.c: Ditto.
4905 * maint.c: Ditto.
4906 * mdebugread.c: Ditto.
4907 * mdebugread.h: Ditto.
4908 * memattr.c: Ditto.
4909 * memattr.h: Ditto.
4910 * memory-map.h: Ditto.
4911 * mep-tdep.c: Ditto.
4912 * microblaze-rom.c: Ditto.
4913 * microblaze-tdep.c: Ditto.
4914 * minsyms.c: Ditto.
4915 * mips-irix-tdep.c: Ditto.
4916 * mips-linux-nat.c: Ditto.
4917 * mips-linux-tdep.c: Ditto.
4918 * mips-linux-tdep.h: Ditto.
4919 * mipsnbsd-nat.c: Ditto.
4920 * mipsnbsd-tdep.c: Ditto.
4921 * mipsread.c: Ditto.
4922 * mips-tdep.c: Ditto.
4923 * mips-tdep.h: Ditto.
4924 * mn10300-linux-tdep.c: Ditto.
4925 * mn10300-tdep.c: Ditto.
4926 * mn10300-tdep.h: Ditto.
4927 * monitor.c: Ditto.
4928 * monitor.h: Ditto.
4929 * moxie-tdep.c: Ditto.
4930 * moxie-tdep.h: Ditto.
4931 * mt-tdep.c: Ditto.
4932
1642781b
MF
49332011-01-08 Mike Frysinger <vapier@gentoo.org>
4934
4935 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
4936
394b0adb
JB
49372011-01-08 Robert Millan <rmh@gnu.org>
4938
4939 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
4940
b670013c
MS
49412011-01-07 Michael Snyder <msnyder@vmware.com>
4942
4943 * charset.c (_initialize_charset): Fix typo in string.
4944
a743e542
MS
49452011-01-07 Michael Snyder <msnyder@vmware.com>
4946
4947 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
4948 for i18n.
f2eb0bc8 4949 * tui/tui-layout.c (tui_set_layout_for_display_command):
a743e542
MS
4950 Split line so that operator goes to beginning of line.
4951 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
4952 assignment out of if statement.
4953
0963b4bd
MS
49542011-01-07 Michael Snyder <msnyder@vmware.com>
4955
4956 * ada-lang.c: Comment cleanup, mostly periods and spaces.
4957 * ada-lang.h: Ditto.
4958 * ada-tasks.c: Ditto.
4959 * ada-valprint.c: Ditto.
4960 * aix-threads.c: Ditto.
4961 * alpha-linux-nat.c: Ditto.
4962 * alpha-linux-tdep.c: Ditto.
4963 * alpha-mdebug-tdep.c: Ditto.
4964 * alpha-nat.c: Ditto.
4965 * alpha-osf1-tdep.c: Ditto.
4966 * alpha-tdep.c: Ditto.
4967 * alphabsd-nat.c: Ditto.
4968 * alphabsd-tdep.c: Ditto.
4969 * amd64-darwin-tdep.c: Ditto.
4970 * amd64-linux-nat.c: Ditto.
4971 * amd64-linux-tdep.c: Ditto.
4972 * amd64-sol2-tdep.c: Ditto.
4973 * amd64-tdep.c: Ditto.
4974 * amd64-fbsd-tdep.c: Ditto.
4975 * amd64-nbsd-tdep.c: Ditto.
4976 * amd64-obsd-tdep.c: Ditto.
4977 * amd64-linux-nat.c: Ditto.
4978 * amd64-linux-tdep.c: Ditto.
4979 * arm-tdep.c: Ditto.
4980 * arm-tdep.h: Ditto.
4981 * armnbsd-nat.c: Ditto.
4982 * avr-tdep.c: Ditto.
4983 * bfin-tdep.c: Ditto.
4984 * bsd-kvm.c: Ditto.
4985 * c-typeprintc: Ditto.
4986 * c-valprint.c: Ditto.
4987 * coff-pe-read.h: Ditto.
4988 * coffreead.c: Ditto.
4989 * cris-tdep.c: Ditto.
4990 * d-lang.c: Ditto.
4991 * darwin-nat-info.c: Ditto.
4992 * darwin-nat.c: Ditto.
4993 * dbug-rom.c: Ditto.
4994 * dbxread.c: Ditto.
4995 * dcache.c: Ditto.
4996 * dcache.h: Ditto.
4997 * dec-thread.c: Ditto.
4998 * defs.h: Ditto.
4999 * demangle.c: Ditto.
5000 * dicos-tdep.c: Ditto.
5001 * dictionary.c: Ditto.
5002 * dictionary.h: Ditto.
5003 * dink32-rom.c: Ditto.
5004 * disasm.c: Ditto.
5005 * doublest.c: Ditto.
5006 * dsrec.c: Ditto.
5007 * dummy-frame.c: Ditto.
5008 * dwarf2-frame.c: Ditto.
5009 * dwarf2expr.c: Ditto.
5010 * dwarf2loc.c: Ditto.
5011 * dwarf2read.c: Ditto.
5012 * elfread.c: Ditto.
5013 * environ.c: Ditto.
5014 * eval.c: Ditto.
5015 * event-top.h: Ditto.
5016 * exceptions.c: Ditto.
5017 * exceptions.h: Ditto.
5018 * exec.c: Ditto.
5019 * expprint.c: Ditto.
5020 * expression.h: Ditto.
5021 * f-exp.y: Ditto.
5022 * f-lang.c: Ditto.
5023 * f-lang.h: Ditto.
5024 * f-typeprint.c: Ditto.
5025 * f-valprint.c: Ditto.
5026 * fbsd-nat.c: Ditto.
5027 * findvar.c: Ditto.
5028 * fork-child.c: Ditto.
5029 * frame.c: Ditto.
5030 * frame.h: Ditto.
5031 * frv-linux-tdep.c: Ditto.
5032 * frv-tdep.c: Ditto.
5033 * gcore.c: Ditto.
5034 * gdb-stabs.h: Ditto.
5035 * gdb_assert.h: Ditto.
5036 * gdb_string.h: Ditto.
5037 * gdb_thread_db.h: Ditto.
5038 * gdb_wait.h: Ditto.
5039 * gdbarch.sh: Ditto.
5040 * gdbcore.h: Ditto.
5041 * gdbthread.h: Ditto.
5042 * gdbtypes.c: Ditto.
5043 * gdbtypes.h: Ditto.
5044 * gnu-nat.c: Ditto.
5045 * gnu-nat.h: Ditto.
5046 * gnu-v2-abi.c: Ditto.
5047 * gnu-v3-abi.c: Ditto.
5048 * go32-nat.c: Ditto.
5049 * gdbarch.c: Regenerate.
5050 * gdbarch.h: Regenerate.
5051
ac74f770
MS
50522011-01-07 Michael Snyder <msnyder@vmware.com>
5053
5054 * ax-gdb.c: Adjust some long output strings.
5055 * breakpoint.c: Ditto.
5056 * charset.c: Ditto.
5057 * cp-abi.c: Ditto.
5058 * infcall.c: Ditto.
5059 * infrun.c: Ditto.
5060 * linux-nat.c: Ditto.
5061 * solib-pa64.c: Ditto.
5062 * solib-som.c: Ditto.
5063
d8e22779
TT
50642011-01-06 Tom Tromey <tromey@redhat.com>
5065
5066 PR python/12367:
5067 * NEWS: Add item.
5068 * python/python.c (GdbMethods): Add "newest_frame" method.
5069 * python/python-internal.h (gdbpy_newest_frame): Declare.
5070 * python/py-frame.c (gdbpy_newest_frame): New function.
5071
a255712f
PP
50722010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5073
5074 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
5075 * jit.c (jit_debug): New variable.
5076 (show_jit_debug): New function.
5077 (struct target_buffer): Use ULONGEST.
5078 (bfd_open_from_target_memory): Likewise.
5079 (jit_register_code, jit_inferior_init): Add debug output.
5080 (_initialize_jit): Register "debug jit" command.
5081
ccfc3d6e
TT
50822011-01-06 Tom Tromey <tromey@redhat.com>
5083
5084 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
5085 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
5086 and ARCH_FRAME.
5087
57126e4a
TT
50882011-01-06 Tom Tromey <tromey@redhat.com>
5089
5090 * python/py-frame.c (frapy_block): Use get_frame_block.
5091
16dfc9ce
JB
50922011-01-06 Joel Brobecker <brobecker@adacore.com>
5093
5094 Do not stop on SIGPRIO signals by default
5095 * infrun.c (_initialize_infrun): Unset signal_stop and
5096 signal_print for TARGET_SIGNAL_PRIO.
5097
b1ce2347
JB
50982011-01-06 Joel Brobecker <brobecker@adacore.com>
5099
5100 * ada-tasks.c: Fix style violation in comment.
5101
8f7e195f
JB
51022011-01-06 Joel Brobecker <brobecker@adacore.com>
5103
5104 * linespec.c (decode_compound, find_method): Remove trailing \n
5105 at end of error string.
5106 * solib-irix.c (irix_current_sos): Likewise.
5107 * varobj.c (uninstall_variable): Likewise.
5108
e9bdf92c
JB
51092011-01-06 Joel Brobecker <brobecker@adacore.com>
5110
5111 * copyright.py: New script.
5112 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
5113 Launch emacs without exec'ing. Call copyright.py afterwards.
5114
3e43a32a
MS
51152011-01-05 Michael Snyder <msnyder@vmware.com>
5116
5117 * addrmap.c: Shorten lines of >= 80 columns.
5118 * arch-utils.c: Ditto.
5119 * arch-utils.h: Ditto.
5120 * ax-gdb.c: Ditto.
5121 * ax-general.c: Ditto.
5122 * bcache.c: Ditto.
5123 * blockframe.c: Ditto.
5124 * breakpoint.c: Ditto.
5125 * buildsym.c: Ditto.
5126 * c-lang.c: Ditto.
5127 * c-typeprint.c: Ditto.
5128 * charset.c: Ditto.
5129 * coffread.c: Ditto.
5130 * command.h: Ditto.
5131 * corelow.c: Ditto.
5132 * cp-abi.c: Ditto.
5133 * cp-namespace.c: Ditto.
5134 * cp-support.c: Ditto.
5135 * dbug-rom.c: Ditto.
5136 * dbxread.c: Ditto.
5137 * defs.h: Ditto.
5138 * dfp.c: Ditto.
5139 * dfp.h: Ditto.
5140 * dictionary.c: Ditto.
5141 * disasm.c: Ditto.
5142 * doublest.c: Ditto.
5143 * dwarf2-frame.c: Ditto.
5144 * dwarf2expr.c: Ditto.
5145 * dwarf2loc.c: Ditto.
5146 * dwarf2read.c: Ditto.
5147 * elfread.c: Ditto.
5148 * eval.c: Ditto.
5149 * event-loop.c: Ditto.
5150 * event-loop.h: Ditto.
5151 * exceptions.h: Ditto.
5152 * exec.c: Ditto.
5153 * expprint.c: Ditto.
5154 * expression.h: Ditto.
5155 * f-lang.c: Ditto.
5156 * f-valprint.c: Ditto.
5157 * findcmd.c: Ditto.
5158 * frame-base.c: Ditto.
5159 * frame-unwind.c: Ditto.
5160 * frame-unwind.h: Ditto.
5161 * frame.c: Ditto.
5162 * frame.h: Ditto.
5163 * gcore.c: Ditto.
5164 * gdb-stabs.h: Ditto.
5165 * gdb_assert.h: Ditto.
5166 * gdb_dirent.h: Ditto.
5167 * gdb_obstack.h: Ditto.
5168 * gdbcore.h: Ditto.
5169 * gdbtypes.c: Ditto.
5170 * gdbtypes.h: Ditto.
5171 * inf-ttrace.c: Ditto.
5172 * infcall.c: Ditto.
5173 * infcmd.c: Ditto.
5174 * inflow.c: Ditto.
5175 * infrun.c: Ditto.
5176 * inline-frame.h: Ditto.
5177 * language.c: Ditto.
5178 * language.h: Ditto.
5179 * libunwind-frame.c: Ditto.
5180 * libunwind-frame.h: Ditto.
5181 * linespec.c: Ditto.
5182 * linux-nat.c: Ditto.
5183 * linux-nat.h: Ditto.
5184 * linux-thread-db.c: Ditto.
5185 * machoread.c: Ditto.
5186 * macroexp.c: Ditto.
5187 * macrotab.c: Ditto.
5188 * main.c: Ditto.
5189 * maint.c: Ditto.
5190 * mdebugread.c: Ditto.
5191 * memattr.c: Ditto.
5192 * minsyms.c: Ditto.
5193 * monitor.c: Ditto.
5194 * monitor.h: Ditto.
5195 * objfiles.c: Ditto.
5196 * objfiles.h: Ditto.
5197 * osabi.c: Ditto.
5198 * p-typeprint.c: Ditto.
5199 * p-valprint.c: Ditto.
5200 * parse.c: Ditto.
5201 * printcmd.c: Ditto.
5202 * proc-events.c: Ditto.
5203 * procfs.c: Ditto.
5204 * progspace.c: Ditto.
5205 * progspace.h: Ditto.
5206 * psympriv.h: Ditto.
5207 * psymtab.c: Ditto.
5208 * record.c: Ditto.
5209 * regcache.c: Ditto.
5210 * regcache.h: Ditto.
5211 * remote-fileio.c: Ditto.
5212 * remote.c: Ditto.
5213 * ser-mingw.c: Ditto.
5214 * ser-tcp.c: Ditto.
5215 * ser-unix.c: Ditto.
5216 * serial.c: Ditto.
5217 * serial.h: Ditto.
5218 * solib-frv.c: Ditto.
5219 * solib-irix.c: Ditto.
5220 * solib-osf.c: Ditto.
5221 * solib-pa64.c: Ditto.
5222 * solib-som.c: Ditto.
5223 * solib-sunos.c: Ditto.
5224 * solib-svr4.c: Ditto.
5225 * solib-target.c: Ditto.
5226 * solib.c: Ditto.
5227 * somread.c: Ditto.
5228 * source.c: Ditto.
5229 * stabsread.c: Ditto.
5230 * stabsread.c: Ditto.
5231 * stack.c: Ditto.
5232 * stack.h: Ditto.
5233 * symfile-mem.c: Ditto.
5234 * symfile.c: Ditto.
5235 * symfile.h: Ditto.
5236 * symmisc.c: Ditto.
5237 * symtab.c: Ditto.
5238 * symtab.h: Ditto.
5239 * target-descriptions.c: Ditto.
5240 * target-memory.c: Ditto.
5241 * target.c: Ditto.
5242 * target.h: Ditto.
5243 * terminal.h: Ditto.
5244 * thread.c: Ditto.
5245 * top.c: Ditto.
5246 * tracepoint.c: Ditto.
5247 * tracepoint.h: Ditto.
5248 * ui-file.c: Ditto.
5249 * ui-file.h: Ditto.
5250 * ui-out.h: Ditto.
5251 * user-regs.c: Ditto.
5252 * user-regs.h: Ditto.
5253 * utils.c: Ditto.
5254 * valarith.c: Ditto.
5255 * valops.c: Ditto.
5256 * valprint.c: Ditto.
5257 * valprint.h: Ditto.
5258 * value.c: Ditto.
5259 * varobj.c: Ditto.
5260 * varobj.h: Ditto.
5261 * vec.h: Ditto.
5262 * xcoffread.c: Ditto.
5263 * xcoffsolib.c: Ditto.
5264 * xcoffsolib.h: Ditto.
5265 * xml-syscall.c: Ditto.
5266 * xml-tdesc.c: Ditto.
5267
9a2b4c1b
MS
52682011-01-05 Michael Snyder <msnyder@vmware.com>
5269
5270 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
5271 * cli/cli-decode.c: Ditto.
5272 * cli/cli-dump.c: Ditto.
5273 * cli/cli-logging.c: Ditto.
5274 * cli/cli-script.c: Ditto.
5275 * cli/cli-setshow.c: Ditto.
5276 * common/signals.c: Ditto.
5277 * mi/mi-cmd-break.c: Ditto.
5278 * mi/mi-cmd-disas.c: Ditto.
5279 * mi/mi-cmd-stack.c: Ditto.
5280 * mi/mi-cmd-var.c: Ditto.
5281 * mi/mi-cmds.c: Ditto.
5282 * mi/mi-common.h: Ditto.
5283 * mi/mi-console.c: Ditto.
5284 * mi/mi-interp.c: Ditto.
5285 * mi/mi-main.c: Ditto.
5286 * osf-share/cma_attr.c: Ditto.
5287 * osf-share/cma_deb_core.h: Ditto.
5288 * osf-share/cma_debug_client.h: Ditto.
5289 * osf-share/cma_handle.h: Ditto.
5290 * osf-share/cma_mutex.h: Ditto.
5291 * osf-share/cma_stack_int.h: Ditto.
5292 * osf-share/cma_tcb_defs.h: Ditto.
5293 * python/py-auto-load.c: Ditto.
5294 * python/py-breakpoint.c: Ditto.
5295 * python/py-cmd.c: Ditto.
5296 * python/py-frame.c: Ditto.
5297 * python/py-objfile.c: Ditto.
5298 * python/py-param.c: Ditto.
5299 * python/py-progspace.c: Ditto.
5300 * python/py-symbol.c: Ditto.
5301 * python/py-value.c: Ditto.
5302 * python/python-internal.h: Ditto.
5303 * python/python.c: Ditto.
5304 * tui/tui-data.c: Ditto.
5305 * tui/tui-disasm.c: Ditto.
5306 * tui/tui-hooks.c: Ditto.
5307 * tui/tui-io.c: Ditto.
5308 * tui/tui-layout.c: Ditto.
5309 * tui/tui-regs.c: Ditto.
5310 * tui/tui-source.c: Ditto.
5311 * tui/tui-stack.c: Ditto.
5312 * tui/tui-win.c: Ditto.
5313 * tui/tui-windata.c: Ditto.
5314 * tui/tui-winsource.c: Ditto.
5315
44944448
JB
53162011-01-05 Joel Brobecker <brobecker@adacore.com>
5317
5318 * configure.ac, gdb.1: Copyright year update.
5319
ebedcab5
JK
53202011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5321
5322 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
5323 this_pc_in_block, morestack_msym and morestack_name. Check for
5324 "__morestack" minimal symbol there.
5325
e5cc9f32
JB
53262011-01-03 Joel Brobecker <brobecker@adacore.com>
5327
5328 * symfile.c (find_sym_fns): Add call to dont_repeat.
5329
7b6bb8da
JB
53302011-01-01 Joel Brobecker <brobecker@adacore.com>
5331
5332 Copyright year update in most files (performed by copyright.sh).
5333
71ce852c
JB
53342011-01-01 Joel Brobecker <brobecker@adacore.com>
5335
5336 * top.c (print_gdb_version): Update copyright year in version output.
0e2de366 5337
c3c1ebe8 5338For older changes see ChangeLog-2010.
c906108c
SS
5339\f
5340Local Variables:
5341mode: change-log
5342left-margin: 8
5343fill-column: 74
5344version-control: never
57da7796 5345coding: utf-8
c906108c 5346End:
This page took 1.530828 seconds and 4 git commands to generate.