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