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