Make the change of tab size in TUI mode effective immediately
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
9f2850ba
EZ
12015-01-16 Eli Zaretskii <eliz@gnu.org>
2
bf555842
EZ
3 * tui/tui-win.c (tui_scroll_left_command, tui_scroll_right_command):
4 Doc fix.
cb86fcc1
EZ
5 (tui_set_tab_width_command): Delete and recreate the source and
6 the disassembly windows, to show the effect of the changed tab
7 size immediately.
bf555842 8
9f2850ba
EZ
9 * tui/tui-data.h (LINE_PREFIX): Make shorter
10 (MAX_PID_WIDTH): Enlarge from 14 to 19, to leave enough space for
11 "Thread NNNNN.XXXX" thread ID notation on Windows.
12
95761b2d
JK
132015-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14
15 Fix gcc-5 compilation.
16 * hppa-tdep.c (inst_saves_gr): Fix parentheses typo.
17
8cc73a39
SDJ
182015-01-15 Sergio Durigan Junior <sergiodj@redhat.com>
19
20 * Makefile.in (HFILES_NO_SRCDIR): Add nat/linux-personality.h.
21 (linux-personality.o): New rule.
22 * common/common-defs.h: Include <stdint.h>.
23 * config/aarch64/linux.mh (NATDEPFILES): Include
24 linux-personality.o.
25 * config/alpha/alpha-linux.mh (NATDEPFILES): Likewise.
26 * config/arm/linux.mh (NATDEPFILES): Likewise.
27 * config/i386/linux64.mh (NATDEPFILES): Likewise.
28 * config/i386/linux.mh (NATDEPFILES): Likewise.
29 * config/ia64/linux.mh (NATDEPFILES): Likewise.
30 * config/m32r/linux.mh (NATDEPFILES): Likewise.
31 * config/m68k/linux.mh (NATDEPFILES): Likewise.
32 * config/mips/linux.mh (NATDEPFILES): Likewise.
33 * config/pa/linux.mh (NATDEPFILES): Likewise.
34 * config/powerpc/linux.mh (NATDEPFILES): Likewise.
35 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
36 * config/powerpc/spu-linux.mh (NATDEPFILES): Likewise.
37 * config/s390/linux.mh (NATDEPFILES): Likewise.
38 * config/sparc/linux64.mh (NATDEPFILES): Likewise.
39 * config/sparc/linux.mh (NATDEPFILES): Likewise.
40 * config/tilegx/linux.mh (NATDEPFILES): Likewise.
41 * config/xtensa/linux.mh (NATDEPFILES): Likewise.
42 * defs.h: Remove #include <stdint.h> (moved to
43 common/common-defs.h).
44 * linux-nat.c: Include nat/linux-personality.h. Remove #include
45 <sys/personality.h>; do not define ADDR_NO_RANDOMIZE (moved to
46 nat/linux-personality.c).
47 (linux_nat_create_inferior): Remove code to disable address space
48 randomization (moved to nat/linux-personality.c). Create cleanup
49 to disable address space randomization.
50 * nat/linux-personality.c: New file.
51 * nat/linux-personality.h: Likewise.
52
fb23d554
SDJ
532015-01-15 Sergio Durigan Junior <sergiodj@redhat.com>
54
55 * Makefile.in (ALLDEPFILES): Including common/mingw-strerror.c and
56 common/posix-strerror.c.
57 (posix-strerror.o): New rule.
58 (mingw-strerror.o): Likewise.
59 * common/common-utils.h (safe_strerror): Move prototype to here,
60 from utils.h.
61 * common/common.host: New file.
62 * common/mingw-strerror.c: Likewise.
63 * common/posix-strerror.c: Likewise.
64 * configure: Regenerated.
65 * configure.ac: Source common/common.host. Add variable
66 common_host_obs to gdb_host_obs.
67 * contrib/ari/gdb_ari.sh: Mention gdb/common/mingw-strerror.c and
68 gdb/common/posix-strerror.c when warning about the use of
69 strerror.
70 * mingw-hdep.c (safe_strerror): Remove definition; move it to
71 common/mingw-strerror.c.
72 * posix-hdep.c (safe_strerror): Remove definition; move it to
73 common/posix-hdep.c.
74 * utils.h (safe_strerror): Remove prototype; move to
75 common/common-utils.h.
76
3af8af43
JB
772015-01-15 Joel Brobecker <brobecker@adacore.com>
78
79 GDB 7.8.2 released.
80
bafffb51
JB
812015-01-15 Joel Brobecker <brobecker@adacore.com>
82
83 * ada-lang.c (ada_array_bound_from_type): Ignore array's parallel
84 ___XA type if the array has already been fixed.
85
cdf43629
YQ
862015-01-14 Yao Qi <yao@codesourcery.com>
87
88 * Makefile.in (ppc-linux.o): New rule.
89 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Add ppc-linux.o.
90 * configure.ac: AC_CHECK_FUNCS(getauxval).
91 * config.in: Re-generated.
92 * configure: Re-generated.
93 * nat/ppc-linux.h [__powerpc64__] (ppc64_64bit_inferior_p):
94 Declare.
95 * nat/ppc-linux.c: New file.
96 * ppc-linux-nat.c (ppc_linux_target_wordsize) [__powerpc64__]:
97 Call ppc64_64bit_inferior_p.
98
514c5338
YQ
992015-01-14 Yao Qi <yao@codesourcery.com>
100
101 * ppc-linux-nat.c (PT_ORIG_R3, PT_TRAP): Move to
102 nat/ppc-linux.h.
103 (PPC_FEATURE_CELL, PPC_FEATURE_BOOKE): Likewise.
104 (PPC_FEATURE_HAS_DFP): Likewise.
105 (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Likewise.
106 (PTRACE_GETVSXREGS, PTRACE_SETVSXREGS): Likewise.
107 (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): Likewise.
108 Include "nat/ppc-linux.h".
109 * nat/ppc-linux.h: New file.
110 * Makefile.in (HFILES_NO_SRCDIR): Add nat/ppc-linux.h.
111
5589af0e
PA
1122015-01-14 Pedro Alves <palves@redhat.com>
113
114 PR gdb/17525
115 * breakpoint.c: Include "interps.h".
116 (bpstat_do_actions_1): Also check whether the interpreter is
117 async.
118
6c400b59
PA
1192015-01-14 Pedro Alves <palves@redhat.com>
120
121 PR cli/17828
122 * infrun.c (reinstall_readline_callback_handler_cleanup): Don't
123 reinstall if the interpreter is sync.
124
e02c96a7
DE
1252015-01-13 Doug Evans <dje@google.com>
126
127 * objfiles.c (objfile_filename): New function.
128 * objfiles.h (objfile_filename): Declare it.
129 (objfile_name): Add function comment.
130 * python/py-objfile.c (objfpy_lookup_objfile_by_name): Try both the
131 bfd file name (which may be realpath'd), and the original name.
132
3b2f13ff
JB
1332015-01-13 Joel Brobecker <brobecker@adacore.com>
134
135 * NEWS: Create a new section for the next release branch.
136 Rename the section of the current branch, now that it has
137 been cut.
138
b4cfe7f8
JB
1392015-01-13 Joel Brobecker <brobecker@adacore.com>
140
141 GDB 7.9 branch created (92fc2e6978d9a7c8324c7e851dbee59e22ec7a37):
142 * version.in: Bump version to 7.9.50.DATE-cvs.
143
92fc2e69
JB
1442015-01-13 Joel Brobecker <brobecker@adacore.com>
145
146 * nat/linux-procfs.c (linux_proc_attach_tgid_threads):
147 Remove trailing new-line in argument of call to warning.
148
f71f0b0d
JB
1492015-01-13 Joel Brobecker <brobecker@adacore.com>
150
151 * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing
152 new-line in argument of call to "warning".
153
04dccad0
JB
1542015-01-13 Joel Brobecker <brobecker@adacore.com>
155
156 * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found
157 in static block, then try searching for primitive types.
158
08b13bdd
PP
1592015-01-12 Patrick Palka <patrick@parcs.ath.cx>
160
161 * top.h (gdb_add_history): Declare.
162 * top.c (command_count): New variable.
163 (gdb_add_history): New function.
164 (gdb_safe_append_history): New static function.
165 (quit_force): Call it.
166 (command_line_input): Use gdb_add_history instead of
167 add_history.
168 * event-top.c (command_line_handler): Likewise.
169
4ac15b59
JC
1702015-01-12 James Clarke <jrtc27@jrtc27.com> (tiny patch)
171
172 PR gdb/17046
173 * darwin-nat.c: Replace <machine/setjmp.h> #include by
174 <setjmp.h> #include.
175
005e54bb
DE
1762015-01-11 Doug Evans <xdje42@gmail.com>
177
178 * dwarf2read.c (compute_delayed_physnames): Use TYPE_FN_FIELD_PHYSNAME.
179
439250fb
DE
1802015-01-11 Doug Evans <xdje42@gmail.com>
181
182 PR gdb/15830
183 * NEWS: The "maint demangle" command is renamed as "demangle".
184 * demangle.c: #include cli/cli-utils.h, language.h.
185 (demangle_command): New function.
186 (_initialize_demangle): Add new command "demangle".
187 * maint.c (maintenance_demangle): Stub out.
188 (_initialize_maint_cmds): Update help text for "maint demangle",
189 and mark as deprecated.
190
ebf3aa72
MK
1912015-01-11 Mark Kettenis <kettenis@gnu.org>
192
193 * inf-ptrace.c (inf_ptrace_follow_fork): Adjust now that
194 inferior_thread is a function.
195
6bf045cd
PP
1962015-01-09 Patrick Palka <patrick@parcs.ath.cx>
197
198 * Makefile.in (.y.c): Don't munge yacc's #line
199 directives.
200
588dcc3e
PP
2012015-01-09 Patrick Palka <patrick@parcs.ath.cx>
202
203 * utils.c (defaulted_query): Rewrite to use gdb_readline_wrapper
204 to prompt for input.
205 * tui/tui-hooks.c (tui_query_hook): Remove.
206 (tui_install_hooks): Don't set deprecated_query_hook.
207 * tui/tui-io.c (tui_redisplay_readline): Fix off-by-one error in
208 height calculation. Always update the command window's cur_line.
209
9c02b525
PA
2102015-01-09 Pedro Alves <palves@redhat.com>
211
212 * breakpoint.c (hardware_breakpoint_inserted_here_p): New
213 function.
214 * breakpoint.h (hardware_breakpoint_inserted_here_p): New
215 declaration.
216 * linux-nat.c (linux_nat_status_is_event): Move higher up in file.
217 (linux_resume_one_lwp): Store the thread's PC. Adjust to clear
218 stop_reason.
219 (check_stopped_by_watchpoint): New function.
220 (save_sigtrap): Reimplement.
221 (linux_nat_stopped_by_watchpoint): Adjust.
222 (linux_nat_lp_status_is_event): Delete.
223 (stop_wait_callback): Only call save_sigtrap after storing the
224 pending status.
225 (status_callback): If the thread had been stopped for a breakpoint
226 that has since been removed, discard the event and resume the LWP.
227 (count_events_callback, select_event_lwp_callback): Use
228 lwp_status_pending_p instead of linux_nat_lp_status_is_event.
229 (cancel_breakpoint): Rename to ...
230 (check_stopped_by_breakpoint): ... this. Record whether the LWP
231 stopped for a software breakpoint or hardware breakpoint.
232 (select_event_lwp): Only give preference to the stepping LWP in
233 all-stop mode. Adjust comments.
234 (stop_and_resume_callback): Remove references to new_pending_p.
235 (linux_nat_filter_event): Likewise. Leave exit events of the
236 leader thread pending here. Handle signal short circuiting here.
237 Only call save_sigtrap after storing the pending waitstatus.
238 (linux_nat_wait_1): Remove 'retry' label. Remove references to
239 new_pending. Don't handle leaving events the caller is not
240 interested in pending here, nor handle signal short-circuiting
241 here. Also give equal priority to all LWPs that have had events
242 in non-stop mode. If reporting a software breakpoint event,
243 unadjust the LWP's PC.
244 * linux-nat.h (enum lwp_stop_reason): New.
245 (struct lwp_info) <stop_pc>: New field.
246 (struct lwp_info) <stopped_by_watchpoint>: Delete field.
247 (struct lwp_info) <stop_reason>: New field.
248 * x86-linux-nat.c (x86_linux_prepare_to_resume): Adjust.
249
8af756ef
PA
2502015-01-09 Pedro Alves <palves@redhat.com>
251
252 * linux-nat.c (linux_handle_extended_wait) <PTRACE_EVENT_EXEC>:
253 Set the LWP's 'resumed' flag.
254
8a99810d
PA
2552015-01-09 Pedro Alves <palves@redhat.com>
256
257 * linux-nat.c (linux_resume_one_lwp): New function.
258 (resume_lwp): Use lwp_status_pending_p and linux_resume_one_lwp.
259 (linux_nat_resume): Use lwp_status_pending_p and
260 linux_resume_one_lwp.
261 (linux_handle_syscall_trap): Use linux_resume_one_lwp.
262 (linux_handle_extended_wait): Use linux_resume_one_lwp.
263 (status_callback, running_callback): Use lwp_status_pending_p.
264 (lwp_status_pending_p): New function.
265 (stop_and_resume_callback): Use lwp_status_pending_p.
266 (linux_nat_filter_event): Use linux_resume_one_lwp.
267 (linux_nat_wait_1): Always use status_callback to look for an LWP
268 with a pending status. Use linux_resume_one_lwp.
269 (resume_stopped_resumed_lwps): Use lwp_status_pending_p and
270 linux_resume_one_lwp.
271
f7ce857f
PA
2722015-01-09 Pedro Alves <palves@redhat.com>
273
274 * breakpoint.c (bp_location_inserted_here_p): New function,
275 factored out from ...
276 (breakpoint_inserted_here_p): ... here. Use
277 ALL_BP_LOCATIONS_AT_ADDR.
278 (software_breakpoint_inserted_here_p): Use
279 bp_location_inserted_here_p and ALL_BP_LOCATIONS_AT_ADDR.
280
c1a747c1
PA
2812014-01-09 Pedro Alves <palves@redhat.com>
282
283 Skip enabling event reporting if the kernel supports
284 PTRACE_EVENT_CLONE.
285 * linux-thread-db.c: Include "nat/linux-ptrace.h".
286 (thread_db_use_events): New function.
287 (try_thread_db_load_1): Check thread_db_use_events before enabling
288 event reporting.
289 (update_thread_state): New function.
290 (attach_thread): Use it. Check thread_db_use_events before
291 enabling event reporting.
292 (thread_db_detach): Check thread_db_use_events before disabling
293 event reporting.
294 (find_new_threads_callback): Check thread_db_use_events before
295 enabling event reporting. Update the thread's state if not using
296 libthread_db events.
297
a33e3959
PA
2982015-01-09 Pedro Alves <palves@redhat.com>
299
300 * linux-nat.c (lin_lwp_attach_lwp): Assert that the lwp id we're
301 about to wait for is > 0.
302 * linux-thread-db.c (find_new_threads_callback): Ignore thread if
303 the kernel thread ID is -1.
304
8784d563
PA
3052015-01-09 Pedro Alves <palves@redhat.com>
306
307 * linux-nat.c (attach_proc_task_lwp_callback): New function.
308 (linux_nat_attach): Use linux_proc_attach_tgid_threads.
309 (wait_lwp, linux_nat_filter_event): If not set yet, set the lwp's
310 ptrace option flags.
311 * linux-nat.h (struct lwp_info) <must_set_ptrace_flags>: New
312 field.
313 * nat/linux-procfs.c: Include <dirent.h>.
314 (linux_proc_get_int): New parameter "warn". Handle it.
315 (linux_proc_get_tgid): Adjust.
316 (linux_proc_get_tracerpid): Rename to ...
317 (linux_proc_get_tracerpid_nowarn): ... this.
318 (linux_proc_pid_get_state): New function, factored out from
319 (linux_proc_pid_has_state): ... this. Add new parameter "warn"
320 and handle it.
321 (linux_proc_pid_is_gone): New function.
322 (linux_proc_pid_is_stopped): Adjust.
323 (linux_proc_pid_is_zombie_maybe_warn)
324 (linux_proc_pid_is_zombie_nowarn): New functions.
325 (linux_proc_pid_is_zombie): Use
326 linux_proc_pid_is_zombie_maybe_warn.
327 (linux_proc_attach_tgid_threads): New function.
328 * nat/linux-procfs.h (linux_proc_get_tgid): Update comment.
329 (linux_proc_get_tracerpid): Rename to ...
330 (linux_proc_get_tracerpid_nowarn): ... this, and update comment.
331 (linux_proc_pid_is_gone): New declaration.
332 (linux_proc_pid_is_zombie): Update comment.
333 (linux_proc_pid_is_zombie_nowarn): New declaration.
334 (linux_proc_attach_lwp_func): New typedef.
335 (linux_proc_attach_tgid_threads): New declaration.
336 * nat/linux-ptrace.c (linux_ptrace_attach_fail_reason): Adjust to
337 use nowarn functions.
338 (linux_ptrace_attach_fail_reason_string): Move here from
339 gdbserver/linux-low.c and rename.
340 (ptrace_supports_feature): If the current ptrace options are not
341 known yet, check them now, instead of asserting.
342 * nat/linux-ptrace.h (linux_ptrace_attach_fail_reason_string):
343 Declare.
344
883ed13e
PA
3452015-01-09 Pedro Alves <palves@redhat.com>
346
347 * linux-thread-db.c (thread_db_find_new_threads_silently)
348 (try_thread_db_load_1, try_thread_db_load, thread_db_load_search)
349 (find_new_threads_once): Print debug output on gdb_stdlog.
350
1710aab8
CG
3512015-01-09 Chen Gang <gang.chen.5i5j@gmail.com>
352 Pedro Alves <palves@redhat.com>
353
354 * compile/compile.c: Include "gdb_wait.h".
355 (do_rmdir): Check return value, and free 'zap'.
356
b597c318
YQ
3572015-01-08 Pedro Alves <palves@redhat.com>
358 Yao Qi <yao@codesourcery.com>
359
360 * dwarf2loc.c (indirect_pieced_value): Don't call
361 gdb_sign_extend. Call extract_signed_integer instead.
362 * utils.c (gdb_sign_extend): Remove.
363 * utils.h (gdb_sign_extend): Remove declaration.
364
025ac414
PM
3652015-01-07 Pierre Muller <muller@sourceware.org>
366
367 PR symtab/17811
368 * stabsread.c (define_symbol): Set language for C++ special symbols.
369
fa5af12a
PP
3702015-01-07 Patrick Palka <patrick@parcs.ath.cx>
371
372 * inflow.c (initial_gdb_ttystate): Tweak comment.
373
ea42d6f8
JB
3742015-01-07 Joel Brobecker <brobecker@adacore.com>
375
376 * inflow.c (set_initial_gdb_ttystate): Add empty line after
377 comment documenting function.
378
6a06d660
PP
3792015-01-07 Patrick Palka <patrick@parcs.ath.cx>
380
381 * terminal.h (set_initial_gdb_ttystate): Declare.
382 * inflow.c (initial_gdb_ttystate): New static variable.
383 (set_initial_gdb_ttystate): New setter.
384 (child_terminal_init_with_pgrp): Copy initial_gdb_ttystate
385 instead of our current terminal state.
386 * top.c (gdb_init): Call set_initial_gdb_ttystate.
387
e810d75b
JB
3882015-01-07 Joel Brobecker <brobecker@adacore.com>
389
390 * guile/scm-type.c (tyscm_array_1): Add comment.
391 * python/py-type.c (typy_array_1): Add comment.
392
fce10a84
JB
3932015-01-06 Joel Brobecker <brobecker@adacore.com>
394
395 * guile/scm-type.c (tyscm_array_1): Do not raise out-of-range
396 error if N2 is equal to N1 - 1.
397
8503d6e1
JB
3982015-01-06 Joel Brobecker <brobecker@adacore.com>
399
400 * python/py-type.c (typy_array_1): Do not raise negative-length
401 exception if N2 is equal to N1 - 1.
402
4d29c0a8
DE
4032015-01-03 Doug Evans <xdje42@gmail.com>
404
405 * c-exp.y: Whitespace cleanup.
406 (classify_inner_name): Remove extra ;.
407
eaa6a9a4
MR
4082015-01-02 Maciej W. Rozycki <macro@codesourcery.com>
409
410 * mips-tdep.c (mips32_scan_prologue): Keep the extracted stack
411 offset signed.
412
02fe9972
DE
4132015-01-02 Doug Evans <dje@google.com>
414
415 * dwarf2read.c (setup_type_unit_groups): Remove outdated comment.
416
e2ada9cb
DE
4172015-01-02 Doug Evans <dje@google.com>
418
419 * symtab.h (struct symbol): Fix typo in comment.
420
32d0add0
JB
4212015-01-01 Joel Brobecker <brobecker@adacore.com>
422
423 Update year range in copyright notice of all files.
424
76f2b779
JB
4252015-01-01 Joel Brobecker <brobecker@adacore.com>
426
427 * top.c (print_gdb_version): Update copyright year to 2015.
428
077309e2 4292015-01-01 Joel Brobecker <brobecker@adacore.com>
6bf6fd09 430
077309e2 431 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2014.
6bf6fd09 432
077309e2 433For older changes see ChangeLog-2014.
c906108c
SS
434\f
435Local Variables:
436mode: change-log
437left-margin: 8
438fill-column: 74
439version-control: never
57da7796 440coding: utf-8
c906108c 441End:
This page took 1.717619 seconds and 4 git commands to generate.