Fix up some target is-async vs can-async confusions
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
d9d41e78
PA
12015-02-03 Pedro Alves <palves@redhat.com>
2
3 * linux-nat.c (linux_child_follow_fork, linux_nat_wait_1): Use
4 target_is_async_p instead of target_can_async.
5 (linux_nat_wait): Use target_is_async_p instead of
6 target_can_async. Don't enable async here.
7 * remote.c (interrupt_query, remote_wait, putpkt_binary): Use
8 target_is_async_p instead of target_can_async.
9
aa3de267
SM
102015-02-02 Simon Marchi <simon.marchi@ericsson.com>
11
12 * varobj.h (lang_varobj_ops): Mention which return values need
13 to be freed.
14
2c811c0f
JB
152015-02-02 Joel Brobecker <brobecker@adacore.com>
16
17 * dwarf2loc.c (dwarf2_evaluate_property): Add i18n marker.
18
b1eedac9
JB
192015-02-02 Joel Brobecker <brobecker@adacore.com>
20
21 PR gdb/17856:
22 * ada-lang.c (ada_lookup_symbol_list_worker): Do not re-cache
23 results found in the cache.
24
66c168ae
JB
252015-02-02 Joel Brobecker <brobecker@adacore.com>
26
27 PR gdb/17854:
28 * ada-lang.c (ada_get_symbol_cache): Set pspace_data->sym_cache
29 when allocating a new one.
30
4bdc02b2
TT
312015-02-01 Tom Tromey <tom@tromey.com>
32
33 * MAINTAINERS: Remove myself.
34
ae6ae975
DE
352015-01-31 Doug Evans <xdje42@gmail.com>
36
37 * dwarf2read.c (process_structure_scope): Update setting of
38 TYPE_VPTR_BASETYPE, TYPE_VPTR_FIELDNO.
39 * gdbtypes.c (internal_type_vptr_fieldno): New function.
40 (set_type_vptr_fieldno): New function.
41 (internal_type_vptr_basetype): New function.
42 (set_type_vptr_basetype): New function.
43 (get_vptr_fieldno): Update setting of TYPE_VPTR_FIELDNO,
44 TYPE_VPTR_BASETYPE.
45 (allocate_cplus_struct_type): Initialize vptr_fieldno.
46 (recursive_dump_type): Printing of vptr_fieldno, vptr_basetype ...
47 (print_cplus_stuff): ... moved here.
48 (copy_type_recursive): Don't copy TYPE_VPTR_BASETYPE.
49 * gdbtypes.h (struct main_type): Members vptr_fieldno, vptr_basetype
50 moved to ...
51 (struct cplus_struct_type): ... here. All uses updated.
52 (TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE): Rewrite.
53 (internal_type_vptr_fieldno, set_type_vptr_fieldno): Declare.
54 (internal_type_vptr_basetype, set_type_vptr_basetype): Declare.
55 * stabsread.c (read_tilde_fields): Update setting of
56 TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE.
57
09e2d7c7
DE
582015-01-31 Doug Evans <xdje42@gmail.com>
59
60 * cp-valprint.c (cp_find_class_member): Rename parameter domain_p
61 to self_p.
62 (cp_print_class_member): Rename local domain to self_type.
63 * dwarf2read.c (quirk_gcc_member_function_pointer): Rename local
64 domain_type to self_type.
65 (set_die_type) <need_gnat_info>: Handle
66 TYPE_CODE_METHODPTR, TYPE_CODE_MEMBERPTR, TYPE_CODE_METHOD.
67 * gdb-gdb.py (StructMainTypePrettyPrinter): Handle
68 TYPE_SPECIFIC_SELF_TYPE.
69 * gdbtypes.c (internal_type_self_type): New function.
70 (set_type_self_type): New function.
71 (smash_to_memberptr_type): Rename parameter domain to self_type.
72 Update setting of TYPE_SELF_TYPE.
73 (smash_to_methodptr_type): Update setting of TYPE_SELF_TYPE.
74 (smash_to_method_type): Rename parameter domain to self_type.
75 Update setting of TYPE_SELF_TYPE.
76 (check_stub_method): Call smash_to_method_type.
77 (recursive_dump_type): Handle TYPE_SPECIFIC_SELF_TYPE.
78 (copy_type_recursive): Ditto.
79 * gdbtypes.h (enum type_specific_kind): New value
80 TYPE_SPECIFIC_SELF_TYPE.
81 (struct main_type) <type_specific>: New member self_type.
82 (struct cplus_struct_type) <fn_field.type>: Update comment.
83 (TYPE_SELF_TYPE): Rewrite.
84 (internal_type_self_type, set_type_self_type): Declare.
85 * gnu-v3-abi.c (gnuv3_print_method_ptr): Rename local domain to
86 self_type.
87 (gnuv3_method_ptr_to_value): Rename local domain_type to self_type.
88 * m2-typeprint.c (m2_range): Replace TYPE_SELF_TYPE with
89 TYPE_TARGET_TYPE.
90 * stabsread.c (read_member_functions): Mark methods with
91 TYPE_CODE_METHOD, not TYPE_CODE_FUNC. Update setting of
92 TYPE_SELF_TYPE.
93
4bfb94b8
DE
942015-01-31 Doug Evans <xdje42@gmail.com>
95
96 * gdbtypes.h (TYPE_SELF_TYPE): Renamed from TYPE_DOMAIN_TYPE.
97 All uses updated.
98
5f4ce105
DE
992015-01-31 Doug Evans <xdje42@gmail.com>
100
101 * gnu-v3-abi.c (gnuv3_dynamic_class): Assert only passed structs
102 or unions. Return zero if union.
103 (gnuv3_get_vtable): Call check_typedef. Assert only passed structs.
104 (gnuv3_rtti_type): Pass already-check_typedef'd value to
105 gnuv3_get_vtable.
106 (compute_vtable_size): Assert only passed structs.
107 (gnuv3_print_vtable): Don't call gnuv3_get_vtable for non-structs.
108
f6b3afbf
DE
1092015-01-31 Doug Evans <xdje42@gmail.com>
110
111 * gdbtypes.c (copy_type_recursive): Handle all TYPE_SPECIFIC_FIELD
112 kinds.
113
cfb069a8
GB
1142015-01-31 Gary Benson <gbenson@redhat.com>
115 Doug Evans <dje@google.com>
116
117 PR cli/9007
118 PR cli/11920
119 PR cli/15548
120 * cli/cli-cmds.c (complete_command): Notify user if max-completions
121 reached.
122 * common/common-exceptions.h (enum errors)
123 <MAX_COMPLETIONS_REACHED_ERROR>: New value.
124 * completer.h (get_max_completions_reached_message): New declaration.
125 (max_completions): Likewise.
126 (completion_tracker_t): New typedef.
127 (new_completion_tracker): New declaration.
128 (make_cleanup_free_completion_tracker): Likewise.
129 (maybe_add_completion_enum): New enum.
130 (maybe_add_completion): New declaration.
131 (throw_max_completions_reached_error): Likewise.
132 * completer.c (max_completions): New global variable.
133 (new_completion_tracker): New function.
134 (free_completion_tracker): Likewise.
135 (make_cleanup_free_completion_tracker): Likewise.
136 (maybe_add_completions): Likewise.
137 (throw_max_completions_reached_error): Likewise.
138 (complete_line): Remove duplicates and limit result to max_completions
139 entries.
140 (get_max_completions_reached_message): New function.
141 (gdb_display_match_list): Handle max_completions.
142 (_initialize_completer): New declaration and function.
143 * symtab.c: Include completer.h.
144 (completion_tracker): New static variable.
145 (completion_list_add_name): Call maybe_add_completion.
146 (default_make_symbol_completion_list_break_on_1): Renamed from
147 default_make_symbol_completion_list_break_on. Maintain
148 completion_tracker across calls to completion_list_add_name.
149 (default_make_symbol_completion_list_break_on): New function.
150 * top.c (init_main): Set rl_completion_display_matches_hook.
151 * tui/tui-io.c: Include completer.h.
152 (tui_old_rl_display_matches_hook): New static global.
153 (tui_rl_display_match_list): Notify user if max-completions reached.
154 (tui_setup_io): Save/restore rl_completion_display_matches_hook.
155 * NEWS (New Options): Mention set/show max-completions.
156
e11c72c7
GB
1572015-01-31 Gary Benson <gbenson@redhat.com>
158
159 * symtab.c (struct add_name_data) <code>: New field.
160 Updated comments.
161 (add_symtab_completions): New function.
162 (symtab_expansion_callback): Likewise.
163 (default_make_symbol_completion_list_break_on): Set datum.code.
164 Move minimal symbol scan before calling expand_symtabs_matching.
165 Scan known primary symtabs for externs and statics before calling
166 expand_symtabs_matching. Pass symtab_expansion_callback as
167 expansion_notify argument to expand_symtabs_matching. Do not scan
168 primary symtabs for externs and statics after calling
169 expand_symtabs_matching.
170
276d885b
GB
1712015-01-31 Gary Benson <gbenson@redhat.com>
172
173 * symfile.h (expand_symtabs_exp_notify_ftype): New typedef.
174 (struct quick_symbol_functions) <expand_symtabs_matching>:
175 New argument expansion_notify. All uses updated.
176 (expand_symtabs_matching): New argument expansion_notify.
177 All uses updated.
178 * symfile-debug.c (debug_qf_expand_symtabs_matching):
179 Also print expansion notify.
180 * symtab.c (expand_symtabs_matching_via_partial): Call
181 expansion_notify whenever a partial symbol table is expanded.
182 * dwarf2read.c (dw2_expand_symtabs_matching): Call
183 expansion_notify whenever a symbol table is instantiated.
184
82083d6d
DE
1852015-01-31 Doug Evans <xdje42@gmail.com>
186
187 * cli-out.c: #include completer.h, readline/readline.h.
188 (cli_mld_crlf, cli_mld_putch, cli_mld_puts): New functions.
189 (cli_mld_flush, cld_mld_erase_entire_line): Ditto.
190 (cli_mld_beep, cli_mld_read_key, cli_display_match_list): Ditto.
191 * cli-out.h (cli_display_match_list): Declare.
192 * completer.c (MB_INVALIDCH, MB_NULLWCH): New macros.
193 (ELLIPSIS_LEN): Ditto.
194 (gdb_get_y_or_n, gdb_display_match_list_pager): New functions.
195 (gdb_path_isdir, gdb_printable_part, gdb_fnwidth): Ditto.
196 (gdb_fnprint, gdb_print_filename): Ditto.
197 (gdb_complete_get_screenwidth, gdb_display_match_list_1): Ditto.
198 (gdb_display_match_list): Ditto.
199 * completer.h (mld_crlf_ftype, mld_putch_ftype): New typedefs.
200 (mld_puts_ftype, mld_flush_ftype, mld_erase_entire_line_ftype): Ditto.
201 (mld_beep_ftype, mld_read_key_ftype): Ditto.
202 (match_list_displayer): New struct.
203 (gdb_display_match_list): Declare.
204 * top.c (init_main): Set rl_completion_display_matches_hook.
205 * tui/tui-io.c: #include completer.h.
206 (printable_part, PUTX, print_filename, get_y_or_n): Delete.
207 (tui_mld_crlf, tui_mld_putch, tui_mld_puts): New functions.
208 (tui_mld_flush, tui_mld_erase_entire_line, tui_mld_beep): Ditto.
209 (tui_mld_getc, tui_mld_read_key): Ditto.
210 (tui_rl_display_match_list): Rewrite.
211 (tui_handle_resize_during_io): New arg for_completion. All callers
212 updated.
213
f57d2163
DE
2142015-01-31 Doug Evans <xdje42@gmail.com>
215
216 Add symbol lookup cache.
217 * NEWS: Document new options and commands.
218 * symtab.c (symbol_cache_key): New static global.
219 (DEFAULT_SYMBOL_CACHE_SIZE, MAX_SYMBOL_CACHE_SIZE): New macros.
220 (SYMBOL_LOOKUP_FAILED): New macro.
221 (symbol_cache_slot_state): New enum.
222 (block_symbol_cache): New struct.
223 (symbol_cache): New struct.
224 (new_symbol_cache_size, symbol_cache_size): New static globals.
225 (hash_symbol_entry, eq_symbol_entry): New functions.
226 (symbol_cache_byte_size, resize_symbol_cache): New functions.
227 (make_symbol_cache, free_symbol_cache): New functions.
228 (get_symbol_cache, symbol_cache_cleanup): New function.
229 (set_symbol_cache_size, set_symbol_cache_size_handler): New functions.
230 (symbol_cache_lookup, symbol_cache_clear_slot): New function.
231 (symbol_cache_mark_found, symbol_cache_mark_not_found): New functions.
232 (symbol_cache_flush, symbol_cache_dump): New functions.
233 (maintenance_print_symbol_cache): New function.
234 (maintenance_flush_symbol_cache): New function.
235 (symbol_cache_stats): New function.
236 (maintenance_print_symbol_cache_statistics): New function.
237 (symtab_new_objfile_observer): New function.
238 (symtab_free_objfile_observer): New function.
239 (lookup_static_symbol, lookup_global_symbol): Use symbol cache.
240 (_initialize_symtab): Init symbol_cache_key. New parameter
241 maint symbol-cache-size. New maint commands print symbol-cache,
242 print symbol-cache-statistics, flush-symbol-cache.
243 Install new_objfile, free_objfile observers.
244
e700d1b2
JB
2452015-01-31 Joel Brobecker <brobecker@adacore.com>
246
247 PR symtab/17855
248 * symfile.c (clear_symtab_users): Move call to breakpoint_re_set
249 to end.
250
9f050062
DE
2512015-01-31 Doug Evans <xdje42@gmail.com>
252
253 * NEWS: Mention inlined scripts in .debug_gdb_scripts section.
254 * auto-load.c: #include ctype.h.
255 (struct auto_load_pspace_info): Replace member loaded_scripts with
256 new members loaded_script_files, loaded_script_texts.
257 (auto_load_pspace_data_cleanup): Update.
258 (init_loaded_scripts_info): Update.
259 (get_auto_load_pspace_data_for_loading): Update.
260 (maybe_add_script_file): Renamed from maybe_add_script. All callers
261 updated.
262 (maybe_add_script_text): New function.
263 (clear_section_scripts): Update.
264 (source_script_file, execute_script_contents): New functions.
265 (source_section_scripts): Add support for
266 SECTION_SCRIPT_ID_PYTHON_TEXT, SECTION_SCRIPT_ID_GUILE_TEXT.
267 (print_scripts): New function.
268 (auto_load_info_scripts): Also print inlined scripts.
269 (maybe_print_unsupported_script_warning): Renamed from
270 unsupported_script_warning_print. All callers updated.
271 (maybe_print_script_not_found_warning): Renamed from
272 script_not_found_warning_print. All callers updated.
273 * extension-priv.h (struct extension_language_script_ops): New member
274 objfile_script_executor.
275 * extension.c (ext_lang_objfile_script_executor): New function.
276 * extension.h (objfile_script_executor_func): New typedef.
277 (ext_lang_objfile_script_executor): Declare.
278 * guile/guile-internal.h (gdbscm_execute_objfile_script): Declare.
279 * guile/guile.c (guile_extension_script_ops): Update.
280 * guile/scm-objfile.c (gdbscm_execute_objfile_script): New function.
281 * python/python.c (python_extension_script_ops): Update.
282 (gdbpy_execute_objfile_script): New function.
283
312809f8
EZ
2842015-01-31 Eli Zaretskii <eliz@gnu.org>
285
286 * tui/tui-io.c (tui_expand_tabs): New function.
287 (tui_puts, tui_redisplay_readline): Expand TABs into the
288 appropriate number of spaces.
289 * tui/tui-regs.c: Include tui-io.h.
290 (tui_register_format): Call tui_expand_tabs to expand TABs into
291 the appropriate number of spaces.
292 * tui/tui-io.h: Add prototype for tui_expand_tabs.
293
b6577aab
DE
2942015-01-30 Doug Evans <dje@google.com>
295
296 * NEWS: "info source" command now display producer string if present.
297 * source.c (source_info): Print producer string if present.
298
6da58d3e
SM
2992015-01-30 Simon Marchi <simon.marchi@ericsson.com>
300
301 * varobj.c (varobj_delete): Fix comment.
302
837ce252
SM
3032015-01-30 Simon Marchi <simon.marchi@ericsson.com>
304
305 * varobj.c (create_child): Modify comment.
306
b09e2c59
SM
3072015-01-30 Simon Marchi <simon.marchi@ericsson.com>
308
309 * ada-varobj.c (ada_number_of_children): Constify struct varobj *
310 parameter.
311 (ada_name_of_variable): Same.
312 (ada_path_expr_of_child): Same.
313 (ada_value_of_variable): Same.
314 (ada_value_is_changeable_p): Same.
315 (ada_value_has_mutated): Same.
316 * c-varobj.c (varobj_is_anonymous_child): Same.
317 (c_is_path_expr_parent): Same.
318 (c_number_of_children): Same.
319 (c_name_of_variable): Same.
320 (c_path_expr_of_child): Same.
321 (get_type): Same.
322 (c_value_of_variable): Same.
323 (cplus_number_of_children): Same.
324 (cplus_name_of_variable): Same.
325 (cplus_path_expr_of_child): Same.
326 (cplus_value_of_variable): Same.
327 * jv-varobj.c (java_number_of_children): Same.
328 (java_name_of_variable): Same.
329 (java_path_expr_of_child): Same.
330 (java_value_of_variable): Same.
331 * varobj.c (number_of_children): Same.
332 (name_of_variable): Same.
333 (is_root_p): Same.
334 (varobj_ensure_python_env): Same.
335 (varobj_get_objname): Same.
336 (varobj_get_expression): Same.
337 (varobj_get_display_format): Same.
338 (varobj_get_display_hint): Same.
339 (varobj_has_more): Same.
340 (varobj_get_thread_id): Same.
341 (varobj_get_frozen): Same.
342 (dynamic_varobj_has_child_method): Same.
343 (varobj_get_gdb_type): Same.
344 (is_path_expr_parent): Same.
345 (varobj_default_is_path_expr_parent): Same.
346 (varobj_get_language): Same.
347 (varobj_get_attributes): Same.
348 (varobj_is_dynamic_p): Same.
349 (varobj_get_child_range): Same.
350 (varobj_value_has_mutated): Same.
351 (varobj_get_value_type): Same.
352 (number_of_children): Same.
353 (name_of_variable): Same.
354 (check_scope): Same.
355 (varobj_editable_p): Same.
356 (varobj_value_is_changeable_p): Same.
357 (varobj_floating_p): Same.
358 (varobj_default_value_is_changeable_p): Same.
359
2568868e
SM
3602015-01-30 Simon Marchi <simon.marchi@ericsson.com>
361
362 * varobj.c (varobj_get_path_expr): Set var->path_expr.
363 * c-varobj.c (c_path_expr_of_child): Set local var instead of
364 child->path_expr.
365 (cplus_path_expr_of_child): Same.
366
ca83fa81
SM
3672015-01-30 Simon Marchi <simon.marchi@ericsson.com>
368
369 * mi-cmd-var.c (print_varobj): Free varobj_get_expression
370 result.
371 (mi_cmd_var_info_expression): Same.
372 * varobj.c (varobj_get_expression): Mention in the comment that
373 the result must by freed by the caller.
374
afa269ae
SM
3752015-01-30 Simon Marchi <simon.marchi@ericsson.com>
376
377 * mi/mi-cmd-var.c (mi_cmd_var_info_type): Free result of
378 varobj_get_type.
379 (varobj_update_one): Same.
380 * varobj.c (update_type_if_necessary): Free curr_type_str and
381 new_type_str.
382 (varobj_get_type): Specify in comment that the result needs to be
383 freed by the caller.
384
cd366ee8
DE
3852015-01-29 Doug Evans <dje@google.com>
386
387 PR symtab/17890
388 * dwarf2read.c (dwarf_decode_line_header): Punt if version > 4.
389
38360086
MW
3902015-01-25 Mark Wielaard <mjw@redhat.com>
391
392 * dwarf2read.c (checkproducer): Call producer_is_gcc.
393 * utils.c (producer_is_gcc_ge_4): Likewise.
394 (producer_is_gcc): New function.
395 * utils.h (producer_is_gcc): New declaration.
396
df25ebbd
JB
3972015-01-29 Joel Brobecker <brobecker@adacore.com>
398
399 * gdbtypes.h (struct dynamic_prop): New PROP_ADDR_OFFSET enum
400 kind.
401 * gdbtypes.c (resolve_dynamic_type_internal): Replace "addr"
402 parameter by "addr_stack" parameter.
403 (resolve_dynamic_range): Replace "addr" parameter by
404 "stack_addr" parameter. Update function documentation.
405 Update code accordingly.
406 (resolve_dynamic_array, resolve_dynamic_union)
407 (resolve_dynamic_struct, resolve_dynamic_type_internal): Likewise.
408 (resolve_dynamic_type): Update code, following the changes made
409 to resolve_dynamic_type_internal's interface.
410 * dwarf2loc.h (struct property_addr_info): New.
411 (dwarf2_evaluate_property): Replace "address" parameter
412 by "addr_stack" parameter. Adjust function documentation.
413 (struct dwarf2_offset_baton): New.
414 (struct dwarf2_property_baton): Update documentation of
415 field "referenced_type" to be more general. New field
416 "offset_info" in union data field.
417 * dwarf2loc.c (dwarf2_evaluate_property): Replace "address"
418 parameter by "addr_stack" parameter. Adjust code accordingly.
419 Add support for PROP_ADDR_OFFSET properties.
420 * dwarf2read.c (attr_to_dynamic_prop): Add support for
421 DW_AT_data_member_location attributes as well. Use case
422 statements instead of if/else condition.
423
4a0ca9ec
JB
4242015-01-29 Joel Brobecker <brobecker@adacore.com>
425
426 * ada-varobj.c (ada_varobj_get_array_number_of_children):
427 Return zero if PARENT_VALUE is NULL and parent_type's
428 range type is dynamic.
429
ddb87a81
JB
4302015-01-29 Joel Brobecker <brobecker@adacore.com>
431
432 * gdbtypes.c (is_dynamic_type_internal) <TYPE_CODE_RANGE>: Return
433 nonzero if the type's subtype is dynamic.
434 (resolve_dynamic_range): Also resolve the range's subtype.
435
3d7ad9b4 4362015-01-29 Alexander Klimov <alserkli@inbox.ru> (tiny patch)
7a270e0c 437
3d7ad9b4 438 Pushed by Joel Brobecker <brobecker@adacore.com>.
7a270e0c
AK
439 * symfile.c (unmap_overlay_command): Initialize sec to NULL.
440
3a8b707a
DE
4412015-01-27 Doug Evans <dje@google.com>
442
443 * NEWS: Mention gdb.Objfile.username.
444 * python/py-objfile.c (objfpy_get_username): New function.
445 (objfile_getset): Add "username".
446
d35b90fb
MW
4472015-01-24 Mark Wielaard <mjw@redhat.com>
448
449 * stack.c (return_command): Markup warning message with _.
450
734ae125
DE
4512015-01-24 Doug Evans <xdje42@gmail.com>
452
453 * gdbtypes.h (TYPE_TYPE_SPECIFIC): Delete.
454
527f3840
JK
4552015-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
456
457 Fix 100x slowdown regression on DWZ files.
458 * dwarf2read.c (struct dwarf2_per_objfile): Add line_header_hash.
459 (struct line_header): Add offset and offset_in_dwz.
460 (dwarf_decode_lines): Add parameter decode_mapping to the declaration.
461 (free_line_header_voidp): New declaration.
462 (line_header_hash, line_header_hash_voidp, line_header_eq_voidp): New
463 functions.
464 (dwarf2_build_include_psymtabs): Update dwarf_decode_lines caller.
465 (handle_DW_AT_stmt_list): Use line_header_hash.
466 (free_line_header_voidp): New function.
467 (dwarf_decode_line_header): Initialize offset and offset_in_dwz.
468 (dwarf_decode_lines): New parameter decode_mapping, use it.
469 (dwarf2_free_objfile): Free line_header_hash.
470
f7e5394d
SM
4712015-01-23 Simon Marchi <simon.marchi@ericsson.com>
472
473 PR gdb/17416
474 * valops.c (value_rtti_indirect_type): Catch exception thrown by
475 value_ind.
476
743649fd
MW
4772015-01-15 Mark Wielaard <mjw@redhat.com>
478
479 * dwarf2read.c (read_subroutine_type): Set TYPE_NO_RETURN from
480 DW_AT_noreturn.
481 * gdbtypes.h (struct func_type): Add is_noreturn field flag. Make
482 calling_convention an 8 bit bit field.
483 (TYPE_NO_RETURN): New macro.
484 * infcmd.c (finish_command): Query if function does not return
485 normally.
486 * stack.c (return_command): Likewise.
487
198297aa
PA
4882015-01-23 Pedro Alves <palves@redhat.com>
489
490 * linux-nat.c (linux_is_async_p): New macro.
491 (linux_nat_is_async_p):
492 (linux_nat_terminal_inferior): Check whether the target can async
493 instead of whether it is already async.
494 (linux_nat_terminal_ours): Don't check whether the target is
495 async.
496 (linux_async_pipe): Use linux_is_async_p.
497
253828f1
JK
4982015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
499
500 * NEWS (Changes since GDB 7.9): Add 'thread apply all' option
501 '-ascending'.
502 * thread.c (tp_array_compar_ascending, tp_array_compar): New.
503 (thread_apply_all_command): Parse CMD for tp_array_compar_ascending.
504 Sort tp_array using tp_array_compar.
505 (_initialize_thread): Extend thread_apply_all_command help.
506
f0e8c4c5
JK
5072015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
508
509 * corelow.c (core_open): Call also thread_command.
510 * gdbthread.h (thread_command): New prototype moved from ...
511 * thread.c (thread_command): ... here.
512 (thread_command): Make it global.
513
03b79603
PA
5142015-01-22 Pedro Alves <palves@redhat.com>
515
516 * configure.ac [*mingw32*]: Check $curses_found instead of
517 $prefer_curses.
518 * configure: Regenerate.
519 * windows-termcap.c: Remove HAVE_CURSES_H, HAVE_NCURSES_H and
520 HAVE_NCURSES_NCURSES_H checks.
521
6b8a872f
EZ
5222015-01-22 Eli Zaretskii <eliz@gnu.org>
523
bbbbffbb 524 * tui/tui.c (tui_enable) [__MINGW32__]: If the call to 'newterm'
6b8a872f
EZ
525 fails with the 1st arg NULL, try again with "unknown". Don't test
526 the "cup" capability: it isn't supported by the Windows port of
527 ncurses, but the Windows console driver is still capable of
528 supporting TUI.
529
4b62a76e
JK
5302015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
531
532 * compile/compile.c (_initialize_compile): Use -fPIE for compile_args.
533
82a864f9
EZ
5342015-01-22 Eli Zaretskii <eliz@gnu.org>
535
536 * Makefile.in (HFILES_NO_SRCDIR): Remove ada-varobj.h.
537 (ALLDEPFILES): Remove irix5-nat.c. These two are part of the
538 reason that "make TAGS" is broken.
539
b35018fd
CG
5402015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
541
542 * hppa-tdep.c (inst_saves_gr): Fix logical working flow issues
543 and check additional store instructions.
544
ffbc4646
WW
5452015-01-21 Wei-cheng Wang <cole945@gmail.com>
546
547 * MAINTAINERS (Write After Approval): Add "Wei-cheng Wang".
548
ddeca1df
WW
5492015-01-21 Wei-cheng Wang <cole945@gmail.com>
550
551 * ppc-linux-tdep.c (ppc_skip_trampoline_code,
552 ppc_canonicalize_syscall, ppc_linux_syscall_record,
553 ppc_linux_record_signal, ppc_init_linux_record_tdep): Add comments.
554 * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
555 * rs6000-tdep.c (rs6000_epilogue_frame_cache,
556 rs6000_epilogue_frame_this_id, rs6000_epilogue_frame_prev_register,
557 rs6000_epilogue_frame_sniffer, ppc_record_vsr, ppc_process_record_op4,
558 ppc_process_record_op19, ppc_process_record_op31,
559 ppc_process_record_op59, ppc_process_record_op60,
560 ppc_process_record_op63): Likewise.
561
049bb5de
JB
5622015-01-20 Joel Brobecker <brobecker@adacore.com>
563
564 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason_string)
565 (linux_ptrace_test_ret_to_nx): Use safe_strerror instead of
566 strerror.
567
42b87c63 5682015-01-20 Wei-cheng Wang <cole945@gmail.com>
810c1026
WW
569
570 * rs6000-tdep.c (ppc_process_record_op4, ppc_process_record_op19,
571 ppc_process_record_op31, ppc_process_record_op59,
572 ppc_process_record_op60, ppc_process_record_op63,
573 ppc_process_record): Fix -Wformat warning.
574 * rs6000-tdep.c (rs6000_epilogue_frame_cache, ppc_process_record_op60):
575 Remove unused variables.
576
569340fc
CG
5772015-01-20 Chen Gang <gang.chen.5i5j@gmail.com>
578
579 * MAINTAINERS (Write After Approval): Add "Chen Gang".
580
63413d85
EZ
5812015-01-19 Eli Zaretskii <eliz@gnu.org>
582
583 * configure.ac [*mingw32*]: Only add windows-termcap.o to
584 CONFIG_OBS if not building with a curses library.
585 * configure: Regenerate.
586
587 * windows-termcap.c: Include defs.h. Make the whole body empty if
588 either one of HAVE_CURSES_H or HAVE_NCURSES_H or
589 HAVE_NCURSES_NCURSES_H is defined.
590
16d8013c
JB
5912015-01-19 Joel Brobecker <brobecker@adacore.com>
592
593 * rs6000-tdep.c (rs6000_gdbarch_init): Move divide operator
594 from end of line to start of next line.
595
cf90fd9a
WW
5962015-01-17 Wei-cheng Wang <cole945@gmail.com>
597
598 * ppc-linux-tdep.c (ppc_skip_trampoline_code):
599 Scan PLT stub backward for reverse debugging.
600 * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
601
b4cdae6f
WW
6022015-01-17 Wei-cheng Wang <cole945@gmail.com>
603 Ulrich Weigand <uweigand@de.ibm.com>
604
605 * configure.tgt (powerpc*-*-linux): Add linux-record.o to
606 gdb_target_obs.
607 (ppc_linux_record_tdep, ppc64_linux_record_tdep): New for linux syscall
608 record.
609 (ppc_canonicalize_syscall, ppc_linux_syscall_record,
610 ppc_linux_record_signal, ppc_init_linux_record_tdep): New functions.
611 (ppc_linux_init_abi): Set process_record, process_record_signal.
612 * ppc-tdep.h (struct gdbarch_tdep): Add ppc_syscall_record and
613 ppc_linux_record_tdep to gdbarch_tdep.
614 (ppc_process_record): New declaration.
615 * rs6000-tdep.c (ppc_record_vsr, ppc_process_record_op4,
616 ppc_process_record_op19, ppc_process_record_op31,
617 ppc_process_record_op59, ppc_process_record_op60,
618 ppc_process_record_op63, ppc_process_record): New functions.
619
2608dbf8
WW
6202015-01-17 Wei-cheng Wang <cole945@gmail.com>
621
622 * rs6000-tdep.c (rs6000_in_function_epilogue_p): Rename to
623 rs6000_in_function_epilogue_frame_p and add an argument
624 for frame_info.
625 (rs6000_epilogue_frame_cache, rs6000_epilogue_frame_this_id,
626 rs6000_epilogue_frame_prev_register, rs6000_epilogue_frame_sniffer):
627 New functions.
628 (rs6000_epilogue_frame_unwind): New.
629 (rs6000_gdbarch_init): Append epilogue unwinder.
630
4c347be6
SDJ
6312015-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
632
633 * nat/linux-personality.c: Replace "#ifndef
634 HAVE_DECL_ADDR_NO_RANDOMIZE" by "#if
635 !HAVE_DECL_ADDR_NO_RANDOMIZE", fixing a regression in RHEL-5
636 systems.
637
9f2850ba
EZ
6382015-01-16 Eli Zaretskii <eliz@gnu.org>
639
6cdb25f4
EZ
640 * tui/tui-win.c (tui_rehighlight_all, tui_set_var_cmd): New
641 functions.
642 (_initialize_tui_win) <border-kind, border-mode>:
643 <active-border-mode>: Use tui_set_var_cmd as the "set" function.
c54da50d
EZ
644 (tui_set_tab_width_command): Fix the commentary.
645
6cdb25f4
EZ
646 * tui/tui-win.h: Add prototype for tui_rehighlight_all.
647
bf555842
EZ
648 * tui/tui-win.c (tui_scroll_left_command, tui_scroll_right_command):
649 Doc fix.
cb86fcc1
EZ
650 (tui_set_tab_width_command): Delete and recreate the source and
651 the disassembly windows, to show the effect of the changed tab
652 size immediately.
bf555842 653
9f2850ba
EZ
654 * tui/tui-data.h (LINE_PREFIX): Make shorter
655 (MAX_PID_WIDTH): Enlarge from 14 to 19, to leave enough space for
656 "Thread NNNNN.XXXX" thread ID notation on Windows.
657
95761b2d
JK
6582015-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
659
660 Fix gcc-5 compilation.
661 * hppa-tdep.c (inst_saves_gr): Fix parentheses typo.
662
8cc73a39
SDJ
6632015-01-15 Sergio Durigan Junior <sergiodj@redhat.com>
664
665 * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-personality.h.
666 (linux-personality.o): New rule.
667 * common/common-defs.h: Include <stdint.h>.
668 * config/aarch64/linux.mh (NATDEPFILES): Include
669 linux-personality.o.
670 * config/alpha/alpha-linux.mh (NATDEPFILES): Likewise.
671 * config/arm/linux.mh (NATDEPFILES): Likewise.
672 * config/i386/linux64.mh (NATDEPFILES): Likewise.
673 * config/i386/linux.mh (NATDEPFILES): Likewise.
674 * config/ia64/linux.mh (NATDEPFILES): Likewise.
675 * config/m32r/linux.mh (NATDEPFILES): Likewise.
676 * config/m68k/linux.mh (NATDEPFILES): Likewise.
677 * config/mips/linux.mh (NATDEPFILES): Likewise.
678 * config/pa/linux.mh (NATDEPFILES): Likewise.
679 * config/powerpc/linux.mh (NATDEPFILES): Likewise.
680 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
681 * config/powerpc/spu-linux.mh (NATDEPFILES): Likewise.
682 * config/s390/linux.mh (NATDEPFILES): Likewise.
683 * config/sparc/linux64.mh (NATDEPFILES): Likewise.
684 * config/sparc/linux.mh (NATDEPFILES): Likewise.
685 * config/tilegx/linux.mh (NATDEPFILES): Likewise.
686 * config/xtensa/linux.mh (NATDEPFILES): Likewise.
687 * defs.h: Remove #include <stdint.h> (moved to
688 common/common-defs.h).
689 * linux-nat.c: Include nat/linux-personality.h. Remove #include
690 <sys/personality.h>; do not define ADDR_NO_RANDOMIZE (moved to
691 nat/linux-personality.c).
692 (linux_nat_create_inferior): Remove code to disable address space
693 randomization (moved to nat/linux-personality.c). Create cleanup
694 to disable address space randomization.
695 * nat/linux-personality.c: New file.
696 * nat/linux-personality.h: Likewise.
697
fb23d554
SDJ
6982015-01-15 Sergio Durigan Junior <sergiodj@redhat.com>
699
700 * Makefile.in (ALLDEPFILES): Including common/mingw-strerror.c and
701 common/posix-strerror.c.
702 (posix-strerror.o): New rule.
703 (mingw-strerror.o): Likewise.
704 * common/common-utils.h (safe_strerror): Move prototype to here,
705 from utils.h.
706 * common/common.host: New file.
707 * common/mingw-strerror.c: Likewise.
708 * common/posix-strerror.c: Likewise.
709 * configure: Regenerated.
710 * configure.ac: Source common/common.host. Add variable
711 common_host_obs to gdb_host_obs.
712 * contrib/ari/gdb_ari.sh: Mention gdb/common/mingw-strerror.c and
713 gdb/common/posix-strerror.c when warning about the use of
714 strerror.
715 * mingw-hdep.c (safe_strerror): Remove definition; move it to
716 common/mingw-strerror.c.
717 * posix-hdep.c (safe_strerror): Remove definition; move it to
718 common/posix-hdep.c.
719 * utils.h (safe_strerror): Remove prototype; move to
720 common/common-utils.h.
721
3af8af43
JB
7222015-01-15 Joel Brobecker <brobecker@adacore.com>
723
724 GDB 7.8.2 released.
725
bafffb51
JB
7262015-01-15 Joel Brobecker <brobecker@adacore.com>
727
728 * ada-lang.c (ada_array_bound_from_type): Ignore array's parallel
729 ___XA type if the array has already been fixed.
730
cdf43629
YQ
7312015-01-14 Yao Qi <yao@codesourcery.com>
732
733 * Makefile.in (ppc-linux.o): New rule.
734 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add ppc-linux.o.
735 * configure.ac: AC_CHECK_FUNCS(getauxval).
736 * config.in: Re-generated.
737 * configure: Re-generated.
738 * nat/ppc-linux.h [__powerpc64__] (ppc64_64bit_inferior_p):
739 Declare.
740 * nat/ppc-linux.c: New file.
741 * ppc-linux-nat.c (ppc_linux_target_wordsize) [__powerpc64__]:
742 Call ppc64_64bit_inferior_p.
743
514c5338
YQ
7442015-01-14 Yao Qi <yao@codesourcery.com>
745
746 * ppc-linux-nat.c (PT_ORIG_R3, PT_TRAP): Move to
747 nat/ppc-linux.h.
748 (PPC_FEATURE_CELL, PPC_FEATURE_BOOKE): Likewise.
749 (PPC_FEATURE_HAS_DFP): Likewise.
750 (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Likewise.
751 (PTRACE_GETVSXREGS, PTRACE_SETVSXREGS): Likewise.
752 (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): Likewise.
753 Include "nat/ppc-linux.h".
754 * nat/ppc-linux.h: New file.
755 * Makefile.in (HFILES_NO_SRCDIR): Add nat/ppc-linux.h.
756
5589af0e
PA
7572015-01-14 Pedro Alves <palves@redhat.com>
758
759 PR gdb/17525
760 * breakpoint.c: Include "interps.h".
761 (bpstat_do_actions_1): Also check whether the interpreter is
762 async.
763
6c400b59
PA
7642015-01-14 Pedro Alves <palves@redhat.com>
765
766 PR cli/17828
767 * infrun.c (reinstall_readline_callback_handler_cleanup): Don't
768 reinstall if the interpreter is sync.
769
e02c96a7
DE
7702015-01-13 Doug Evans <dje@google.com>
771
772 * objfiles.c (objfile_filename): New function.
773 * objfiles.h (objfile_filename): Declare it.
774 (objfile_name): Add function comment.
775 * python/py-objfile.c (objfpy_lookup_objfile_by_name): Try both the
776 bfd file name (which may be realpath'd), and the original name.
777
3b2f13ff
JB
7782015-01-13 Joel Brobecker <brobecker@adacore.com>
779
780 * NEWS: Create a new section for the next release branch.
781 Rename the section of the current branch, now that it has
782 been cut.
783
b4cfe7f8
JB
7842015-01-13 Joel Brobecker <brobecker@adacore.com>
785
786 GDB 7.9 branch created (92fc2e6978d9a7c8324c7e851dbee59e22ec7a37):
787 * version.in: Bump version to 7.9.50.DATE-cvs.
788
92fc2e69
JB
7892015-01-13 Joel Brobecker <brobecker@adacore.com>
790
791 * nat/linux-procfs.c (linux_proc_attach_tgid_threads):
792 Remove trailing new-line in argument of call to warning.
793
f71f0b0d
JB
7942015-01-13 Joel Brobecker <brobecker@adacore.com>
795
796 * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing
797 new-line in argument of call to "warning".
798
04dccad0
JB
7992015-01-13 Joel Brobecker <brobecker@adacore.com>
800
801 * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found
802 in static block, then try searching for primitive types.
803
08b13bdd
PP
8042015-01-12 Patrick Palka <patrick@parcs.ath.cx>
805
806 * top.h (gdb_add_history): Declare.
807 * top.c (command_count): New variable.
808 (gdb_add_history): New function.
809 (gdb_safe_append_history): New static function.
810 (quit_force): Call it.
811 (command_line_input): Use gdb_add_history instead of
812 add_history.
813 * event-top.c (command_line_handler): Likewise.
814
4ac15b59
JC
8152015-01-12 James Clarke <jrtc27@jrtc27.com> (tiny patch)
816
817 PR gdb/17046
818 * darwin-nat.c: Replace <machine/setjmp.h> #include by
819 <setjmp.h> #include.
820
005e54bb
DE
8212015-01-11 Doug Evans <xdje42@gmail.com>
822
823 * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
824
439250fb
DE
8252015-01-11 Doug Evans <xdje42@gmail.com>
826
827 PR gdb/15830
828 * NEWS: The "maint demangle" command is renamed as "demangle".
829 * demangle.c: #include cli/cli-utils.h, language.h.
830 (demangle_command): New function.
831 (_initialize_demangle): Add new command "demangle".
832 * maint.c (maintenance_demangle): Stub out.
833 (_initialize_maint_cmds): Update help text for "maint demangle",
834 and mark as deprecated.
835
ebf3aa72
MK
8362015-01-11 Mark Kettenis <kettenis@gnu.org>
837
838 * inf-ptrace.c (inf_ptrace_follow_fork): Adjust now that
839 inferior_thread is a function.
840
6bf045cd
PP
8412015-01-09 Patrick Palka <patrick@parcs.ath.cx>
842
843 * Makefile.in (.y.c): Don't munge yacc's #line
844 directives.
845
588dcc3e
PP
8462015-01-09 Patrick Palka <patrick@parcs.ath.cx>
847
848 * utils.c (defaulted_query): Rewrite to use gdb_readline_wrapper
849 to prompt for input.
850 * tui/tui-hooks.c (tui_query_hook): Remove.
851 (tui_install_hooks): Don't set deprecated_query_hook.
852 * tui/tui-io.c (tui_redisplay_readline): Fix off-by-one error in
853 height calculation. Always update the command window's cur_line.
854
9c02b525
PA
8552015-01-09 Pedro Alves <palves@redhat.com>
856
857 * breakpoint.c (hardware_breakpoint_inserted_here_p): New
858 function.
859 * breakpoint.h (hardware_breakpoint_inserted_here_p): New
860 declaration.
861 * linux-nat.c (linux_nat_status_is_event): Move higher up in file.
862 (linux_resume_one_lwp): Store the thread's PC. Adjust to clear
863 stop_reason.
864 (check_stopped_by_watchpoint): New function.
865 (save_sigtrap): Reimplement.
866 (linux_nat_stopped_by_watchpoint): Adjust.
867 (linux_nat_lp_status_is_event): Delete.
868 (stop_wait_callback): Only call save_sigtrap after storing the
869 pending status.
870 (status_callback): If the thread had been stopped for a breakpoint
871 that has since been removed, discard the event and resume the LWP.
872 (count_events_callback, select_event_lwp_callback): Use
873 lwp_status_pending_p instead of linux_nat_lp_status_is_event.
874 (cancel_breakpoint): Rename to ...
875 (check_stopped_by_breakpoint): ... this. Record whether the LWP
876 stopped for a software breakpoint or hardware breakpoint.
877 (select_event_lwp): Only give preference to the stepping LWP in
878 all-stop mode. Adjust comments.
879 (stop_and_resume_callback): Remove references to new_pending_p.
880 (linux_nat_filter_event): Likewise. Leave exit events of the
881 leader thread pending here. Handle signal short circuiting here.
882 Only call save_sigtrap after storing the pending waitstatus.
883 (linux_nat_wait_1): Remove 'retry' label. Remove references to
884 new_pending. Don't handle leaving events the caller is not
885 interested in pending here, nor handle signal short-circuiting
886 here. Also give equal priority to all LWPs that have had events
887 in non-stop mode. If reporting a software breakpoint event,
888 unadjust the LWP's PC.
889 * linux-nat.h (enum lwp_stop_reason): New.
890 (struct lwp_info) <stop_pc>: New field.
891 (struct lwp_info) <stopped_by_watchpoint>: Delete field.
892 (struct lwp_info) <stop_reason>: New field.
893 * x86-linux-nat.c (x86_linux_prepare_to_resume): Adjust.
894
8af756ef
PA
8952015-01-09 Pedro Alves <palves@redhat.com>
896
897 * linux-nat.c (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>:
898 Set the LWP's 'resumed' flag.
899
8a99810d
PA
9002015-01-09 Pedro Alves <palves@redhat.com>
901
902 * linux-nat.c (linux_resume_one_lwp): New function.
903 (resume_lwp): Use lwp_status_pending_p and linux_resume_one_lwp.
904 (linux_nat_resume): Use lwp_status_pending_p and
905 linux_resume_one_lwp.
906 (linux_handle_syscall_trap): Use linux_resume_one_lwp.
907 (linux_handle_extended_wait): Use linux_resume_one_lwp.
908 (status_callback, running_callback): Use lwp_status_pending_p.
909 (lwp_status_pending_p): New function.
910 (stop_and_resume_callback): Use lwp_status_pending_p.
911 (linux_nat_filter_event): Use linux_resume_one_lwp.
912 (linux_nat_wait_1): Always use status_callback to look for an LWP
913 with a pending status. Use linux_resume_one_lwp.
914 (resume_stopped_resumed_lwps): Use lwp_status_pending_p and
915 linux_resume_one_lwp.
916
f7ce857f
PA
9172015-01-09 Pedro Alves <palves@redhat.com>
918
919 * breakpoint.c (bp_location_inserted_here_p): New function,
920 factored out from ...
921 (breakpoint_inserted_here_p): ... here. Use
922 ALL_BP_LOCATIONS_AT_ADDR.
923 (software_breakpoint_inserted_here_p): Use
924 bp_location_inserted_here_p and ALL_BP_LOCATIONS_AT_ADDR.
925
c1a747c1
PA
9262014-01-09 Pedro Alves <palves@redhat.com>
927
928 Skip enabling event reporting if the kernel supports
929 PTRACE_EVENT_CLONE.
930 * linux-thread-db.c: Include "nat/linux-ptrace.h".
931 (thread_db_use_events): New function.
932 (try_thread_db_load_1): Check thread_db_use_events before enabling
933 event reporting.
934 (update_thread_state): New function.
935 (attach_thread): Use it. Check thread_db_use_events before
936 enabling event reporting.
937 (thread_db_detach): Check thread_db_use_events before disabling
938 event reporting.
939 (find_new_threads_callback): Check thread_db_use_events before
940 enabling event reporting. Update the thread's state if not using
941 libthread_db events.
942
a33e3959
PA
9432015-01-09 Pedro Alves <palves@redhat.com>
944
945 * linux-nat.c (lin_lwp_attach_lwp): Assert that the lwp id we're
946 about to wait for is > 0.
947 * linux-thread-db.c (find_new_threads_callback): Ignore thread if
948 the kernel thread ID is -1.
949
8784d563
PA
9502015-01-09 Pedro Alves <palves@redhat.com>
951
952 * linux-nat.c (attach_proc_task_lwp_callback): New function.
953 (linux_nat_attach): Use linux_proc_attach_tgid_threads.
954 (wait_lwp, linux_nat_filter_event): If not set yet, set the lwp's
955 ptrace option flags.
956 * linux-nat.h (struct lwp_info) <must_set_ptrace_flags>: New
957 field.
958 * nat/linux-procfs.c: Include <dirent.h>.
959 (linux_proc_get_int): New parameter "warn". Handle it.
960 (linux_proc_get_tgid): Adjust.
961 (linux_proc_get_tracerpid): Rename to ...
962 (linux_proc_get_tracerpid_nowarn): ... this.
963 (linux_proc_pid_get_state): New function, factored out from
964 (linux_proc_pid_has_state): ... this. Add new parameter "warn"
965 and handle it.
966 (linux_proc_pid_is_gone): New function.
967 (linux_proc_pid_is_stopped): Adjust.
968 (linux_proc_pid_is_zombie_maybe_warn)
969 (linux_proc_pid_is_zombie_nowarn): New functions.
970 (linux_proc_pid_is_zombie): Use
971 linux_proc_pid_is_zombie_maybe_warn.
972 (linux_proc_attach_tgid_threads): New function.
973 * nat/linux-procfs.h (linux_proc_get_tgid): Update comment.
974 (linux_proc_get_tracerpid): Rename to ...
975 (linux_proc_get_tracerpid_nowarn): ... this, and update comment.
976 (linux_proc_pid_is_gone): New declaration.
977 (linux_proc_pid_is_zombie): Update comment.
978 (linux_proc_pid_is_zombie_nowarn): New declaration.
979 (linux_proc_attach_lwp_func): New typedef.
980 (linux_proc_attach_tgid_threads): New declaration.
981 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason): Adjust to
982 use nowarn functions.
983 (linux_ptrace_attach_fail_reason_string): Move here from
984 gdbserver/linux-low.c and rename.
985 (ptrace_supports_feature): If the current ptrace options are not
986 known yet, check them now, instead of asserting.
987 * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason_string):
988 Declare.
989
883ed13e
PA
9902015-01-09 Pedro Alves <palves@redhat.com>
991
992 * linux-thread-db.c (thread_db_find_new_threads_silently)
993 (try_thread_db_load_1, try_thread_db_load, thread_db_load_search)
994 (find_new_threads_once): Print debug output on gdb_stdlog.
995
1710aab8
CG
9962015-01-09 Chen Gang <gang.chen.5i5j@gmail.com>
997 Pedro Alves <palves@redhat.com>
998
999 * compile/compile.c: Include "gdb_wait.h".
1000 (do_rmdir): Check return value, and free 'zap'.
1001
b597c318
YQ
10022015-01-08 Pedro Alves <palves@redhat.com>
1003 Yao Qi <yao@codesourcery.com>
1004
1005 * dwarf2loc.c (indirect_pieced_value): Don't call
1006 gdb_sign_extend. Call extract_signed_integer instead.
1007 * utils.c (gdb_sign_extend): Remove.
1008 * utils.h (gdb_sign_extend): Remove declaration.
1009
025ac414
PM
10102015-01-07 Pierre Muller <muller@sourceware.org>
1011
1012 PR symtab/17811
1013 * stabsread.c (define_symbol): Set language for C++ special symbols.
1014
fa5af12a
PP
10152015-01-07 Patrick Palka <patrick@parcs.ath.cx>
1016
1017 * inflow.c (initial_gdb_ttystate): Tweak comment.
1018
ea42d6f8
JB
10192015-01-07 Joel Brobecker <brobecker@adacore.com>
1020
1021 * inflow.c (set_initial_gdb_ttystate): Add empty line after
1022 comment documenting function.
1023
6a06d660
PP
10242015-01-07 Patrick Palka <patrick@parcs.ath.cx>
1025
1026 * terminal.h (set_initial_gdb_ttystate): Declare.
1027 * inflow.c (initial_gdb_ttystate): New static variable.
1028 (set_initial_gdb_ttystate): New setter.
1029 (child_terminal_init_with_pgrp): Copy initial_gdb_ttystate
1030 instead of our current terminal state.
1031 * top.c (gdb_init): Call set_initial_gdb_ttystate.
1032
e810d75b
JB
10332015-01-07 Joel Brobecker <brobecker@adacore.com>
1034
1035 * guile/scm-type.c (tyscm_array_1): Add comment.
1036 * python/py-type.c (typy_array_1): Add comment.
1037
fce10a84
JB
10382015-01-06 Joel Brobecker <brobecker@adacore.com>
1039
1040 * guile/scm-type.c (tyscm_array_1): Do not raise out-of-range
1041 error if N2 is equal to N1 - 1.
1042
8503d6e1
JB
10432015-01-06 Joel Brobecker <brobecker@adacore.com>
1044
1045 * python/py-type.c (typy_array_1): Do not raise negative-length
1046 exception if N2 is equal to N1 - 1.
1047
4d29c0a8
DE
10482015-01-03 Doug Evans <xdje42@gmail.com>
1049
1050 * c-exp.y: Whitespace cleanup.
1051 (classify_inner_name): Remove extra ;.
1052
eaa6a9a4
MR
10532015-01-02 Maciej W. Rozycki <macro@codesourcery.com>
1054
1055 * mips-tdep.c (mips32_scan_prologue): Keep the extracted stack
1056 offset signed.
1057
02fe9972
DE
10582015-01-02 Doug Evans <dje@google.com>
1059
1060 * dwarf2read.c (setup_type_unit_groups): Remove outdated comment.
1061
e2ada9cb
DE
10622015-01-02 Doug Evans <dje@google.com>
1063
1064 * symtab.h (struct symbol): Fix typo in comment.
1065
32d0add0
JB
10662015-01-01 Joel Brobecker <brobecker@adacore.com>
1067
1068 Update year range in copyright notice of all files.
1069
76f2b779
JB
10702015-01-01 Joel Brobecker <brobecker@adacore.com>
1071
1072 * top.c (print_gdb_version): Update copyright year to 2015.
1073
077309e2 10742015-01-01 Joel Brobecker <brobecker@adacore.com>
6bf6fd09 1075
077309e2 1076 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2014.
6bf6fd09 1077
077309e2 1078For older changes see ChangeLog-2014.
c906108c
SS
1079\f
1080Local Variables:
1081mode: change-log
1082left-margin: 8
1083fill-column: 74
1084version-control: never
57da7796 1085coding: utf-8
c906108c 1086End:
This page took 1.833478 seconds and 4 git commands to generate.