]> Git Repo - binutils.git/blame - gdb/ChangeLog
Create libiberty.m4, have GDB and GDBserver use it
[binutils.git] / gdb / ChangeLog
CommitLineData
07697489
PA
12015-02-27 Pedro Alves <[email protected]>
2
3 * libiberty.m4: New file.
4 * acinclude.m4: Include libiberty.m4.
5 * configure.ac: Call libiberty_INIT.
6 * config.in, configure: Regenerate.
7
60abeae4
AA
82015-02-27 Andreas Arnez <[email protected]>
9
10 * s390-linux-tdep.c (s390_gcc_target_options): Not just handle
11 31-bit targets, but 64-bit targets as well.
12 (s390_gnu_triplet_regexp): New function.
13 (s390_gdbarch_init): Set the gcc_target_options gdbarch method for
14 64-bit targets as well. Set the gnu_triplet_regexp gdbarch
15 method.
16
f44466fb 172015-02-27 Jon TURNEY <[email protected]> (tiny patch)
f0666312
JT
18
19 * windows-nat.c (CONTEXT_DEBUGGER): Remove.
20 (CONTEXT_DEBUGGER_DR): Add CONTEXT_SEGMENTS. Incorporate flags
21 from CONTEXT_DEBUGGER.
22
0def5aaa
DE
232015-02-26 Doug Evans <[email protected]>
24
25 * gdbtypes.c (internal_type_vptr_fieldno): Add missing call to
26 CHECK_TYPEDEF.
27 (set_type_vptr_fieldno): Ditto.
28 (internal_type_vptr_basetype, set_type_vptr_basetype): Ditto.
29 * gnu-v3-abi.c (gnuv3_dynamic_class): Ditto.
30
77b64a49
PA
312015-02-26 Pedro Alves <[email protected]>
32
33 * auto-load.h (file_is_auto_load_safe): Add ATTRIBUTE_PRINTF.
34 * complaints.c (vcomplaint): Pass argument FMT directly to
35 printf-like functions instead of complaint->fmt.
36 * ctf.c (ctf_save_write_metadata): Add ATTRIBUTE_PRINTF.
37 * darwin-nat.c (inferior_debug): Add ATTRIBUTE_PRINTF.
38 * compile/compile-loc2c.c (pushf, unary, binary): Add
39 ATTRIBUTE_PRINTF.
40 (do_compile_dwarf_expr_to_c): Pass string literal as format string
41 to pushf.
42 (BINARY): Pass string literal as format string to 'binary'.
43 * compile/compile-object-load.c (link_callbacks_einfo): Add
44 ATTRIBUTE_PRINTF.
45 * guile/guile-internal.h (gdbscm_printf): Add ATTRIBUTE_PRINTF.
46
532f44ed
PA
472015-02-26 Pedro Alves <[email protected]>
48
49 * windows-termcap.c: Rename to ...
50 * stub-termcap.c: ... this. Adjust header line.
51 * Makefile.in (SFILES): Refer to stub-termcap.c instead of
52 windows-termcap.c.
53 * configure: Regenerate.
54 * configure.ac: Refer to stub-termcap.o instead of
55 windows-termcap.o.
56 * gdb_curses.h: Mention stub-termcap.c instead of
57 windows-termcap.c.
58
081a1c2c
JK
592015-02-26 Jan Kratochvil <[email protected]>
60
61 * compile/compile-c-symbols.c (convert_one_symbol, convert_symbol_bmsym)
62 (gcc_symbol_address): Call gnu_ifunc_resolve_addr.
63
2f41223f
AT
642015-02-26 Antoine Tremblay <[email protected]>
65
66 * gdb/infcmd.c (print_return_value): use type_to_string to print type.
67
80c57053
JK
682015-02-26 Jan Kratochvil <[email protected]>
69
70 * elfread.c (elf_read_minimal_symbols): Use bfd_alloc for
71 bfd_canonicalize_symtab.
72
cf424aef
JB
732015-02-25 John Baldwin <[email protected]>
74
75 * amd64fbsd-nat.c: Include sys/user.h.
76 (_initialize_amd64fbsd_nat): Use the KERN_PROC_SIGTRAMP sysctl
77 instead of KERN_PS_STRINGS to locate the signal trampoline.
78 * i386fbsd-nat.c: Include sys/user.h.
79 (_initialize_i386fbsd_nat): Use the KERN_PROC_SIGTRAMP sysctl
80 instead of KERN_PS_STRINGS to locate the signal trampoline.
81 * amd64fbsd-tdep.c (amd64fbsd_sigtramp_code): New.
82 (amd64fbsd_sigtramp_p): New.
83 (amd64fbsd_sigtramp_start_addr, amd64fbsd_sigtramp_end_addr): No
84 longer set default values.
85 (amd64fbsd_init_abi): Set "sigtramp_p" to "amd64fbsd_sigtramp_p".
86 * i386fbsd-tdep.c (i386fbsd_sigtramp_start)
87 (i386fbsd_sigtramp_middle, i386fbsd_sigtramp_end)
88 (i386fbsd_freebsd4_sigtramp_start)
89 (i386fbsd_freebsd4_sigtramp_middle)
90 (i386fbsd_freebsd4_sigtramp_end, i386fbsd_osigtramp_start)
91 (i386fbsd_osigtramp_middle, i386fbsd_osigtramp_end): New.
92 (i386fbsd_sigtramp_p): New.
93 (i386fbsd_sigtramp_start_addr, i386fbsd_sigtramp_end_addr): No
94 longer set default values.
95 (i386fbsd_init_abi): Set "sigtramp_p" to "i386fbsd_sigtramp_p".
96
c5cb74ee
JB
972015-02-25 John Baldwin <[email protected]>
98
99 * amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use
100 get_frame_register instead of frame_unwind_register_unsigned.
101
17487d85
JK
1022015-02-26 Jan Kratochvil <[email protected]>
103
104 PR build/18033
105 * compile/compile-c-support.c (c_compute_program): Change // comment.
106 * compile/compile-object-load.c (setup_sections): Change // comment.
107
9357a9e6
JB
1082015-02-26 Joel Brobecker <[email protected]>
109
110 PR build/18033:
111 * iq2000-tdep.c (iq2000_frame_cache): Delete C++-style comment.
112
1f10ba14
PA
1132015-02-23 Pedro Alves <[email protected]>
114
115 * remote.c (skip_to_semicolon): New function.
116 (remote_parse_stop_reply) <T stop reply>: Use it. Don't
117 special case the stop reasons that look like hex numbers
118 upfront. Instead handle real register numbers after matching
119 all the known stop reasons.
120
96553a0c
DE
1212015-02-21 Doug Evans <[email protected]>
122
123 PR c++/17976, symtab/17821
124 * cp-namespace.c (cp_search_static_and_baseclasses): New parameter
125 is_in_anonymous. All callers updated.
126 (find_symbol_in_baseclass): Ditto.
127 (cp_lookup_nested_symbol_1): Ditto. Don't search all static blocks
128 for symbols in an anonymous namespace.
129 * dwarf2read.c (namespace_name): Don't call dwarf2_name, fetch
130 DW_AT_name directly.
131 (dwarf2_name): Convert missing namespace name to
132 CP_ANONYMOUS_NAMESPACE_STR.
133
2db9a427
PA
1342015-02-20 Pedro Alves <[email protected]>
135
136 * linux-nat.c (linux_handle_extended_wait): Call
137 thread_db_notice_clone whenever a new clone LWP is detected.
138 (linux_stop_and_wait_all_lwps, linux_unstop_all_lwps): New
139 functions.
140 * linux-nat.h (thread_db_attach_lwp): Delete declaration.
141 (thread_db_notice_clone, linux_stop_and_wait_all_lwps)
142 (linux_unstop_all_lwps): Declare.
143 * linux-thread-db.c (struct thread_get_info_inout): Delete.
144 (thread_get_info_callback): Delete.
145 (thread_from_lwp): Use td_thr_get_info and record_thread.
146 (thread_db_attach_lwp): Delete.
147 (thread_db_notice_clone): New function.
148 (try_thread_db_load_1): If /proc is mounted and shows the
149 process'es task list, walk over all LWPs and call thread_from_lwp
150 instead of relying on td_ta_thr_iter.
151 (attach_thread): Don't call check_thread_signals here. Split the
152 tail part of the function (which adds the thread to the core GDB
153 thread list) to ...
154 (record_thread): ... this function. Call check_thread_signals
155 here.
156 (thread_db_wait): Don't call thread_db_find_new_threads_1. Always
157 call thread_from_lwp.
158 (thread_db_update_thread_list): Rename to ...
159 (thread_db_update_thread_list_org): ... this.
160 (thread_db_update_thread_list): New function.
161 (thread_db_find_thread_from_tid): Delete.
162 (thread_db_get_ada_task_ptid): Simplify.
163 * nat/linux-procfs.c: Include <sys/stat.h>.
164 (linux_proc_task_list_dir_exists): New function.
165 * nat/linux-procfs.h (linux_proc_task_list_dir_exists): Declare.
166
3b27ef47
PA
1672015-02-20 Pedro Alves <[email protected]>
168
169 * linux-nat.c (lin_lwp_attach_lwp): No longer special case the
170 main LWP. Handle the case of waitpid returning 0 if we're already
171 attached to the LWP. Don't set the LWP's last_resume_kind to
172 resume_stop if we already knew about the LWP.
173 (linux_nat_filter_event): Add debug logs.
174
1cc28231
PA
1752015-02-20 Pedro Alves <[email protected]>
176
177 * target.h (forward_target_decr_pc_after_break): Delete
178 declaration.
179
5c5019c2
PA
1802015-02-20 Pedro Alves <[email protected]>
181
182 PR threads/18006
183 * linux-thread-db.c (thread_get_info_callback): Return early if
184 the thread's lwp id is -1.
185
f3978e91
JB
1862015-02-20 Joel Brobecker <[email protected]>
187
188 GDB 7.9 released.
189
ffdf88ec
SE
1902015-02-19 Steve Ellcey <[email protected]>
191
192 * dtrace-probe.c (dtrace_process_dof_probe): Initialize arg.expr.
193 (dtrace_get_probes) Change type of variable 'dof'.
194
c9587f88
AT
1952015-02-19 Antoine Tremblay <[email protected]>
196
197 PR breakpoints/16812
198 * linux-nat.c (linux_nat_filter_event): Report SIGTRAP,SIGILL,SIGSEGV.
199 * nat/linux-ptrace.c (linux_wstatus_maybe_breakpoint): Add.
200 * nat/linux-ptrace.h: Add linux_wstatus_maybe_breakpoint.
201
53cf2ee0
DT
2022015-02-19 David Taylor <[email protected]>
203
204 * common/ax.def (setv): Fix consumed entry in setv DEFOP.
205
acfe0940
PP
2062015-02-18 Patrick Palka <[email protected]>
207
208 * tui/tui-io.c (tui_handle_resize_during_io): Remove this
209 function.
210 (tui_putc): Don't call tui_handle_resize_during_io.
211 (tui_getc): Likewise.
212 (tui_mld_getc): Likewise.
213 * tui/tui-win.c: Include event-loop.h and tui/tui-io.h.
214 (tui_sigwinch_token): New static variable.
215 (tui_initialize_win): Adjust documentation. Set
216 tui_sigwinch_token.
217 (tui_async_resize_screen): New asynchronous callback.
218 (tui_sigwinch_handler): Adjust documentation. Asynchronously
219 invoke tui_async_resize_screen.
220
f6a88844
JM
2212015-02-18 Jose E. Marchesi <[email protected]>
222
223 * configure: Regenerated.
224 * configure.ac: Use GDB_AC_TRANSFORM.
225 * Makefile.in (aclocal_m4_deps): Added transform.m4.
226 * acinclude.m4: sinclude transform.m4.
227 * transform.m4: New file.
228 (GDB_AC_TRANSFORM): New macro.
229
b05e3b0d
JM
2302015-02-17 Jose E. Marchesi <[email protected]>
231
232 * NEWS: Announce the support for DTrace SDT probes.
233
c3e3045e
JM
2342015-02-17 Jose E. Marchesi <[email protected]>
235
236 * amd64-linux-tdep.c: Include "parser-defs.h" and "user-regs.h".
237 (amd64_dtrace_parse_probe_argument): New function.
238 (amd64_dtrace_probe_is_enabled): Likewise.
239 (amd64_dtrace_enable_probe): Likewise.
240 (amd64_dtrace_disable_probe): Likewise.
241 (amd64_linux_init_abi): Register the
242 `gdbarch_dtrace_probe_argument', `gdbarch_dtrace_enable_probe',
243 `gdbarch_dtrace_disable_probe' and
244 `gdbarch_dtrace_probe_is_enabled' hooks.
245 (amd64_dtrace_disabled_probe_sequence_1): New constant.
246 (amd64_dtrace_disabled_probe_sequence_2): Likewise.
247 (amd64_dtrace_enable_probe_sequence): Likewise.
248 (amd64_dtrace_disable_probe_sequence): Likewise.
249
d4777acb
JM
2502015-01-17 Jose E. Marchesi <[email protected]>
251
252 * breakpoint.c (BREAK_ARGS_HELP): Help string updated to mention
253 the -probe-dtrace new vpossible value for PROBE_MODIFIER.
254 * configure.ac (CONFIG_OBS): dtrace-probe.o added if BFD can
255 handle ELF files.
256 * Makefile.in (SFILES): dtrace-probe.c added.
257 * configure: Regenerate.
258 * dtrace-probe.c: New file.
259 (SHT_SUNW_dof): New constant.
260 (dtrace_probe_type): New enum.
261 (dtrace_probe_arg): New struct.
262 (dtrace_probe_arg_s): New typedef.
263 (struct dtrace_probe_enabler): New struct.
264 (dtrace_probe_enabler_s): New typedef.
265 (dtrace_probe): New struct.
266 (dtrace_probe_is_linespec): New function.
267 (dtrace_dof_sect_type): New enum.
268 (dtrace_dof_dofh_ident): Likewise.
269 (dtrace_dof_encoding): Likewise.
270 (DTRACE_DOF_ENCODE_LSB): Likewise.
271 (DTRACE_DOF_ENCODE_MSB): Likewise.
272 (dtrace_dof_hdr): New struct.
273 (dtrace_dof_sect): Likewise.
274 (dtrace_dof_provider): Likewise.
275 (dtrace_dof_probe): Likewise.
276 (DOF_UINT): New macro.
277 (DTRACE_DOF_PTR): Likewise.
278 (DTRACE_DOF_SECT): Likewise.
279 (dtrace_process_dof_probe): New function.
280 (dtrace_process_dof): Likewise.
281 (dtrace_build_arg_exprs): Likewise.
282 (dtrace_get_arg): Likewise.
283 (dtrace_get_probes): Likewise.
284 (dtrace_get_probe_argument_count): Likewise.
285 (dtrace_can_evaluate_probe_arguments): Likewise.
286 (dtrace_evaluate_probe_argument): Likewise.
287 (dtrace_compile_to_ax): Likewise.
288 (dtrace_probe_destroy): Likewise.
289 (dtrace_gen_info_probes_table_header): Likewise.
290 (dtrace_gen_info_probes_table_values): Likewise.
291 (dtrace_probe_is_enabled): Likewise.
292 (dtrace_probe_ops): New variable.
293 (info_probes_dtrace_command): New function.
294 (_initialize_dtrace_probe): Likewise.
295 (dtrace_type_name): Likewise.
296
8b367e17
JM
2972015-02-17 Jose E. Marchesi <[email protected]>
298
299 * gdbarch.sh (dtrace_parse_probe_argument): New.
300 (dtrace_probe_is_enabled): Likewise.
301 (dtrace_enable_probe): Likewise.
302 (dtrace_disable_probe): Likewise.
303 * gdbarch.c: Regenerate.
304 * gdbarch.h: Regenerate.
305
9aca2ff8
JM
3062015-02-17 Jose E. Marchesi <[email protected]>
307
308 * stap-probe.c (stap_probe_ops): Add NULLs in the static
309 stap_probe_ops for `enable_probe' and `disable_probe'.
310 * probe.c (enable_probes_command): New function.
311 (disable_probes_command): Likewise.
312 (_initialize_probe): Define the cli commands `enable probe' and
313 `disable probe'.
314 (parse_probe_linespec): New function.
315 (info_probes_for_ops): Use parse_probe_linespec.
316 * probe.h (probe_ops): New hooks `enable_probe' and
317 `disable_probe'.
318
03e98035
JM
3192015-02-17 Jose E. Marchesi <[email protected]>
320
321 * probe.c (compute_probe_arg): Moved from stap-probe.c
322 (compile_probe_arg): Likewise.
323 (probe_funcs): Likewise.
324 * stap-probe.c (compute_probe_arg): Moved to probe.c.
325 (compile_probe_arg): Likewise.
326 (probe_funcs): Likewise.
327
6f9b8491
JM
3282015-02-17 Jose E. Marchesi <[email protected]>
329
330 * probe.c (print_ui_out_not_applicables): New function.
331 (exists_probe_with_pops): Likewise.
332 (info_probes_for_ops): Do not include column headers for probe
333 types for which no probe has been actually found on any object.
334 Also invoke `print_ui_out_not_applicables' in order to match the
335 column rows with the header when probes of several types are
336 listed.
337 Print the "Type" column.
338 * probe.h (probe_ops): Added a new probe operation `type_name'.
339 * stap-probe.c (stap_probe_ops): Add `stap_type_name'.
340 (stap_type_name): New function.
341
69efdff1
PP
3422015-02-17 Patrick Palka <[email protected]>
343
344 * tui/tui-io.c (tui_getc): Don't call key_is_command_char.
345 (key_is_command_char): Delete.
346
f8e5e23e
PA
3472015-02-17 Pedro Alves <[email protected]>
348
349 * tui/tui.c (tui_enable): Resize windows before anything
350 might show a window.
351
9f2e0721
MO
3522015-02-17 Max Ostapenko <[email protected]>
353
354 PR gdb/17984
355 * aarch64-linux-nat.c: Don't include features/aarch64.c anymore.
356 (aarch64_linux_read_description): Remove initialize_tdesc_aarch64
357 call.
358 * aarch64-tdep.h (tdesc_aarch64): Declare.
359
171e6b1c
MW
3602015-02-12 Mark Wielaard <[email protected]>
361
362 * contrib/ari/gdb_ari.sh: Remove checks for "true" and "false".
363
d5ff0482
DE
3642015-02-13 Doug Evans <[email protected]>
365
366 * cp-namespace.c (cp_basic_lookup_symbol): Rename parameter
367 anonymous_namespace to is_in_anonymous for consistency with the rest
368 of the file.
369 (cp_lookup_bare_symbol): Fix typo in comment.
370 (cp_search_static_and_baseclasses): Ditto.
371 (search_symbol_list): Use vertical space in comment better.
372 (reset_directive_searched): Ditto. Fix typo.
373 (cp_lookup_nested_symbol_1): Clarify contents of NESTED_NAME parameter.
374
9f04ac5f
YQ
3752015-02-13 Yao Qi <[email protected]>
376
377 * MAINTAINERS: Update my email address.
378
013d0319
DE
3792015-02-12 Doug Evans <[email protected]>
380
b615dd20 381 * symtab.c (completion_list_add_name): Fix memory leak.
013d0319 382
9a7e538e
DE
3832015-02-12 Doug Evans <[email protected]>
384
385 * completer.c (complete_line): Remove incorrect comment.
386
e1fcd575
JK
3872015-02-11 Jan Kratochvil <[email protected]>
388
389 * python/py-framefilter.c (py_print_single_arg, enumerate_locals)
390 (py_print_frame): Use RETURN_MASK_ERROR.
391
b99bf4e3
JK
3922015-02-11 Jan Kratochvil <[email protected]>
393
394 * python/py-framefilter.c (py_print_frame): Mention RETURN_QUIT in
395 function comment. Wrap all function that can throw in cleanups.
396 (gdbpy_apply_frame_filter): Wrap all function that can throw in
397 cleanups.
398
800eb1ce
JK
3992015-02-11 Jan Kratochvil <[email protected]>
400
401 * python/py-framefilter.c (py_print_frame): Substitute goto error.
402 Remove the error label.
403
34019068
JK
4042015-02-11 Jan Kratochvil <[email protected]>
405
406 * python/py-framefilter.c (py_print_frame): Put conditional code paths
407 with goto first, indent the former else codepath left. Put variable
408 'elided' to a new inner block.
409
8d4a54e2
JK
4102015-02-11 Jan Kratochvil <[email protected]>
411
412 * python/py-framefilter.c (py_print_frame): Whitespacing fixes.
413
18ad82c1
PA
4142015-02-11 Pedro Alves <[email protected]>
415
416 * xcoffread.c (within_function): Delete.
417
e36122e9
TT
4182015-02-11 Tom Tromey <[email protected]>
419 Pedro Alves <[email protected]>
420
421 * breakpoint.c (base_breakpoint_ops): Delete.
422 * dwarf2loc.c (dwarf_expr_ctx_funcs): Make extern.
423 * elfread.c (elf_sym_fns_gdb_index, elf_sym_fns_lazy_psyms): Make extern.
424 * guile/guile.c (guile_extension_script_ops, guile_extension_ops): Make extern.
425 * ppcnbsd-tdep.c (ppcnbsd2_sigtramp): Make extern.
426 * python/py-arch.c (arch_object_type): Make extern.
427 * python/py-block.c (block_syms_iterator_object_type): Make extern.
428 * python/py-bpevent.c (breakpoint_event_object_type): Make extern.
429 * python/py-cmd.c (cmdpy_object_type): Make extern.
430 * python/py-continueevent.c (continue_event_object_type)
431 * python/py-event.h (GDBPY_NEW_EVENT_TYPE): Remove 'qual'
432 parameter. Update all callers.
433 * python/py-evtregistry.c (eventregistry_object_type): Make extern.
434 * python/py-exitedevent.c (exited_event_object_type): Make extern.
435 * python/py-finishbreakpoint.c (finish_breakpoint_object_type): Make extern.
436 * python/py-function.c (fnpy_object_type): Make extern.
437 * python/py-inferior.c (inferior_object_type, membuf_object_type): Make extern.
438 * python/py-infevents.c (call_pre_event_object_type)
439 (inferior_call_post_event_object_type).
440 (memory_changed_event_object_type): Make extern.
441 * python/py-infthread.c (thread_object_type): Make extern.
442 * python/py-lazy-string.c (lazy_string_object_type): Make extern.
443 * python/py-linetable.c (linetable_entry_object_type)
444 (linetable_object_type, ltpy_iterator_object_type): Make extern.
445 * python/py-newobjfileevent.c (new_objfile_event_object_type)
446 (clear_objfiles_event_object_type): Make extern.
447 * python/py-objfile.c (objfile_object_type): Make extern.
448 * python/py-param.c (parmpy_object_type): Make extern.
449 * python/py-progspace.c (pspace_object_type): Make extern.
450 * python/py-signalevent.c (signal_event_object_type): Make extern.
451 * python/py-symtab.c (symtab_object_type, sal_object_type): Make extern.
452 * python/py-type.c (type_object_type, field_object_type)
453 (type_iterator_object_type): Make extern.
454 * python/python.c (python_extension_script_ops)
455 (python_extension_ops): Make extern.
456 * stap-probe.c (stap_probe_ops): Make extern.
457
0703599a
PA
4582015-02-11 Pedro Alves <[email protected]>
459
460 * infrun.c (adjust_pc_after_break): Don't adjust the PC just
461 because the event thread is not the current thread.
462
eaaf76ab
DE
4632015-02-11 Doug Evans <[email protected]>
464
465 * gdbtypes.c (internal_type_self_type): If TYPE_SPECIFIC_FIELD hasn't
466 been initialized yet, return NULL.
467
e7d52ed3
DE
4682015-02-11 Doug Evans <[email protected]>
469
470 * symfile.h (new_symfile_objfile): Delete.
471 * symfile.c (finish_new_objfile): Renamed from new_symfile_objfile.
472 All callers updated.
473
fc6b1256
PP
4742015-02-11 Patrick Palka <[email protected]>
475
476 * tui/tui-io.c (tui_handle_resize_during_io): Call
477 tui_update_gdb_sizes() after resizing the screen.
478 * tui/tui.c (tui_enable): Resize the terminal before
479 calling tui_update_gdb_sizes().
480
d9080678
PP
4812015-02-11 Patrick Palka <[email protected]>
482
483 * tui/tui-io.c (tui_getc): Move cursor to the end of the command
484 line before printing a newline.
485
9f615e3a
MW
4862015-02-11 Mark Wielaard <[email protected]>
487
488 * utils.c (producer_is_gcc): Return true or false.
489
d9080678 4902015-02-10 Mark Wielaard <[email protected]>
b1ffba5a
MW
491
492 * utils.h (producer_is_gcc): Change return type to bool. Add major
493 argument.
494 * utils.c (producer_is_gcc): Likewise.
495 (producer_is_gcc_ge_4): Adjust producer_is_gcc call.
496 * dwarf2read.c (check_producer): Likewise.
497
b052c4fb
PA
4982015-02-10 Pedro Alves <[email protected]>
499
500 * infrun.c (displaced_step_fixup): Switch to the event thread
501 before calling gdbarch_displaced_step_fixup.
502
3ac240d4
AT
5032015-02-10 Antoine Tremblay <[email protected]>
504
505 * MAINTAINERS (Write After Approval): Add Antoine Tremblay.
506
c1cc6152
SM
5072015-02-10 Simon Marchi <[email protected]>
508
509 * ada-varobj.c (ada_name_of_child): Constify parent.
510 (ada_path_expr_of_child): Same.
511 (ada_value_of_child): Same.
512 (ada_type_of_child): Same.
513 * c-varobj.c (c_is_path_expr_parent): Same.
514 (c_describe_child): Same.
515 (c_name_of_child): Same.
516 (c_value_of_child): Same.
517 (c_type_of_child): Same.
518 (cplus_number_of_children): Same.
519 (cplus_describe_child): Constify var.
520 (cplus_name_of_child): Constify parent.
521 (cplus_value_of_child): Same.
522 (cplus_type_of_child): Same.
523 * jv-varobj.c (java_name_of_child): Same.
524 (java_value_of_child): Same.
525 (java_type_of_child): Same.
526 * varobj.c (value_of_child): Same.
527 (varobj_default_is_path_expr_parent): Constify var, parent and return
528 value.
529 (varobj_get_path_expr): Constify var, modify path_expr through
530 mutable_var.
531 (install_new_value): Constify parent.
532 (value_of_child): Constify parent.
533 * varobj.h (struct varobj): Constify parent.
534 (struct lang_varobj_ops): Constify name_of_child, value_of_child and
535 type_of_child.
536 (varobj_get_path_expr): Constify var.
537 (varobj_get_path_expr_parent): Constify var and return value.
538
c1ee9414
LM
5392015-02-10 Luis Machado <[email protected]>
540
541 * arm-tdep.c (arm_prologue_unwind_stop_reason): New function.
542 (arm_prologue_this_id): Move PC and SP limit checks to
543 arm_prologue_unwind_stop_reason.
544 (arm_prologue_unwind) <stop_reason> : Set to
545 arm_prologue_unwind_stop_reason.
546
f7de9aab
MW
5472015-02-09 Mark Wielaard <[email protected]>
548
549 * dwarf2read.c (set_cu_language): Recognize DW_LANG_Fortran03 and
550 DW_LANG_Fortran08 as language_fortran.
551
0b24eb2d
SDJ
5522015-02-09 Sergio Durigan Junior <[email protected]>
553
554 PR remote/17946
555 * gdb/remote.c (remote_parse_stop_reply): Fix wrong comparison
556 of pointer against char.
557
a2c2acaf
MW
5582015-02-09 Mark Wielaard <[email protected]>
559
560 * c-typeprint.c (cp_type_print_method_args): Handle '_Atomic'.
561 (c_type_print_modifier): Likewise.
562 * dwarf2read.c (read_tag_atomic_type): New function.
563 (read_type_die_1): Handle DW_TAG_atomic_type.
564 * gdbtypes.c (make_atomic_type): New function.
565 (recursive_dump_type): Handle TYPE_ATOMIC.
566 * gdbtypes.h (enum type_flag_values): Renumber.
567 (enum type_instance_flag_value): Add TYPE_INSTANCE_FLAG_ATOMIC.
568 (TYPE_ATOMIC): New macro.
569 (make_atomic_type): Declare.
570
31fd9caa
MM
5712015-02-09 Markus Metzger <[email protected]>
572
573 * btrace.c (ftrace_find_call): Skip gaps.
574 (ftrace_new_function): Initialize level.
575 (ftrace_new_call, ftrace_new_tailcall, ftrace_new_return)
576 (ftrace_new_switch): Update
577 level computation.
578 (ftrace_new_gap): New.
579 (ftrace_update_function): Create new function after gap.
580 (btrace_compute_ftrace_bts): Create gap on error.
581 (btrace_stitch_bts): Update parameters. Clear trace if it
582 becomes empty.
583 (btrace_stitch_trace): Update parameters. Update callers.
584 (btrace_clear): Reset the number of gaps.
585 (btrace_insn_get): Return NULL if the iterator points to a gap.
586 (btrace_insn_number): Return zero if the iterator points to a gap.
587 (btrace_insn_end): Allow gaps at the end.
588 (btrace_insn_next, btrace_insn_prev, btrace_insn_cmp): Handle gaps.
589 (btrace_find_insn_by_number): Assert that the found iterator does
590 not point to a gap.
591 (btrace_call_next, btrace_call_prev): Assert that the last function
592 is not a gap.
593 * btrace.h (btrace_bts_error): New.
594 (btrace_function): Update comment.
595 (btrace_function) <insn, insn_offset, number>: Update comment.
596 (btrace_function) <errcode>: New.
597 (btrace_thread_info) <ngaps>: New.
598 (btrace_thread_info) <replay>: Update comment.
599 (btrace_insn_get): Update comment.
600 * record-btrace.c (btrace_ui_out_decode_error): New.
601 (record_btrace_info): Print number of gaps.
602 (btrace_insn_history, btrace_call_history): Call
603 btrace_ui_out_decode_error for gaps.
604 (record_btrace_step_thread, record_btrace_start_replaying): Skip gaps.
605
afb778a2
MM
6062015-02-09 Markus Metzger <[email protected]>
607
608 * common/btrace-common.h (btrace_cpu_vendor, btrace_cpu): New.
609 * nat/linux-btrace.c: (btrace_this_cpu): New.
610 (cpu_supports_bts): Call btrace_this_cpu.
611 (intel_supports_bts): Add cpu parameter.
612
7d5c24b3
MM
6132015-02-09 Markus Metzger <[email protected]>
614
615 * btrace.h (btrace_insn_class): New.
616 (btrace_insn) <size, iclass>: New.
617 * btrace.c (ftrace_find_call): Update parameters. Update users.
618 Use instruction classification.
619 (ftrace_new_return): Update parameters. Update users.
620 (ftrace_update_function): Update parameters. Update users. Use
621 instruction classification.
622 (ftrace_update_insns): Update parameters. Update users.
623 (ftrace_classify_insn): New.
624 (btrace_compute_ftrace_bts): Fill in new btrace_insn fields. Add
625 TRY_CATCH around call to gdb_insn_length.
626
76235df1
MM
6272015-02-09 Markus Metzger <[email protected]>
628
629 * btrace.c (btrace_compute_ftrace_bts, btrace_compute_ftrace):
630 Update parameters. Update users.
631
d33501a5
MM
6322015-02-09 Markus Metzger <[email protected]>
633
634 * btrace.c (parse_xml_btrace_conf_bts): Add size.
635 (btrace_conf_bts_attributes): New.
636 (btrace_conf_children): Add attributes.
637 * common/btrace-common.h (btrace_config_bts): New.
638 (btrace_config)<bts>: New.
639 (btrace_config): Update comment.
640 * nat/linux-btrace.c (linux_enable_btrace, linux_enable_bts):
641 Use config.
642 * features/btrace-conf.dtd: Increment version. Add size
643 attribute to bts element.
644 * record-btrace.c (set_record_btrace_bts_cmdlist,
645 show_record_btrace_bts_cmdlist): New.
646 (record_btrace_adjust_size, record_btrace_print_bts_conf,
647 record_btrace_print_conf, cmd_set_record_btrace_bts,
648 cmd_show_record_btrace_bts): New.
649 (record_btrace_info): Call record_btrace_print_conf.
650 (_initialize_record_btrace): Add commands.
651 * remote.c: Add PACKET_Qbtrace_conf_bts_size enum.
652 (remote_protocol_features): Add Qbtrace-conf:bts:size packet.
653 (btrace_sync_conf): Synchronize bts size.
654 (_initialize_remote): Add Qbtrace-conf:bts:size packet.
655 * NEWS: Announce new commands and new packets.
656
f4abbc16
MM
6572015-02-09 Markus Metzger <[email protected]>
658
659 * Makefile.in (XMLFILES): Add btrace-conf.dtd.
660 * x86-linux-nat.c (x86_linux_enable_btrace): Update parameters.
661 (x86_linux_btrace_conf): New.
662 (x86_linux_create_target): Initialize to_btrace_conf.
663 * nat/linux-btrace.c (linux_enable_btrace): Update parameters.
664 Check format. Split into this and ...
665 (linux_enable_bts): ... this.
666 (linux_btrace_conf): New.
667 (perf_event_skip_record): Renamed into ...
668 (perf_event_skip_bts_record): ... this. Updated users.
669 (linux_disable_btrace): Split into this and ...
670 (linux_disable_bts): ... this.
671 (linux_read_btrace): Check format.
672 * nat/linux-btrace.h (linux_enable_btrace): Update parameters.
673 (linux_btrace_conf): New.
674 (btrace_target_info)<ptid>: Moved.
675 (btrace_target_info)<conf>: New.
676 (btrace_target_info): Split into this and ...
677 (btrace_tinfo_bts): ... this. Updated users.
678 * btrace.c (btrace_enable): Update parameters.
679 (btrace_conf, parse_xml_btrace_conf_bts, parse_xml_btrace_conf)
680 (btrace_conf_children, btrace_conf_attributes)
681 (btrace_conf_elements): New.
682 * btrace.h (btrace_enable): Update parameters.
683 (btrace_conf, parse_xml_btrace_conf): New.
684 * common/btrace-common.h (btrace_config): New.
685 * feature/btrace-conf.dtd: New.
686 * record-btrace.c (record_btrace_conf): New.
687 (record_btrace_cmdlist): New.
688 (record_btrace_enable_warn, record_btrace_open): Pass
689 &record_btrace_conf.
690 (record_btrace_info): Print recording format.
691 (cmd_record_btrace_bts_start): New.
692 (cmd_record_btrace_start): Call cmd_record_btrace_bts_start.
693 (_initialize_record_btrace): Add "record btrace bts" subcommand.
694 Add "record bts" alias command.
695 * remote.c (remote_state)<btrace_config>: New.
696 (remote_btrace_reset, PACKET_qXfer_btrace_conf): New.
697 (remote_protocol_features): Add qXfer:btrace-conf:read.
698 (remote_open_1): Call remote_btrace_reset.
699 (remote_xfer_partial): Handle TARGET_OBJECT_BTRACE_CONF.
700 (btrace_target_info)<conf>: New.
701 (btrace_sync_conf, btrace_read_config): New.
702 (remote_enable_btrace): Update parameters. Call btrace_sync_conf and
703 btrace_read_conf.
704 (remote_btrace_conf): New.
705 (init_remote_ops): Initialize to_btrace_conf.
706 (_initialize_remote): Add qXfer:btrace-conf packet.
707 * target.c (target_enable_btrace): Update parameters.
708 (target_btrace_conf): New.
709 * target.h (target_enable_btrace): Update parameters.
710 (target_btrace_conf): New.
711 (target_object)<TARGET_OBJECT_BTRACE_CONF>: New.
712 (target_ops)<to_enable_btrace>: Update parameters and comment.
713 (target_ops)<to_btrace_conf>: New.
714 * target-delegates: Regenerate.
715 * target-debug.h (target_debug_print_const_struct_btrace_config_p)
716 (target_debug_print_const_struct_btrace_target_info_p): New.
717 * NEWS: Announce new command and new packet.
718
aadf7753
MM
7192015-02-09 Markus Metzger <[email protected]>
720
721 * nat/linux-btrace.h (perf_event_buffer): New.
722 (btrace_target_info) <buffer, size, data_head>: Replace with ...
723 <bts>: ... this.
724 * nat/linux-btrace.c (perf_event_header, perf_event_mmap_size)
725 (perf_event_buffer_size, perf_event_buffer_begin)
726 (perf_event_buffer_end, linux_btrace_has_changed): Removed.
727 Updated users.
728 (perf_event_new_data): New.
729
043c3577
MM
7302015-02-09 Markus Metzger <[email protected]>
731
732 * btrace.c (btrace_enable): Pass BTRACE_FORMAT_BTS.
733 * record-btrace.c (record_btrace_open): Remove call to
734 target_supports_btrace.
735 * remote.c (remote_supports_btrace): Update parameters.
736 * target.c (target_supports_btrace): Update parameters.
737 * target.h (to_supports_btrace, target_supports_btrace): Update
738 parameters.
739 * target-delegates.c: Regenerate.
740 * target-debug.h (target_debug_print_enum_btrace_format): New.
741 * nat/linux-btrace.c
742 (kernel_supports_btrace): Rename into ...
743 (kernel_supports_bts): ... this. Update users. Update warning text.
744 (intel_supports_btrace): Rename into ...
745 (intel_supports_bts): ... this. Update users.
746 (cpu_supports_btrace): Rename into ...
747 (cpu_supports_bts): ... this. Update users.
748 (linux_supports_btrace): Update parameters. Split into this and ...
749 (linux_supports_bts): ... this.
750 * nat/linux-btrace.h (linux_supports_btrace): Update parameters.
751
734b0e4b
MM
7522015-02-09 Markus Metzger <[email protected]>
753
754 * Makefile.in (SFILES): Add common/btrace-common.c.
755 (COMMON_OBS): Add common/btrace-common.o.
756 (btrace-common.o): Add build rules.
757 * btrace.c (parse_xml_btrace): Update parameters.
758 (parse_xml_btrace_block): Set format field.
759 (btrace_add_pc, btrace_fetch): Use struct btrace_data.
760 (do_btrace_data_cleanup, make_cleanup_btrace_data): New.
761 (btrace_compute_ftrace): Split into this and...
762 (btrace_compute_ftrace_bts): ...this.
763 (btrace_stitch_trace): Split into this and...
764 (btrace_stitch_bts): ...this.
765 * btrace.h (parse_xml_btrace): Update parameters.
766 (make_cleanup_btrace_data): New.
767 * common/btrace-common.c: New.
768 * common/btrace-common.h: Include common-defs.h.
769 (btrace_block_s): Update comment.
770 (btrace_format): New.
771 (btrace_format_string): New.
772 (btrace_data_bts): New.
773 (btrace_data): New.
774 (btrace_data_init, btrace_data_fini, btrace_data_empty): New.
775 * remote.c (remote_read_btrace): Update parameters.
776 * target.c (target_read_btrace): Update parameters.
777 * target.h (target_read_btrace): Update parameters.
778 (target_ops)<to_read_btrace>: Update parameters.
779 * x86-linux-nat.c (x86_linux_read_btrace): Update parameters.
780 * target-delegates.c: Regenerate.
781 * target-debug (target_debug_print_struct_btrace_data_p): New.
782 * nat/linux-btrace.c (linux_read_btrace): Split into this and...
783 (linux_read_bts): ...this.
784 * nat/linux-btrace.h (linux_read_btrace): Update parameters.
785
bd2e0e9e
DE
7862015-02-06 Doug Evans <[email protected]>
787
788 * remote-m32r-sdi.c: Include symfile.h.
789
f176c4b5
DE
7902015-02-06 Doug Evans <[email protected]>
791
792 * symtab.h (clear_symtab_users, deduce_language_from_filename): Move
793 * symfile.h (clear_symtab_users, deduce_language_from_filename): ...
794 to here.
795
d6c146e9
PA
7962015-02-06 Pedro Alves <[email protected]>
797
798 * linux-thread-db.c (find_new_threads_callback): Add debug output.
799
b9d61307
SM
8002015-02-06 Simon Marchi <[email protected]>
801
802 PR gdb/15678
803 * breakpoint.c (map_breakpoint_numbers): Check for empty args string.
804 (enable_count_command): Check args for NULL value.
805
e9fbd043
DE
8062015-02-05 Doug Evans <[email protected]>
807
808 * guile/scm-frame.c: Fix spelling errors in a comment.
809
881d5d5d
JK
8102015-02-04 Jan Kratochvil <[email protected]>
811
812 * python/python-internal.h (Py_hash_t): Define it for Python <3.2.
813 * python/py-value.c (valpy_fetch_lazy): Use it. Remove cast to the
814 return type.
815
20ba1ce6
PA
8162015-02-04 Pedro Alves <[email protected]>
817
818 * linux-nat.c (handle_extended_wait): Don't resume LWPs here.
819 (wait_lwp): Don't call wait_lwp if linux_handle_extended_wait
820 returns true.
821 (resume_stopped_resumed_lwps): Don't check whether the thread is
822 marked as executing.
823 (linux_nat_wait_1): Use resume_stopped_resumed_lwps.
824
f962539a
AA
8252015-02-04 Andreas Arnez <[email protected]>
826
827 * regset.h (struct regset): Add flags field.
828 (REGSET_VARIABLE_SIZE): New value for a regset's flags field.
829 * corelow.c (get_core_register_section): Add warning if the size
830 exceeds the requested size and the regset does not have the
831 REGSET_VARIABLE_SIZE flag set.
832 * alphanbsd-tdep.c (alphanbsd_gregset): Add REGSET_VARIABLE_SIZE
833 flag.
834 * armbsd-tdep.c (armbsd_gregset): Likewise.
835 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
836 * hppaobsd-tdep.c (hppaobsd_gregset): Likewise.
837 * m68kbsd-tdep.c (m68kbsd_gregset): Likewise.
838 * mipsnbsd-tdep.c (mipsnbsd_gregset): Likewise.
839
dde9acd6
AA
8402015-02-04 Andreas Arnez <[email protected]>
841
842 * amd64-linux-tdep.c (amd64_linux_iterate_over_regset_sections):
843 For ".reg-xstate", explicitly specify the requested section size
844 via X86_XSTATE_SIZE instead of just 0 on input and
845 X86_XSTATE_MAX_SIZE on output.
846 * i386-linux-tdep.c (i386_linux_iterate_over_regset_sections):
847 Likewise.
848
1528345d
AA
8492015-02-04 Andreas Arnez <[email protected]>
850
851 PR corefiles/17808:
852 * gdbarch.sh (iterate_over_regset_sections_cb): Document this
853 function type, particularly its SIZE parameter.
854 * gdbarch.h: Regenerate.
855 * amd64-tdep.c (amd64_supply_fpregset): In gdb_assert, compare
856 actual against required size using ">=" instead of "==".
857 (amd64_collect_fpregset): Likewise.
858 * i386-tdep.c (i386_supply_gregset): Likewise.
859 (i386_collect_gregset): Likewise.
860 (i386_supply_fpregset): Likewise.
861 (i386_collect_fpregset): Likewise.
862 * mips-linux-tdep.c (mips_supply_gregset_wrapper): Likewise.
863 (mips_fill_gregset_wrapper): Likewise.
864 (mips_supply_fpregset_wrapper): Likewise.
865 (mips_fill_fpregset_wrapper): Likewise.
866 (mips64_supply_gregset_wrapper): Likewise.
867 (mips64_fill_gregset_wrapper): Likewise.
868 (mips64_supply_fpregset_wrapper): Likewise.
869 (mips64_fill_fpregset_wrapper): Likewise.
870 * mn10300-linux-tdep.c (am33_supply_gregset_method): Likewise.
871 (am33_supply_fpregset_method): Likewise.
872 (am33_collect_gregset_method): Likewise.
873 (am33_collect_fpregset_method): Likewise.
874
518be979
DE
8752015-02-04 Doug Evans <[email protected]>
876 Pedro Alves <[email protected]>
877 Eli Zaretskii <[email protected]>
878
879 PR tui/17810
880 * tui/tui-command.c (tui_refresh_cmd_win): New function.
881 * tui/tui-command.c (tui_refresh_cmd_win): Declare.
882 * tui/tui-file.c: #include tui/tui-command.h.
883 (tui_file_fputs): Refresh command window if stream is not gdb_stdout.
884 (tui_file_flush): Refresh command window if stream is gdb_stdout.
885 * tui/tui-io.c (tui_puts): Remove calls to wrefresh, fflush.
886
80bd5fab
PA
8872015-02-04 Pedro Alves <[email protected]>
888
889 Fix build breakage.
890 * event-loop.c (gdb_do_one_event): Add default switch case.
891
a7606d80
JK
8922015-02-03 Jan Kratochvil <[email protected]>
893
894 Filter out inferior gcc option -fpreprocessed.
895 * compile/compile.c (filter_args): New function.
896 (get_args): Use it.
897
70b66289
PA
8982015-02-03 Pedro Alves <[email protected]>
899
900 * event-loop.c: Don't declare nor define a queue type for
901 gdb_event_p.
902 (event_queue): Delete.
903 (create_event, create_file_event, gdb_event_xfree)
904 (initialize_event_loop, process_event): Delete.
905 (gdb_do_one_event): Return as soon as one event is handled.
906 (handle_file_event): Change prototype. Used the passed in
907 file_handler pointer and ready_mask instead of looping over all
908 file handlers.
909 (gdb_wait_for_event): Update the poll/select timeouts before
910 blocking. Run event handlers directly instead of queueing events.
911 Return as soon as one event is handled.
912 (struct async_event_handler_data): Delete.
913 (invoke_async_event_handler): Delete.
914 (check_async_event_handlers): Change return type to int. Run
915 event handlers directly instead of queueing events. Return as
916 soon as one event is handled.
917 (handle_timer_event): Delete.
918 (update_wait_timeout): New function, factored out from
919 poll_timers.
920 (poll_timers): Reimplement.
921 * event-loop.h (initialize_event_loop): Delete declaration.
922 * top.c (gdb_init): Don't call initialize_event_loop.
923
b7d2e916
PA
9242015-02-03 Pedro Alves <[email protected]>
925
926 * event-loop.c (clear_async_event_handler): New function.
927 * event-loop.h (clear_async_event_handler): New declaration.
928 * record-btrace.c (record_btrace_async): New function.
929 (init_record_btrace_ops): Install record_btrace_async.
930 * record-full.c (record_full_async): New function.
931 (record_full_resume): Don't mark the async event source here.
932 (init_record_full_ops): Install record_full_async.
933 (record_full_core_resume): Don't mark the async event source here.
934 (init_record_full_core_ops): Install record_full_async.
935 * remote.c (remote_async): Mark and clear the async stop reply
936 queue event-loop token as appropriate.
937
d9d41e78
PA
9382015-02-03 Pedro Alves <[email protected]>
939
940 * linux-nat.c (linux_child_follow_fork, linux_nat_wait_1): Use
941 target_is_async_p instead of target_can_async.
942 (linux_nat_wait): Use target_is_async_p instead of
943 target_can_async. Don't enable async here.
944 * remote.c (interrupt_query, remote_wait, putpkt_binary): Use
945 target_is_async_p instead of target_can_async.
946
aa3de267
SM
9472015-02-02 Simon Marchi <[email protected]>
948
949 * varobj.h (lang_varobj_ops): Mention which return values need
950 to be freed.
951
2c811c0f
JB
9522015-02-02 Joel Brobecker <[email protected]>
953
954 * dwarf2loc.c (dwarf2_evaluate_property): Add i18n marker.
955
b1eedac9
JB
9562015-02-02 Joel Brobecker <[email protected]>
957
958 PR gdb/17856:
959 * ada-lang.c (ada_lookup_symbol_list_worker): Do not re-cache
960 results found in the cache.
961
66c168ae
JB
9622015-02-02 Joel Brobecker <[email protected]>
963
964 PR gdb/17854:
965 * ada-lang.c (ada_get_symbol_cache): Set pspace_data->sym_cache
966 when allocating a new one.
967
4bdc02b2
TT
9682015-02-01 Tom Tromey <[email protected]>
969
970 * MAINTAINERS: Remove myself.
971
ae6ae975
DE
9722015-01-31 Doug Evans <[email protected]>
973
974 * dwarf2read.c (process_structure_scope): Update setting of
975 TYPE_VPTR_BASETYPE, TYPE_VPTR_FIELDNO.
976 * gdbtypes.c (internal_type_vptr_fieldno): New function.
977 (set_type_vptr_fieldno): New function.
978 (internal_type_vptr_basetype): New function.
979 (set_type_vptr_basetype): New function.
980 (get_vptr_fieldno): Update setting of TYPE_VPTR_FIELDNO,
981 TYPE_VPTR_BASETYPE.
982 (allocate_cplus_struct_type): Initialize vptr_fieldno.
983 (recursive_dump_type): Printing of vptr_fieldno, vptr_basetype ...
984 (print_cplus_stuff): ... moved here.
985 (copy_type_recursive): Don't copy TYPE_VPTR_BASETYPE.
986 * gdbtypes.h (struct main_type): Members vptr_fieldno, vptr_basetype
987 moved to ...
988 (struct cplus_struct_type): ... here. All uses updated.
989 (TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE): Rewrite.
990 (internal_type_vptr_fieldno, set_type_vptr_fieldno): Declare.
991 (internal_type_vptr_basetype, set_type_vptr_basetype): Declare.
992 * stabsread.c (read_tilde_fields): Update setting of
993 TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE.
994
09e2d7c7
DE
9952015-01-31 Doug Evans <[email protected]>
996
997 * cp-valprint.c (cp_find_class_member): Rename parameter domain_p
998 to self_p.
999 (cp_print_class_member): Rename local domain to self_type.
1000 * dwarf2read.c (quirk_gcc_member_function_pointer): Rename local
1001 domain_type to self_type.
1002 (set_die_type) <need_gnat_info>: Handle
1003 TYPE_CODE_METHODPTR, TYPE_CODE_MEMBERPTR, TYPE_CODE_METHOD.
1004 * gdb-gdb.py (StructMainTypePrettyPrinter): Handle
1005 TYPE_SPECIFIC_SELF_TYPE.
1006 * gdbtypes.c (internal_type_self_type): New function.
1007 (set_type_self_type): New function.
1008 (smash_to_memberptr_type): Rename parameter domain to self_type.
1009 Update setting of TYPE_SELF_TYPE.
1010 (smash_to_methodptr_type): Update setting of TYPE_SELF_TYPE.
1011 (smash_to_method_type): Rename parameter domain to self_type.
1012 Update setting of TYPE_SELF_TYPE.
1013 (check_stub_method): Call smash_to_method_type.
1014 (recursive_dump_type): Handle TYPE_SPECIFIC_SELF_TYPE.
1015 (copy_type_recursive): Ditto.
1016 * gdbtypes.h (enum type_specific_kind): New value
1017 TYPE_SPECIFIC_SELF_TYPE.
1018 (struct main_type) <type_specific>: New member self_type.
1019 (struct cplus_struct_type) <fn_field.type>: Update comment.
1020 (TYPE_SELF_TYPE): Rewrite.
1021 (internal_type_self_type, set_type_self_type): Declare.
1022 * gnu-v3-abi.c (gnuv3_print_method_ptr): Rename local domain to
1023 self_type.
1024 (gnuv3_method_ptr_to_value): Rename local domain_type to self_type.
1025 * m2-typeprint.c (m2_range): Replace TYPE_SELF_TYPE with
1026 TYPE_TARGET_TYPE.
1027 * stabsread.c (read_member_functions): Mark methods with
1028 TYPE_CODE_METHOD, not TYPE_CODE_FUNC. Update setting of
1029 TYPE_SELF_TYPE.
1030
4bfb94b8
DE
10312015-01-31 Doug Evans <[email protected]>
1032
1033 * gdbtypes.h (TYPE_SELF_TYPE): Renamed from TYPE_DOMAIN_TYPE.
1034 All uses updated.
1035
5f4ce105
DE
10362015-01-31 Doug Evans <[email protected]>
1037
1038 * gnu-v3-abi.c (gnuv3_dynamic_class): Assert only passed structs
1039 or unions. Return zero if union.
1040 (gnuv3_get_vtable): Call check_typedef. Assert only passed structs.
1041 (gnuv3_rtti_type): Pass already-check_typedef'd value to
1042 gnuv3_get_vtable.
1043 (compute_vtable_size): Assert only passed structs.
1044 (gnuv3_print_vtable): Don't call gnuv3_get_vtable for non-structs.
1045
f6b3afbf
DE
10462015-01-31 Doug Evans <[email protected]>
1047
1048 * gdbtypes.c (copy_type_recursive): Handle all TYPE_SPECIFIC_FIELD
1049 kinds.
1050
cfb069a8
GB
10512015-01-31 Gary Benson <[email protected]>
1052 Doug Evans <[email protected]>
1053
1054 PR cli/9007
1055 PR cli/11920
1056 PR cli/15548
1057 * cli/cli-cmds.c (complete_command): Notify user if max-completions
1058 reached.
1059 * common/common-exceptions.h (enum errors)
1060 <MAX_COMPLETIONS_REACHED_ERROR>: New value.
1061 * completer.h (get_max_completions_reached_message): New declaration.
1062 (max_completions): Likewise.
1063 (completion_tracker_t): New typedef.
1064 (new_completion_tracker): New declaration.
1065 (make_cleanup_free_completion_tracker): Likewise.
1066 (maybe_add_completion_enum): New enum.
1067 (maybe_add_completion): New declaration.
1068 (throw_max_completions_reached_error): Likewise.
1069 * completer.c (max_completions): New global variable.
1070 (new_completion_tracker): New function.
1071 (free_completion_tracker): Likewise.
1072 (make_cleanup_free_completion_tracker): Likewise.
1073 (maybe_add_completions): Likewise.
1074 (throw_max_completions_reached_error): Likewise.
1075 (complete_line): Remove duplicates and limit result to max_completions
1076 entries.
1077 (get_max_completions_reached_message): New function.
1078 (gdb_display_match_list): Handle max_completions.
1079 (_initialize_completer): New declaration and function.
1080 * symtab.c: Include completer.h.
1081 (completion_tracker): New static variable.
1082 (completion_list_add_name): Call maybe_add_completion.
1083 (default_make_symbol_completion_list_break_on_1): Renamed from
1084 default_make_symbol_completion_list_break_on. Maintain
1085 completion_tracker across calls to completion_list_add_name.
1086 (default_make_symbol_completion_list_break_on): New function.
1087 * top.c (init_main): Set rl_completion_display_matches_hook.
1088 * tui/tui-io.c: Include completer.h.
1089 (tui_old_rl_display_matches_hook): New static global.
1090 (tui_rl_display_match_list): Notify user if max-completions reached.
1091 (tui_setup_io): Save/restore rl_completion_display_matches_hook.
1092 * NEWS (New Options): Mention set/show max-completions.
1093
e11c72c7
GB
10942015-01-31 Gary Benson <[email protected]>
1095
1096 * symtab.c (struct add_name_data) <code>: New field.
1097 Updated comments.
1098 (add_symtab_completions): New function.
1099 (symtab_expansion_callback): Likewise.
1100 (default_make_symbol_completion_list_break_on): Set datum.code.
1101 Move minimal symbol scan before calling expand_symtabs_matching.
1102 Scan known primary symtabs for externs and statics before calling
1103 expand_symtabs_matching. Pass symtab_expansion_callback as
1104 expansion_notify argument to expand_symtabs_matching. Do not scan
1105 primary symtabs for externs and statics after calling
1106 expand_symtabs_matching.
1107
276d885b
GB
11082015-01-31 Gary Benson <[email protected]>
1109
1110 * symfile.h (expand_symtabs_exp_notify_ftype): New typedef.
1111 (struct quick_symbol_functions) <expand_symtabs_matching>:
1112 New argument expansion_notify. All uses updated.
1113 (expand_symtabs_matching): New argument expansion_notify.
1114 All uses updated.
1115 * symfile-debug.c (debug_qf_expand_symtabs_matching):
1116 Also print expansion notify.
1117 * symtab.c (expand_symtabs_matching_via_partial): Call
1118 expansion_notify whenever a partial symbol table is expanded.
1119 * dwarf2read.c (dw2_expand_symtabs_matching): Call
1120 expansion_notify whenever a symbol table is instantiated.
1121
82083d6d
DE
11222015-01-31 Doug Evans <[email protected]>
1123
1124 * cli-out.c: #include completer.h, readline/readline.h.
1125 (cli_mld_crlf, cli_mld_putch, cli_mld_puts): New functions.
1126 (cli_mld_flush, cld_mld_erase_entire_line): Ditto.
1127 (cli_mld_beep, cli_mld_read_key, cli_display_match_list): Ditto.
1128 * cli-out.h (cli_display_match_list): Declare.
1129 * completer.c (MB_INVALIDCH, MB_NULLWCH): New macros.
1130 (ELLIPSIS_LEN): Ditto.
1131 (gdb_get_y_or_n, gdb_display_match_list_pager): New functions.
1132 (gdb_path_isdir, gdb_printable_part, gdb_fnwidth): Ditto.
1133 (gdb_fnprint, gdb_print_filename): Ditto.
1134 (gdb_complete_get_screenwidth, gdb_display_match_list_1): Ditto.
1135 (gdb_display_match_list): Ditto.
1136 * completer.h (mld_crlf_ftype, mld_putch_ftype): New typedefs.
1137 (mld_puts_ftype, mld_flush_ftype, mld_erase_entire_line_ftype): Ditto.
1138 (mld_beep_ftype, mld_read_key_ftype): Ditto.
1139 (match_list_displayer): New struct.
1140 (gdb_display_match_list): Declare.
1141 * top.c (init_main): Set rl_completion_display_matches_hook.
1142 * tui/tui-io.c: #include completer.h.
1143 (printable_part, PUTX, print_filename, get_y_or_n): Delete.
1144 (tui_mld_crlf, tui_mld_putch, tui_mld_puts): New functions.
1145 (tui_mld_flush, tui_mld_erase_entire_line, tui_mld_beep): Ditto.
1146 (tui_mld_getc, tui_mld_read_key): Ditto.
1147 (tui_rl_display_match_list): Rewrite.
1148 (tui_handle_resize_during_io): New arg for_completion. All callers
1149 updated.
1150
f57d2163
DE
11512015-01-31 Doug Evans <[email protected]>
1152
1153 Add symbol lookup cache.
1154 * NEWS: Document new options and commands.
1155 * symtab.c (symbol_cache_key): New static global.
1156 (DEFAULT_SYMBOL_CACHE_SIZE, MAX_SYMBOL_CACHE_SIZE): New macros.
1157 (SYMBOL_LOOKUP_FAILED): New macro.
1158 (symbol_cache_slot_state): New enum.
1159 (block_symbol_cache): New struct.
1160 (symbol_cache): New struct.
1161 (new_symbol_cache_size, symbol_cache_size): New static globals.
1162 (hash_symbol_entry, eq_symbol_entry): New functions.
1163 (symbol_cache_byte_size, resize_symbol_cache): New functions.
1164 (make_symbol_cache, free_symbol_cache): New functions.
1165 (get_symbol_cache, symbol_cache_cleanup): New function.
1166 (set_symbol_cache_size, set_symbol_cache_size_handler): New functions.
1167 (symbol_cache_lookup, symbol_cache_clear_slot): New function.
1168 (symbol_cache_mark_found, symbol_cache_mark_not_found): New functions.
1169 (symbol_cache_flush, symbol_cache_dump): New functions.
1170 (maintenance_print_symbol_cache): New function.
1171 (maintenance_flush_symbol_cache): New function.
1172 (symbol_cache_stats): New function.
1173 (maintenance_print_symbol_cache_statistics): New function.
1174 (symtab_new_objfile_observer): New function.
1175 (symtab_free_objfile_observer): New function.
1176 (lookup_static_symbol, lookup_global_symbol): Use symbol cache.
1177 (_initialize_symtab): Init symbol_cache_key. New parameter
1178 maint symbol-cache-size. New maint commands print symbol-cache,
1179 print symbol-cache-statistics, flush-symbol-cache.
1180 Install new_objfile, free_objfile observers.
1181
e700d1b2
JB
11822015-01-31 Joel Brobecker <[email protected]>
1183
1184 PR symtab/17855
1185 * symfile.c (clear_symtab_users): Move call to breakpoint_re_set
1186 to end.
1187
9f050062
DE
11882015-01-31 Doug Evans <[email protected]>
1189
1190 * NEWS: Mention inlined scripts in .debug_gdb_scripts section.
1191 * auto-load.c: #include ctype.h.
1192 (struct auto_load_pspace_info): Replace member loaded_scripts with
1193 new members loaded_script_files, loaded_script_texts.
1194 (auto_load_pspace_data_cleanup): Update.
1195 (init_loaded_scripts_info): Update.
1196 (get_auto_load_pspace_data_for_loading): Update.
1197 (maybe_add_script_file): Renamed from maybe_add_script. All callers
1198 updated.
1199 (maybe_add_script_text): New function.
1200 (clear_section_scripts): Update.
1201 (source_script_file, execute_script_contents): New functions.
1202 (source_section_scripts): Add support for
1203 SECTION_SCRIPT_ID_PYTHON_TEXT, SECTION_SCRIPT_ID_GUILE_TEXT.
1204 (print_scripts): New function.
1205 (auto_load_info_scripts): Also print inlined scripts.
1206 (maybe_print_unsupported_script_warning): Renamed from
1207 unsupported_script_warning_print. All callers updated.
1208 (maybe_print_script_not_found_warning): Renamed from
1209 script_not_found_warning_print. All callers updated.
1210 * extension-priv.h (struct extension_language_script_ops): New member
1211 objfile_script_executor.
1212 * extension.c (ext_lang_objfile_script_executor): New function.
1213 * extension.h (objfile_script_executor_func): New typedef.
1214 (ext_lang_objfile_script_executor): Declare.
1215 * guile/guile-internal.h (gdbscm_execute_objfile_script): Declare.
1216 * guile/guile.c (guile_extension_script_ops): Update.
1217 * guile/scm-objfile.c (gdbscm_execute_objfile_script): New function.
1218 * python/python.c (python_extension_script_ops): Update.
1219 (gdbpy_execute_objfile_script): New function.
1220
312809f8
EZ
12212015-01-31 Eli Zaretskii <[email protected]>
1222
1223 * tui/tui-io.c (tui_expand_tabs): New function.
1224 (tui_puts, tui_redisplay_readline): Expand TABs into the
1225 appropriate number of spaces.
1226 * tui/tui-regs.c: Include tui-io.h.
1227 (tui_register_format): Call tui_expand_tabs to expand TABs into
1228 the appropriate number of spaces.
1229 * tui/tui-io.h: Add prototype for tui_expand_tabs.
1230
b6577aab
DE
12312015-01-30 Doug Evans <[email protected]>
1232
1233 * NEWS: "info source" command now display producer string if present.
1234 * source.c (source_info): Print producer string if present.
1235
6da58d3e
SM
12362015-01-30 Simon Marchi <[email protected]>
1237
1238 * varobj.c (varobj_delete): Fix comment.
1239
837ce252
SM
12402015-01-30 Simon Marchi <[email protected]>
1241
1242 * varobj.c (create_child): Modify comment.
1243
b09e2c59
SM
12442015-01-30 Simon Marchi <[email protected]>
1245
1246 * ada-varobj.c (ada_number_of_children): Constify struct varobj *
1247 parameter.
1248 (ada_name_of_variable): Same.
1249 (ada_path_expr_of_child): Same.
1250 (ada_value_of_variable): Same.
1251 (ada_value_is_changeable_p): Same.
1252 (ada_value_has_mutated): Same.
1253 * c-varobj.c (varobj_is_anonymous_child): Same.
1254 (c_is_path_expr_parent): Same.
1255 (c_number_of_children): Same.
1256 (c_name_of_variable): Same.
1257 (c_path_expr_of_child): Same.
1258 (get_type): Same.
1259 (c_value_of_variable): Same.
1260 (cplus_number_of_children): Same.
1261 (cplus_name_of_variable): Same.
1262 (cplus_path_expr_of_child): Same.
1263 (cplus_value_of_variable): Same.
1264 * jv-varobj.c (java_number_of_children): Same.
1265 (java_name_of_variable): Same.
1266 (java_path_expr_of_child): Same.
1267 (java_value_of_variable): Same.
1268 * varobj.c (number_of_children): Same.
1269 (name_of_variable): Same.
1270 (is_root_p): Same.
1271 (varobj_ensure_python_env): Same.
1272 (varobj_get_objname): Same.
1273 (varobj_get_expression): Same.
1274 (varobj_get_display_format): Same.
1275 (varobj_get_display_hint): Same.
1276 (varobj_has_more): Same.
1277 (varobj_get_thread_id): Same.
1278 (varobj_get_frozen): Same.
1279 (dynamic_varobj_has_child_method): Same.
1280 (varobj_get_gdb_type): Same.
1281 (is_path_expr_parent): Same.
1282 (varobj_default_is_path_expr_parent): Same.
1283 (varobj_get_language): Same.
1284 (varobj_get_attributes): Same.
1285 (varobj_is_dynamic_p): Same.
1286 (varobj_get_child_range): Same.
1287 (varobj_value_has_mutated): Same.
1288 (varobj_get_value_type): Same.
1289 (number_of_children): Same.
1290 (name_of_variable): Same.
1291 (check_scope): Same.
1292 (varobj_editable_p): Same.
1293 (varobj_value_is_changeable_p): Same.
1294 (varobj_floating_p): Same.
1295 (varobj_default_value_is_changeable_p): Same.
1296
2568868e
SM
12972015-01-30 Simon Marchi <[email protected]>
1298
1299 * varobj.c (varobj_get_path_expr): Set var->path_expr.
1300 * c-varobj.c (c_path_expr_of_child): Set local var instead of
1301 child->path_expr.
1302 (cplus_path_expr_of_child): Same.
1303
ca83fa81
SM
13042015-01-30 Simon Marchi <[email protected]>
1305
1306 * mi-cmd-var.c (print_varobj): Free varobj_get_expression
1307 result.
1308 (mi_cmd_var_info_expression): Same.
1309 * varobj.c (varobj_get_expression): Mention in the comment that
1310 the result must by freed by the caller.
1311
afa269ae
SM
13122015-01-30 Simon Marchi <[email protected]>
1313
1314 * mi/mi-cmd-var.c (mi_cmd_var_info_type): Free result of
1315 varobj_get_type.
1316 (varobj_update_one): Same.
1317 * varobj.c (update_type_if_necessary): Free curr_type_str and
1318 new_type_str.
1319 (varobj_get_type): Specify in comment that the result needs to be
1320 freed by the caller.
1321
cd366ee8
DE
13222015-01-29 Doug Evans <[email protected]>
1323
1324 PR symtab/17890
1325 * dwarf2read.c (dwarf_decode_line_header): Punt if version > 4.
1326
38360086
MW
13272015-01-25 Mark Wielaard <[email protected]>
1328
1329 * dwarf2read.c (checkproducer): Call producer_is_gcc.
1330 * utils.c (producer_is_gcc_ge_4): Likewise.
1331 (producer_is_gcc): New function.
1332 * utils.h (producer_is_gcc): New declaration.
1333
df25ebbd
JB
13342015-01-29 Joel Brobecker <[email protected]>
1335
1336 * gdbtypes.h (struct dynamic_prop): New PROP_ADDR_OFFSET enum
1337 kind.
1338 * gdbtypes.c (resolve_dynamic_type_internal): Replace "addr"
1339 parameter by "addr_stack" parameter.
1340 (resolve_dynamic_range): Replace "addr" parameter by
1341 "stack_addr" parameter. Update function documentation.
1342 Update code accordingly.
1343 (resolve_dynamic_array, resolve_dynamic_union)
1344 (resolve_dynamic_struct, resolve_dynamic_type_internal): Likewise.
1345 (resolve_dynamic_type): Update code, following the changes made
1346 to resolve_dynamic_type_internal's interface.
1347 * dwarf2loc.h (struct property_addr_info): New.
1348 (dwarf2_evaluate_property): Replace "address" parameter
1349 by "addr_stack" parameter. Adjust function documentation.
1350 (struct dwarf2_offset_baton): New.
1351 (struct dwarf2_property_baton): Update documentation of
1352 field "referenced_type" to be more general. New field
1353 "offset_info" in union data field.
1354 * dwarf2loc.c (dwarf2_evaluate_property): Replace "address"
1355 parameter by "addr_stack" parameter. Adjust code accordingly.
1356 Add support for PROP_ADDR_OFFSET properties.
1357 * dwarf2read.c (attr_to_dynamic_prop): Add support for
1358 DW_AT_data_member_location attributes as well. Use case
1359 statements instead of if/else condition.
1360
4a0ca9ec
JB
13612015-01-29 Joel Brobecker <[email protected]>
1362
1363 * ada-varobj.c (ada_varobj_get_array_number_of_children):
1364 Return zero if PARENT_VALUE is NULL and parent_type's
1365 range type is dynamic.
1366
ddb87a81
JB
13672015-01-29 Joel Brobecker <[email protected]>
1368
1369 * gdbtypes.c (is_dynamic_type_internal) <TYPE_CODE_RANGE>: Return
1370 nonzero if the type's subtype is dynamic.
1371 (resolve_dynamic_range): Also resolve the range's subtype.
1372
3d7ad9b4 13732015-01-29 Alexander Klimov <[email protected]> (tiny patch)
7a270e0c 1374
3d7ad9b4 1375 Pushed by Joel Brobecker <[email protected]>.
7a270e0c
AK
1376 * symfile.c (unmap_overlay_command): Initialize sec to NULL.
1377
3a8b707a
DE
13782015-01-27 Doug Evans <[email protected]>
1379
1380 * NEWS: Mention gdb.Objfile.username.
1381 * python/py-objfile.c (objfpy_get_username): New function.
1382 (objfile_getset): Add "username".
1383
d35b90fb
MW
13842015-01-24 Mark Wielaard <[email protected]>
1385
1386 * stack.c (return_command): Markup warning message with _.
1387
734ae125
DE
13882015-01-24 Doug Evans <[email protected]>
1389
1390 * gdbtypes.h (TYPE_TYPE_SPECIFIC): Delete.
1391
527f3840
JK
13922015-01-24 Jan Kratochvil <[email protected]>
1393
1394 Fix 100x slowdown regression on DWZ files.
1395 * dwarf2read.c (struct dwarf2_per_objfile): Add line_header_hash.
1396 (struct line_header): Add offset and offset_in_dwz.
1397 (dwarf_decode_lines): Add parameter decode_mapping to the declaration.
1398 (free_line_header_voidp): New declaration.
1399 (line_header_hash, line_header_hash_voidp, line_header_eq_voidp): New
1400 functions.
1401 (dwarf2_build_include_psymtabs): Update dwarf_decode_lines caller.
1402 (handle_DW_AT_stmt_list): Use line_header_hash.
1403 (free_line_header_voidp): New function.
1404 (dwarf_decode_line_header): Initialize offset and offset_in_dwz.
1405 (dwarf_decode_lines): New parameter decode_mapping, use it.
1406 (dwarf2_free_objfile): Free line_header_hash.
1407
f7e5394d
SM
14082015-01-23 Simon Marchi <[email protected]>
1409
1410 PR gdb/17416
1411 * valops.c (value_rtti_indirect_type): Catch exception thrown by
1412 value_ind.
1413
743649fd
MW
14142015-01-15 Mark Wielaard <[email protected]>
1415
1416 * dwarf2read.c (read_subroutine_type): Set TYPE_NO_RETURN from
1417 DW_AT_noreturn.
1418 * gdbtypes.h (struct func_type): Add is_noreturn field flag. Make
1419 calling_convention an 8 bit bit field.
1420 (TYPE_NO_RETURN): New macro.
1421 * infcmd.c (finish_command): Query if function does not return
1422 normally.
1423 * stack.c (return_command): Likewise.
1424
198297aa
PA
14252015-01-23 Pedro Alves <[email protected]>
1426
1427 * linux-nat.c (linux_is_async_p): New macro.
1428 (linux_nat_is_async_p):
1429 (linux_nat_terminal_inferior): Check whether the target can async
1430 instead of whether it is already async.
1431 (linux_nat_terminal_ours): Don't check whether the target is
1432 async.
1433 (linux_async_pipe): Use linux_is_async_p.
1434
253828f1
JK
14352015-01-22 Jan Kratochvil <[email protected]>
1436
1437 * NEWS (Changes since GDB 7.9): Add 'thread apply all' option
1438 '-ascending'.
1439 * thread.c (tp_array_compar_ascending, tp_array_compar): New.
1440 (thread_apply_all_command): Parse CMD for tp_array_compar_ascending.
1441 Sort tp_array using tp_array_compar.
1442 (_initialize_thread): Extend thread_apply_all_command help.
1443
f0e8c4c5
JK
14442015-01-22 Jan Kratochvil <[email protected]>
1445
1446 * corelow.c (core_open): Call also thread_command.
1447 * gdbthread.h (thread_command): New prototype moved from ...
1448 * thread.c (thread_command): ... here.
1449 (thread_command): Make it global.
1450
03b79603
PA
14512015-01-22 Pedro Alves <[email protected]>
1452
1453 * configure.ac [*mingw32*]: Check $curses_found instead of
1454 $prefer_curses.
1455 * configure: Regenerate.
1456 * windows-termcap.c: Remove HAVE_CURSES_H, HAVE_NCURSES_H and
1457 HAVE_NCURSES_NCURSES_H checks.
1458
6b8a872f
EZ
14592015-01-22 Eli Zaretskii <[email protected]>
1460
bbbbffbb 1461 * tui/tui.c (tui_enable) [__MINGW32__]: If the call to 'newterm'
6b8a872f
EZ
1462 fails with the 1st arg NULL, try again with "unknown". Don't test
1463 the "cup" capability: it isn't supported by the Windows port of
1464 ncurses, but the Windows console driver is still capable of
1465 supporting TUI.
1466
4b62a76e
JK
14672015-01-22 Jan Kratochvil <[email protected]>
1468
1469 * compile/compile.c (_initialize_compile): Use -fPIE for compile_args.
1470
82a864f9
EZ
14712015-01-22 Eli Zaretskii <[email protected]>
1472
1473 * Makefile.in (HFILES_NO_SRCDIR): Remove ada-varobj.h.
1474 (ALLDEPFILES): Remove irix5-nat.c. These two are part of the
1475 reason that "make TAGS" is broken.
1476
b35018fd
CG
14772015-01-22 Chen Gang <[email protected]>
1478
1479 * hppa-tdep.c (inst_saves_gr): Fix logical working flow issues
1480 and check additional store instructions.
1481
ffbc4646
WW
14822015-01-21 Wei-cheng Wang <[email protected]>
1483
1484 * MAINTAINERS (Write After Approval): Add "Wei-cheng Wang".
1485
ddeca1df
WW
14862015-01-21 Wei-cheng Wang <[email protected]>
1487
1488 * ppc-linux-tdep.c (ppc_skip_trampoline_code,
1489 ppc_canonicalize_syscall, ppc_linux_syscall_record,
1490 ppc_linux_record_signal, ppc_init_linux_record_tdep): Add comments.
1491 * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
1492 * rs6000-tdep.c (rs6000_epilogue_frame_cache,
1493 rs6000_epilogue_frame_this_id, rs6000_epilogue_frame_prev_register,
1494 rs6000_epilogue_frame_sniffer, ppc_record_vsr, ppc_process_record_op4,
1495 ppc_process_record_op19, ppc_process_record_op31,
1496 ppc_process_record_op59, ppc_process_record_op60,
1497 ppc_process_record_op63): Likewise.
1498
049bb5de
JB
14992015-01-20 Joel Brobecker <[email protected]>
1500
1501 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason_string)
1502 (linux_ptrace_test_ret_to_nx): Use safe_strerror instead of
1503 strerror.
1504
42b87c63 15052015-01-20 Wei-cheng Wang <[email protected]>
810c1026
WW
1506
1507 * rs6000-tdep.c (ppc_process_record_op4, ppc_process_record_op19,
1508 ppc_process_record_op31, ppc_process_record_op59,
1509 ppc_process_record_op60, ppc_process_record_op63,
1510 ppc_process_record): Fix -Wformat warning.
1511 * rs6000-tdep.c (rs6000_epilogue_frame_cache, ppc_process_record_op60):
1512 Remove unused variables.
1513
569340fc
CG
15142015-01-20 Chen Gang <[email protected]>
1515
1516 * MAINTAINERS (Write After Approval): Add "Chen Gang".
1517
63413d85
EZ
15182015-01-19 Eli Zaretskii <[email protected]>
1519
1520 * configure.ac [*mingw32*]: Only add windows-termcap.o to
1521 CONFIG_OBS if not building with a curses library.
1522 * configure: Regenerate.
1523
1524 * windows-termcap.c: Include defs.h. Make the whole body empty if
1525 either one of HAVE_CURSES_H or HAVE_NCURSES_H or
1526 HAVE_NCURSES_NCURSES_H is defined.
1527
16d8013c
JB
15282015-01-19 Joel Brobecker <[email protected]>
1529
1530 * rs6000-tdep.c (rs6000_gdbarch_init): Move divide operator
1531 from end of line to start of next line.
1532
cf90fd9a
WW
15332015-01-17 Wei-cheng Wang <[email protected]>
1534
1535 * ppc-linux-tdep.c (ppc_skip_trampoline_code):
1536 Scan PLT stub backward for reverse debugging.
1537 * ppc64-tdep.c (ppc64_skip_trampoline_code): Likewise.
1538
b4cdae6f
WW
15392015-01-17 Wei-cheng Wang <[email protected]>
1540 Ulrich Weigand <[email protected]>
1541
1542 * configure.tgt (powerpc*-*-linux): Add linux-record.o to
1543 gdb_target_obs.
1544 (ppc_linux_record_tdep, ppc64_linux_record_tdep): New for linux syscall
1545 record.
1546 (ppc_canonicalize_syscall, ppc_linux_syscall_record,
1547 ppc_linux_record_signal, ppc_init_linux_record_tdep): New functions.
1548 (ppc_linux_init_abi): Set process_record, process_record_signal.
1549 * ppc-tdep.h (struct gdbarch_tdep): Add ppc_syscall_record and
1550 ppc_linux_record_tdep to gdbarch_tdep.
1551 (ppc_process_record): New declaration.
1552 * rs6000-tdep.c (ppc_record_vsr, ppc_process_record_op4,
1553 ppc_process_record_op19, ppc_process_record_op31,
1554 ppc_process_record_op59, ppc_process_record_op60,
1555 ppc_process_record_op63, ppc_process_record): New functions.
1556
2608dbf8
WW
15572015-01-17 Wei-cheng Wang <[email protected]>
1558
1559 * rs6000-tdep.c (rs6000_in_function_epilogue_p): Rename to
1560 rs6000_in_function_epilogue_frame_p and add an argument
1561 for frame_info.
1562 (rs6000_epilogue_frame_cache, rs6000_epilogue_frame_this_id,
1563 rs6000_epilogue_frame_prev_register, rs6000_epilogue_frame_sniffer):
1564 New functions.
1565 (rs6000_epilogue_frame_unwind): New.
1566 (rs6000_gdbarch_init): Append epilogue unwinder.
1567
4c347be6
SDJ
15682015-01-16 Sergio Durigan Junior <[email protected]>
1569
1570 * nat/linux-personality.c: Replace "#ifndef
1571 HAVE_DECL_ADDR_NO_RANDOMIZE" by "#if
1572 !HAVE_DECL_ADDR_NO_RANDOMIZE", fixing a regression in RHEL-5
1573 systems.
1574
9f2850ba
EZ
15752015-01-16 Eli Zaretskii <[email protected]>
1576
6cdb25f4
EZ
1577 * tui/tui-win.c (tui_rehighlight_all, tui_set_var_cmd): New
1578 functions.
1579 (_initialize_tui_win) <border-kind, border-mode>:
1580 <active-border-mode>: Use tui_set_var_cmd as the "set" function.
c54da50d
EZ
1581 (tui_set_tab_width_command): Fix the commentary.
1582
6cdb25f4
EZ
1583 * tui/tui-win.h: Add prototype for tui_rehighlight_all.
1584
bf555842
EZ
1585 * tui/tui-win.c (tui_scroll_left_command, tui_scroll_right_command):
1586 Doc fix.
cb86fcc1
EZ
1587 (tui_set_tab_width_command): Delete and recreate the source and
1588 the disassembly windows, to show the effect of the changed tab
1589 size immediately.
bf555842 1590
9f2850ba
EZ
1591 * tui/tui-data.h (LINE_PREFIX): Make shorter
1592 (MAX_PID_WIDTH): Enlarge from 14 to 19, to leave enough space for
1593 "Thread NNNNN.XXXX" thread ID notation on Windows.
1594
95761b2d
JK
15952015-01-16 Jan Kratochvil <[email protected]>
1596
1597 Fix gcc-5 compilation.
1598 * hppa-tdep.c (inst_saves_gr): Fix parentheses typo.
1599
8cc73a39
SDJ
16002015-01-15 Sergio Durigan Junior <[email protected]>
1601
1602 * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-personality.h.
1603 (linux-personality.o): New rule.
1604 * common/common-defs.h: Include <stdint.h>.
1605 * config/aarch64/linux.mh (NATDEPFILES): Include
1606 linux-personality.o.
1607 * config/alpha/alpha-linux.mh (NATDEPFILES): Likewise.
1608 * config/arm/linux.mh (NATDEPFILES): Likewise.
1609 * config/i386/linux64.mh (NATDEPFILES): Likewise.
1610 * config/i386/linux.mh (NATDEPFILES): Likewise.
1611 * config/ia64/linux.mh (NATDEPFILES): Likewise.
1612 * config/m32r/linux.mh (NATDEPFILES): Likewise.
1613 * config/m68k/linux.mh (NATDEPFILES): Likewise.
1614 * config/mips/linux.mh (NATDEPFILES): Likewise.
1615 * config/pa/linux.mh (NATDEPFILES): Likewise.
1616 * config/powerpc/linux.mh (NATDEPFILES): Likewise.
1617 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
1618 * config/powerpc/spu-linux.mh (NATDEPFILES): Likewise.
1619 * config/s390/linux.mh (NATDEPFILES): Likewise.
1620 * config/sparc/linux64.mh (NATDEPFILES): Likewise.
1621 * config/sparc/linux.mh (NATDEPFILES): Likewise.
1622 * config/tilegx/linux.mh (NATDEPFILES): Likewise.
1623 * config/xtensa/linux.mh (NATDEPFILES): Likewise.
1624 * defs.h: Remove #include <stdint.h> (moved to
1625 common/common-defs.h).
1626 * linux-nat.c: Include nat/linux-personality.h. Remove #include
1627 <sys/personality.h>; do not define ADDR_NO_RANDOMIZE (moved to
1628 nat/linux-personality.c).
1629 (linux_nat_create_inferior): Remove code to disable address space
1630 randomization (moved to nat/linux-personality.c). Create cleanup
1631 to disable address space randomization.
1632 * nat/linux-personality.c: New file.
1633 * nat/linux-personality.h: Likewise.
1634
fb23d554
SDJ
16352015-01-15 Sergio Durigan Junior <[email protected]>
1636
1637 * Makefile.in (ALLDEPFILES): Including common/mingw-strerror.c and
1638 common/posix-strerror.c.
1639 (posix-strerror.o): New rule.
1640 (mingw-strerror.o): Likewise.
1641 * common/common-utils.h (safe_strerror): Move prototype to here,
1642 from utils.h.
1643 * common/common.host: New file.
1644 * common/mingw-strerror.c: Likewise.
1645 * common/posix-strerror.c: Likewise.
1646 * configure: Regenerated.
1647 * configure.ac: Source common/common.host. Add variable
1648 common_host_obs to gdb_host_obs.
1649 * contrib/ari/gdb_ari.sh: Mention gdb/common/mingw-strerror.c and
1650 gdb/common/posix-strerror.c when warning about the use of
1651 strerror.
1652 * mingw-hdep.c (safe_strerror): Remove definition; move it to
1653 common/mingw-strerror.c.
1654 * posix-hdep.c (safe_strerror): Remove definition; move it to
1655 common/posix-hdep.c.
1656 * utils.h (safe_strerror): Remove prototype; move to
1657 common/common-utils.h.
1658
3af8af43
JB
16592015-01-15 Joel Brobecker <[email protected]>
1660
1661 GDB 7.8.2 released.
1662
bafffb51
JB
16632015-01-15 Joel Brobecker <[email protected]>
1664
1665 * ada-lang.c (ada_array_bound_from_type): Ignore array's parallel
1666 ___XA type if the array has already been fixed.
1667
cdf43629
YQ
16682015-01-14 Yao Qi <[email protected]>
1669
1670 * Makefile.in (ppc-linux.o): New rule.
1671 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add ppc-linux.o.
1672 * configure.ac: AC_CHECK_FUNCS(getauxval).
1673 * config.in: Re-generated.
1674 * configure: Re-generated.
1675 * nat/ppc-linux.h [__powerpc64__] (ppc64_64bit_inferior_p):
1676 Declare.
1677 * nat/ppc-linux.c: New file.
1678 * ppc-linux-nat.c (ppc_linux_target_wordsize) [__powerpc64__]:
1679 Call ppc64_64bit_inferior_p.
1680
514c5338
YQ
16812015-01-14 Yao Qi <[email protected]>
1682
1683 * ppc-linux-nat.c (PT_ORIG_R3, PT_TRAP): Move to
1684 nat/ppc-linux.h.
1685 (PPC_FEATURE_CELL, PPC_FEATURE_BOOKE): Likewise.
1686 (PPC_FEATURE_HAS_DFP): Likewise.
1687 (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Likewise.
1688 (PTRACE_GETVSXREGS, PTRACE_SETVSXREGS): Likewise.
1689 (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): Likewise.
1690 Include "nat/ppc-linux.h".
1691 * nat/ppc-linux.h: New file.
1692 * Makefile.in (HFILES_NO_SRCDIR): Add nat/ppc-linux.h.
1693
5589af0e
PA
16942015-01-14 Pedro Alves <[email protected]>
1695
1696 PR gdb/17525
1697 * breakpoint.c: Include "interps.h".
1698 (bpstat_do_actions_1): Also check whether the interpreter is
1699 async.
1700
6c400b59
PA
17012015-01-14 Pedro Alves <[email protected]>
1702
1703 PR cli/17828
1704 * infrun.c (reinstall_readline_callback_handler_cleanup): Don't
1705 reinstall if the interpreter is sync.
1706
e02c96a7
DE
17072015-01-13 Doug Evans <[email protected]>
1708
1709 * objfiles.c (objfile_filename): New function.
1710 * objfiles.h (objfile_filename): Declare it.
1711 (objfile_name): Add function comment.
1712 * python/py-objfile.c (objfpy_lookup_objfile_by_name): Try both the
1713 bfd file name (which may be realpath'd), and the original name.
1714
3b2f13ff
JB
17152015-01-13 Joel Brobecker <[email protected]>
1716
1717 * NEWS: Create a new section for the next release branch.
1718 Rename the section of the current branch, now that it has
1719 been cut.
1720
b4cfe7f8
JB
17212015-01-13 Joel Brobecker <[email protected]>
1722
1723 GDB 7.9 branch created (92fc2e6978d9a7c8324c7e851dbee59e22ec7a37):
1724 * version.in: Bump version to 7.9.50.DATE-cvs.
1725
92fc2e69
JB
17262015-01-13 Joel Brobecker <[email protected]>
1727
1728 * nat/linux-procfs.c (linux_proc_attach_tgid_threads):
1729 Remove trailing new-line in argument of call to warning.
1730
f71f0b0d
JB
17312015-01-13 Joel Brobecker <[email protected]>
1732
1733 * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing
1734 new-line in argument of call to "warning".
1735
04dccad0
JB
17362015-01-13 Joel Brobecker <[email protected]>
1737
1738 * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found
1739 in static block, then try searching for primitive types.
1740
08b13bdd
PP
17412015-01-12 Patrick Palka <[email protected]>
1742
1743 * top.h (gdb_add_history): Declare.
1744 * top.c (command_count): New variable.
1745 (gdb_add_history): New function.
1746 (gdb_safe_append_history): New static function.
1747 (quit_force): Call it.
1748 (command_line_input): Use gdb_add_history instead of
1749 add_history.
1750 * event-top.c (command_line_handler): Likewise.
1751
4ac15b59
JC
17522015-01-12 James Clarke <[email protected]> (tiny patch)
1753
1754 PR gdb/17046
1755 * darwin-nat.c: Replace <machine/setjmp.h> #include by
1756 <setjmp.h> #include.
1757
005e54bb
DE
17582015-01-11 Doug Evans <[email protected]>
1759
1760 * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
1761
439250fb
DE
17622015-01-11 Doug Evans <[email protected]>
1763
1764 PR gdb/15830
1765 * NEWS: The "maint demangle" command is renamed as "demangle".
1766 * demangle.c: #include cli/cli-utils.h, language.h.
1767 (demangle_command): New function.
1768 (_initialize_demangle): Add new command "demangle".
1769 * maint.c (maintenance_demangle): Stub out.
1770 (_initialize_maint_cmds): Update help text for "maint demangle",
1771 and mark as deprecated.
1772
ebf3aa72
MK
17732015-01-11 Mark Kettenis <[email protected]>
1774
1775 * inf-ptrace.c (inf_ptrace_follow_fork): Adjust now that
1776 inferior_thread is a function.
1777
6bf045cd
PP
17782015-01-09 Patrick Palka <[email protected]>
1779
1780 * Makefile.in (.y.c): Don't munge yacc's #line
1781 directives.
1782
588dcc3e
PP
17832015-01-09 Patrick Palka <[email protected]>
1784
1785 * utils.c (defaulted_query): Rewrite to use gdb_readline_wrapper
1786 to prompt for input.
1787 * tui/tui-hooks.c (tui_query_hook): Remove.
1788 (tui_install_hooks): Don't set deprecated_query_hook.
1789 * tui/tui-io.c (tui_redisplay_readline): Fix off-by-one error in
1790 height calculation. Always update the command window's cur_line.
1791
9c02b525
PA
17922015-01-09 Pedro Alves <[email protected]>
1793
1794 * breakpoint.c (hardware_breakpoint_inserted_here_p): New
1795 function.
1796 * breakpoint.h (hardware_breakpoint_inserted_here_p): New
1797 declaration.
1798 * linux-nat.c (linux_nat_status_is_event): Move higher up in file.
1799 (linux_resume_one_lwp): Store the thread's PC. Adjust to clear
1800 stop_reason.
1801 (check_stopped_by_watchpoint): New function.
1802 (save_sigtrap): Reimplement.
1803 (linux_nat_stopped_by_watchpoint): Adjust.
1804 (linux_nat_lp_status_is_event): Delete.
1805 (stop_wait_callback): Only call save_sigtrap after storing the
1806 pending status.
1807 (status_callback): If the thread had been stopped for a breakpoint
1808 that has since been removed, discard the event and resume the LWP.
1809 (count_events_callback, select_event_lwp_callback): Use
1810 lwp_status_pending_p instead of linux_nat_lp_status_is_event.
1811 (cancel_breakpoint): Rename to ...
1812 (check_stopped_by_breakpoint): ... this. Record whether the LWP
1813 stopped for a software breakpoint or hardware breakpoint.
1814 (select_event_lwp): Only give preference to the stepping LWP in
1815 all-stop mode. Adjust comments.
1816 (stop_and_resume_callback): Remove references to new_pending_p.
1817 (linux_nat_filter_event): Likewise. Leave exit events of the
1818 leader thread pending here. Handle signal short circuiting here.
1819 Only call save_sigtrap after storing the pending waitstatus.
1820 (linux_nat_wait_1): Remove 'retry' label. Remove references to
1821 new_pending. Don't handle leaving events the caller is not
1822 interested in pending here, nor handle signal short-circuiting
1823 here. Also give equal priority to all LWPs that have had events
1824 in non-stop mode. If reporting a software breakpoint event,
1825 unadjust the LWP's PC.
1826 * linux-nat.h (enum lwp_stop_reason): New.
1827 (struct lwp_info) <stop_pc>: New field.
1828 (struct lwp_info) <stopped_by_watchpoint>: Delete field.
1829 (struct lwp_info) <stop_reason>: New field.
1830 * x86-linux-nat.c (x86_linux_prepare_to_resume): Adjust.
1831
8af756ef
PA
18322015-01-09 Pedro Alves <[email protected]>
1833
1834 * linux-nat.c (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>:
1835 Set the LWP's 'resumed' flag.
1836
8a99810d
PA
18372015-01-09 Pedro Alves <[email protected]>
1838
1839 * linux-nat.c (linux_resume_one_lwp): New function.
1840 (resume_lwp): Use lwp_status_pending_p and linux_resume_one_lwp.
1841 (linux_nat_resume): Use lwp_status_pending_p and
1842 linux_resume_one_lwp.
1843 (linux_handle_syscall_trap): Use linux_resume_one_lwp.
1844 (linux_handle_extended_wait): Use linux_resume_one_lwp.
1845 (status_callback, running_callback): Use lwp_status_pending_p.
1846 (lwp_status_pending_p): New function.
1847 (stop_and_resume_callback): Use lwp_status_pending_p.
1848 (linux_nat_filter_event): Use linux_resume_one_lwp.
1849 (linux_nat_wait_1): Always use status_callback to look for an LWP
1850 with a pending status. Use linux_resume_one_lwp.
1851 (resume_stopped_resumed_lwps): Use lwp_status_pending_p and
1852 linux_resume_one_lwp.
1853
f7ce857f
PA
18542015-01-09 Pedro Alves <[email protected]>
1855
1856 * breakpoint.c (bp_location_inserted_here_p): New function,
1857 factored out from ...
1858 (breakpoint_inserted_here_p): ... here. Use
1859 ALL_BP_LOCATIONS_AT_ADDR.
1860 (software_breakpoint_inserted_here_p): Use
1861 bp_location_inserted_here_p and ALL_BP_LOCATIONS_AT_ADDR.
1862
c1a747c1
PA
18632014-01-09 Pedro Alves <[email protected]>
1864
1865 Skip enabling event reporting if the kernel supports
1866 PTRACE_EVENT_CLONE.
1867 * linux-thread-db.c: Include "nat/linux-ptrace.h".
1868 (thread_db_use_events): New function.
1869 (try_thread_db_load_1): Check thread_db_use_events before enabling
1870 event reporting.
1871 (update_thread_state): New function.
1872 (attach_thread): Use it. Check thread_db_use_events before
1873 enabling event reporting.
1874 (thread_db_detach): Check thread_db_use_events before disabling
1875 event reporting.
1876 (find_new_threads_callback): Check thread_db_use_events before
1877 enabling event reporting. Update the thread's state if not using
1878 libthread_db events.
1879
a33e3959
PA
18802015-01-09 Pedro Alves <[email protected]>
1881
1882 * linux-nat.c (lin_lwp_attach_lwp): Assert that the lwp id we're
1883 about to wait for is > 0.
1884 * linux-thread-db.c (find_new_threads_callback): Ignore thread if
1885 the kernel thread ID is -1.
1886
8784d563
PA
18872015-01-09 Pedro Alves <[email protected]>
1888
1889 * linux-nat.c (attach_proc_task_lwp_callback): New function.
1890 (linux_nat_attach): Use linux_proc_attach_tgid_threads.
1891 (wait_lwp, linux_nat_filter_event): If not set yet, set the lwp's
1892 ptrace option flags.
1893 * linux-nat.h (struct lwp_info) <must_set_ptrace_flags>: New
1894 field.
1895 * nat/linux-procfs.c: Include <dirent.h>.
1896 (linux_proc_get_int): New parameter "warn". Handle it.
1897 (linux_proc_get_tgid): Adjust.
1898 (linux_proc_get_tracerpid): Rename to ...
1899 (linux_proc_get_tracerpid_nowarn): ... this.
1900 (linux_proc_pid_get_state): New function, factored out from
1901 (linux_proc_pid_has_state): ... this. Add new parameter "warn"
1902 and handle it.
1903 (linux_proc_pid_is_gone): New function.
1904 (linux_proc_pid_is_stopped): Adjust.
1905 (linux_proc_pid_is_zombie_maybe_warn)
1906 (linux_proc_pid_is_zombie_nowarn): New functions.
1907 (linux_proc_pid_is_zombie): Use
1908 linux_proc_pid_is_zombie_maybe_warn.
1909 (linux_proc_attach_tgid_threads): New function.
1910 * nat/linux-procfs.h (linux_proc_get_tgid): Update comment.
1911 (linux_proc_get_tracerpid): Rename to ...
1912 (linux_proc_get_tracerpid_nowarn): ... this, and update comment.
1913 (linux_proc_pid_is_gone): New declaration.
1914 (linux_proc_pid_is_zombie): Update comment.
1915 (linux_proc_pid_is_zombie_nowarn): New declaration.
1916 (linux_proc_attach_lwp_func): New typedef.
1917 (linux_proc_attach_tgid_threads): New declaration.
1918 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason): Adjust to
1919 use nowarn functions.
1920 (linux_ptrace_attach_fail_reason_string): Move here from
1921 gdbserver/linux-low.c and rename.
1922 (ptrace_supports_feature): If the current ptrace options are not
1923 known yet, check them now, instead of asserting.
1924 * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason_string):
1925 Declare.
1926
883ed13e
PA
19272015-01-09 Pedro Alves <[email protected]>
1928
1929 * linux-thread-db.c (thread_db_find_new_threads_silently)
1930 (try_thread_db_load_1, try_thread_db_load, thread_db_load_search)
1931 (find_new_threads_once): Print debug output on gdb_stdlog.
1932
1710aab8
CG
19332015-01-09 Chen Gang <[email protected]>
1934 Pedro Alves <[email protected]>
1935
1936 * compile/compile.c: Include "gdb_wait.h".
1937 (do_rmdir): Check return value, and free 'zap'.
1938
b597c318
YQ
19392015-01-08 Pedro Alves <[email protected]>
1940 Yao Qi <[email protected]>
1941
1942 * dwarf2loc.c (indirect_pieced_value): Don't call
1943 gdb_sign_extend. Call extract_signed_integer instead.
1944 * utils.c (gdb_sign_extend): Remove.
1945 * utils.h (gdb_sign_extend): Remove declaration.
1946
025ac414
PM
19472015-01-07 Pierre Muller <[email protected]>
1948
1949 PR symtab/17811
1950 * stabsread.c (define_symbol): Set language for C++ special symbols.
1951
fa5af12a
PP
19522015-01-07 Patrick Palka <[email protected]>
1953
1954 * inflow.c (initial_gdb_ttystate): Tweak comment.
1955
ea42d6f8
JB
19562015-01-07 Joel Brobecker <[email protected]>
1957
1958 * inflow.c (set_initial_gdb_ttystate): Add empty line after
1959 comment documenting function.
1960
6a06d660
PP
19612015-01-07 Patrick Palka <[email protected]>
1962
1963 * terminal.h (set_initial_gdb_ttystate): Declare.
1964 * inflow.c (initial_gdb_ttystate): New static variable.
1965 (set_initial_gdb_ttystate): New setter.
1966 (child_terminal_init_with_pgrp): Copy initial_gdb_ttystate
1967 instead of our current terminal state.
1968 * top.c (gdb_init): Call set_initial_gdb_ttystate.
1969
e810d75b
JB
19702015-01-07 Joel Brobecker <[email protected]>
1971
1972 * guile/scm-type.c (tyscm_array_1): Add comment.
1973 * python/py-type.c (typy_array_1): Add comment.
1974
fce10a84
JB
19752015-01-06 Joel Brobecker <[email protected]>
1976
1977 * guile/scm-type.c (tyscm_array_1): Do not raise out-of-range
1978 error if N2 is equal to N1 - 1.
1979
8503d6e1
JB
19802015-01-06 Joel Brobecker <[email protected]>
1981
1982 * python/py-type.c (typy_array_1): Do not raise negative-length
1983 exception if N2 is equal to N1 - 1.
1984
4d29c0a8
DE
19852015-01-03 Doug Evans <[email protected]>
1986
1987 * c-exp.y: Whitespace cleanup.
1988 (classify_inner_name): Remove extra ;.
1989
eaa6a9a4
MR
19902015-01-02 Maciej W. Rozycki <[email protected]>
1991
1992 * mips-tdep.c (mips32_scan_prologue): Keep the extracted stack
1993 offset signed.
1994
02fe9972
DE
19952015-01-02 Doug Evans <[email protected]>
1996
1997 * dwarf2read.c (setup_type_unit_groups): Remove outdated comment.
1998
e2ada9cb
DE
19992015-01-02 Doug Evans <[email protected]>
2000
2001 * symtab.h (struct symbol): Fix typo in comment.
2002
32d0add0
JB
20032015-01-01 Joel Brobecker <[email protected]>
2004
2005 Update year range in copyright notice of all files.
2006
76f2b779
JB
20072015-01-01 Joel Brobecker <[email protected]>
2008
2009 * top.c (print_gdb_version): Update copyright year to 2015.
2010
077309e2 20112015-01-01 Joel Brobecker <[email protected]>
6bf6fd09 2012
077309e2 2013 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2014.
6bf6fd09 2014
077309e2 2015For older changes see ChangeLog-2014.
c906108c
SS
2016\f
2017Local Variables:
2018mode: change-log
2019left-margin: 8
2020fill-column: 74
2021version-control: never
57da7796 2022coding: utf-8
c906108c 2023End:
This page took 3.950008 seconds and 4 git commands to generate.