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