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