Finish constification of varobj interface
[binutils-gdb.git] / gdb / ChangeLog
1 2015-02-10 Simon Marchi <simon.marchi@ericsson.com>
2
3 * ada-varobj.c (ada_name_of_child): Constify parent.
4 (ada_path_expr_of_child): Same.
5 (ada_value_of_child): Same.
6 (ada_type_of_child): Same.
7 * c-varobj.c (c_is_path_expr_parent): Same.
8 (c_describe_child): Same.
9 (c_name_of_child): Same.
10 (c_value_of_child): Same.
11 (c_type_of_child): Same.
12 (cplus_number_of_children): Same.
13 (cplus_describe_child): Constify var.
14 (cplus_name_of_child): Constify parent.
15 (cplus_value_of_child): Same.
16 (cplus_type_of_child): Same.
17 * jv-varobj.c (java_name_of_child): Same.
18 (java_value_of_child): Same.
19 (java_type_of_child): Same.
20 * varobj.c (value_of_child): Same.
21 (varobj_default_is_path_expr_parent): Constify var, parent and return
22 value.
23 (varobj_get_path_expr): Constify var, modify path_expr through
24 mutable_var.
25 (install_new_value): Constify parent.
26 (value_of_child): Constify parent.
27 * varobj.h (struct varobj): Constify parent.
28 (struct lang_varobj_ops): Constify name_of_child, value_of_child and
29 type_of_child.
30 (varobj_get_path_expr): Constify var.
31 (varobj_get_path_expr_parent): Constify var and return value.
32
33 2015-02-10 Luis Machado <lgustavo@codesourcery.com>
34
35 * arm-tdep.c (arm_prologue_unwind_stop_reason): New function.
36 (arm_prologue_this_id): Move PC and SP limit checks to
37 arm_prologue_unwind_stop_reason.
38 (arm_prologue_unwind) <stop_reason> : Set to
39 arm_prologue_unwind_stop_reason.
40
41 2015-02-09 Mark Wielaard <mjw@redhat.com>
42
43 * dwarf2read.c (set_cu_language): Recognize DW_LANG_Fortran03 and
44 DW_LANG_Fortran08 as language_fortran.
45
46 2015-02-09 Sergio Durigan Junior <sergiodj@redhat.com>
47
48 PR remote/17946
49 * gdb/remote.c (remote_parse_stop_reply): Fix wrong comparison
50 of pointer against char.
51
52 2015-02-09 Mark Wielaard <mjw@redhat.com>
53
54 * c-typeprint.c (cp_type_print_method_args): Handle '_Atomic'.
55 (c_type_print_modifier): Likewise.
56 * dwarf2read.c (read_tag_atomic_type): New function.
57 (read_type_die_1): Handle DW_TAG_atomic_type.
58 * gdbtypes.c (make_atomic_type): New function.
59 (recursive_dump_type): Handle TYPE_ATOMIC.
60 * gdbtypes.h (enum type_flag_values): Renumber.
61 (enum type_instance_flag_value): Add TYPE_INSTANCE_FLAG_ATOMIC.
62 (TYPE_ATOMIC): New macro.
63 (make_atomic_type): Declare.
64
65 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
66
67 * btrace.c (ftrace_find_call): Skip gaps.
68 (ftrace_new_function): Initialize level.
69 (ftrace_new_call, ftrace_new_tailcall, ftrace_new_return)
70 (ftrace_new_switch): Update
71 level computation.
72 (ftrace_new_gap): New.
73 (ftrace_update_function): Create new function after gap.
74 (btrace_compute_ftrace_bts): Create gap on error.
75 (btrace_stitch_bts): Update parameters. Clear trace if it
76 becomes empty.
77 (btrace_stitch_trace): Update parameters. Update callers.
78 (btrace_clear): Reset the number of gaps.
79 (btrace_insn_get): Return NULL if the iterator points to a gap.
80 (btrace_insn_number): Return zero if the iterator points to a gap.
81 (btrace_insn_end): Allow gaps at the end.
82 (btrace_insn_next, btrace_insn_prev, btrace_insn_cmp): Handle gaps.
83 (btrace_find_insn_by_number): Assert that the found iterator does
84 not point to a gap.
85 (btrace_call_next, btrace_call_prev): Assert that the last function
86 is not a gap.
87 * btrace.h (btrace_bts_error): New.
88 (btrace_function): Update comment.
89 (btrace_function) <insn, insn_offset, number>: Update comment.
90 (btrace_function) <errcode>: New.
91 (btrace_thread_info) <ngaps>: New.
92 (btrace_thread_info) <replay>: Update comment.
93 (btrace_insn_get): Update comment.
94 * record-btrace.c (btrace_ui_out_decode_error): New.
95 (record_btrace_info): Print number of gaps.
96 (btrace_insn_history, btrace_call_history): Call
97 btrace_ui_out_decode_error for gaps.
98 (record_btrace_step_thread, record_btrace_start_replaying): Skip gaps.
99
100 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
101
102 * common/btrace-common.h (btrace_cpu_vendor, btrace_cpu): New.
103 * nat/linux-btrace.c: (btrace_this_cpu): New.
104 (cpu_supports_bts): Call btrace_this_cpu.
105 (intel_supports_bts): Add cpu parameter.
106
107 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
108
109 * btrace.h (btrace_insn_class): New.
110 (btrace_insn) <size, iclass>: New.
111 * btrace.c (ftrace_find_call): Update parameters. Update users.
112 Use instruction classification.
113 (ftrace_new_return): Update parameters. Update users.
114 (ftrace_update_function): Update parameters. Update users. Use
115 instruction classification.
116 (ftrace_update_insns): Update parameters. Update users.
117 (ftrace_classify_insn): New.
118 (btrace_compute_ftrace_bts): Fill in new btrace_insn fields. Add
119 TRY_CATCH around call to gdb_insn_length.
120
121 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
122
123 * btrace.c (btrace_compute_ftrace_bts, btrace_compute_ftrace):
124 Update parameters. Update users.
125
126 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
127
128 * btrace.c (parse_xml_btrace_conf_bts): Add size.
129 (btrace_conf_bts_attributes): New.
130 (btrace_conf_children): Add attributes.
131 * common/btrace-common.h (btrace_config_bts): New.
132 (btrace_config)<bts>: New.
133 (btrace_config): Update comment.
134 * nat/linux-btrace.c (linux_enable_btrace, linux_enable_bts):
135 Use config.
136 * features/btrace-conf.dtd: Increment version. Add size
137 attribute to bts element.
138 * record-btrace.c (set_record_btrace_bts_cmdlist,
139 show_record_btrace_bts_cmdlist): New.
140 (record_btrace_adjust_size, record_btrace_print_bts_conf,
141 record_btrace_print_conf, cmd_set_record_btrace_bts,
142 cmd_show_record_btrace_bts): New.
143 (record_btrace_info): Call record_btrace_print_conf.
144 (_initialize_record_btrace): Add commands.
145 * remote.c: Add PACKET_Qbtrace_conf_bts_size enum.
146 (remote_protocol_features): Add Qbtrace-conf:bts:size packet.
147 (btrace_sync_conf): Synchronize bts size.
148 (_initialize_remote): Add Qbtrace-conf:bts:size packet.
149 * NEWS: Announce new commands and new packets.
150
151 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
152
153 * Makefile.in (XMLFILES): Add btrace-conf.dtd.
154 * x86-linux-nat.c (x86_linux_enable_btrace): Update parameters.
155 (x86_linux_btrace_conf): New.
156 (x86_linux_create_target): Initialize to_btrace_conf.
157 * nat/linux-btrace.c (linux_enable_btrace): Update parameters.
158 Check format. Split into this and ...
159 (linux_enable_bts): ... this.
160 (linux_btrace_conf): New.
161 (perf_event_skip_record): Renamed into ...
162 (perf_event_skip_bts_record): ... this. Updated users.
163 (linux_disable_btrace): Split into this and ...
164 (linux_disable_bts): ... this.
165 (linux_read_btrace): Check format.
166 * nat/linux-btrace.h (linux_enable_btrace): Update parameters.
167 (linux_btrace_conf): New.
168 (btrace_target_info)<ptid>: Moved.
169 (btrace_target_info)<conf>: New.
170 (btrace_target_info): Split into this and ...
171 (btrace_tinfo_bts): ... this. Updated users.
172 * btrace.c (btrace_enable): Update parameters.
173 (btrace_conf, parse_xml_btrace_conf_bts, parse_xml_btrace_conf)
174 (btrace_conf_children, btrace_conf_attributes)
175 (btrace_conf_elements): New.
176 * btrace.h (btrace_enable): Update parameters.
177 (btrace_conf, parse_xml_btrace_conf): New.
178 * common/btrace-common.h (btrace_config): New.
179 * feature/btrace-conf.dtd: New.
180 * record-btrace.c (record_btrace_conf): New.
181 (record_btrace_cmdlist): New.
182 (record_btrace_enable_warn, record_btrace_open): Pass
183 &record_btrace_conf.
184 (record_btrace_info): Print recording format.
185 (cmd_record_btrace_bts_start): New.
186 (cmd_record_btrace_start): Call cmd_record_btrace_bts_start.
187 (_initialize_record_btrace): Add "record btrace bts" subcommand.
188 Add "record bts" alias command.
189 * remote.c (remote_state)<btrace_config>: New.
190 (remote_btrace_reset, PACKET_qXfer_btrace_conf): New.
191 (remote_protocol_features): Add qXfer:btrace-conf:read.
192 (remote_open_1): Call remote_btrace_reset.
193 (remote_xfer_partial): Handle TARGET_OBJECT_BTRACE_CONF.
194 (btrace_target_info)<conf>: New.
195 (btrace_sync_conf, btrace_read_config): New.
196 (remote_enable_btrace): Update parameters. Call btrace_sync_conf and
197 btrace_read_conf.
198 (remote_btrace_conf): New.
199 (init_remote_ops): Initialize to_btrace_conf.
200 (_initialize_remote): Add qXfer:btrace-conf packet.
201 * target.c (target_enable_btrace): Update parameters.
202 (target_btrace_conf): New.
203 * target.h (target_enable_btrace): Update parameters.
204 (target_btrace_conf): New.
205 (target_object)<TARGET_OBJECT_BTRACE_CONF>: New.
206 (target_ops)<to_enable_btrace>: Update parameters and comment.
207 (target_ops)<to_btrace_conf>: New.
208 * target-delegates: Regenerate.
209 * target-debug.h (target_debug_print_const_struct_btrace_config_p)
210 (target_debug_print_const_struct_btrace_target_info_p): New.
211 * NEWS: Announce new command and new packet.
212
213 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
214
215 * nat/linux-btrace.h (perf_event_buffer): New.
216 (btrace_target_info) <buffer, size, data_head>: Replace with ...
217 <bts>: ... this.
218 * nat/linux-btrace.c (perf_event_header, perf_event_mmap_size)
219 (perf_event_buffer_size, perf_event_buffer_begin)
220 (perf_event_buffer_end, linux_btrace_has_changed): Removed.
221 Updated users.
222 (perf_event_new_data): New.
223
224 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
225
226 * btrace.c (btrace_enable): Pass BTRACE_FORMAT_BTS.
227 * record-btrace.c (record_btrace_open): Remove call to
228 target_supports_btrace.
229 * remote.c (remote_supports_btrace): Update parameters.
230 * target.c (target_supports_btrace): Update parameters.
231 * target.h (to_supports_btrace, target_supports_btrace): Update
232 parameters.
233 * target-delegates.c: Regenerate.
234 * target-debug.h (target_debug_print_enum_btrace_format): New.
235 * nat/linux-btrace.c
236 (kernel_supports_btrace): Rename into ...
237 (kernel_supports_bts): ... this. Update users. Update warning text.
238 (intel_supports_btrace): Rename into ...
239 (intel_supports_bts): ... this. Update users.
240 (cpu_supports_btrace): Rename into ...
241 (cpu_supports_bts): ... this. Update users.
242 (linux_supports_btrace): Update parameters. Split into this and ...
243 (linux_supports_bts): ... this.
244 * nat/linux-btrace.h (linux_supports_btrace): Update parameters.
245
246 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
247
248 * Makefile.in (SFILES): Add common/btrace-common.c.
249 (COMMON_OBS): Add common/btrace-common.o.
250 (btrace-common.o): Add build rules.
251 * btrace.c (parse_xml_btrace): Update parameters.
252 (parse_xml_btrace_block): Set format field.
253 (btrace_add_pc, btrace_fetch): Use struct btrace_data.
254 (do_btrace_data_cleanup, make_cleanup_btrace_data): New.
255 (btrace_compute_ftrace): Split into this and...
256 (btrace_compute_ftrace_bts): ...this.
257 (btrace_stitch_trace): Split into this and...
258 (btrace_stitch_bts): ...this.
259 * btrace.h (parse_xml_btrace): Update parameters.
260 (make_cleanup_btrace_data): New.
261 * common/btrace-common.c: New.
262 * common/btrace-common.h: Include common-defs.h.
263 (btrace_block_s): Update comment.
264 (btrace_format): New.
265 (btrace_format_string): New.
266 (btrace_data_bts): New.
267 (btrace_data): New.
268 (btrace_data_init, btrace_data_fini, btrace_data_empty): New.
269 * remote.c (remote_read_btrace): Update parameters.
270 * target.c (target_read_btrace): Update parameters.
271 * target.h (target_read_btrace): Update parameters.
272 (target_ops)<to_read_btrace>: Update parameters.
273 * x86-linux-nat.c (x86_linux_read_btrace): Update parameters.
274 * target-delegates.c: Regenerate.
275 * target-debug (target_debug_print_struct_btrace_data_p): New.
276 * nat/linux-btrace.c (linux_read_btrace): Split into this and...
277 (linux_read_bts): ...this.
278 * nat/linux-btrace.h (linux_read_btrace): Update parameters.
279
280 2015-02-06 Doug Evans <dje@google.com>
281
282 * remote-m32r-sdi.c: Include symfile.h.
283
284 2015-02-06 Doug Evans <dje@google.com>
285
286 * symtab.h (clear_symtab_users, deduce_language_from_filename): Move
287 * symfile.h (clear_symtab_users, deduce_language_from_filename): ...
288 to here.
289
290 2015-02-06 Pedro Alves <palves@redhat.com>
291
292 * linux-thread-db.c (find_new_threads_callback): Add debug output.
293
294 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
295
296 PR gdb/15678
297 * breakpoint.c (map_breakpoint_numbers): Check for empty args string.
298 (enable_count_command): Check args for NULL value.
299
300 2015-02-05 Doug Evans <xdje42@gmail.com>
301
302 * guile/scm-frame.c: Fix spelling errors in a comment.
303
304 2015-02-04 Jan Kratochvil <jan.kratochvil@redhat.com>
305
306 * python/python-internal.h (Py_hash_t): Define it for Python <3.2.
307 * python/py-value.c (valpy_fetch_lazy): Use it. Remove cast to the
308 return type.
309
310 2015-02-04 Pedro Alves <palves@redhat.com>
311
312 * linux-nat.c (handle_extended_wait): Don't resume LWPs here.
313 (wait_lwp): Don't call wait_lwp if linux_handle_extended_wait
314 returns true.
315 (resume_stopped_resumed_lwps): Don't check whether the thread is
316 marked as executing.
317 (linux_nat_wait_1): Use resume_stopped_resumed_lwps.
318
319 2015-02-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
320
321 * regset.h (struct regset): Add flags field.
322 (REGSET_VARIABLE_SIZE): New value for a regset's flags field.
323 * corelow.c (get_core_register_section): Add warning if the size
324 exceeds the requested size and the regset does not have the
325 REGSET_VARIABLE_SIZE flag set.
326 * alphanbsd-tdep.c (alphanbsd_gregset): Add REGSET_VARIABLE_SIZE
327 flag.
328 * armbsd-tdep.c (armbsd_gregset): Likewise.
329 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
330 * hppaobsd-tdep.c (hppaobsd_gregset): Likewise.
331 * m68kbsd-tdep.c (m68kbsd_gregset): Likewise.
332 * mipsnbsd-tdep.c (mipsnbsd_gregset): Likewise.
333
334 2015-02-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
335
336 * amd64-linux-tdep.c (amd64_linux_iterate_over_regset_sections):
337 For ".reg-xstate", explicitly specify the requested section size
338 via X86_XSTATE_SIZE instead of just 0 on input and
339 X86_XSTATE_MAX_SIZE on output.
340 * i386-linux-tdep.c (i386_linux_iterate_over_regset_sections):
341 Likewise.
342
343 2015-02-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
344
345 PR corefiles/17808:
346 * gdbarch.sh (iterate_over_regset_sections_cb): Document this
347 function type, particularly its SIZE parameter.
348 * gdbarch.h: Regenerate.
349 * amd64-tdep.c (amd64_supply_fpregset): In gdb_assert, compare
350 actual against required size using ">=" instead of "==".
351 (amd64_collect_fpregset): Likewise.
352 * i386-tdep.c (i386_supply_gregset): Likewise.
353 (i386_collect_gregset): Likewise.
354 (i386_supply_fpregset): Likewise.
355 (i386_collect_fpregset): Likewise.
356 * mips-linux-tdep.c (mips_supply_gregset_wrapper): Likewise.
357 (mips_fill_gregset_wrapper): Likewise.
358 (mips_supply_fpregset_wrapper): Likewise.
359 (mips_fill_fpregset_wrapper): Likewise.
360 (mips64_supply_gregset_wrapper): Likewise.
361 (mips64_fill_gregset_wrapper): Likewise.
362 (mips64_supply_fpregset_wrapper): Likewise.
363 (mips64_fill_fpregset_wrapper): Likewise.
364 * mn10300-linux-tdep.c (am33_supply_gregset_method): Likewise.
365 (am33_supply_fpregset_method): Likewise.
366 (am33_collect_gregset_method): Likewise.
367 (am33_collect_fpregset_method): Likewise.
368
369 2015-02-04 Doug Evans <dje@google.com>
370 Pedro Alves <palves@redhat.com>
371 Eli Zaretskii <eliz@gnu.org>
372
373 PR tui/17810
374 * tui/tui-command.c (tui_refresh_cmd_win): New function.
375 * tui/tui-command.c (tui_refresh_cmd_win): Declare.
376 * tui/tui-file.c: #include tui/tui-command.h.
377 (tui_file_fputs): Refresh command window if stream is not gdb_stdout.
378 (tui_file_flush): Refresh command window if stream is gdb_stdout.
379 * tui/tui-io.c (tui_puts): Remove calls to wrefresh, fflush.
380
381 2015-02-04 Pedro Alves <palves@redhat.com>
382
383 Fix build breakage.
384 * event-loop.c (gdb_do_one_event): Add default switch case.
385
386 2015-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
387
388 Filter out inferior gcc option -fpreprocessed.
389 * compile/compile.c (filter_args): New function.
390 (get_args): Use it.
391
392 2015-02-03 Pedro Alves <palves@redhat.com>
393
394 * event-loop.c: Don't declare nor define a queue type for
395 gdb_event_p.
396 (event_queue): Delete.
397 (create_event, create_file_event, gdb_event_xfree)
398 (initialize_event_loop, process_event): Delete.
399 (gdb_do_one_event): Return as soon as one event is handled.
400 (handle_file_event): Change prototype. Used the passed in
401 file_handler pointer and ready_mask instead of looping over all
402 file handlers.
403 (gdb_wait_for_event): Update the poll/select timeouts before
404 blocking. Run event handlers directly instead of queueing events.
405 Return as soon as one event is handled.
406 (struct async_event_handler_data): Delete.
407 (invoke_async_event_handler): Delete.
408 (check_async_event_handlers): Change return type to int. Run
409 event handlers directly instead of queueing events. Return as
410 soon as one event is handled.
411 (handle_timer_event): Delete.
412 (update_wait_timeout): New function, factored out from
413 poll_timers.
414 (poll_timers): Reimplement.
415 * event-loop.h (initialize_event_loop): Delete declaration.
416 * top.c (gdb_init): Don't call initialize_event_loop.
417
418 2015-02-03 Pedro Alves <palves@redhat.com>
419
420 * event-loop.c (clear_async_event_handler): New function.
421 * event-loop.h (clear_async_event_handler): New declaration.
422 * record-btrace.c (record_btrace_async): New function.
423 (init_record_btrace_ops): Install record_btrace_async.
424 * record-full.c (record_full_async): New function.
425 (record_full_resume): Don't mark the async event source here.
426 (init_record_full_ops): Install record_full_async.
427 (record_full_core_resume): Don't mark the async event source here.
428 (init_record_full_core_ops): Install record_full_async.
429 * remote.c (remote_async): Mark and clear the async stop reply
430 queue event-loop token as appropriate.
431
432 2015-02-03 Pedro Alves <palves@redhat.com>
433
434 * linux-nat.c (linux_child_follow_fork, linux_nat_wait_1): Use
435 target_is_async_p instead of target_can_async.
436 (linux_nat_wait): Use target_is_async_p instead of
437 target_can_async. Don't enable async here.
438 * remote.c (interrupt_query, remote_wait, putpkt_binary): Use
439 target_is_async_p instead of target_can_async.
440
441 2015-02-02 Simon Marchi <simon.marchi@ericsson.com>
442
443 * varobj.h (lang_varobj_ops): Mention which return values need
444 to be freed.
445
446 2015-02-02 Joel Brobecker <brobecker@adacore.com>
447
448 * dwarf2loc.c (dwarf2_evaluate_property): Add i18n marker.
449
450 2015-02-02 Joel Brobecker <brobecker@adacore.com>
451
452 PR gdb/17856:
453 * ada-lang.c (ada_lookup_symbol_list_worker): Do not re-cache
454 results found in the cache.
455
456 2015-02-02 Joel Brobecker <brobecker@adacore.com>
457
458 PR gdb/17854:
459 * ada-lang.c (ada_get_symbol_cache): Set pspace_data->sym_cache
460 when allocating a new one.
461
462 2015-02-01 Tom Tromey <tom@tromey.com>
463
464 * MAINTAINERS: Remove myself.
465
466 2015-01-31 Doug Evans <xdje42@gmail.com>
467
468 * dwarf2read.c (process_structure_scope): Update setting of
469 TYPE_VPTR_BASETYPE, TYPE_VPTR_FIELDNO.
470 * gdbtypes.c (internal_type_vptr_fieldno): New function.
471 (set_type_vptr_fieldno): New function.
472 (internal_type_vptr_basetype): New function.
473 (set_type_vptr_basetype): New function.
474 (get_vptr_fieldno): Update setting of TYPE_VPTR_FIELDNO,
475 TYPE_VPTR_BASETYPE.
476 (allocate_cplus_struct_type): Initialize vptr_fieldno.
477 (recursive_dump_type): Printing of vptr_fieldno, vptr_basetype ...
478 (print_cplus_stuff): ... moved here.
479 (copy_type_recursive): Don't copy TYPE_VPTR_BASETYPE.
480 * gdbtypes.h (struct main_type): Members vptr_fieldno, vptr_basetype
481 moved to ...
482 (struct cplus_struct_type): ... here. All uses updated.
483 (TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE): Rewrite.
484 (internal_type_vptr_fieldno, set_type_vptr_fieldno): Declare.
485 (internal_type_vptr_basetype, set_type_vptr_basetype): Declare.
486 * stabsread.c (read_tilde_fields): Update setting of
487 TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE.
488
489 2015-01-31 Doug Evans <xdje42@gmail.com>
490
491 * cp-valprint.c (cp_find_class_member): Rename parameter domain_p
492 to self_p.
493 (cp_print_class_member): Rename local domain to self_type.
494 * dwarf2read.c (quirk_gcc_member_function_pointer): Rename local
495 domain_type to self_type.
496 (set_die_type) <need_gnat_info>: Handle
497 TYPE_CODE_METHODPTR, TYPE_CODE_MEMBERPTR, TYPE_CODE_METHOD.
498 * gdb-gdb.py (StructMainTypePrettyPrinter): Handle
499 TYPE_SPECIFIC_SELF_TYPE.
500 * gdbtypes.c (internal_type_self_type): New function.
501 (set_type_self_type): New function.
502 (smash_to_memberptr_type): Rename parameter domain to self_type.
503 Update setting of TYPE_SELF_TYPE.
504 (smash_to_methodptr_type): Update setting of TYPE_SELF_TYPE.
505 (smash_to_method_type): Rename parameter domain to self_type.
506 Update setting of TYPE_SELF_TYPE.
507 (check_stub_method): Call smash_to_method_type.
508 (recursive_dump_type): Handle TYPE_SPECIFIC_SELF_TYPE.
509 (copy_type_recursive): Ditto.
510 * gdbtypes.h (enum type_specific_kind): New value
511 TYPE_SPECIFIC_SELF_TYPE.
512 (struct main_type) <type_specific>: New member self_type.
513 (struct cplus_struct_type) <fn_field.type>: Update comment.
514 (TYPE_SELF_TYPE): Rewrite.
515 (internal_type_self_type, set_type_self_type): Declare.
516 * gnu-v3-abi.c (gnuv3_print_method_ptr): Rename local domain to
517 self_type.
518 (gnuv3_method_ptr_to_value): Rename local domain_type to self_type.
519 * m2-typeprint.c (m2_range): Replace TYPE_SELF_TYPE with
520 TYPE_TARGET_TYPE.
521 * stabsread.c (read_member_functions): Mark methods with
522 TYPE_CODE_METHOD, not TYPE_CODE_FUNC. Update setting of
523 TYPE_SELF_TYPE.
524
525 2015-01-31 Doug Evans <xdje42@gmail.com>
526
527 * gdbtypes.h (TYPE_SELF_TYPE): Renamed from TYPE_DOMAIN_TYPE.
528 All uses updated.
529
530 2015-01-31 Doug Evans <xdje42@gmail.com>
531
532 * gnu-v3-abi.c (gnuv3_dynamic_class): Assert only passed structs
533 or unions. Return zero if union.
534 (gnuv3_get_vtable): Call check_typedef. Assert only passed structs.
535 (gnuv3_rtti_type): Pass already-check_typedef'd value to
536 gnuv3_get_vtable.
537 (compute_vtable_size): Assert only passed structs.
538 (gnuv3_print_vtable): Don't call gnuv3_get_vtable for non-structs.
539
540 2015-01-31 Doug Evans <xdje42@gmail.com>
541
542 * gdbtypes.c (copy_type_recursive): Handle all TYPE_SPECIFIC_FIELD
543 kinds.
544
545 2015-01-31 Gary Benson <gbenson@redhat.com>
546 Doug Evans <dje@google.com>
547
548 PR cli/9007
549 PR cli/11920
550 PR cli/15548
551 * cli/cli-cmds.c (complete_command): Notify user if max-completions
552 reached.
553 * common/common-exceptions.h (enum errors)
554 <MAX_COMPLETIONS_REACHED_ERROR>: New value.
555 * completer.h (get_max_completions_reached_message): New declaration.
556 (max_completions): Likewise.
557 (completion_tracker_t): New typedef.
558 (new_completion_tracker): New declaration.
559 (make_cleanup_free_completion_tracker): Likewise.
560 (maybe_add_completion_enum): New enum.
561 (maybe_add_completion): New declaration.
562 (throw_max_completions_reached_error): Likewise.
563 * completer.c (max_completions): New global variable.
564 (new_completion_tracker): New function.
565 (free_completion_tracker): Likewise.
566 (make_cleanup_free_completion_tracker): Likewise.
567 (maybe_add_completions): Likewise.
568 (throw_max_completions_reached_error): Likewise.
569 (complete_line): Remove duplicates and limit result to max_completions
570 entries.
571 (get_max_completions_reached_message): New function.
572 (gdb_display_match_list): Handle max_completions.
573 (_initialize_completer): New declaration and function.
574 * symtab.c: Include completer.h.
575 (completion_tracker): New static variable.
576 (completion_list_add_name): Call maybe_add_completion.
577 (default_make_symbol_completion_list_break_on_1): Renamed from
578 default_make_symbol_completion_list_break_on. Maintain
579 completion_tracker across calls to completion_list_add_name.
580 (default_make_symbol_completion_list_break_on): New function.
581 * top.c (init_main): Set rl_completion_display_matches_hook.
582 * tui/tui-io.c: Include completer.h.
583 (tui_old_rl_display_matches_hook): New static global.
584 (tui_rl_display_match_list): Notify user if max-completions reached.
585 (tui_setup_io): Save/restore rl_completion_display_matches_hook.
586 * NEWS (New Options): Mention set/show max-completions.
587
588 2015-01-31 Gary Benson <gbenson@redhat.com>
589
590 * symtab.c (struct add_name_data) <code>: New field.
591 Updated comments.
592 (add_symtab_completions): New function.
593 (symtab_expansion_callback): Likewise.
594 (default_make_symbol_completion_list_break_on): Set datum.code.
595 Move minimal symbol scan before calling expand_symtabs_matching.
596 Scan known primary symtabs for externs and statics before calling
597 expand_symtabs_matching. Pass symtab_expansion_callback as
598 expansion_notify argument to expand_symtabs_matching. Do not scan
599 primary symtabs for externs and statics after calling
600 expand_symtabs_matching.
601
602 2015-01-31 Gary Benson <gbenson@redhat.com>
603
604 * symfile.h (expand_symtabs_exp_notify_ftype): New typedef.
605 (struct quick_symbol_functions) <expand_symtabs_matching>:
606 New argument expansion_notify. All uses updated.
607 (expand_symtabs_matching): New argument expansion_notify.
608 All uses updated.
609 * symfile-debug.c (debug_qf_expand_symtabs_matching):
610 Also print expansion notify.
611 * symtab.c (expand_symtabs_matching_via_partial): Call
612 expansion_notify whenever a partial symbol table is expanded.
613 * dwarf2read.c (dw2_expand_symtabs_matching): Call
614 expansion_notify whenever a symbol table is instantiated.
615
616 2015-01-31 Doug Evans <xdje42@gmail.com>
617
618 * cli-out.c: #include completer.h, readline/readline.h.
619 (cli_mld_crlf, cli_mld_putch, cli_mld_puts): New functions.
620 (cli_mld_flush, cld_mld_erase_entire_line): Ditto.
621 (cli_mld_beep, cli_mld_read_key, cli_display_match_list): Ditto.
622 * cli-out.h (cli_display_match_list): Declare.
623 * completer.c (MB_INVALIDCH, MB_NULLWCH): New macros.
624 (ELLIPSIS_LEN): Ditto.
625 (gdb_get_y_or_n, gdb_display_match_list_pager): New functions.
626 (gdb_path_isdir, gdb_printable_part, gdb_fnwidth): Ditto.
627 (gdb_fnprint, gdb_print_filename): Ditto.
628 (gdb_complete_get_screenwidth, gdb_display_match_list_1): Ditto.
629 (gdb_display_match_list): Ditto.
630 * completer.h (mld_crlf_ftype, mld_putch_ftype): New typedefs.
631 (mld_puts_ftype, mld_flush_ftype, mld_erase_entire_line_ftype): Ditto.
632 (mld_beep_ftype, mld_read_key_ftype): Ditto.
633 (match_list_displayer): New struct.
634 (gdb_display_match_list): Declare.
635 * top.c (init_main): Set rl_completion_display_matches_hook.
636 * tui/tui-io.c: #include completer.h.
637 (printable_part, PUTX, print_filename, get_y_or_n): Delete.
638 (tui_mld_crlf, tui_mld_putch, tui_mld_puts): New functions.
639 (tui_mld_flush, tui_mld_erase_entire_line, tui_mld_beep): Ditto.
640 (tui_mld_getc, tui_mld_read_key): Ditto.
641 (tui_rl_display_match_list): Rewrite.
642 (tui_handle_resize_during_io): New arg for_completion. All callers
643 updated.
644
645 2015-01-31 Doug Evans <xdje42@gmail.com>
646
647 Add symbol lookup cache.
648 * NEWS: Document new options and commands.
649 * symtab.c (symbol_cache_key): New static global.
650 (DEFAULT_SYMBOL_CACHE_SIZE, MAX_SYMBOL_CACHE_SIZE): New macros.
651 (SYMBOL_LOOKUP_FAILED): New macro.
652 (symbol_cache_slot_state): New enum.
653 (block_symbol_cache): New struct.
654 (symbol_cache): New struct.
655 (new_symbol_cache_size, symbol_cache_size): New static globals.
656 (hash_symbol_entry, eq_symbol_entry): New functions.
657 (symbol_cache_byte_size, resize_symbol_cache): New functions.
658 (make_symbol_cache, free_symbol_cache): New functions.
659 (get_symbol_cache, symbol_cache_cleanup): New function.
660 (set_symbol_cache_size, set_symbol_cache_size_handler): New functions.
661 (symbol_cache_lookup, symbol_cache_clear_slot): New function.
662 (symbol_cache_mark_found, symbol_cache_mark_not_found): New functions.
663 (symbol_cache_flush, symbol_cache_dump): New functions.
664 (maintenance_print_symbol_cache): New function.
665 (maintenance_flush_symbol_cache): New function.
666 (symbol_cache_stats): New function.
667 (maintenance_print_symbol_cache_statistics): New function.
668 (symtab_new_objfile_observer): New function.
669 (symtab_free_objfile_observer): New function.
670 (lookup_static_symbol, lookup_global_symbol): Use symbol cache.
671 (_initialize_symtab): Init symbol_cache_key. New parameter
672 maint symbol-cache-size. New maint commands print symbol-cache,
673 print symbol-cache-statistics, flush-symbol-cache.
674 Install new_objfile, free_objfile observers.
675
676 2015-01-31 Joel Brobecker <brobecker@adacore.com>
677
678 PR symtab/17855
679 * symfile.c (clear_symtab_users): Move call to breakpoint_re_set
680 to end.
681
682 2015-01-31 Doug Evans <xdje42@gmail.com>
683
684 * NEWS: Mention inlined scripts in .debug_gdb_scripts section.
685 * auto-load.c: #include ctype.h.
686 (struct auto_load_pspace_info): Replace member loaded_scripts with
687 new members loaded_script_files, loaded_script_texts.
688 (auto_load_pspace_data_cleanup): Update.
689 (init_loaded_scripts_info): Update.
690 (get_auto_load_pspace_data_for_loading): Update.
691 (maybe_add_script_file): Renamed from maybe_add_script. All callers
692 updated.
693 (maybe_add_script_text): New function.
694 (clear_section_scripts): Update.
695 (source_script_file, execute_script_contents): New functions.
696 (source_section_scripts): Add support for
697 SECTION_SCRIPT_ID_PYTHON_TEXT, SECTION_SCRIPT_ID_GUILE_TEXT.
698 (print_scripts): New function.
699 (auto_load_info_scripts): Also print inlined scripts.
700 (maybe_print_unsupported_script_warning): Renamed from
701 unsupported_script_warning_print. All callers updated.
702 (maybe_print_script_not_found_warning): Renamed from
703 script_not_found_warning_print. All callers updated.
704 * extension-priv.h (struct extension_language_script_ops): New member
705 objfile_script_executor.
706 * extension.c (ext_lang_objfile_script_executor): New function.
707 * extension.h (objfile_script_executor_func): New typedef.
708 (ext_lang_objfile_script_executor): Declare.
709 * guile/guile-internal.h (gdbscm_execute_objfile_script): Declare.
710 * guile/guile.c (guile_extension_script_ops): Update.
711 * guile/scm-objfile.c (gdbscm_execute_objfile_script): New function.
712 * python/python.c (python_extension_script_ops): Update.
713 (gdbpy_execute_objfile_script): New function.
714
715 2015-01-31 Eli Zaretskii <eliz@gnu.org>
716
717 * tui/tui-io.c (tui_expand_tabs): New function.
718 (tui_puts, tui_redisplay_readline): Expand TABs into the
719 appropriate number of spaces.
720 * tui/tui-regs.c: Include tui-io.h.
721 (tui_register_format): Call tui_expand_tabs to expand TABs into
722 the appropriate number of spaces.
723 * tui/tui-io.h: Add prototype for tui_expand_tabs.
724
725 2015-01-30 Doug Evans <dje@google.com>
726
727 * NEWS: "info source" command now display producer string if present.
728 * source.c (source_info): Print producer string if present.
729
730 2015-01-30 Simon Marchi <simon.marchi@ericsson.com>
731
732 * varobj.c (varobj_delete): Fix comment.
733
734 2015-01-30 Simon Marchi <simon.marchi@ericsson.com>
735
736 * varobj.c (create_child): Modify comment.
737
738 2015-01-30 Simon Marchi <simon.marchi@ericsson.com>
739
740 * ada-varobj.c (ada_number_of_children): Constify struct varobj *
741 parameter.
742 (ada_name_of_variable): Same.
743 (ada_path_expr_of_child): Same.
744 (ada_value_of_variable): Same.
745 (ada_value_is_changeable_p): Same.
746 (ada_value_has_mutated): Same.
747 * c-varobj.c (varobj_is_anonymous_child): Same.
748 (c_is_path_expr_parent): Same.
749 (c_number_of_children): Same.
750 (c_name_of_variable): Same.
751 (c_path_expr_of_child): Same.
752 (get_type): Same.
753 (c_value_of_variable): Same.
754 (cplus_number_of_children): Same.
755 (cplus_name_of_variable): Same.
756 (cplus_path_expr_of_child): Same.
757 (cplus_value_of_variable): Same.
758 * jv-varobj.c (java_number_of_children): Same.
759 (java_name_of_variable): Same.
760 (java_path_expr_of_child): Same.
761 (java_value_of_variable): Same.
762 * varobj.c (number_of_children): Same.
763 (name_of_variable): Same.
764 (is_root_p): Same.
765 (varobj_ensure_python_env): Same.
766 (varobj_get_objname): Same.
767 (varobj_get_expression): Same.
768 (varobj_get_display_format): Same.
769 (varobj_get_display_hint): Same.
770 (varobj_has_more): Same.
771 (varobj_get_thread_id): Same.
772 (varobj_get_frozen): Same.
773 (dynamic_varobj_has_child_method): Same.
774 (varobj_get_gdb_type): Same.
775 (is_path_expr_parent): Same.
776 (varobj_default_is_path_expr_parent): Same.
777 (varobj_get_language): Same.
778 (varobj_get_attributes): Same.
779 (varobj_is_dynamic_p): Same.
780 (varobj_get_child_range): Same.
781 (varobj_value_has_mutated): Same.
782 (varobj_get_value_type): Same.
783 (number_of_children): Same.
784 (name_of_variable): Same.
785 (check_scope): Same.
786 (varobj_editable_p): Same.
787 (varobj_value_is_changeable_p): Same.
788 (varobj_floating_p): Same.
789 (varobj_default_value_is_changeable_p): Same.
790
791 2015-01-30 Simon Marchi <simon.marchi@ericsson.com>
792
793 * varobj.c (varobj_get_path_expr): Set var->path_expr.
794 * c-varobj.c (c_path_expr_of_child): Set local var instead of
795 child->path_expr.
796 (cplus_path_expr_of_child): Same.
797
798 2015-01-30 Simon Marchi <simon.marchi@ericsson.com>
799
800 * mi-cmd-var.c (print_varobj): Free varobj_get_expression
801 result.
802 (mi_cmd_var_info_expression): Same.
803 * varobj.c (varobj_get_expression): Mention in the comment that
804 the result must by freed by the caller.
805
806 2015-01-30 Simon Marchi <simon.marchi@ericsson.com>
807
808 * mi/mi-cmd-var.c (mi_cmd_var_info_type): Free result of
809 varobj_get_type.
810 (varobj_update_one): Same.
811 * varobj.c (update_type_if_necessary): Free curr_type_str and
812 new_type_str.
813 (varobj_get_type): Specify in comment that the result needs to be
814 freed by the caller.
815
816 2015-01-29 Doug Evans <dje@google.com>
817
818 PR symtab/17890
819 * dwarf2read.c (dwarf_decode_line_header): Punt if version > 4.
820
821 2015-01-25 Mark Wielaard <mjw@redhat.com>
822
823 * dwarf2read.c (checkproducer): Call producer_is_gcc.
824 * utils.c (producer_is_gcc_ge_4): Likewise.
825 (producer_is_gcc): New function.
826 * utils.h (producer_is_gcc): New declaration.
827
828 2015-01-29 Joel Brobecker <brobecker@adacore.com>
829
830 * gdbtypes.h (struct dynamic_prop): New PROP_ADDR_OFFSET enum
831 kind.
832 * gdbtypes.c (resolve_dynamic_type_internal): Replace "addr"
833 parameter by "addr_stack" parameter.
834 (resolve_dynamic_range): Replace "addr" parameter by
835 "stack_addr" parameter. Update function documentation.
836 Update code accordingly.
837 (resolve_dynamic_array, resolve_dynamic_union)
838 (resolve_dynamic_struct, resolve_dynamic_type_internal): Likewise.
839 (resolve_dynamic_type): Update code, following the changes made
840 to resolve_dynamic_type_internal's interface.
841 * dwarf2loc.h (struct property_addr_info): New.
842 (dwarf2_evaluate_property): Replace "address" parameter
843 by "addr_stack" parameter. Adjust function documentation.
844 (struct dwarf2_offset_baton): New.
845 (struct dwarf2_property_baton): Update documentation of
846 field "referenced_type" to be more general. New field
847 "offset_info" in union data field.
848 * dwarf2loc.c (dwarf2_evaluate_property): Replace "address"
849 parameter by "addr_stack" parameter. Adjust code accordingly.
850 Add support for PROP_ADDR_OFFSET properties.
851 * dwarf2read.c (attr_to_dynamic_prop): Add support for
852 DW_AT_data_member_location attributes as well. Use case
853 statements instead of if/else condition.
854
855 2015-01-29 Joel Brobecker <brobecker@adacore.com>
856
857 * ada-varobj.c (ada_varobj_get_array_number_of_children):
858 Return zero if PARENT_VALUE is NULL and parent_type's
859 range type is dynamic.
860
861 2015-01-29 Joel Brobecker <brobecker@adacore.com>
862
863 * gdbtypes.c (is_dynamic_type_internal) <TYPE_CODE_RANGE>: Return
864 nonzero if the type's subtype is dynamic.
865 (resolve_dynamic_range): Also resolve the range's subtype.
866
867 2015-01-29 Alexander Klimov <alserkli@inbox.ru> (tiny patch)
868
869 Pushed by Joel Brobecker <brobecker@adacore.com>.
870 * symfile.c (unmap_overlay_command): Initialize sec to NULL.
871
872 2015-01-27 Doug Evans <dje@google.com>
873
874 * NEWS: Mention gdb.Objfile.username.
875 * python/py-objfile.c (objfpy_get_username): New function.
876 (objfile_getset): Add "username".
877
878 2015-01-24 Mark Wielaard <mjw@redhat.com>
879
880 * stack.c (return_command): Markup warning message with _.
881
882 2015-01-24 Doug Evans <xdje42@gmail.com>
883
884 * gdbtypes.h (TYPE_TYPE_SPECIFIC): Delete.
885
886 2015-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
887
888 Fix 100x slowdown regression on DWZ files.
889 * dwarf2read.c (struct dwarf2_per_objfile): Add line_header_hash.
890 (struct line_header): Add offset and offset_in_dwz.
891 (dwarf_decode_lines): Add parameter decode_mapping to the declaration.
892 (free_line_header_voidp): New declaration.
893 (line_header_hash, line_header_hash_voidp, line_header_eq_voidp): New
894 functions.
895 (dwarf2_build_include_psymtabs): Update dwarf_decode_lines caller.
896 (handle_DW_AT_stmt_list): Use line_header_hash.
897 (free_line_header_voidp): New function.
898 (dwarf_decode_line_header): Initialize offset and offset_in_dwz.
899 (dwarf_decode_lines): New parameter decode_mapping, use it.
900 (dwarf2_free_objfile): Free line_header_hash.
901
902 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
903
904 PR gdb/17416
905 * valops.c (value_rtti_indirect_type): Catch exception thrown by
906 value_ind.
907
908 2015-01-15 Mark Wielaard <mjw@redhat.com>
909
910 * dwarf2read.c (read_subroutine_type): Set TYPE_NO_RETURN from
911 DW_AT_noreturn.
912 * gdbtypes.h (struct func_type): Add is_noreturn field flag. Make
913 calling_convention an 8 bit bit field.
914 (TYPE_NO_RETURN): New macro.
915 * infcmd.c (finish_command): Query if function does not return
916 normally.
917 * stack.c (return_command): Likewise.
918
919 2015-01-23 Pedro Alves <palves@redhat.com>
920
921 * linux-nat.c (linux_is_async_p): New macro.
922 (linux_nat_is_async_p):
923 (linux_nat_terminal_inferior): Check whether the target can async
924 instead of whether it is already async.
925 (linux_nat_terminal_ours): Don't check whether the target is
926 async.
927 (linux_async_pipe): Use linux_is_async_p.
928
929 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
930
931 * NEWS (Changes since GDB 7.9): Add 'thread apply all' option
932 '-ascending'.
933 * thread.c (tp_array_compar_ascending, tp_array_compar): New.
934 (thread_apply_all_command): Parse CMD for tp_array_compar_ascending.
935 Sort tp_array using tp_array_compar.
936 (_initialize_thread): Extend thread_apply_all_command help.
937
938 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
939
940 * corelow.c (core_open): Call also thread_command.
941 * gdbthread.h (thread_command): New prototype moved from ...
942 * thread.c (thread_command): ... here.
943 (thread_command): Make it global.
944
945 2015-01-22 Pedro Alves <palves@redhat.com>
946
947 * configure.ac [*mingw32*]: Check $curses_found instead of
948 $prefer_curses.
949 * configure: Regenerate.
950 * windows-termcap.c: Remove HAVE_CURSES_H, HAVE_NCURSES_H and
951 HAVE_NCURSES_NCURSES_H checks.
952
953 2015-01-22 Eli Zaretskii <eliz@gnu.org>
954
955 * tui/tui.c (tui_enable) [__MINGW32__]: If the call to 'newterm'
956 fails with the 1st arg NULL, try again with "unknown". Don't test
957 the "cup" capability: it isn't supported by the Windows port of
958 ncurses, but the Windows console driver is still capable of
959 supporting TUI.
960
961 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
962
963 * compile/compile.c (_initialize_compile): Use -fPIE for compile_args.
964
965 2015-01-22 Eli Zaretskii <eliz@gnu.org>
966
967 * Makefile.in (HFILES_NO_SRCDIR): Remove ada-varobj.h.
968 (ALLDEPFILES): Remove irix5-nat.c. These two are part of the
969 reason that "make TAGS" is broken.
970
971 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
972
973 * hppa-tdep.c (inst_saves_gr): Fix logical working flow issues
974 and check additional store instructions.
975
976 2015-01-21 Wei-cheng Wang <cole945@gmail.com>
977
978 * MAINTAINERS (Write After Approval): Add "Wei-cheng Wang".
979
980 2015-01-21 Wei-cheng Wang <cole945@gmail.com>
981
982 * ppc-linux-tdep.c (ppc_skip_trampoline_code,
983 ppc_canonicalize_syscall, ppc_linux_syscall_record,
984 ppc_linux_record_signal, ppc_init_linux_record_tdep): Add comments.
985 * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
986 * rs6000-tdep.c (rs6000_epilogue_frame_cache,
987 rs6000_epilogue_frame_this_id, rs6000_epilogue_frame_prev_register,
988 rs6000_epilogue_frame_sniffer, ppc_record_vsr, ppc_process_record_op4,
989 ppc_process_record_op19, ppc_process_record_op31,
990 ppc_process_record_op59, ppc_process_record_op60,
991 ppc_process_record_op63): Likewise.
992
993 2015-01-20 Joel Brobecker <brobecker@adacore.com>
994
995 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason_string)
996 (linux_ptrace_test_ret_to_nx): Use safe_strerror instead of
997 strerror.
998
999 2015-01-20 Wei-cheng Wang <cole945@gmail.com>
1000
1001 * rs6000-tdep.c (ppc_process_record_op4, ppc_process_record_op19,
1002 ppc_process_record_op31, ppc_process_record_op59,
1003 ppc_process_record_op60, ppc_process_record_op63,
1004 ppc_process_record): Fix -Wformat warning.
1005 * rs6000-tdep.c (rs6000_epilogue_frame_cache, ppc_process_record_op60):
1006 Remove unused variables.
1007
1008 2015-01-20 Chen Gang <gang.chen.5i5j@gmail.com>
1009
1010 * MAINTAINERS (Write After Approval): Add "Chen Gang".
1011
1012 2015-01-19 Eli Zaretskii <eliz@gnu.org>
1013
1014 * configure.ac [*mingw32*]: Only add windows-termcap.o to
1015 CONFIG_OBS if not building with a curses library.
1016 * configure: Regenerate.
1017
1018 * windows-termcap.c: Include defs.h. Make the whole body empty if
1019 either one of HAVE_CURSES_H or HAVE_NCURSES_H or
1020 HAVE_NCURSES_NCURSES_H is defined.
1021
1022 2015-01-19 Joel Brobecker <brobecker@adacore.com>
1023
1024 * rs6000-tdep.c (rs6000_gdbarch_init): Move divide operator
1025 from end of line to start of next line.
1026
1027 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
1028
1029 * ppc-linux-tdep.c (ppc_skip_trampoline_code):
1030 Scan PLT stub backward for reverse debugging.
1031 * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
1032
1033 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
1034 Ulrich Weigand <uweigand@de.ibm.com>
1035
1036 * configure.tgt (powerpc*-*-linux): Add linux-record.o to
1037 gdb_target_obs.
1038 (ppc_linux_record_tdep, ppc64_linux_record_tdep): New for linux syscall
1039 record.
1040 (ppc_canonicalize_syscall, ppc_linux_syscall_record,
1041 ppc_linux_record_signal, ppc_init_linux_record_tdep): New functions.
1042 (ppc_linux_init_abi): Set process_record, process_record_signal.
1043 * ppc-tdep.h (struct gdbarch_tdep): Add ppc_syscall_record and
1044 ppc_linux_record_tdep to gdbarch_tdep.
1045 (ppc_process_record): New declaration.
1046 * rs6000-tdep.c (ppc_record_vsr, ppc_process_record_op4,
1047 ppc_process_record_op19, ppc_process_record_op31,
1048 ppc_process_record_op59, ppc_process_record_op60,
1049 ppc_process_record_op63, ppc_process_record): New functions.
1050
1051 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
1052
1053 * rs6000-tdep.c (rs6000_in_function_epilogue_p): Rename to
1054 rs6000_in_function_epilogue_frame_p and add an argument
1055 for frame_info.
1056 (rs6000_epilogue_frame_cache, rs6000_epilogue_frame_this_id,
1057 rs6000_epilogue_frame_prev_register, rs6000_epilogue_frame_sniffer):
1058 New functions.
1059 (rs6000_epilogue_frame_unwind): New.
1060 (rs6000_gdbarch_init): Append epilogue unwinder.
1061
1062 2015-01-16 Sergio Durigan Junior <sergiodj@redhat.com>
1063
1064 * nat/linux-personality.c: Replace "#ifndef
1065 HAVE_DECL_ADDR_NO_RANDOMIZE" by "#if
1066 !HAVE_DECL_ADDR_NO_RANDOMIZE", fixing a regression in RHEL-5
1067 systems.
1068
1069 2015-01-16 Eli Zaretskii <eliz@gnu.org>
1070
1071 * tui/tui-win.c (tui_rehighlight_all, tui_set_var_cmd): New
1072 functions.
1073 (_initialize_tui_win) <border-kind, border-mode>:
1074 <active-border-mode>: Use tui_set_var_cmd as the "set" function.
1075 (tui_set_tab_width_command): Fix the commentary.
1076
1077 * tui/tui-win.h: Add prototype for tui_rehighlight_all.
1078
1079 * tui/tui-win.c (tui_scroll_left_command, tui_scroll_right_command):
1080 Doc fix.
1081 (tui_set_tab_width_command): Delete and recreate the source and
1082 the disassembly windows, to show the effect of the changed tab
1083 size immediately.
1084
1085 * tui/tui-data.h (LINE_PREFIX): Make shorter
1086 (MAX_PID_WIDTH): Enlarge from 14 to 19, to leave enough space for
1087 "Thread NNNNN.XXXX" thread ID notation on Windows.
1088
1089 2015-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1090
1091 Fix gcc-5 compilation.
1092 * hppa-tdep.c (inst_saves_gr): Fix parentheses typo.
1093
1094 2015-01-15 Sergio Durigan Junior <sergiodj@redhat.com>
1095
1096 * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-personality.h.
1097 (linux-personality.o): New rule.
1098 * common/common-defs.h: Include <stdint.h>.
1099 * config/aarch64/linux.mh (NATDEPFILES): Include
1100 linux-personality.o.
1101 * config/alpha/alpha-linux.mh (NATDEPFILES): Likewise.
1102 * config/arm/linux.mh (NATDEPFILES): Likewise.
1103 * config/i386/linux64.mh (NATDEPFILES): Likewise.
1104 * config/i386/linux.mh (NATDEPFILES): Likewise.
1105 * config/ia64/linux.mh (NATDEPFILES): Likewise.
1106 * config/m32r/linux.mh (NATDEPFILES): Likewise.
1107 * config/m68k/linux.mh (NATDEPFILES): Likewise.
1108 * config/mips/linux.mh (NATDEPFILES): Likewise.
1109 * config/pa/linux.mh (NATDEPFILES): Likewise.
1110 * config/powerpc/linux.mh (NATDEPFILES): Likewise.
1111 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
1112 * config/powerpc/spu-linux.mh (NATDEPFILES): Likewise.
1113 * config/s390/linux.mh (NATDEPFILES): Likewise.
1114 * config/sparc/linux64.mh (NATDEPFILES): Likewise.
1115 * config/sparc/linux.mh (NATDEPFILES): Likewise.
1116 * config/tilegx/linux.mh (NATDEPFILES): Likewise.
1117 * config/xtensa/linux.mh (NATDEPFILES): Likewise.
1118 * defs.h: Remove #include <stdint.h> (moved to
1119 common/common-defs.h).
1120 * linux-nat.c: Include nat/linux-personality.h. Remove #include
1121 <sys/personality.h>; do not define ADDR_NO_RANDOMIZE (moved to
1122 nat/linux-personality.c).
1123 (linux_nat_create_inferior): Remove code to disable address space
1124 randomization (moved to nat/linux-personality.c). Create cleanup
1125 to disable address space randomization.
1126 * nat/linux-personality.c: New file.
1127 * nat/linux-personality.h: Likewise.
1128
1129 2015-01-15 Sergio Durigan Junior <sergiodj@redhat.com>
1130
1131 * Makefile.in (ALLDEPFILES): Including common/mingw-strerror.c and
1132 common/posix-strerror.c.
1133 (posix-strerror.o): New rule.
1134 (mingw-strerror.o): Likewise.
1135 * common/common-utils.h (safe_strerror): Move prototype to here,
1136 from utils.h.
1137 * common/common.host: New file.
1138 * common/mingw-strerror.c: Likewise.
1139 * common/posix-strerror.c: Likewise.
1140 * configure: Regenerated.
1141 * configure.ac: Source common/common.host. Add variable
1142 common_host_obs to gdb_host_obs.
1143 * contrib/ari/gdb_ari.sh: Mention gdb/common/mingw-strerror.c and
1144 gdb/common/posix-strerror.c when warning about the use of
1145 strerror.
1146 * mingw-hdep.c (safe_strerror): Remove definition; move it to
1147 common/mingw-strerror.c.
1148 * posix-hdep.c (safe_strerror): Remove definition; move it to
1149 common/posix-hdep.c.
1150 * utils.h (safe_strerror): Remove prototype; move to
1151 common/common-utils.h.
1152
1153 2015-01-15 Joel Brobecker <brobecker@adacore.com>
1154
1155 GDB 7.8.2 released.
1156
1157 2015-01-15 Joel Brobecker <brobecker@adacore.com>
1158
1159 * ada-lang.c (ada_array_bound_from_type): Ignore array's parallel
1160 ___XA type if the array has already been fixed.
1161
1162 2015-01-14 Yao Qi <yao@codesourcery.com>
1163
1164 * Makefile.in (ppc-linux.o): New rule.
1165 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add ppc-linux.o.
1166 * configure.ac: AC_CHECK_FUNCS(getauxval).
1167 * config.in: Re-generated.
1168 * configure: Re-generated.
1169 * nat/ppc-linux.h [__powerpc64__] (ppc64_64bit_inferior_p):
1170 Declare.
1171 * nat/ppc-linux.c: New file.
1172 * ppc-linux-nat.c (ppc_linux_target_wordsize) [__powerpc64__]:
1173 Call ppc64_64bit_inferior_p.
1174
1175 2015-01-14 Yao Qi <yao@codesourcery.com>
1176
1177 * ppc-linux-nat.c (PT_ORIG_R3, PT_TRAP): Move to
1178 nat/ppc-linux.h.
1179 (PPC_FEATURE_CELL, PPC_FEATURE_BOOKE): Likewise.
1180 (PPC_FEATURE_HAS_DFP): Likewise.
1181 (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Likewise.
1182 (PTRACE_GETVSXREGS, PTRACE_SETVSXREGS): Likewise.
1183 (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): Likewise.
1184 Include "nat/ppc-linux.h".
1185 * nat/ppc-linux.h: New file.
1186 * Makefile.in (HFILES_NO_SRCDIR): Add nat/ppc-linux.h.
1187
1188 2015-01-14 Pedro Alves <palves@redhat.com>
1189
1190 PR gdb/17525
1191 * breakpoint.c: Include "interps.h".
1192 (bpstat_do_actions_1): Also check whether the interpreter is
1193 async.
1194
1195 2015-01-14 Pedro Alves <palves@redhat.com>
1196
1197 PR cli/17828
1198 * infrun.c (reinstall_readline_callback_handler_cleanup): Don't
1199 reinstall if the interpreter is sync.
1200
1201 2015-01-13 Doug Evans <dje@google.com>
1202
1203 * objfiles.c (objfile_filename): New function.
1204 * objfiles.h (objfile_filename): Declare it.
1205 (objfile_name): Add function comment.
1206 * python/py-objfile.c (objfpy_lookup_objfile_by_name): Try both the
1207 bfd file name (which may be realpath'd), and the original name.
1208
1209 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1210
1211 * NEWS: Create a new section for the next release branch.
1212 Rename the section of the current branch, now that it has
1213 been cut.
1214
1215 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1216
1217 GDB 7.9 branch created (92fc2e6978d9a7c8324c7e851dbee59e22ec7a37):
1218 * version.in: Bump version to 7.9.50.DATE-cvs.
1219
1220 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1221
1222 * nat/linux-procfs.c (linux_proc_attach_tgid_threads):
1223 Remove trailing new-line in argument of call to warning.
1224
1225 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1226
1227 * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing
1228 new-line in argument of call to "warning".
1229
1230 2015-01-13 Joel Brobecker <brobecker@adacore.com>
1231
1232 * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found
1233 in static block, then try searching for primitive types.
1234
1235 2015-01-12 Patrick Palka <patrick@parcs.ath.cx>
1236
1237 * top.h (gdb_add_history): Declare.
1238 * top.c (command_count): New variable.
1239 (gdb_add_history): New function.
1240 (gdb_safe_append_history): New static function.
1241 (quit_force): Call it.
1242 (command_line_input): Use gdb_add_history instead of
1243 add_history.
1244 * event-top.c (command_line_handler): Likewise.
1245
1246 2015-01-12 James Clarke <jrtc27@jrtc27.com> (tiny patch)
1247
1248 PR gdb/17046
1249 * darwin-nat.c: Replace <machine/setjmp.h> #include by
1250 <setjmp.h> #include.
1251
1252 2015-01-11 Doug Evans <xdje42@gmail.com>
1253
1254 * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
1255
1256 2015-01-11 Doug Evans <xdje42@gmail.com>
1257
1258 PR gdb/15830
1259 * NEWS: The "maint demangle" command is renamed as "demangle".
1260 * demangle.c: #include cli/cli-utils.h, language.h.
1261 (demangle_command): New function.
1262 (_initialize_demangle): Add new command "demangle".
1263 * maint.c (maintenance_demangle): Stub out.
1264 (_initialize_maint_cmds): Update help text for "maint demangle",
1265 and mark as deprecated.
1266
1267 2015-01-11 Mark Kettenis <kettenis@gnu.org>
1268
1269 * inf-ptrace.c (inf_ptrace_follow_fork): Adjust now that
1270 inferior_thread is a function.
1271
1272 2015-01-09 Patrick Palka <patrick@parcs.ath.cx>
1273
1274 * Makefile.in (.y.c): Don't munge yacc's #line
1275 directives.
1276
1277 2015-01-09 Patrick Palka <patrick@parcs.ath.cx>
1278
1279 * utils.c (defaulted_query): Rewrite to use gdb_readline_wrapper
1280 to prompt for input.
1281 * tui/tui-hooks.c (tui_query_hook): Remove.
1282 (tui_install_hooks): Don't set deprecated_query_hook.
1283 * tui/tui-io.c (tui_redisplay_readline): Fix off-by-one error in
1284 height calculation. Always update the command window's cur_line.
1285
1286 2015-01-09 Pedro Alves <palves@redhat.com>
1287
1288 * breakpoint.c (hardware_breakpoint_inserted_here_p): New
1289 function.
1290 * breakpoint.h (hardware_breakpoint_inserted_here_p): New
1291 declaration.
1292 * linux-nat.c (linux_nat_status_is_event): Move higher up in file.
1293 (linux_resume_one_lwp): Store the thread's PC. Adjust to clear
1294 stop_reason.
1295 (check_stopped_by_watchpoint): New function.
1296 (save_sigtrap): Reimplement.
1297 (linux_nat_stopped_by_watchpoint): Adjust.
1298 (linux_nat_lp_status_is_event): Delete.
1299 (stop_wait_callback): Only call save_sigtrap after storing the
1300 pending status.
1301 (status_callback): If the thread had been stopped for a breakpoint
1302 that has since been removed, discard the event and resume the LWP.
1303 (count_events_callback, select_event_lwp_callback): Use
1304 lwp_status_pending_p instead of linux_nat_lp_status_is_event.
1305 (cancel_breakpoint): Rename to ...
1306 (check_stopped_by_breakpoint): ... this. Record whether the LWP
1307 stopped for a software breakpoint or hardware breakpoint.
1308 (select_event_lwp): Only give preference to the stepping LWP in
1309 all-stop mode. Adjust comments.
1310 (stop_and_resume_callback): Remove references to new_pending_p.
1311 (linux_nat_filter_event): Likewise. Leave exit events of the
1312 leader thread pending here. Handle signal short circuiting here.
1313 Only call save_sigtrap after storing the pending waitstatus.
1314 (linux_nat_wait_1): Remove 'retry' label. Remove references to
1315 new_pending. Don't handle leaving events the caller is not
1316 interested in pending here, nor handle signal short-circuiting
1317 here. Also give equal priority to all LWPs that have had events
1318 in non-stop mode. If reporting a software breakpoint event,
1319 unadjust the LWP's PC.
1320 * linux-nat.h (enum lwp_stop_reason): New.
1321 (struct lwp_info) <stop_pc>: New field.
1322 (struct lwp_info) <stopped_by_watchpoint>: Delete field.
1323 (struct lwp_info) <stop_reason>: New field.
1324 * x86-linux-nat.c (x86_linux_prepare_to_resume): Adjust.
1325
1326 2015-01-09 Pedro Alves <palves@redhat.com>
1327
1328 * linux-nat.c (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>:
1329 Set the LWP's 'resumed' flag.
1330
1331 2015-01-09 Pedro Alves <palves@redhat.com>
1332
1333 * linux-nat.c (linux_resume_one_lwp): New function.
1334 (resume_lwp): Use lwp_status_pending_p and linux_resume_one_lwp.
1335 (linux_nat_resume): Use lwp_status_pending_p and
1336 linux_resume_one_lwp.
1337 (linux_handle_syscall_trap): Use linux_resume_one_lwp.
1338 (linux_handle_extended_wait): Use linux_resume_one_lwp.
1339 (status_callback, running_callback): Use lwp_status_pending_p.
1340 (lwp_status_pending_p): New function.
1341 (stop_and_resume_callback): Use lwp_status_pending_p.
1342 (linux_nat_filter_event): Use linux_resume_one_lwp.
1343 (linux_nat_wait_1): Always use status_callback to look for an LWP
1344 with a pending status. Use linux_resume_one_lwp.
1345 (resume_stopped_resumed_lwps): Use lwp_status_pending_p and
1346 linux_resume_one_lwp.
1347
1348 2015-01-09 Pedro Alves <palves@redhat.com>
1349
1350 * breakpoint.c (bp_location_inserted_here_p): New function,
1351 factored out from ...
1352 (breakpoint_inserted_here_p): ... here. Use
1353 ALL_BP_LOCATIONS_AT_ADDR.
1354 (software_breakpoint_inserted_here_p): Use
1355 bp_location_inserted_here_p and ALL_BP_LOCATIONS_AT_ADDR.
1356
1357 2014-01-09 Pedro Alves <palves@redhat.com>
1358
1359 Skip enabling event reporting if the kernel supports
1360 PTRACE_EVENT_CLONE.
1361 * linux-thread-db.c: Include "nat/linux-ptrace.h".
1362 (thread_db_use_events): New function.
1363 (try_thread_db_load_1): Check thread_db_use_events before enabling
1364 event reporting.
1365 (update_thread_state): New function.
1366 (attach_thread): Use it. Check thread_db_use_events before
1367 enabling event reporting.
1368 (thread_db_detach): Check thread_db_use_events before disabling
1369 event reporting.
1370 (find_new_threads_callback): Check thread_db_use_events before
1371 enabling event reporting. Update the thread's state if not using
1372 libthread_db events.
1373
1374 2015-01-09 Pedro Alves <palves@redhat.com>
1375
1376 * linux-nat.c (lin_lwp_attach_lwp): Assert that the lwp id we're
1377 about to wait for is > 0.
1378 * linux-thread-db.c (find_new_threads_callback): Ignore thread if
1379 the kernel thread ID is -1.
1380
1381 2015-01-09 Pedro Alves <palves@redhat.com>
1382
1383 * linux-nat.c (attach_proc_task_lwp_callback): New function.
1384 (linux_nat_attach): Use linux_proc_attach_tgid_threads.
1385 (wait_lwp, linux_nat_filter_event): If not set yet, set the lwp's
1386 ptrace option flags.
1387 * linux-nat.h (struct lwp_info) <must_set_ptrace_flags>: New
1388 field.
1389 * nat/linux-procfs.c: Include <dirent.h>.
1390 (linux_proc_get_int): New parameter "warn". Handle it.
1391 (linux_proc_get_tgid): Adjust.
1392 (linux_proc_get_tracerpid): Rename to ...
1393 (linux_proc_get_tracerpid_nowarn): ... this.
1394 (linux_proc_pid_get_state): New function, factored out from
1395 (linux_proc_pid_has_state): ... this. Add new parameter "warn"
1396 and handle it.
1397 (linux_proc_pid_is_gone): New function.
1398 (linux_proc_pid_is_stopped): Adjust.
1399 (linux_proc_pid_is_zombie_maybe_warn)
1400 (linux_proc_pid_is_zombie_nowarn): New functions.
1401 (linux_proc_pid_is_zombie): Use
1402 linux_proc_pid_is_zombie_maybe_warn.
1403 (linux_proc_attach_tgid_threads): New function.
1404 * nat/linux-procfs.h (linux_proc_get_tgid): Update comment.
1405 (linux_proc_get_tracerpid): Rename to ...
1406 (linux_proc_get_tracerpid_nowarn): ... this, and update comment.
1407 (linux_proc_pid_is_gone): New declaration.
1408 (linux_proc_pid_is_zombie): Update comment.
1409 (linux_proc_pid_is_zombie_nowarn): New declaration.
1410 (linux_proc_attach_lwp_func): New typedef.
1411 (linux_proc_attach_tgid_threads): New declaration.
1412 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason): Adjust to
1413 use nowarn functions.
1414 (linux_ptrace_attach_fail_reason_string): Move here from
1415 gdbserver/linux-low.c and rename.
1416 (ptrace_supports_feature): If the current ptrace options are not
1417 known yet, check them now, instead of asserting.
1418 * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason_string):
1419 Declare.
1420
1421 2015-01-09 Pedro Alves <palves@redhat.com>
1422
1423 * linux-thread-db.c (thread_db_find_new_threads_silently)
1424 (try_thread_db_load_1, try_thread_db_load, thread_db_load_search)
1425 (find_new_threads_once): Print debug output on gdb_stdlog.
1426
1427 2015-01-09 Chen Gang <gang.chen.5i5j@gmail.com>
1428 Pedro Alves <palves@redhat.com>
1429
1430 * compile/compile.c: Include "gdb_wait.h".
1431 (do_rmdir): Check return value, and free 'zap'.
1432
1433 2015-01-08 Pedro Alves <palves@redhat.com>
1434 Yao Qi <yao@codesourcery.com>
1435
1436 * dwarf2loc.c (indirect_pieced_value): Don't call
1437 gdb_sign_extend. Call extract_signed_integer instead.
1438 * utils.c (gdb_sign_extend): Remove.
1439 * utils.h (gdb_sign_extend): Remove declaration.
1440
1441 2015-01-07 Pierre Muller <muller@sourceware.org>
1442
1443 PR symtab/17811
1444 * stabsread.c (define_symbol): Set language for C++ special symbols.
1445
1446 2015-01-07 Patrick Palka <patrick@parcs.ath.cx>
1447
1448 * inflow.c (initial_gdb_ttystate): Tweak comment.
1449
1450 2015-01-07 Joel Brobecker <brobecker@adacore.com>
1451
1452 * inflow.c (set_initial_gdb_ttystate): Add empty line after
1453 comment documenting function.
1454
1455 2015-01-07 Patrick Palka <patrick@parcs.ath.cx>
1456
1457 * terminal.h (set_initial_gdb_ttystate): Declare.
1458 * inflow.c (initial_gdb_ttystate): New static variable.
1459 (set_initial_gdb_ttystate): New setter.
1460 (child_terminal_init_with_pgrp): Copy initial_gdb_ttystate
1461 instead of our current terminal state.
1462 * top.c (gdb_init): Call set_initial_gdb_ttystate.
1463
1464 2015-01-07 Joel Brobecker <brobecker@adacore.com>
1465
1466 * guile/scm-type.c (tyscm_array_1): Add comment.
1467 * python/py-type.c (typy_array_1): Add comment.
1468
1469 2015-01-06 Joel Brobecker <brobecker@adacore.com>
1470
1471 * guile/scm-type.c (tyscm_array_1): Do not raise out-of-range
1472 error if N2 is equal to N1 - 1.
1473
1474 2015-01-06 Joel Brobecker <brobecker@adacore.com>
1475
1476 * python/py-type.c (typy_array_1): Do not raise negative-length
1477 exception if N2 is equal to N1 - 1.
1478
1479 2015-01-03 Doug Evans <xdje42@gmail.com>
1480
1481 * c-exp.y: Whitespace cleanup.
1482 (classify_inner_name): Remove extra ;.
1483
1484 2015-01-02 Maciej W. Rozycki <macro@codesourcery.com>
1485
1486 * mips-tdep.c (mips32_scan_prologue): Keep the extracted stack
1487 offset signed.
1488
1489 2015-01-02 Doug Evans <dje@google.com>
1490
1491 * dwarf2read.c (setup_type_unit_groups): Remove outdated comment.
1492
1493 2015-01-02 Doug Evans <dje@google.com>
1494
1495 * symtab.h (struct symbol): Fix typo in comment.
1496
1497 2015-01-01 Joel Brobecker <brobecker@adacore.com>
1498
1499 Update year range in copyright notice of all files.
1500
1501 2015-01-01 Joel Brobecker <brobecker@adacore.com>
1502
1503 * top.c (print_gdb_version): Update copyright year to 2015.
1504
1505 2015-01-01 Joel Brobecker <brobecker@adacore.com>
1506
1507 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2014.
1508
1509 For older changes see ChangeLog-2014.
1510 \f
1511 Local Variables:
1512 mode: change-log
1513 left-margin: 8
1514 fill-column: 74
1515 version-control: never
1516 coding: utf-8
1517 End: