Fix problems in the sim sources discovered by running the cppcheck static analysis...
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
34f5f757
DE
12015-04-28 Doug Evans <dje@google.com>
2
3 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
4 * gdb.python/py-pp-registration.exp: ... here. New file.
5 * gdb.python/py-pp-registration.c: New file.
6 * gdb.python/py-pp-registration.py: New file.
7
69b4374a
DE
82015-04-28 Doug Evans <dje@google.com>
9
10 * gdb.python/py-bad-printers.c: New file.
11 * gdb.python/py-bad-printers.py: New file.
12 * gdb.python/py-bad-printers.exp: New file.
13
59fb7612
SS
142015-04-28 Sasha Smundak <asmundak@google.com>
15
16 * gdb.python/py-type.exp: New test.
17
2631b16a
AW
182015-04-28 Andy Wingo <wingo@igalia.com>
19
20 * gdb.python/py-parameter.exp:
21 * gdb.guile/scm-parameter.exp: Escape the path that we are
22 matching against, as it might contain characters that are special
23 to regular expressions.
24
460efde1
JB
252015-04-27 Joel Brobecker <brobecker@adacore.com>
26
27 * gdb.ada/rec_comp: New testcase.
28
2d369d8e
SDJ
292015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
30
31 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
32 before using it.
33
cf75d6c3
AB
342015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
35
36 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
37 new tests for verilog output.
38
8dbe7ca5
YQ
392015-04-24 Yao Qi <yao.qi@linaro.org>
40
41 * boards/remote-gdbserver-on-localhost.exp: New file.
42
4ef9fb2f
PA
432015-04-23 Pedro Alves <palves@redhat.com>
44
45 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
46 $inferior_spawn_id instead of $inferior_spawn_id directly. On
47 "end of file", remove $inferior_spawn_id from the indirect list.
48
0a803169
PA
492015-04-23 Pedro Alves <palves@redhat.com>
50
51 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
52
749ef8f8
PA
532015-04-23 Pedro Alves <palves@redhat.com>
54
55 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
56 on $any_spawn_id instead of only on $gdb_spawn_id.
57
8aae4344
PM
582015-04-21 Pierre Muller <muller@sourceware.org>
59
60 PR pascal/17815
61 * lib/pascal.exp (gpc_compile): Add new option "class".
62 (fpc_compile): Likewise.
63 * gdb.pascal/case-insensitive-symbols.pas: New file.
64 * gdb.pascal/case-insensitive-symbols.exp: New file.
65
1586c8fb
GB
662015-04-20 Gary Benson <gbenson@redhat.com>
67
68 * gdb.base/attach.exp: Fix three extended remote failures.
69
1b6e6f5c
GB
702015-04-17 Gary Benson <gbenson@redhat.com>
71
72 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
73 the main executable over the remote protocol.
74
e797481d
PA
752015-04-16 Pedro Alves <palves@redhat.com>
76
77 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
78 a new gdbserver if gdbserver_reconnect_p is set.
79
1ca99c42
PA
802015-04-16 Pedro Alves <palves@redhat.com>
81
82 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
83 is set, don't exit gdbserver.
84
af9fd6f8
AA
852015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
86
87 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
88 appropriate .insn, such that an older assembler can be used.
89 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
90 the z/Architecture instruction set on 31-bit targets as well.
91
04ff1e61
AA
922015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
93
94 * gdb.go/handcall.exp: Remove all logic related to the first
95 breakpoint and rely on go_runto_main instead.
96 * gdb.go/strings.exp: Likewise.
97 * gdb.go/unsafe.exp: Likewise.
98 * gdb.go/hello.exp: Likewise. Also rename the remaining
99 breakpoint marker to "breakpoint 1".
100 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
101 * gdb.go/strings.go: Likewise.
102 * gdb.go/unsafe.go: Likewise.
103 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
104 "set breakpoint 2 here" and rename the remaining breakpoint marker
105 to "breakpoint 1".
106
40d2f8d6
SM
1072015-04-15 Simon Marchi <simon.marchi@ericsson.com>
108
109 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
110 if itertools.imap is not present.
111 * gdb.python/py-objfile.exp: Add parentheses.
112 * gdb.python/py-type.exp: Same.
113 * gdb.python/py-unwind-maint.py: Same.
114
8cbc97c6
YQ
1152015-04-15 Yao Qi <yao.qi@linaro.org>
116
117 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
118 of ":$ptr_size" and set its form explicitly.
119
45fd756c
YQ
1202015-04-15 Pedro Alves <palves@redhat.com>
121 Yao Qi <yao.qi@linaro.org>
122
123 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
124 timeout by factor of 4.
125 (test_regular_watch): Likewise.
126 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
127 * gdb.reverse/sigall-reverse.exp: Likewise.
128 * gdb.reverse/until-precsave.exp: Likewise.
129 * lib/gdb.exp (with_timeout_factor): New proc.
130 (gdb_expect): Move some code to ...
131 (get_largest_timeout): ... here. New procedure.
132
9e811bc3
LM
1332015-04-14 Luis Machado <lgustavo@codesourcery.com>
134
135 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
136
0ff6fcb2
LM
1372015-04-13 Luis Machado <lgustavo@codesourcery.com>
138
139 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
140 to write to the .text section.
141
7578d5f7
LM
1422015-04-13 Luis Machado <lgustavo@codesourcery.com>
143
144 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
145 Handle the case of targets that do not provide PID information.
146
2efe15c4
YQ
1472015-04-13 Yao Qi <yao.qi@linaro.org>
148
149 * lib/gdbserver-support.exp (gdb_exit): Catch exception
150 and use expect instead of gdb_expect.
151
8cd8f2f8
SDJ
1522015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
153
154 * gdb.base/coredump-filter.exp: Rename variable "addr" to
155 "coredump_var_addr" to avoid naming conflict with other testcases.
156
9ee41772
PA
1572015-04-10 Pedro Alves <palves@redhat.com>
158
159 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
160 gdb_test_sequence and gdb_assert.
161
07473109
PA
1622015-04-10 Pedro Alves <palves@redhat.com>
163
164 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
165 test messages that don't include the breakpoint address.
166
de3db44c
YQ
1672015-04-10 Yao Qi <yao.qi@linaro.org>
168
169 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
170 false for some offset and width combinations which aren't
171 supported by linux kernel.
172
c79d856c
PA
1732015-04-10 Pedro Alves <palves@redhat.com>
174
175 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
176 procedure, factored out from ...
177 (top level): ... here. Add "set displaced-stepping" testing axis.
178 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
179 parameter "displaced". Use it.
180 (top level): Use foreach and add "set displaced-stepping" testing
181 axis.
182
ebc90b50
PA
1832015-04-10 Pedro Alves <palves@redhat.com>
184
185 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
186 Remove comment.
187 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
188 both the address of the instruction that triggers the watchpoint
189 and the address of the instruction immediately after, and use
190 those addresses for the test. Fix comment.
191
8f572e5c
PA
1922015-04-10 Pedro Alves <palves@redhat.com>
193
194 * gdb.base/sigstep.exp (breakpoint_to_handler)
195 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
196 Test "backtrace" in handler.
197 (breakpoint_over_handler): New parameter 'displaced'. Use it.
198 (top level): Add new "displaced" test axis to
199 breakpoint_to_handler, breakpoint_to_handler_entry and
200 breakpoint_over_handler.
201
8d707a12
PA
2022015-04-10 Pedro Alves <palves@redhat.com>
203
204 PR gdb/18216
205 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
206
ef713951
YQ
2072015-04-10 Yao Qi <yao.qi@linaro.org>
208
209 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
210 (test_add_rn_pc): New function.
211 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
212 (top level): Invoke test_add_rn_pc.
213
906d60cf
PA
2142015-04-10 Pedro Alves <palves@redhat.com>
215
216 PR gdb/13858
217 * gdb.base/step-over-no-symbols.exp: New file.
218
f2983cc3
AW
2192015-04-09 Andy Wingo <wingo@igalia.com>
220
221 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
222 after the Python tests.
223
6d62641c
SDJ
2242015-04-08 Keith Seitz <keiths@redhat.com>
225
226 PR python/16699
227 * gdb.python/py-completion.exp: New tests for completion.
228 * gdb.python/py-completion.py (CompleteLimit1): New class.
229 (CompleteLimit2): Likewise.
230 (CompleteLimit3): Likewise.
231 (CompleteLimit4): Likewise.
232 (CompleteLimit5): Likewise.
233 (CompleteLimit6): Likewise.
234 (CompleteLimit7): Likewise.
235
f3770638
PA
2362015-04-08 Pedro Alves <palves@redhat.com>
237
238 PR gdb/18214
239 PR gdb/18216
240 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
241 function.
242 (main): Install it as SIGUSR1 handler.
243 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
244 parameter. Always use "setup" as prefix. Toggle "set
245 displaced-stepping" off/on depending on global. Don't switch to
246 thread 1 here.
247 (top level): Add displaced stepping "off/on" test axis. Update
248 "setup" calls. Wrap each subtest with with_test_prefix. Test
249 continuing with a queued signal in each thread.
250
4496bed7
PA
2512015-04-08 Pedro Alves <palves@redhat.com>
252
253 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
254 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
255 gdb_breakpoint instead of gdb_test that doesn't expect anything.
256 Return early if running to main fails.
257 * gdb.trace/while-stepping.exp: Likewise.
258
b97fde92
PA
2592015-04-07 Pedro Alves <palves@redhat.com>
260
261 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
262 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
263 interact with inferior program.
264
f71c18e7
PA
2652015-04-07 Pedro Alves <palves@redhat.com>
266
267 * lib/gdb.exp (inferior_spawn_id): New global.
268 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
269 spawn id after processing the user code.
270 (default_gdb_start): Set inferior_spawn_id.
271 (send_inferior): New procedure.
272 * lib/gdbserver-support.exp (gdbserver_start): Set
273 inferior_spawn_id.
274 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
275
6423214f
PA
2762015-04-07 Pedro Alves <palves@redhat.com>
277
278 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
279 * lib/gdbserver-support.exp (gdbserver_start): Make
280 $server_spawn_id global.
281 (gdbserver_start): Don't wait for gdbserver's spawn id with
282 expect_background.
283 (close_gdbserver): New procedure.
284 (gdb_exit): Rename the default version and reimplement.
285
71c0ee8c
PA
2862015-04-07 Pedro Alves <palves@redhat.com>
287
288 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
289 append the substituted item, not the original item.
290
203bc29b
PA
2912015-04-07 Pedro Alves <palves@redhat.com>
292
293 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
294 gdb_expect.
295
508a3ddf
PA
2962015-04-07 Pedro Alves <palves@redhat.com>
297
298 * gdb.base/interrupt.exp: Don't handle the case of the inferior
299 output appearing once only.
300
9f6dbe2b
PA
3012015-04-07 Pedro Alves <palves@redhat.com>
302
303 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
304 that doesn't expect anything. Return early if running to main
305 fails.
306
337532fa
YQ
3072015-04-07 Yao Qi <yao.qi@linaro.org>
308
309 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
310 (child_function): Call alarm.
311 (main): Move call to alarm into the loop.
312 * gdb.threads/non-stop-fair-events.exp: Build program with
313 -DTIMEOUT=$timeout.
314
01b622d4
DE
3152015-04-06 Doug Evans <xdje42@gmail.com>
316
317 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
318 Fix dest parameter to board_info.
319 (fpc_compile): Ditto.
320 (gdb_compile_pascal): Rename dest arg to destfile.
321
961f4160
PMR
3222015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
323
324 * gdb.ada/funcall_ref.exp: New file.
325 * gdb.ada/funcall_ref/foo.adb: New file.
326
cafda597
YQ
3272015-04-02 Yao Qi <yao.qi@linaro.org>
328
329 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
330 is remote.
331
fed040c6
GB
3322015-04-02 Gary Benson <gbenson@redhat.com>
333
334 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
335
d11916aa
SS
3362015-04-01 Sasha Smundak <asmundak@google.com>
337
338 * gdb.python/py-unwind-maint.c: New file.
339 * gdb.python/py-unwind-maint.exp: New test.
340 * gdb.python/py-unwind-maint.py: New file.
341 * gdb.python/py-unwind.c: New file.
342 * gdb.python/py-unwind.exp: New test.
343 * gdb.python/py-unwind.py: New test.
344
a1471180
PA
3452015-04-01 Pedro Alves <palves@redhat.com>
346
347 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
348 to fail instead of non-existent $test.
349
0bbeccb1
PA
3502015-04-01 Pedro Alves <palves@redhat.com>
351
352 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
353 GDBFLAGS if not empty.
354
3c724c8c
PMR
3552015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
356
357 * gdb.ada/complete.exp: Remove "multi_line".
358 * gdb.ada/info_exc.exp: Remove "multi_line".
359 * gdb.ada/packed_tagged.exp: Remove "multi_line".
360 * gdb.ada/ptype_field.exp: Remove "multi_line".
361 * gdb.ada/sym_print_name.exp: Remove "multi_line".
362 * gdb.ada/tagged.exp: Remove "multi_line".
363 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
364 [multi_line ...]
365 * gdb.btrace/delta.exp: Likewise.
366 * gdb.btrace/exception.exp: Likewise.
367 * gdb.btrace/function_call_history.exp: Likewise.
368 * gdb.btrace/instruction_history.exp: Likewise.
369 * gdb.btrace/nohist.exp: Likewise.
370 * gdb.btrace/record_goto.exp: Likewise.
371 * gdb.btrace/segv.exp: Likewise.
372 * gdb.btrace/stepi.exp: Likewise.
373 * gdb.btrace/tailcall.exp: Likewise.
374 * gdb.btrace/unknown_functions.exp: Likewise.
375 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
376 * lib/gdb.exp: Add the "multi_line" helper.
377
4eec2deb
PA
3782015-04-01 Pedro Alves <palves@redhat.com>
379
380 * gdb.threads/tid-reuse.c: New file.
381 * gdb.threads/tid-reuse.exp: New file.
382
df8411da
SDJ
3832015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
384
385 PR corefiles/16092
386 * gdb.base/coredump-filter.c: New file.
387 * gdb.base/coredump-filter.exp: Likewise.
388
6ef37366
PM
3892015-03-27 Petr Machata <pmachata@redhat.com>
390
391 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
392 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
393 (Dwarf::assemble): Initialize them.
394 (Dwarf::lines): New function.
395
7ec911b0
JT
3962015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
397
398 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
399 SYMBOL_PREFIX for x86_64-*-cygwin.
400
ff908ebf
AW
4012015-03-26 Andy Wingo <wingo@igalia.com>
402
403 PR symtab/18148
404 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
405 const_value but not a location.
406 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
407 location defined in non-main CUs are visible.
408
6d5f0679
YQ
4092015-03-26 Yao Qi <yao.qi@linaro.org>
410
411 PR testsuite/18139
412 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
413 Add a line number entry for the same line.
414 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
415 Add a line number entry for the same line.
416
2898689b
YQ
4172015-03-26 Yao Qi <yao.qi@linaro.org>
418
419 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
420 .int 0.
421 (func): Likewise. Add .Lfunc_1 label.
422 Use .Lfunc_1 label.
423 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
424 .int 0.
425 (func): Likewise.
426 Use .Lfunc_1 label.
427
85180498
YQ
4282015-03-26 Yao Qi <yao.qi@linaro.org>
429
430 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
431 Call gdb_compile instead to compile each .s files without debug
432 information.
433
8aa08a8d
YQ
4342015-03-26 Yao Qi <yao.qi@linaro.org>
435
436 * gdb.base/savedregs.exp (process_saved_regs): Make
437 "Saved registers:" optional in the pattern.
438
66849923
MM
4392015-03-25 Markus Metzger <markus.t.metzger@intel.com>
440
441 * gdb.btrace/next.exp: Merged into step.exp.
442 * gdb.btrace/finish.exp: Merged into step.exp.
443 * gdb.btrace/nexti.exp: Merged into stepi.exp.
444 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
445 "record goto" and checking the exact replay position.
446 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
447 check for "Recording format" in "info record" output.
448 * gdb.btrace/record_goto.exp: Choose test file based on target.
449 * gdb.btrace/x86-record_goto.S: Renamed into ...
450 * gdb.btrace/x86_64-record_goto.S: ... this.
451 * gdb.btrace/i686-record_goto.S: New.
452 * gdb.btrace/x86-tailcall.S: Renamed into ...
453 * gdb.btrace/x86_64-tailcall.S: ... this.
454 * gdb.btrace/i686-tailcall.S: New.
455 * gdb.btrace/x86-tailcall.c: Renamed into ...
456 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
457 separate statements. Update test.
458 * gdb.btrace/delta.exp: Use record_goto.c as test file.
459 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
460 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
461 * gdb.btrace/tailcall.exp: Choose test file based on target.
462 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
463
11cc1b74
MM
4642015-03-25 Markus Metzger <markus.t.metzger@intel.com>
465
466 * gdb.btrace/exception.exp: Increase BTS buffer size.
467
a25d8bf9
PA
4682015-03-24 Pedro Alves <palves@redhat.com>
469
470 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
471
856e7dd6
PA
4722015-03-24 Pedro Alves <palves@redhat.com>
473
474 * gdb.threads/schedlock.exp (test_step): No longer expect that
475 "set scheduler-locking step" with "next" over a function call runs
476 threads unlocked.
477
ad235a41
AT
4782015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
479
480 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
481
15630549
AT
4822015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
483
484 PR breakpoints/16466
485 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
486 * gdb.mi/mi-pending.c (thread_func): New function.
487 (int main): Add threading support required.
488 * gdb.mi/mi-pending.exp: Add tests for this issue.
489 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
490 (pendfunc2): Remove stdio dependency.
491 * gdb.mi/mi-pendshr2.c: New file.
492
693dca06
KS
4932015-03-23 Keith Seitz <keiths@redhat.com>
494
495 * gdb.linespec/keywords.c: New file.
496 * gdb.linespec/keywords.exp: New file.
497
7e993ebf
KS
4982015-03-23 Keith Seitz <keiths@redhat.com>
499
500 PR gdb/18021
501 * gdb.dwarf2/staticvirtual.exp: New test.
502
bc23328c
JK
5032015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
504
505 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
506 * README: Remove HP-UX and gdb.hp.
507 (configuration):
508 * configure: Regenerate.
509 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
510 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
511 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
512 gdb.hp/gdb.defects/Makefile.
513 * gdb.hp/Makefile.in: File deleted.
514 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
515 * gdb.hp/gdb.aCC/optimize.c: File deleted.
516 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
517 * gdb.hp/gdb.aCC/run.c: File deleted.
518 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
519 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
520 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
521 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
522 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
523 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
524 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
525 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
526 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
527 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
528 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
529 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
530 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
531 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
532 * gdb.hp/gdb.base-hp/reg.s: File deleted.
533 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
534 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
535 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
536 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
537 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
538 * gdb.hp/gdb.compat/Makefile.in: File deleted.
539 * gdb.hp/gdb.compat/average.c: File deleted.
540 * gdb.hp/gdb.compat/sum.c: File deleted.
541 * gdb.hp/gdb.compat/xdb.c: File deleted.
542 * gdb.hp/gdb.compat/xdb0.c: File deleted.
543 * gdb.hp/gdb.compat/xdb0.h: File deleted.
544 * gdb.hp/gdb.compat/xdb1.c: File deleted.
545 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
546 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
547 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
548 * gdb.hp/gdb.defects/Makefile.in: File deleted.
549 * gdb.hp/gdb.defects/bs14602.c: File deleted.
550 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
551 * gdb.hp/gdb.defects/solib-d.c: File deleted.
552 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
553 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
554 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
555 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
556 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
557 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
558 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
559 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
560 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
561 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
562 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
563 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
564 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
565 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
566 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
567 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
568 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
569 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
570 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
571 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
572 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
573 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
574 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
575 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
576 * gdb.hp/tools/odump: File deleted.
577
8bf3b159
PA
5782015-03-19 Pedro Alves <palves@redhat.com>
579
580 * gdb.threads/continue-pending-status.exp (saw_thread_2)
581 (saw_thread_3): New globals.
582 (top level): Increment them when an event for the corresponding
583 thread is seen.
584 (no thread starvation): New test.
585
eb54c8bf
PA
5862015-03-19 Pedro Alves <palves@redhat.com>
587
588 * gdb.threads/continue-pending-status.c: New file.
589 * gdb.threads/continue-pending-status.exp: New file.
590
32d2e5d6
PA
5912015-03-18 Pedro Alves <palves@redhat.com>
592
593 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
594 Use gdb_is_target_remote instead of is_remote. Use
595 gdb_test_multiple instead of gdb_expect. Exit early if
596 gdb_test_multiple hits its internal matches. Tighten stepi tests
597 expected output. Fail on exit with any signal, instead of just
598 SIGILL.
599
f68f11b7
YQ
6002015-03-18 Yao Qi <yao.qi@linaro.org>
601
602 PR tdep/18107
603 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
604 variable.
605 * gdb.base/catch-syscall.exp: Don't skip it on
606 aarch64*-*-linux* target. Remove elements in all_syscalls.
607 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
608 target.
609 (setup_all_syscalls): New proc.
610
ca5fd19b
YQ
6112015-03-16 Yao Qi <yao.qi@linaro.org>
612
613 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
614 (top level): Skip tests if valid_addr_p returns false for
615 $cmd1 or $cmd2.
616
85642ba0
AW
6172015-03-11 Andy Wingo <wingo@igalia.com>
618
619 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
620
e03f9645
YQ
6212015-03-11 Yao Qi <yao.qi@linaro.org>
622
623 * gdb.base/catch-syscall.exp: Fix typo in comments.
624
5d0962b2
YQ
6252015-03-11 Yao Qi <yao.qi@linaro.org>
626
627 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
628
b2df3cef
PA
6292015-03-09 Pedro Alves <palves@redhat.com>
630
631 * dg-extract-results.py: Delete.
632
ef878e53
PA
6332015-03-09 Pedro Alves <palves@redhat.com>
634
635 Merge dg-extract-results.sh from GCC upstream (r218843).
636
637 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
638 * dg-extract-results.sh: Use --text with grep to avoid issues with
639 binary files. Fall back to cat -v, if that doesn't work.
640
9494d219
PA
6412015-03-05 Pedro Alves <palves@redhat.com>
642
643 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
644
a8d9763a
SM
6452015-03-04 Simon Marchi <simon.marchi@ericsson.com>
646
647 * lib/mi-support.exp (mi_expect_interrupt): Accept
648 alternative event for when in all-stop mode.
649
be9957b8
PA
6502015-03-04 Pedro Alves <palves@redhat.com>
651
652 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
653
d57be0f4 6542015-03-04 Mark Kettenis <kettenis@gnu.org>
4727d613
MK
655
656 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
657
c214c7cf
AA
6582015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
659
660 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
661 regexps for GDB's current line display, accept a hex address
662 preceding the line number.
663
6d74a497
AA
6642015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
665
666 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
667 the 'arch1' variable for "s390*-linux*" targets.
668
511aee7c
PA
6692015-03-04 Pedro Alves <palves@redhat.com>
670
671 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
672 (main): Pass missing retval argument to pthread_join call.
673
95e50b27
PA
6742015-03-02 Pedro Alves <palves@redhat.com>
675
676 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
677 (top level): Call do_test with non-stop as well.
678
28054d69
PA
6792015-03-02 Pedro Alves <palves@redhat.com>
680
681 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
682 -1.
683
4fa5d7b4
AA
6842015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
685
686 * gdb.arch/s390-vregs.exp: New test.
687 * gdb.arch/s390-vregs.S: New file.
688
97c18565
PA
6892015-02-27 Pedro Alves <palves@redhat.com>
690
691 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
692 call to catch_command_errors.
693 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
694 catch_command_errors.
695
a37bfa30
PA
6962015-02-27 Pedro Alves <palves@redhat.com>
697
698 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
699 "true" for boolean result.
700 * gdb.gdb/selftest.exp (test_with_self): Also accept full
701 prototype of main.
702
6f98576f
PA
7032015-02-27 Pedro Alves <palves@redhat.com>
704
705 * lib/unbuffer_output.c: New file.
706 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
707 (main): Call gdb_unbuffer_output.
708
eba5ab56
YQ
7092015-02-27 Yao Qi <yao.qi@linaro.org>
710
711 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
712 target.
713
0def5aaa
DE
7142015-02-26 Doug Evans <dje@google.com>
715
716 * gdb.cp/class2.cc (Dbase, D): New classes.
717 (main): New local delta.
718 * gdb.cp/class2.exp: Test printing delta.
719 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
720 (dynbar): New global.
721 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
722
081a1c2c
JK
7232015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
724
725 * gdb.compile/compile-ifunc.c: New file.
726 * gdb.compile/compile-ifunc.exp: New file.
727
2f41223f
AT
7282015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
729
730 * gdb.base/structs.exp: Check for correct struct on finish.
731
03eddd80
YQ
7322015-02-26 Yao Qi <yao.qi@linaro.org>
733
734 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
735 is zero.
736
80c57053
JK
7372015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
738
739 * gdb.arch/cordic.ko.bz2: New file.
740 * gdb.arch/cordic.ko.debug.bz2: New file.
741 * gdb.arch/ppc64-symtab-cordic.exp: New file.
742
21613c12
YQ
7432015-02-25 Yao Qi <yao.qi@linaro.org>
744
745 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
746 aarch64*-*-* target.
747
d8b901ed
PA
7482015-02-23 Pedro Alves <palves@redhat.com>
749
750 * lib/gdb.exp (delete_breakpoints): Rewrite using
751 gdb_test_multiple.
752
e5b85ead
PA
7532015-02-23 Pedro Alves <palves@redhat.com>
754
755 * gdb.base/info-os.c: Include stdlib.h.
756
85c3a371
DE
7572015-02-22 Doug Evans <xdje42@gmail.com>
758
759 PR symtab/17855
760 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
761 is read after symbols have been re-read.
762 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
763 * gdb.ada/exec_changed/second.adb (Second): Ditto.
764
96553a0c
DE
7652015-02-21 Doug Evans <dje@google.com>
766
767 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
768
97a0c697
JK
7692015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
770
771 PR corefiles/17808
772 * gdb.arch/i386-biarch-core.core.bz2: New file.
773 * gdb.arch/i386-biarch-core.exp: New file.
774
a47cd6e9
PA
7752015-02-21 Pedro Alves <palves@redhat.com>
776
777 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
778 runto_main fails.
779
c5facdc4
PA
7802015-02-20 Pedro Alves <palves@redhat.com>
781
782 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
783 info probes.
784
2db9a427
PA
7852015-02-20 Pedro Alves <palves@redhat.com>
786
787 * gdb.threads/multi-create-ns-info-thr.exp: New file.
788
60fb7e9e
PA
7892015-02-20 Pedro Alves <palves@redhat.com>
790
791 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
792 clean_restart before gdb_target_supports_trace.
793
5c5019c2
PA
7942015-02-20 Pedro Alves <palves@redhat.com>
795
796 PR threads/18006
797 * gdb.threads/clone-thread_db.c: New file.
798 * gdb.threads/clone-thread_db.exp: New file.
799
c9587f88
AT
8002015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
801
802 PR breakpoints/16812
803 * gdb.base/catch-gdb-caused-signals.c: New file.
804 * gdb.base/catch-gdb-caused-signals.exp: New file.
805
f6a88844
JM
8062015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
807
808 * configure: Regenerated.
809 * configure.ac: Use GDB_AC_TRANSFORM.
810 * aclocal.m4: sinclude ../transform.m4.
811
497c491b
JM
8122015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
813
814 * lib/dtrace.exp: New file.
815 * gdb.base/dtrace-probe.exp: Likewise.
816 * gdb.base/dtrace-probe.d: Likewise.
817 * gdb.base/dtrace-probe.c: Likewise.
818 * lib/pdtrace.in: Likewise.
819 * configure.ac: Output variables with the transformed names of
820 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
821 * configure: Regenerated.
822
03e98035
JM
8232015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
824
825 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
826 expected message when trying to access $_probe_* convenience
827 variables while not on a probe.
828
63cc30e9
JK
8292015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
830
831 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
832
0703599a
PA
8332015-02-11 Pedro Alves <pedro@codesourcery.com>
834
835 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
836 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
837
7e60a48e
DE
8382015-02-10 Doug Evans <xdje42@gmail.com>
839
840 * lib/gdb.exp (gdb_load): Always return a result.
841
01b088bc
PA
8422015-02-10 Pedro Alves <palves@redhat.com>
843
844 * gdb.threads/signal-sigtrap.c: New file.
845 * gdb.threads/signal-sigtrap.exp: New file.
846
b05ec7a5
AT
8472015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
848
849 * gdb.trace/no-attach-trace.c: New file.
850 * gdb.trace/no-attach-trace.exp: New file.
851
a2c2acaf
MW
8522015-02-09 Mark Wielaard <mjw@redhat.com>
853
854 * gdb.dwarf2/atomic.c: New file.
855 * gdb.dwarf2/atomic-type.exp: Likewise.
856
31fd9caa
MM
8572015-02-09 Markus Metzger <markus.t.metzger@intel.com>
858
859 * gdb.btrace/buffer-size.exp: Update "info record" output.
860 * gdb.btrace/delta.exp: Update "info record" output.
861 * gdb.btrace/enable.exp: Update "info record" output.
862 * gdb.btrace/finish.exp: Update "info record" output.
863 * gdb.btrace/instruction_history.exp: Update "info record" output.
864 * gdb.btrace/next.exp: Update "info record" output.
865 * gdb.btrace/nexti.exp: Update "info record" output.
866 * gdb.btrace/step.exp: Update "info record" output.
867 * gdb.btrace/stepi.exp: Update "info record" output.
868 * gdb.btrace/nohist.exp: Update "info record" output.
869
d33501a5
MM
8702015-02-09 Markus Metzger <markus.t.metzger@intel.com>
871
872 * gdb.btrace/buffer-size: New.
873
f4abbc16
MM
8742015-02-09 Markus Metzger <markus.t.metzger@intel.com>
875
876 * gdb.btrace/delta.exp: Update "info record" output.
877 * gdb.btrace/enable.exp: Update "info record" output.
878 * gdb.btrace/finish.exp: Update "info record" output.
879 * gdb.btrace/instruction_history.exp: Update "info record" output.
880 * gdb.btrace/next.exp: Update "info record" output.
881 * gdb.btrace/nexti.exp: Update "info record" output.
882 * gdb.btrace/step.exp: Update "info record" output.
883 * gdb.btrace/stepi.exp: Update "info record" output.
884 * gdb.btrace/nohist.exp: Update "info record" output.
885
b9d61307
SM
8862015-02-06 Simon Marchi <simon.marchi@ericsson.com>
887
888 PR gdb/15678
889 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
890
e584fdbc
PA
8912015-02-06 Pedro Alves <palves@redhat.com>
892
893 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
894 macro.
895 (seconds_left, again): New globals.
896 (main): Wait seconds_left in a 1-second sleep loop instead of
897 sleeping 180 seconds. If 'again' is set, reset the seconds
898 counter.
899 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
900 'again' in the inferior before detaching. Print the seconds left.
901 (options): New global.
902 (top level): Build program with -DTIMEOUT=$timeout.
903
77f41761
PA
9042015-02-06 Pedro Alves <palves@redhat.com>
905
906 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
907 determine how many seconds to pass to 'alarm'.
908 * gdb.base/gdb-sigterm.exp (top level): Build program with
909 -DTIMEOUT=$timeout.
910 (do_test): Return success/failure indication. Add more verbose
911 logging. Don't fail if 200 single steps are seen. Instead, fail
912 when the test times out.
913 (passes): New global.
914 (top level): Break the testing loop if testing fails on any
915 iteration. Use gdb_assert.
916
b9394193
DB
9172015-02-04 Don Breazeal <donb@codesourcery.com>
918
919 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
920 and initialize them.
921 (ipc_cleanup): New function.
922 (main): Don't declare shmid, semid, and msqid. Add a call to
923 atexit so that we call ipc_cleanup on exit.
924
42d9e528
PA
9252015-02-04 Pedro Alves <palves@redhat.com>
926
927 * boards/native-extended-gdbserver.exp: Remove any target variant
928 specifications from the board name before clearing the isremote
929 flag from board_info.
930
ae6ae975
DE
9312015-01-31 Doug Evans <xdje42@gmail.com>
932
933 * gdb.base/maint.exp <maint print type argc>: Update expected output.
934
cfb069a8
GB
9352015-01-31 Gary Benson <gbenson@redhat.com>
936
937 * gdb.base/completion.exp: Disable completion limiting for
938 existing tests. Add new tests to check completion limiting.
939 * gdb.linespec/ls-errs.exp: Disable completion limiting.
940
5dd31d79
DE
9412015-01-31 Doug Evans <xdje42@gmail.com>
942
943 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
944
9f050062
DE
9452015-01-31 Doug Evans <xdje42@gmail.com>
946
947 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
948 entries. Duplicate file section script entries.
949 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
950 inlined entries. Add test for safe-path rejection.
951 * gdb.python/py-section-script.c: Add duplicate inlined section script
952 entries. Duplicate file section script entries.
953 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
954 inlined entries. Add test for safe-path rejection.
955
df25ebbd
JB
9562015-01-29 Joel Brobecker <brobecker@adacore.com>
957
958 * gdb.ada/disc_arr_bound: New testcase.
959
4a0ca9ec
JB
9602015-01-29 Joel Brobecker <brobecker@adacore.com>
961
962 * gdb.ada/mi_var_array: New testcase.
963
3a8b707a
DE
9642015-01-27 Doug Evans <dje@google.com>
965
966 * gdb.python/py-objfile.exp: Add tests for objfile.username.
967 Add test for objfile.filename, objfile.username after objfile
968 has been unloaded.
969
f8313f6e
JB
9702015-01-26 Joel Brobecker <brobecker@adacore.com>
971
972 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
973 the second test to print the name attribute of value
974 returned by the call to gdb.lookup_type, and adjust
975 the expected output accordingly.
976
37bc665e
MW
9772015-01-25 Mark Wielaard <mjw@redhat.com>
978
979 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
980 * gdb.base/disp-step-fork.c: Include unistd.h.
981 * gdb.base/siginfo-obj.c: Include stdio.h.
982 * gdb.base/siginfo-thread.c: Likewise.
983 * gdb.mi/non-stop.c: Include unistd.h.
984 * gdb.mi/nsthrexec.c: Include stdio.h.
985 * gdb.mi/pthreads.c: Include unistd.h.
986 * gdb.modula2/unbounded1.c (main): Declare returns int.
987 * gdb.reverse/consecutive-reverse.c: Likewise.
988 * gdb.threads/create-fail.c: Include unistd.h.
989 * gdb.threads/killed.c: Likewise.
990 * gdb.threads/linux-dp.c: Likewise.
991 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
992 * gdb.threads/non-ldr-exc-2.c: Likewise.
993 * gdb.threads/non-ldr-exc-3.c: Likewise.
994 * gdb.threads/non-ldr-exc-4.c: Likewise.
995 * gdb.threads/pthreads.c: Include unistd.h.
996 (main): Declare returns int.
997 * gdb.threads/tls-main.c (foo): New declaration.
998 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
999
f7e5394d
SM
10002015-01-23 Simon Marchi <simon.marchi@ericsson.com>
1001
1002 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
1003 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
1004
743649fd
MW
10052015-01-15 Mark Wielaard <mjw@redhat.com>
1006
1007 * gdb.base/noreturn-return.c: New file.
1008 * gdb.base/noreturn-return.exp: New file.
1009 * gdb.base/noreturn-finish.c: New file.
1010 * gdb.base/noreturn-finish.exp: New file.
1011
198297aa
PA
10122015-01-23 Pedro Alves <palves@redhat.com>
1013
1014 * gdb.threads/continue-pending-after-query.c: New file.
1015 * gdb.threads/continue-pending-after-query.exp: New file.
1016
717cf30c
AG
10172015-01-22 Anders Granlund <anders.granlund@ericsson.com>
1018 Simon Marchi <simon.marchi@ericsson.com>
1019
1020 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
1021 * gdb.base/valgrind-db-attach.exp: Same.
1022 * gdb.base/valgrind-infcall.exp: Same.
1023 * lib/mi-support.exp (default_mi_gdb_start): Same.
1024 * lib/prompt.exp (default_prompt_gdb_start): Same.
1025 * lib/gdb.exp (default_gdb_spawn): Same.
1026 (gdb_interact): New.
1027
1028
4b62a76e
JK
10292015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1030
1031 * gdb.compile/compile.exp (pointer to jit function): New test.
1032
b4cdae6f
WW
10332015-01-17 Wei-cheng Wang <cole945@gmail.com>
1034
1035 * lib/gdb.exp (supports_process_record): Return true for
1036 powerpc*-*-linux*.
1037 (supports_reverse): Likewise.
1038
d221e7ef
DB
10392015-01-15 Don Breazeal <donb@codesourcery.com>
1040
1041 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
1042 instead of checking whether the target board is remote and
1043 use spawn_wait_for_attach instead of exec/sleep.
1044 * gdb.base/attach-twice.exp: Likewise.
1045
bafffb51
JB
10462015-01-15 Joel Brobecker <brobecker@adacore.com>
1047
1048 * gdb.ada/var_arr_attrs: New testcase.
1049
5589af0e
PA
10502015-01-14 Pedro Alves <palves@redhat.com>
1051 Joel Brobecker <brobecker@adacore.com>
1052
1053 PR gdb/17525
1054 * gdb.base/bp-cmds-execution-x-script.c: New file.
1055 * gdb.base/bp-cmds-execution-x-script.exp: New file.
1056 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
1057
6c400b59
PA
10582015-01-14 Pedro Alves <palves@redhat.com>
1059
1060 PR cli/17828
1061 * gdb.base/batch-preserve-term-settings.c: New file.
1062 * gdb.base/batch-preserve-term-settings.exp: New file.
1063
e02c96a7
DE
10642015-01-13 Doug Evans <dje@google.com>
1065
1066 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
1067 binary.
1068
576fd14c
JB
10692015-01-13 Joel Brobecker <brobecker@adacore.com>
1070
1071 * Makefile.in (clean mostlyclean): Do not delete *.py.
1072
04dccad0
JB
10732015-01-13 Joel Brobecker <brobecker@adacore.com>
1074
1075 * gdb.python/py-lookup-type.exp: New file.
1076
3d230f71
PA
10772015-01-12 Pedro Alves <palves@redhat.com>
1078
1079 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
1080 restore GDBFLAGS before returning.
1081
7e67715d
JK
10822015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1083
1084 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
1085 is_amd64_regs_target and is_x86_like_target.
1086
f2e0d4b4
DE
10872015-01-11 Doug Evans <xdje42@gmail.com>
1088
1089 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
1090 is given without an explicit form.
1091 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
1092 attributes.
1093 * gdb.dwarf/corrupt.exp: Ditto.
1094 * gdb.dwarf2/enum-type.exp: Ditto.
1095 * gdb.trace/entry-values.exp: Ditto.
1096 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
1097
439250fb
DE
10982015-01-11 Doug Evans <xdje42@gmail.com>
1099
1100 PR gdb/15830
1101 * gdb.base/maint.exp: Remove references to "maint demangle".
1102 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
1103 Add tests for explicitly specifying language to demangle.
1104 * gdb.dlang/demangle.exp: Ditto.
1105
ede9f622
PA
11062015-01-09 Pedro Alves <palves@redhat.com>
1107
1108 * gdb.threads/non-stop-fair-events.c: New file.
1109 * gdb.threads/non-stop-fair-events.exp: New file.
1110
a7b796db
PA
11112015-01-09 Pedro Alves <palves@redhat.com>
1112
1113 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
1114 the global scope. Set a breakpoint after all threads are started
1115 rather than stepping over two source lines. Expect the prompt.
1116 * gdb.base/watch_thread_num.c (threads_started_barrier): New
1117 global.
1118 (NUM): Now 15.
1119 (main): Use threads_started_barrier to wait for all threads to
1120 start. Main thread no longer calls thread_function. Exit after
1121 180 seconds.
1122 (loop): New function.
1123 (thread_function): Wait on threads_started_barrier barrier. Call
1124 'loop' at each iteration.
1125 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
1126 threads have started, instead of hardcoding number of "next"
1127 steps. Use an access watchpoint instead of a write watchpoint.
1128
9665ffdd
PA
11292015-01-09 Pedro Alves <palves@redhat.com>
1130
1131 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
1132 (thread_func): Wait on barrier.
1133 (main): Wait for all threads to start before stopping GDB.
1134 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
1135 global.
1136 (thread1_func, thread2_func): Wait on barrier.
1137 (main): Wait for all threads to start before stopping GDB.
1138 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
1139 New global.
1140 (thread1_func, thread2_func): Wait on barrier.
1141 (main): Wait for all threads to start before stopping GDB.
1142
c945a99f
PA
11432015-01-09 Pedro Alves <palves@redhat.com>
1144
1145 * gdb.threads/attach-many-short-lived-threads.c: New file.
1146 * gdb.threads/attach-many-short-lived-threads.exp: New file.
1147
c1a747c1
PA
11482014-01-09 Pedro Alves <palves@redhat.com>
1149
1150 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
1151 instead of to thread 2.
1152 * gdb.threads/signal-command-multiple-signals-pending.c (main):
1153 Add barrier around each pthread_create call instead of around all
1154 calls.
1155 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
1156 Set a break on thread_function and have the child threads hit it
1157 one at at a time.
1158
60b3033e
PA
11592015-01-09 Pedro Alves <palves@redhat.com>
1160
1161 * lib/gdb.exp (can_spawn_for_attach): New procedure.
1162 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
1163 false.
1164 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
1165 checking whether the target board is remote.
1166 * gdb.multi/multi-attach.exp: Likewise.
1167 * gdb.python/py-sync-interp.exp: Likewise.
1168 * gdb.server/ext-attach.exp: Likewise.
1169 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
1170 tests that need to attach, instead of checking whether the target
1171 board is remote at the top of the file.
1172
acc018ac
YQ
11732015-01-08 Yao Qi <yao@codesourcery.com>
1174
1175 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
1176
50a18af8
JK
11772015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1178
1179 Fix testcase compilation.
1180 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
1181
8503d6e1
JB
11822015-01-06 Joel Brobecker <brobecker@adacore.com>
1183
1184 * gdb.python/py-type.exp: Add a couple test about empty
1185 array creation, and negative-length array creation.
1186
cc73dbcc
DE
11872015-01-02 Doug Evans <xdje42@gmail.com>
1188
1189 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
1190
0300bbc7
DE
11912015-01-02 Doug Evans <dje@google.com>
1192
1193 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
1194
9d85a0ec
YQ
11952014-12-29 Yao Qi <yao@codesourcery.com>
1196
1197 * gdb.trace/entry-values.exp: Update comments. Rename variable
1198 bar_call_foo to returned_from_foo.
1199
87186c6a
MMN
12002014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
1201
1202 PR gdb/17394
1203 * gdb.linespec/break-asm-file.c: New file.
1204 * gdb.linespec/break-asm-file.exp: New file.
1205 * gdb.linespec/break-asm-file0.s: New file.
1206 * gdb.linespec/break-asm-file1.s: New file.
1207
1bab7383
YQ
12082014-12-18 Nigel Stephens <nigel@mips.com>
1209 Maciej W. Rozycki <macro@codesourcery.com>
1210
1211 * gdb.base/float.exp: Handle the new output from "info float" on
1212 MIPS targets.
1213
1bc1068a
JK
12142014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1215
1216 Fix MinGW compilation.
1217 * gdb.compile/compile-ops.exp: Update untested message if
1218 !skip_compile_feature_tests.
1219 * gdb.compile/compile-setjmp.exp: Likewise.
1220 * gdb.compile/compile-tls.exp: Likewise.
1221 * gdb.compile/compile.exp: Likewise.
1222 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
1223 supported on this host".
1224
b6615d10
DE
12252014-12-16 Doug Evans <xdje42@gmail.com>
1226
1227 * boards/stabs.exp: New file.
1228
25dda427
AA
12292014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
1230
1231 * gdb.base/completion.exp: Adjust to format changes of "maint
1232 print user-registers".
1233
bf330350
CU
12342014-12-16 Catalin Udma <catalin.udma@freescale.com>
1235
1236 PR server/17457
1237 * gdb.arch/aarch64-fp.c: New file.
1238 * gdb.arch/aarch64-fp.exp: New file.
1239
395cf596
SDJ
12402014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
1241
1242 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
1243 r210637, r210913, r211666, r215400, r215817).
1244
1245 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
1246 * dg-extract-results.py: New file.
1247 * dg-extract-results.sh: Use it if the environment seems
1248 suitable.
1249
1250 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
1251
1252 * dg-extract-results.py (parse_run): Handle warnings that
1253 are printed before a test harness is run.
1254
1255 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
1256
1257 * dg-extract-results.py (Named): Remove __cmp__ method.
1258 (output_variation): Use a key to sort variation.harnesses.
1259
1260 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
1261
1262 * dg-extract-results.py: For Python 3, force sys.stdout to
1263 handle surrogate escape sequences.
1264 (safe_open): New function.
1265 (output_segment, main): Use it.
1266
1267 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
1268
1269 * dg-extract-results.py (Prog.result_re): Include options
1270 in test name.
1271
1272 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
1273
1274 * dg-extract-results.py (output_variation): Always sort if
1275 do_sum.
1276
e882ef3c
SM
12772014-12-15 Simon Marchi <simon.marchi@ericsson.com>
1278
1279 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
1280 as long as we get pagination notifications.
1281
4992aa20
JM
12822014-12-15 Jason Merrill <jason@redhat.com>
1283
1284 * Makefile.in (check-gdb.%): Restore.
1285 * README: Mention it.
1286
c1b5a1a6
JB
12872014-12-13 Joel Brobecker <brobecker@adacore.com>
1288
1289 * gdb.ada/str_uninit: New testcase.
1290
5537b577
JK
12912014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1292
1293 PR symtab/17642
1294 * gdb.base/vla-stub-define.c: New file.
1295 * gdb.base/vla-stub.c: New file.
1296 * gdb.base/vla-stub.exp: New file.
1297
bb2ec1b3
TT
12982014-12-12 Phil Muldoon <pmuldoon@redhat.com>
1299 Jan Kratochvil <jan.kratochvil@redhat.com>
1300 Tom Tromey <tromey@redhat.com>
1301
1302 * configure.ac: Add gdb.compile/.
1303 * configure: Regenerate.
1304 * gdb.compile/Makefile.in: New file.
1305 * gdb.compile/compile-ops.exp: New file.
1306 * gdb.compile/compile-ops.c: New file.
1307 * gdb.compile/compile-tls.c: New file.
1308 * gdb.compile/compile-tls.exp: New file.
1309 * gdb.compile/compile-constvar.S: New file.
1310 * gdb.compile/compile-constvar.c: New file.
1311 * gdb.compile/compile-mod.c: New file.
1312 * gdb.compile/compile-nodebug.c: New file.
1313 * gdb.compile/compile-setjmp-mod.c: New file.
1314 * gdb.compile/compile-setjmp.c: New file.
1315 * gdb.compile/compile-setjmp.exp: New file.
1316 * gdb.compile/compile-shlib.c: New file.
1317 * gdb.compile/compile.c: New file.
1318 * gdb.compile/compile.exp: New file.
1319 * lib/gdb.exp (skip_compile_feature_tests): New proc.
1320
4ff709eb
TT
13212014-12-12 Tom Tromey <tromey@redhat.com>
1322
1323 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
1324 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
1325
6dddd6a5
DE
13262014-12-12 Doug Evans <dje@google.com>
1327
1328 * lib/gdb-python.exp (get_python_valueof): New function.
1329 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
1330
71c24708
AA
13312014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
1332
1333 * gdb.base/completion.exp: Add test for completion of "info
1334 registers ".
1335
3e29f34a
MR
13362014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
1337
1338 * gdb.base/func-ptrs.c: New file.
1339 * gdb.base/func-ptrs.exp: New file.
1340
fc126975
SM
13412014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1342
1343 PR breakpoints/17012
1344 * gdb.base/dprintf-detach.c: New file.
1345 * gdb.base/dprintf-detach.exp: New file.
1346
0a46d518
SM
13472014-12-10 Simon Marchi <simon.marchi@ericsson.com>
1348
1349 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
1350 * lib/gdb.exp (target_is_gdbserver): New procedure.
1351
a0be3e44
DE
13522014-12-08 Doug Evans <dje@google.com>
1353
1354 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
1355
df1b803a
YQ
13562014-12-05 Yao Qi <yao@codesourcery.com>
1357
1358 * gdb.guile/scm-error.exp: Remove the third argument to
1359 gdb_remote_download.
1360 * gdb.guile/scm-frame-args.exp: Likewise.
1361 * gdb.guile/scm-section-script.exp: Likewise.
1362
ddb9f679
YQ
13632014-12-05 Yao Qi <yao@codesourcery.com>
1364
1365 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
1366
86e4ed39
DE
13672014-12-04 Doug Evans <dje@google.com>
1368
1369 * gdb.python/py-objfile.exp: Add tests for
1370 objfile.add_separate_debug_file.
1371
7c50a931
DE
13722014-12-04 Doug Evans <dje@google.com>
1373
1374 * lib/gdb.exp (get_build_id): New function.
1375 (build_id_debug_filename_get): Rewrite to use it.
1376 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
1377
621661e3
MR
13782014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
1379
1380 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
1381 `method(long)', not just 0x0.
1382 * gdb.cp/nsalias.exp: Align code labels to 4.
1383 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
1384 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
1385 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
1386 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
1387 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
1388 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
1389
29f0c3b7
DE
13902014-12-02 Doug Evans <dje@google.com>
1391
e1e061e7 1392 PR symtab/17602
29f0c3b7 1393 * gdb.cp/anon-ns.cc: Move guts of this file to ...
e1e061e7 1394 * gdb.cp/anon-ns2.cc: ... here. New file.
29f0c3b7
DE
1395 * gdb.cp/anon-ns.exp: Update.
1396
162078c8
NB
13972014-12-02 Nick Bull <nicholaspbull@gmail.com>
1398
1399 * gdb.python/py-events.py (inferior_call_handler): New.
1400 (register_changed_handler, memory_changed_handler): New.
1401 (test_events.invoke): Register new handlers.
1402 * gdb.python/py-events.exp: Add tests for inferior call,
1403 memory_changed and register_changed events.
1404
fdb09caf
AA
14052014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
1406
1407 * gdb.base/execl-update-breakpoints.exp: Specify the link address
1408 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
1409 if the linker doesn't understand this.
1410
55cfb2c4
SM
14112014-12-01 Simon Marchi <simon.marchi@ericsson.com>
1412
1413 * gdb.python/python.exp: Change expected reply to help().
1414
9e8cd6df
YQ
14152014-12-01 Yao Qi <yao@codesourcery.com>
1416
1417 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
1418 AC_CONFIG_SUBDIRS(gdb.gdbtk).
1419 * configure: Re-generated.
1420
6c659fc2
SC
14212014-11-28 Siva Chandra Reddy <sivachandra@google.com>
1422
1423 * gdb.cp/chained-calls.cc: New file.
1424 * gdb.cp/chained-calls.exp: New file.
1425 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
1426
d7fc3181
SM
14272014-11-28 Simon Marchi <simon.marchi@ericsson.com>
1428
1429 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
1430 * gdb.dwarf2/symtab-producer.exp: Same.
1431 * gdb.gdb/python-interrupts.exp: Same.
1432 * gdb.gdb/python-selftest.exp: Same.
1433 * gdb.python/py-linetable.exp: Same.
1434 * gdb.python/py-type.exp: Same.
1435 * gdb.python/py-value-cc.exp: Same.
1436 * gdb.python/py-value.exp: Same.
1437
10e79639
YQ
14382014-11-28 Yao Qi <yao@codesourcery.com>
1439
1440 * gdb.base/break-probes.exp: Match library name prefixed with
1441 sysroot.
1442
f28a0564
SM
14432014-11-27 Simon Marchi <simon.marchi@ericsson.com>
1444
1445 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
1446 test expected output. Add parentheses for the call to print.
1447 Remove L suffix from integers.
1448
3fe1ce1d
DE
14492014-11-26 Doug Evans <dje@google.com>
1450
1451 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
1452
84429e27
YQ
14532014-11-22 Yao Qi <yao@codesourcery.com>
1454
1455 * gdb.trace/entry-values.c: Remove asms.
1456 (foo): Add foo_label.
1457 (bar): Add bar_label.
1458 * gdb.trace/entry-values.exp: Remove code computing foo's
1459 length and bar's length.
1460 (Dwarf::assemble): Invoke function_range for bar and use
1461 MACRO_AT_func for foo.
1462
26741859
YQ
14632014-11-22 Yao Qi <yao@codesourcery.com>
1464
1465 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
1466 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
1467 Use .Lgcc43_procstart instead of gcc43.
1468
45e44d27
JB
14692014-11-21 Joel Brobecker <brobecker@adacore.com>
1470
1471 * gdb.ada/n_arr_bound: New testcase.
1472
458c8db8
SDJ
14732014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
1474
1475 PR breakpoints/10737
1476 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
1477 test_catch_syscall_multi_arch.
1478 (test_catch_syscall_multi_arch): New function.
1479
43f3e411
DE
14802014-11-20 Doug Evans <xdje42@gmail.com>
1481
1482 * gdb.base/maint.exp: Update expected output.
1483
0d7b2549
AA
14842014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
1485
1486 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
1487 4-byte instruction on S390.
1488
8908fca5
JB
14892014-11-19 Joel Brobecker <brobecker@adacore.com>
1490
1491 * gdb.ada/arr_arr: New testcase.
1492
4a46959e
JB
14932014-11-19 Joel Brobecker <brobecker@adacore.com>
1494
1495 * gdb.ada/pkd_arr_elem: New Testcase.
1496
470e2f4e
LM
14972014-11-18 Luis Machado <lgustavo@codesourcery.com>
1498
1499 * gdb.reverse/break-precsave: Expect completion message for
1500 core file reads.
1501 * gdb.reverse/consecutive-precsave.exp: Likewise.
1502 * gdb.reverse/finish-precsave.exp: Likewise.
1503 * gdb.reverse/i386-precsave.exp: Likewise.
1504 * gdb.reverse/machinestate-precsave.exp: Likewise.
1505 * gdb.reverse/sigall-precsave.exp: Likewise.
1506 * gdb.reverse/solib-precsave.exp: Likewise.
1507 * gdb.reverse/step-precsave.exp: Likewise.
1508 * gdb.reverse/until-precsave.exp: Likewise.
1509 * gdb.reverse/watch-precsave.exp: Likewise.
1510
a267f3ad
AA
15112014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1512
1513 * gdb.base/bp-permanent.c: Include unistd.h.
1514 * gdb.python/py-framefilter-mi.c (main): Add return type.
1515 * gdb.python/py-framefilter.c (main): Likewise.
1516 * gdb.trace/actions-changed.c (main): Likewise.
1517
12084a9a
AA
15182014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1519
1520 * gdb.mi/until.c: Add eye-catchers.
1521 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
1522 line numbers.
1523
dc7e1a77
AA
15242014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
1525
1526 * gdb.base/condbreak.exp: Drop references to removed non-prototype
1527 function header variants in break1.c.
1528 * gdb.base/ena-dis-br.exp: Likewise.
1529 * gdb.base/hbreak2.exp: Likewise.
1530 * gdb.reverse/until-precsave.exp: Drop references to removed
1531 non-prototype function header variants in ur1.c.
1532 * gdb.reverse/until-reverse.exp: Likewise.
1533
41c77605
PM
15342014-11-17 Petr Machata <pmachata@redhat.com>
1535
1536 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
1537 ${_cu_offset_size} bytes abbrev offset.
1538
34248c3a
DE
15392014-11-15 Doug Evans <xdje42@gmail.com>
1540
1541 PR symtab/17559
1542 * gdb.base/line-symtabs.exp: New file.
1543 * gdb.base/line-symtabs.c: New file.
1544 * gdb.base/line-symtabs.h: New file.
1545
646da059
YQ
15462014-11-14 Yao Qi <yao@codesourcery.com>
1547
1548 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
1549 (func): Add label func_label.
1550 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
1551 Replace low_pc and high_pc with MACRO_AT_range.
1552 Replace name, low_pc and high_pc with MACRO_AT_func.
1553
9301ebe6
YQ
15542014-11-14 Yao Qi <yao@codesourcery.com>
1555
1556 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
1557 Replace name, low_pc and high_pc with MACRO_AT_func.
1558
f166b542
YQ
15592014-11-14 Yao Qi <yao@codesourcery.com>
1560
1561 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
1562 produce debug information.
1563 * gdb.dwarf2/implptr-optimized-out.S: Removed.
1564
0f6e71e3
YQ
15652014-11-14 Yao Qi <yao@codesourcery.com>
1566
1567 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
1568 object and get function length.
1569 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
1570 with MACRO_AT_func.
1571 (top-level): Replace gdb_compile and clean_restart with
1572 prepare_for_testing.
1573 * gdb.dwarf2/main.c (main): Add label main_label.
1574
876c4df9
YQ
15752014-11-14 Yao Qi <yao@codesourcery.com>
1576
1577 * lib/dwarf.exp (function_range): New procedure.
1578 (Dwarf::_handle_macro_at_func): New procedure.
1579 (Dwarf::_handle_macro_at_range): New procedure.
1580 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
1581
02ad9cf1
YQ
15822014-11-14 Yao Qi <yao@codesourcery.com>
1583
1584 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
1585 (_handle_attribute): New procedure.
1586
a59add0c
AA
15872014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1588
1589 * gdb.ada/cond_lang/foo.c (callme): Add return type.
1590 * gdb.base/call-sc.c (zed): Likewise.
1591 * gdb.base/checkpoint.c (main): Likewise.
1592 * gdb.base/dump.c (main): Likewise.
1593 * gdb.base/gcore.c (main): Likewise.
1594 * gdb.base/huge.c (main): Likewise.
1595 * gdb.base/multi-forks.c (main): Likewise.
1596 * gdb.base/pr10179-a.c (main): Likewise.
1597 * gdb.base/savedregs.c (main): Likewise.
1598 * gdb.base/sigaltstack.c (main): Likewise.
1599 * gdb.base/siginfo.c (main): Likewise.
1600 * gdb.base/structs.c (zed): Likewise.
1601 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
1602 * gdb.mi/mi-syn-frame.c (main): Likewise.
1603 * gdb.mi/until.c (foo, main): Likewise.
1604 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
1605 * gdb.base/solib-weak.c (foo): Declare.
1606 * gdb.base/attach-twice.c: Include stdio.h.
1607 * gdb.base/weaklib1.c: Likewise.
1608 * gdb.base/weaklib2.c: Likewise.
1609 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
1610 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
1611 unistd.h.
1612 * gdb.base/attach-pie-misread.c: Include stdlib.h.
1613 * gdb.mi/mi-exit-code.c: Likewise.
1614 * gdb.base/break-interp-lib.c: Include string.h.
1615 * gdb.base/coremaker.c: Likewise.
1616 * gdb.base/testenv.c: Likewise.
1617 * gdb.python/py-finish-breakpoint.c: Likewise.
1618 * gdb.base/inferior-died.c: Include sys/wait.h.
1619 * gdb.base/fileio.c: Include time.h.
1620 * gdb.base/async-shell.c: Include unistd.h.
1621 * gdb.base/dprintf-non-stop.c: Likewise.
1622 * gdb.base/info-os.c: Likewise.
1623 * gdb.mi/mi-console.c: Likewise.
1624 * gdb.mi/watch-nonstop.c: Likewise.
1625 * gdb.python/py-events.c: Likewise.
1626 * gdb.base/async.c (baz): Move up before its invocation.
1627 * gdb.base/code_elim2.c (my_global_func): Likewise.
1628 * gdb.base/skip-solib-lib.c (multiply): Likewise.
1629 * gdb.base/advance.c (func2): Likewise.
1630
3b5d5997
AA
16312014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1632
1633 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
1634 variant.
1635 * gdb.base/annota3.c: Likewise.
1636 * gdb.base/async.c: Likewise.
1637 * gdb.base/average.c: Likewise.
1638 * gdb.base/call-ar-st.c: Likewise.
1639 * gdb.base/call-rt-st.c: Likewise.
1640 * gdb.base/call-sc.c: Likewise.
1641 * gdb.base/call-strs.c: Likewise.
1642 * gdb.base/ending-run.c: Likewise.
1643 * gdb.base/execd-prog.c: Likewise.
1644 * gdb.base/exprs.c: Likewise.
1645 * gdb.base/foll-exec.c: Likewise.
1646 * gdb.base/foll-fork.c: Likewise.
1647 * gdb.base/foll-vfork.c: Likewise.
1648 * gdb.base/funcargs.c: Likewise.
1649 * gdb.base/gcore.c: Likewise.
1650 * gdb.base/jump.c: Likewise.
1651 * gdb.base/langs0.c: Likewise.
1652 * gdb.base/langs1.c: Likewise.
1653 * gdb.base/langs2.c: Likewise.
1654 * gdb.base/mips_pro.c: Likewise.
1655 * gdb.base/nodebug.c: Likewise.
1656 * gdb.base/opaque0.c: Likewise.
1657 * gdb.base/opaque1.c: Likewise.
1658 * gdb.base/recurse.c: Likewise.
1659 * gdb.base/run.c: Likewise.
1660 * gdb.base/scope0.c: Likewise.
1661 * gdb.base/scope1.c: Likewise.
1662 * gdb.base/setshow.c: Likewise.
1663 * gdb.base/setvar.c: Likewise.
1664 * gdb.base/shmain.c: Likewise.
1665 * gdb.base/shr1.c: Likewise.
1666 * gdb.base/shr2.c: Likewise.
1667 * gdb.base/sigall.c: Likewise.
1668 * gdb.base/signals.c: Likewise.
1669 * gdb.base/so-indr-cl.c: Likewise.
1670 * gdb.base/solib2.c: Likewise.
1671 * gdb.base/structs.c: Likewise.
1672 * gdb.base/sum.c: Likewise.
1673 * gdb.base/vforked-prog.c: Likewise.
1674 * gdb.base/watchpoint.c: Likewise.
1675 * gdb.reverse/shr2.c: Likewise.
1676 * gdb.reverse/until-reverse.c: Likewise.
1677 * gdb.reverse/ur1.c: Likewise.
1678 * gdb.reverse/watch-reverse.c: Likewise.
1679
066a77c5
AA
16802014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1681
1682 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
1683 variant.
1684 * gdb.base/sepdebug.exp: Drop references to removed code.
1685
4f204ea5
AA
16862014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1687
1688 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
1689 variant. Preserve original line numbering.
1690 * gdb.base/list1.c: Likewise.
1691
3b377a3a
AA
16922014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1693
1694 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
1695 variant.
1696 * gdb.base/break1.c: Likewise.
1697 * gdb.base/break.exp: Drop references to removed code.
1698
e444df73
AA
16992014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1700
1701 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
1702 variant.
1703
8008f2a7
AA
17042014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1705
1706 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
1707
a5a06887
AA
17082014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1709
1710 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
1711 logic into perform_all_tests() and invoke it with and without
1712 function header prototypes.
1713 (do_function_calls): Remove conditional XFAIL for PR 5318.
1714 (rerun_and_prepare): Remove duplicate code.
1715 (perform_all_tests): New. Main logic moved here.
1716
44dba9b9
AA
17172014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1718
1719 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
1720 code guarded by #ifdef NO_PROTOTYPES.
1721 (t_double_many_args): Likewise.
1722 (DEF_FUNC_MANY_ARGS_1): Likewise.
1723 (DEF_FUNC_VALUES_1): Likewise.
1724 (t_structs_ldc): Renamed from t_structs_fc in conditional code
1725 guarded by #ifdef PROTOTYPES.
1726
d1fbcd56
AA
17272014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1728
1729 * gdb.mi/mi-console.c: Add eye-catcher.
1730 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
1731 instead of literal line number.
1732
b0e59b8f
AA
17332014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1734
1735 * gdb.base/shr2.c: Add eye-catcher.
1736 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
1737 line number.
1738
78f98cca
AA
17392014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1740
1741 * gdb.base/jump.c: Add eye-catchers.
1742 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
1743 numbers.
1744
58fa2af0
AA
17452014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1746
1747 * gdb.base/execd-prog.c: Add eye-catchers.
1748 * gdb.base/foll-exec.c: Likewise.
1749 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
1750 line numbers.
1751
04e5059b
AA
17522014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1753
1754 * gdb.base/ending-run.c: Add eye-catchers.
1755 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
1756 literal line numbers.
1757
dbfdb174
AA
17582014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1759
1760 * gdb.base/call-rt-st.c: Add eye-catchers.
1761 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
1762 literal line numbers.
1763
888a2ade
AA
17642014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1765
1766 * gdb.base/call-ar-st.c: Add eye-catchers.
1767 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
1768 literal line numbers.
1769
6acc2dde
AA
17702014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1771
1772 * gdb.base/average.c: Add eye-catchers.
1773 * gdb.base/sum.c: Likewise.
1774 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
1775 regexps dynamically.
1776
9ecfcd1d
AA
17772014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
1778
1779 * gdb.base/solib1.c: Add eye-catchers.
1780 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
1781 literal line numbers.
1782
78708b7c
PA
17832014-11-12 Pedro Alves <palves@redhat.com>
1784
1785 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
1786 leader has exited.
1787
af48d08f
PA
17882014-11-12 Pedro Alves <palves@redhat.com>
1789
1790 * gdb.arch/i386-bp_permanent.c: New file.
1791 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
1792 (srcfile): Set to i386-bp_permanent.c.
1793 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
1794 that stepi does not execute the 'leave' instruction, instead of
1795 testing it does execute.
1796 * gdb.base/bp-permanent.c: New file.
1797 * gdb.base/bp-permanent.exp: New file.
1798
af3768e9
DE
17992014-11-10 Doug Evans <xdje42@gmail.com>
1800
1801 PR symtab/17564
1802 * gdb.base/symtab-search-order.exp: New file.
1803 * gdb.base/symtab-search-order.c: New file.
1804 * gdb.base/symtab-search-order-1.c: New file.
1805 * gdb.base/symtab-search-order-shlib-1.c: New file.
1806
9de00a4a
PA
18072014-11-07 Pedro Alves <palves@redhat.com>
1808
1809 PR gdb/17511
1810 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
1811 i?86-*-linux*.
1812
e0f52461
SC
18132014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1814
1815 PR c++/17494
1816 * gdb.cp/pr17494.cc: New file.
1817 * gdb.cp/pr17494.exp: New file.
1818
6ce8c980
YQ
18192014-11-02 Yao Qi <yao@codesourcery.com>
1820
1821 * gdb.python/python.exp: Get working directory and match the
1822 output of "set extended-prompt \\w " with it.
1823
02be9a71
DE
18242014-10-30 Doug Evans <dje@google.com>
1825
1826 * gdb.python/py-objfile.exp: Add tests for setting random attributes
1827 in objfiles.
1828 * gdb.python/py-progspace.exp: Add tests for setting random attributes
1829 in progspaces.
1830
3bdff46b
LM
18312014-10-30 Janis Johnson <janisjo@codesourcery.com>
1832
1833 * gdb.base/fullpath-expand.exp: Skip for a remote host.
1834 * gdb.base/realname-expand.exp: Likewise.
1835 * gdb.linespec/macro-relative.exp: Likewise.
1836
ab917dfb
PA
18372014-10-29 Pedro Alves <palves@redhat.com>
1838
1839 PR gdb/17408
1840 * gdb.threads/schedlock.c (some_function): New function.
1841 (call_function): New global.
1842 (MAYBE_CALL_SOME_FUNCTION): New macro.
1843 (thread_function): Call it.
1844 * gdb.threads/schedlock.exp (get_args): Add description parameter,
1845 and use it instead of a global counter. Adjust all callers.
1846 (get_current_thread): Use "find current thread" for test message
1847 here rather than having all callers pass down the same string.
1848 (goto_loop): New procedure, factored out from ...
1849 (my_continue): ... this.
1850 (step_ten_loops): Change parameter from test message to command to
1851 use. Adjust.
1852 (list_count): Delete global.
1853 (check_result): New procedure, factored out from duplicate top
1854 level code.
1855 (continue tests): Wrap in with_test_prefix.
1856 (test_step): New procedure, factored out from duplicate top level
1857 code.
1858 (top level): Test "step" in combination with all scheduler-locking
1859 modes. Test "next" in combination with all scheduler-locking
1860 modes, and in combination with stepping over a function call or
1861 not.
1862 * gdb.threads/next-bp-other-thread.c: New file.
1863 * gdb.threads/next-bp-other-thread.exp: New file.
1864
d3d4baed
PA
18652014-10-29 Pedro Alves <palves@redhat.com>
1866
1867 PR python/17372
1868 * gdb.python/python.exp: Test a multi-line command that spawns
1869 interactive Python.
1870 * gdb.base/multi-line-starts-subshell.exp: New file.
1871
563e8d85
YQ
18722014-10-29 Yao Qi <yao@codesourcery.com>
1873
1874 * gdb.base/fileio.exp: Make directories on host.
1875
0ea4d52e
YQ
18762014-10-29 Yao Qi <yao@codesourcery.com>
1877
1878 * gdb.base/fileio.c (test_write): Close the file.
1879
7f5ef605
PA
18802014-10-28 Pedro Alves <palves@redhat.com>
1881
1882 PR gdb/12623
1883 * gdb.base/sigstep.c (no_handler): New global.
1884 (main): If 'no_handler is true, set the signal handlers to
1885 SIG_IGN.
1886 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
1887 with_sw_watch and no_handler parameters. Handle them.
1888 (top level) <stepping over handler when stopped at a breakpoint
1889 test>: Add a test axis for testing with a software watchpoint, and
1890 another for testing with the signal handler set to SIG_IGN.
1891 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
1892 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
1893
abbdbd03
PA
18942014-10-28 Pedro Alves <palves@redhat.com>
1895
1896 PR gdb/17511
1897 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
1898 * gdb.base/sigstep.exp (other_handler_location): New global.
1899 (advance): Support stepping into the signal handler, and running
1900 commands while in the handler.
1901 (in_handler_map): New global.
1902 (top level): In the advance test, add combinations for getting
1903 into the handler with stepping commands, and for running commands
1904 in the handler. Add comment descripting the advancei tests.
1905
1df4399f
PA
19062014-10-28 Pedro Alves <palves@redhat.com>
1907
1908 * gdb.base/sigstep.exp: Use build_executable instead of
1909 prepare_for_testing.
1910 (top level): Move code that starts GDB, runs to main and creates a
1911 display to ...
1912 (restart): ... this new procedure.
1913 (top level): Move backtrace from signal handler test to ...
1914 (validate_backtrace): ... this new procedure.
1915 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
1916 with_test_prefix. Always restart GDB.
1917 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
1918 with_test_prefix. Always restart GDB. No need to delete
1919 breakpoints after the test.
1920 (test_skip_handler): Remove prefix parameter.
1921 (skip_over_handler, breakpoint_to_handler)
1922 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
1923 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
1924 restart GDB. No need to delete breakpoints after the test.
1925 (top level): Use foreach to call the test procedures with
1926 different commands.
1927
a5b6e449
PA
19282014-10-28 Pedro Alves <palves@redhat.com>
1929
1930 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
1931 instead of GNATS numbers.
1932 * gdb.base/sigbpt.exp: Likewise.
1933 * gdb.base/siginfo.exp: Likewise.
1934 * gdb.base/sigstep.exp: Likewise.
1935
e5f8a7cc
PA
19362014-10-27 Pedro Alves <palves@redhat.com>
1937
1938 * gdb.base/sigstep.c (dummy): New global.
1939 (main): Issue a couple writes to the new global.
1940 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
1941 procedures.
1942 (skip_over_handler): Use test_skip_handler.
1943 (top level): Call skip_over_handler for stepi and nexti too.
1944 (breakpoint_over_handler): Use test_skip_handler.
1945 (top level): Call breakpoint_over_handler for stepi and nexti too.
1946
763905a3
YQ
19472014-10-27 Yao Qi <yao@codesourcery.com>
1948
1949 * gdb.trace/tfile.c (adjust_function_address)
1950 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
1951 function descriptor.
1952
6f259a23
DB
19532014-10-24 Don Breazeal <donb@codesourcery.com>
1954
1955 * gdb.base/foll-fork.exp (test_follow_fork,
1956 catch_fork_child_follow): Check for updated fork messages emitted
1957 from infrun.c.
1958 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
1959 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
1960 vfork_and_exec_child_follow_through_step): Check for updated vfork
1961 messages emitted from infrun.c.
1962
09dd9a69
PA
19632014-10-24 Pedro Alves <palves@redhat.com>
1964
1965 * gdb.base/corefile.exp: Remove references to ultrix.
1966 * gdb.base/interrupt.exp: Likewise.
1967 * gdb.base/whatis.exp: Likewise.
1968 * gdb.gdb/selftest.exp: Likewise.
1969 * gdb.threads/manythreads.exp: Likewise.
1970 * gdb.threads/print-threads.exp: Likewise.
1971 * gdb.threads/pthreads.exp:: Likewise.
1972 * gdb.threads/schedlock.exp: Likewise.
1973
3433cfa5
SC
19742014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1975
1976 * gdb.cp/non-trivial-retval.cc: Add a test case.
1977 * gdb.cp/non-trivial-retval.exp: Add a test.
1978
092f880b
YQ
19792014-10-20 Yao Qi <yao@codesourcery.com>
1980
1981 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
1982 * gdb.python/py-objfile-script-gdb.py: New file.
1983 * gdb.python/py-objfile-script.exp: Update reference to
1984 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
1985 of remote_download. Remove the dest file.
1986
acbdb7f3
YQ
19872014-10-20 Yao Qi <yao@codesourcery.com>
1988
1989 * gdb.base/checkpoint.exp: Don't remove file copied on host.
1990 * gdb.base/step-line.exp: Likewise.
1991 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1992 * gdb.dwarf2/dw2-basic.exp: Likewise.
1993 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1994 * gdb.dwarf2/dw2-filename.exp: Likewise.
1995 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1996 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1997 * gdb.dwarf2/dw2-producer.exp: Likewise.
1998 * gdb.dwarf2/mac-fileno.exp: Likewise.
1999 * gdb.python/py-frame-args.exp: Likewise.
2000 * gdb.python/py-framefilter.exp: Likewise.
2001 * gdb.python/py-mi.exp: Likewise.
2002 * gdb.python/py-objfile-script.exp: Likewise
2003 * gdb.python/py-pp-integral.exp: Likewise.
2004 * gdb.python/py-pp-re-notag.exp: Likewise.
2005 * gdb.python/py-prettyprint.exp: Likewise.
2006 * gdb.python/py-section-script.exp: Likewise.
2007 * gdb.python/py-typeprint.exp: Likewise.
2008 * gdb.python/py-xmethods.exp: Likewise.
2009 * gdb.stabs/weird.exp: Likewise.
2010 * gdb.xml/tdesc-regs.exp: Likewise.
2011
bd286a29
KCY
20122014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
2013
2014 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
2015 (out_cu): Use addr_len for the size of addresses.
2016 (out_line): Likewise. Size DW_LNE_set_address instruction
2017 according to addr_len.
2018 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
2019 (FUNC): Add START_INSNS to definition.
2020
673dc4a0
YQ
20212014-10-18 Yao Qi <yao@codesourcery.com>
2022
2023 * gdb.base/argv0-symlink.exp: Check argv[0] value if
2024 gdb_has_argv0 return true.
2025 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
2026 check [target_info exists noargs], check [gdb_has_argv0]
2027 instead.
2028 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2029 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
2030 procedures.
2031
4ffbba72
DE
20322014-10-17 Doug Evans <dje@google.com>
2033
2034 * gdb.python/py-events.exp: Update expected output for clear_objfiles
2035 event.
2036 * gdb.python/py-events.py: Add clear_objfiles event.
2037
d096d8c1
DE
20382014-10-17 Doug Evans <dje@google.com>
2039
2040 * gdb.python/py-objfile.exp: Test progspace attribute.
2041
a80db015
LM
20422014-10-17 Luis Machado <lgustavo@codesourcery.com>
2043
2044 * gdb.guile/scm-breakpoint.exp: Do not assume any
2045 directory separators when matching source file paths.
2046 * gdb.python/py-breakpoint.exp: Likewise.
2047 * gdb.reverse/break-precsave.exp: Likewise.
2048 * gdb.reverse/break-reverse.exp: Likewise.
2049 * gdb.reverse/consecutive-precsave.exp: Likewise.
2050 * gdb.reverse/finish-precsave.exp: Likewise.
2051 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
2052 * gdb.reverse/finish-reverse.exp: Likewise.
2053 * gdb.reverse/i386-precsave.exp: Likewise.
2054 * gdb.reverse/i387-env-reverse.exp: Likewise.
2055 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2056 * gdb.reverse/machinestate-precsave.exp: Likewise.
2057 * gdb.reverse/machinestate.exp: Likewise.
2058 * gdb.reverse/sigall-precsave.exp: Likewise.
2059 * gdb.reverse/solib-precsave.exp: Likewise.
2060 * gdb.reverse/step-precsave.exp: Likewise.
2061 * gdb.reverse/until-precsave.exp: Likewise.
2062 * gdb.reverse/watch-precsave.exp: Likewise.
2063 * gdb.reverse/watch-reverse.exp: Likewise.
2064
b22089ab
YQ
20652014-10-17 Yao Qi <yao@codesourcery.com>
2066
2067 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
2068 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
2069
6c4486e6
PA
20702014-10-17 Pedro Alves <palves@redhat.com>
2071
2072 PR gdb/17471
2073 * gdb.base/bg-execution-repeat.c: New file.
2074 * gdb.base/bg-execution-repeat.exp: New file.
2075
0ff33695
PA
20762014-10-17 Pedro Alves <palves@redhat.com>
2077
2078 PR gdb/17300
2079 * gdb.base/continue-all-already-running.c: New file.
2080 * gdb.base/continue-all-already-running.exp: New file.
2081
6fdebc3d
PA
20822014-10-17 Pedro Alves <palves@redhat.com>
2083
2084 PR gdb/17472
2085 * gdb.base/annota-input-while-running.c: New file.
2086 * gdb.base/annota-input-while-running.exp: New file.
2087
32a8097b
PA
20882014-10-17 Pedro Alves <palves@redhat.com>
2089
2090 * gdb.base/callfuncs.exp: emove references to osf.
2091 * gdb.base/sigall.exp: Likewise.
2092 * gdb.gdb/selftest.exp: Likewise.
2093 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
2094 * gdb.mi/non-stop.c: Likewise.
2095 * gdb.mi/pthreads.c: Likewise.
2096 * gdb.reverse/sigall-precsave.exp: Likewise.
2097 * gdb.reverse/sigall-reverse.exp: Likewise.
2098 * gdb.threads/pthreads.c: Likewise.
2099 * gdb.threads/pthreads.exp: Likewise.
2100
7a3517ff
YQ
21012014-10-17 Yao Qi <yao@codesourcery.com>
2102
2103 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
2104 check 'target_info exists noargs'.
2105 (test_command_prompt_position): Likewise.
2106 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
2107 Remove "set args".
2108 (progvar_simple_while_test): Likewise.
2109 (progvar_complex_if_while_test): Likewise.
2110 (if_while_breakpoint_command_test): Likewise.
2111 (infrun_breakpoint_command_test): Likewise.
2112 (breakpoint_command_test): Likewise.
2113 (watchpoint_command_test): Likewise.
2114 (bp_deleted_in_command_test): Likewise.
2115 (temporary_breakpoint_commands): Likewise.
2116
bb99c472
YQ
21172014-10-16 Yao Qi <yao@codesourcery.com>
2118
2119 * gdb.base/remotetimeout.exp: Remove noargs checking.
2120
7c16b83e
PA
21212014-10-15 Pedro Alves <palves@redhat.com>
2122
2123 PR breakpoints/9649
2124 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
2125 * gdb.base/breakpoint-in-ro-region.exp
2126 (probe_target_hardware_step): New procedure.
2127 (top level): Probe hardware stepping and hardware breakpoint
2128 support. Test stepping through a read-only region, with both
2129 "breakpoint auto-hw" on and off and both "always-inserted" on and
2130 off.
2131
35a49624
IB
21322014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
2133
2134 * gdb.dlang/demangle.exp: Update for demangling changes.
2135
2d1c107c
SC
21362014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2137
2138 * gdb.cp/non-trivial-retval.cc: Add new test cases.
2139 * gdb.cp/non-trivial-retval.exp: Add new tests.
2140
778811d5
SC
21412014-10-15 Siva Chandra Reddy <sivachandra@google.com>
2142
2143 PR c++/13403
2144 PR c++/15154
2145 * gdb.cp/non-trivial-retval.cc: New file.
2146 * gdb.cp/non-trivial-retval.exp: New file.
2147
10c5f0a8
YQ
21482014-10-15 Yao Qi <yao@codesourcery.com>
2149
2150 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
2151 remote host.
2152
65d7b369
YQ
21532014-10-15 Yao Qi <yao@codesourcery.com>
2154
2155 * gdb.python/py-symbol.exp: Match file base name if host is
2156 remote, otherwise match file name with dir name.
2157 * gdb.python/py-symtab.exp: Likewise.
2158 * gdb.python/python.exp: Likewise.
2159
46dc1394
YQ
21602014-10-15 Yao Qi <yao@codesourcery.com>
2161
2162 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
2163 pattern.
2164 * gdb.python/py-symtab.exp: Likewise.
2165 * gdb.python/python.exp: Remove trailing ".*". Fix typo
2166 locationn.
2167
c40cc657
JB
21682014-10-14 Joel Brobecker <brobecker@adacore.com>
2169
2170 * gdb.ada/addr_arith: New testcase.
2171
2abf49e1
MR
21722014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
2173
2174 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
2175 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
2176 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
2177 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
2178
f7088df3
SDJ
21792014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
2180
2181 * gdb.arch/stap-eval-lang-ada.S: Likewise.
2182 * gdb.arch/stap-eval-lang-ada.c: Likewise.
2183 * gdb.arch/stap-eval-lang-ada.exp: New file.
2184
4dc06805
YQ
21852014-10-14 Yao Qi <yao@codesourcery.com>
2186
2187 * gdb.mi/mi-var-child.c (nothing1): New function.
2188 (nothing2): New function.
2189 (do_children_tests): Set function pointers by nothing1 and
2190 nothing2.
2191 * gdb.mi/mi-var-child.exp: Step over new added statements.
2192 Update test to match the new output.
2193 * gdb.mi/var-cmd.c (nothing1): New function.
2194 (nothing2): New function.
2195 (do_children_tests): Set function pointers by nothing1 and
2196 nothing2.
2197 * gdb.mi/mi-var-display.exp: Update test to match output.
2198 Step to the line specified by $line_dct_nothing.
2199 Increase the number of lines to step.
2200
46a93de2
YQ
22012014-10-14 Yao Qi <yao@codesourcery.com>
2202
2203 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
2204 tests.
2205 * gdb.mi/mi2-var-child.exp: Likewise.
2206
14ea52ee
DE
22072014-10-13 Doug Evans <dje@google.com>
2208
2209 * gdb.python/py-objfile.exp: Change name of file name test.
2210
e5c6e92b
DE
22112014-10-13 Doug Evans <dje@google.com>
2212
2213 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
2214 from the start of the CU.
2215
c780cc2f
JK
22162014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2217 Yao Qi <yao@codesourcery.com>
2218
2219 Fix "save breakpoints" for "catch" command.
2220 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
2221 Remove -nonewline. Match also the added "main" line.
2222
99894e11
JK
22232014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2224
2225 Fix "save breakpoints" for "disable $bpnum" command.
2226 * gdb.base/save-bp.c (main): Add label.
2227 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
2228
6e1ac5a3
JK
22292014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2230
2231 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
2232
754dd2b0
YQ
22332014-10-11 Yao Qi <yao@codesourcery.com>
2234
2235 * gdb.server/server-kill.exp: Execute command
2236 "set remote trace-status-packet on" before "tstatus".
2237
f90183d7
YQ
22382014-10-11 Yao Qi <yao@codesourcery.com>
2239
2240 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
2241 (main): Call getppid.
2242 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
2243 and continue to it. Read variable "server_pid".
2244
bf40a607
YQ
22452014-10-11 Yao Qi <yao@codesourcery.com>
2246
2247 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
2248
052ca370
YQ
22492014-10-11 Yao Qi <yao@codesourcery.com>
2250
2251 * gdb.threads/thread-find.exp: Don't execute command
2252 "info threads".
2253 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
2254 * gdb.threads/linux-dp.exp: Don't check the condition
2255 $threads_created equals to zero.
2256
3831839c
PA
22572014-10-10 Pedro Alves <palves@redhat.com>
2258
2259 * gdb.base/bigcore.exp: Remove references to IRIX.
2260 * gdb.base/funcargs.exp: Likewise.
2261 * gdb.base/interrupt.exp: Likewise.
2262 * gdb.base/mips_pro.exp: Likewise.
2263 * gdb.base/nodebug.exp: Likewise.
2264 * gdb.base/setvar.exp: Likewise.
2265 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
2266
8b9a549d
PA
22672014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2268 Pedro Alves <palves@redhat.com>
2269
2270 PR symtab/14466
2271 * gdb.base/vdso-warning.c: New file.
2272 * gdb.base/vdso-warning.exp: New file.
2273
d48ba5e8
DE
22742014-10-02 Doug Evans <dje@google.com>
2275
2276 * gdb.base/structs.c (main): Don't run forever.
2277
2278c276
PA
22782014-10-02 Pedro Alves <palves@redhat.com>
2279
2280 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
2281 (top level) <stop threads 1, stop threads 2>: Use it.
2282
b57bacec
PA
22832014-10-02 Pedro Alves <palves@redhat.com>
2284
2285 * gdb.threads/break-while-running.exp (test): Add new
2286 'update_thread_list' argument. Skip "info threads" if false.
2287 (top level): Add new 'update_thread_list' axis.
2288
13fd3ff3
PA
22892014-10-02 Pedro Alves <palves@redhat.com>
2290
2291 PR breakpoints/17431
2292 * gdb.base/execl-update-breakpoints.c: New file.
2293 * gdb.base/execl-update-breakpoints.exp: New file.
2294
0fec99e8
PA
22952014-10-01 Pedro Alves <palves@redhat.com>
2296
2297 * gdb.base/breakpoint-in-ro-region.c: New file.
2298 * gdb.base/breakpoint-in-ro-region.exp: New file.
2299
2ddf4301
SM
23002014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2301
2302 * gdb.mi/mi-exit-code.exp: New file.
2303 * gdb.mi/mi-exit-code.c: New file.
2304
6a5f3f43
YQ
23052014-09-30 Yao Qi <yao@codesourcery.com>
2306
2307 * lib/prelink-support.exp (build_executable_own_libs): Error if
2308 the target isn't native.
2309
345bcc73
YQ
23102014-09-30 Yao Qi <yao@codesourcery.com>
2311
2312 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
2313 false.
2314
a25a5a45
PA
23152014-09-22 Pedro Alves <palves@redhat.com>
2316
2317 * gdb.threads/break-while-running.exp: New file.
2318 * gdb.threads/break-while-running.c: New file.
2319
00ba3162
YQ
23202014-09-19 Yao Qi <yao@codesourcery.com>
2321
2322 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
2323 Invoke test. Restart GDB with --readnow and invoke test again.
2324
c3b7b696
YQ
23252014-09-19 Yao Qi <yao@codesourcery.com>
2326
2327 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
2328 proc set_breakpoint_on_gcd_function. Invoke
2329 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
2330 invoke set_breakpoint_on_gcd_function again.
2331
2b4fd423
DE
23322014-09-18 Doug Evans <dje@google.com>
2333
2334 * gdb.dwarf2/symtab-producer.exp: New file.
2335
a5947601
SDJ
23362014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2337
2338 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
2339 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
2340 * gdb.base/global-var-nested-by-dso.c: Likewise.
2341 * gdb.base/global-var-nested-by-dso.exp: Likewise.
2342
91c19059
SDJ
23432014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2344 Pedro Alves <palves@redhat.com>
2345
2346 * gdb.base/watch-bitfields.exp: Pass string other than test file
2347 name to prepare_for_testing.
2348 (watch): New procedure.
2349 (expect_watchpoint): Use with_test_prefix.
2350 (top level): Factor out tests to ...
2351 (test_watch_location, test_regular_watch): ... these new
2352 procedures, and use with_test_prefix and gdb_continue_to_end.
2353
bb9d5f81
PP
23542014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2355
2356 PR breakpoints/12526
2357 * gdb.base/watch-bitfields.exp: New file.
2358 * gdb.base/watch-bitfields.c: New file.
2359
635856f5
PA
23602014-09-16 Pedro Alves <palves@redhat.com>
2361
2362 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
2363 software and hardware addresses, not software address against
2364 itself.
2365
7280ceea
PA
23662014-09-16 Pedro Alves <palves@redhat.com>
2367
2368 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
2369 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
2370
428b16bd
PA
23712014-09-16 Pedro Alves <palves@redhat.com>
2372
2373 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
2374 files.
2375 * gdb.base/a2-run.exp: Remove all code guarded by istarget
2376 "*-*-vxworks*" throughout.
2377 * gdb.base/break.exp: Likewise.
2378 * gdb.base/default.exp: Likewise.
2379 * gdb.base/scope.exp: Likewise.
2380 * gdb.base/sepdebug.exp: Likewise.
2381 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
2382 throughout.
2383 * gdb.base/run.c: Likewise.
2384 * gdb.base/sepdebug.c: Likewise.
2385 * gdb.hp/gdb.aCC/run.c: Likewise.
2386 * gdb.reverse/until-reverse.c: Likewise.
2387 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
2388
666d413c
YQ
23892014-09-16 Yao Qi <yao@codesourcery.com>
2390
2391 * boards/local-remote-host-native.exp: New file.
2392
57cbd724
DE
23932014-09-14 Doug Evans <xdje42@gmail.com>
2394
2395 * gdb.threads/queue-signal.c (thread_count): New variable.
2396 (thread_count_mutex, thread_count_condvar): New variables.
2397 (incr_thread_count, wait_all_threads_running): New functions.
2398 (main): Wait for all threads to be in their thread functions.
2399
81219e53
DE
24002014-09-13 Doug Evans <xdje42@gmail.com>
2401
2402 * gdb.threads/queue-signal.c: New file.
2403 * gdb.threads/queue-signal.exp: New file.
2404
3714cea7
DE
24052014-09-13 Doug Evans <xdje42@gmail.com>
2406
2407 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
2408 be consistent with what default_gdb_init uses.
2409 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
2410 the plain text of the prompt. Add some logging printfs.
2411 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
2412
fa43b1d7
PA
24132014-09-12 Pedro Alves <palves@redhat.com>
2414
2415 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
2416 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
2417 * gdb.arch/i386-size-overlap.exp: Likewise.
2418 * gdb.arch/i386-size.exp: Likewise.
2419 * gdb.arch/i386-unwind.exp: Likewise.
2420 * gdb.base/a2-run.exp: Likewise.
2421 * gdb.base/break.exp: Likewise.
2422 * gdb.base/charset.exp: Likewise.
2423 * gdb.base/chng-syms.exp: Likewise.
2424 * gdb.base/commands.exp: Likewise.
2425 * gdb.base/dbx.exp: Likewise.
2426 * gdb.base/find.exp: Likewise.
2427 * gdb.base/funcargs.exp: Likewise.
2428 * gdb.base/jit-simple.exp: Likewise.
2429 * gdb.base/reread.exp: Likewise.
2430 * gdb.base/sepdebug.exp: Likewise.
2431 * gdb.base/step-bt.exp: Likewise.
2432 * gdb.cp/mb-inline.exp: Likewise.
2433 * gdb.cp/mb-templates.exp: Likewise.
2434 * gdb.objc/basicclass.exp: Likewise.
2435 * gdb.threads/killed.exp: Likewise.
2436
9d9bf2df
EBM
24372014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2438
2439 PR tdep/17379
2440 * gdb.arch/powerpc-stackless.S: New file.
2441 * gdb.arch/powerpc-stackless.exp: New file.
2442
1cf2f1b0
JK
24432014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2444
2445 * gdb.base/attach.c: Include unistd.h.
2446 (main): Call alarm. Add label postloop.
2447 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
2448 gdb_breakpoint, gdb_continue_to_breakpoint.
2449 (test_command_line_attach_run): Kill ${testpid} in one exit path.
2450
98880d46
PA
24512014-09-11 Pedro Alves <palves@redhat.com>
2452
2453 PR gdb/17347
2454 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
2455 * gdb.base/attach.exp (test_command_line_attach_run): New
2456 procedure.
2457 (top level): Call it.
2458
4c92ff2c
PA
24592014-09-11 Pedro Alves <palves@redhat.com>
2460
2461 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
2462 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
2463 (do_command_attach_tests): Use spawn_wait_for_attach.
2464 * gdb.base/solib-overlap.exp: Likewise.
2465 * gdb.multi/multi-attach.exp: Likewise.
2466 * gdb.python/py-prompt.exp: Likewise.
2467 * gdb.python/py-sync-interp.exp: Likewise.
2468 * gdb.server/ext-attach.exp: Likewise.
2469
3adc1a7d
GKB
24702014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
2471
2472 * gdb.fortran/array-element.exp: Remove unexpected "continue"
2473 command in testcase. Simplify testcase.
2474
96334934
JB
24752014-09-10 Joel Brobecker <brobecker@adacore.com>
2476
2477 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
2478
eb479039
JB
24792014-09-10 Joel Brobecker <brobecker@adacore.com>
2480
2481 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
2482
deede10c
JB
24832014-09-10 Joel Brobecker <brobecker@adacore.com>
2484
2485 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
2486
7828a5f5
JB
24872014-09-10 Joel Brobecker <brobecker@adacore.com>
2488
2489 * gdb.dwarf2/dynarr-ptr.c: New file.
2490 * gdb.dwarf2/dynarr-ptr.exp: New file.
2491
33aeebcf
MR
24922014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2493
2494 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
2495 of 30 rather than hardcoding 120 for a slow test case. Take the
2496 `gdb,timeout' target setting into account for this calculation.
2497 Don't extend the timeout for the test cases that don't need it.
2498
7b415901
MR
24992014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2500
2501 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
2502 a factor of 2 for a slow test case. Take the `gdb,timeout'
2503 target setting into account for this calculation.
2504 * gdb.reverse/until-precsave.exp: Increase the timeout by
2505 a factor of 15 and 3 respectively rather than adding 120
2506 for a pair of slow test cases. Take the `gdb,timeout'
2507 target setting into account for this calculation.
2508
4a40f85a
MR
25092014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2510
2511 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
2512 timeout, don't pass one down to gdb_expect.
2513 (gdb_expect): Rework timeout selection.
2514
09635af7
MR
25152014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2516
2517 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
2518 exception on timeout.
2519 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
2520 (gdbserver_start_extended): Catch any `gdbserver_start' error
2521 exceptions.
2522 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
2523 * lib/mi-support.exp (mi_gdb_target_load): Catch any
2524 `gdbserver_gdb_load' error exceptions.
2525
2bdd10b7
MR
25262014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2527
2528 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
2529 120 on waiting for the TCP socket to open.
2530
316935f0
DE
25312014-09-09 Doug Evans <xdje42@gmail.com>
2532
2533 * gdb.base/default.exp (show_conv_list): Add _caller_is,
2534 _caller_matches, _any_caller_is, _any_caller_matches.
2535
83740597
DE
25362014-09-09 Doug Evans <xdje42@gmail.com>
2537
2538 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
2539
4c122fc3
YQ
25402014-09-09 Yao Qi <yao@codesourcery.com>
2541
2542 * gdb.mi/mi-var-display.exp: Set print symbol off.
2543
a9f116cb
GKB
25442014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2545
2546 PR gdb/17035
2547 * gdb.base/commands.exp: Add tests to verify user-defined
2548 commands with empty bodies.
2549 * gdb.python/py-cmd.exp: Test that we don't show user-defined
2550 python commands in `show user command`.
2551 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
2552 scheme commands in `show user command`.
2553
c75bd3a2
JK
25542014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2555
2556 PR python/17355
2557 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
2558 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
2559 * gdb.python/py-framefilter-invalidarg.exp: New file.
2560 * gdb.python/py-framefilter-invalidarg.py: New file.
2561
faa42425
DE
25622014-09-06 Doug Evans <xdje42@gmail.com>
2563
2564 PR 15276
2565 * gdb.python/py-caller-is.c: New file.
2566 * gdb.python/py-caller-is.exp: New file.
2567
474ca4f6
SDJ
25682014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2569
2570 PR gdb/17235
2571 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
2572 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
2573
eb0b0463
SDJ
25742014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2575
2576 PR fortran/17237
2577 * gdb.fortran/print-formatted.exp: New file.
2578 * gdb.fortran/print-formatted.f90: Likewise.
2579
5f3b99cf
SS
25802014-09-03 Sasha Smundak <asmundak@google.com>
2581
2582 * gdb.python/py-frame.exp: Test Frame.read_register.
2583
7d793aa9
SDJ
25842014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2585
2586 PR python/16699
2587 * gdb.python/py-completion.exp: New file.
2588 * gdb.python/py-completion.py: Likewise.
2589
fb0576e9
DE
25902014-08-28 Doug Evans <dje@google.com>
2591
2592 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
2593 eax,etc. are live with values set by gdb and thus the compiler can't
2594 use them.
2595 * gdb.arch/i386-pseudo.c (main): Ditto.
2596
ee92b0dd
DE
25972014-08-27 Doug Evans <dje@google.com>
2598
2599 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
2600
6649db35
DE
26012014-08-25 Doug Evans <dje@google.com>
2602
2603 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
2604 (main): Ditto.
2605
564b7600
DE
26062014-08-25 Doug Evans <dje@google.com>
2607
2608 * gdb.threads/thread-execl.exp: #include <stdio.h>.
2609
3881fb67
YQ
26102014-08-24 Yao Qi <yao@codesourcery.com>
2611
2612 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
2613 symbol off.
2614 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
2615
a05a36a5
DE
26162014-08-22 Doug Evans <dje@google.com>
2617
2618 PR 17276
2619 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
2620 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
2621 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
2622
7c343b48
YQ
26232014-08-22 Yao Qi <yao@codesourcery.com>
2624
2625 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
2626 * gdb.python/py-finish-breakpoint2.exp: Likewise.
2627 * gdb.python/python.exp: Likewise. Use .py file on the host
2628 instead of the build.
2629
22fd09ae
JK
26302014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2631
2632 * gdb.threads/gcore-stale-thread.c: New file.
2633 * gdb.threads/gcore-stale-thread.exp: New file.
2634
a8454a7c
PA
26352014-08-21 Pedro Alves <palves@redhat.com>
2636
2637 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
2638 * gdb.base/gcore-relro-pie.exp: Likewise.
2639 * gdb.base/gcore-relro.exp: Likewise.
2640 * gdb.base/gcore.exp: Likewise.
2641 * gdb.base/print-symbol-loading.exp: Likewise.
2642 * gdb.threads/gcore-thread.exp: Likewise.
2643 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
2644
2a31c623
PA
26452014-08-20 Pedro Alves <palves@redhat.com>
2646 Jan Kratochvil <jan.kratochvil@redhat.com>
2647
2648 * Makefile.in (EXTRA_RULES, CC): New variables, get from
2649 configure.
2650 (EXPECT): Handle READ1 being set.
2651 (all): Depend on EXTRA_RULES.
2652 (check-read1, expect-read1, read1.so, read1): New rules.
2653 * README (Testsuite Parameters): Document the READ1 make variable.
2654 (Race detection): New section.
2655 * configure: Regenerate.
2656 * configure.ac: If build==host==target, and running under a
2657 GNU/glibc system, add read1 to the extra Makefile rules.
2658 (EXTRA_RULES): AC_SUBST it.
2659 * lib/read1.c: New file.
2660
d36430db
JB
26612014-08-20 Joel Brobecker <brobecker@adacore.com>
2662
2663 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
2664 the handling of variables declared as a typedef to an array
2665 which a DW_AT_data_location attribute.
2666
9a0dc9e3
PA
26672014-08-19 Andrew Burgess <aburgess@broadcom.com>
2668 Pedro Alves <palves@redhat.com>
2669
2670 PR symtab/14604
2671 PR symtab/14605
2672 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
2673 gdb_test.
2674
0718a8da
PA
26752014-08-19 Pedro Alves <palves@redhat.com>
2676
2677 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
2678
13b448cd
YQ
26792014-08-19 Yao Qi <yao@codesourcery.com>
2680
2681 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
2682 right line.
2683
1cbf5077
DB
26842014-08-18 David Blaikie <dblaikie@gmail.com>
2685
2686 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
2687
bf0fae19
JB
26882014-08-18 Joel Brobecker <brobecker@adacore.com>
2689
2690 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
2691 attribute in array range.
2692
3c8c5dcc
JB
26932014-08-18 Joel Brobecker <brobecker@adacore.com>
2694
2695 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
2696
e66d4446
SC
26972014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2698
2699 PR c++/17132
2700 * gdb.cp/pr17132.cc: New file.
2701 * gdb.cp/pr17132.exp: New file.
2702
940df408
SC
27032014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2704
2705 * gdb.python/py-xmethods.py (A_getarrayind)
2706 (E_method_char_worker.__call__, E_method_int_worker.__call__):
2707 Use 'print' with function call syntax.
2708 (E_method_matcher.match): Fix tab vs space indentation mixup.
2709
ebcc6c3a
YQ
27102014-08-15 Yao Qi <yao@codesourcery.com>
2711
2712 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
2713 false.
2714
775e0f04
YQ
27152014-08-15 Yao Qi <yao@codesourcery.com>
2716
2717 * gdb.cp/casts.exp: Set print symbol off.
2718 * gdb.cp/class2.exp: Likewise.
2719 * gdb.cp/overload.exp: Likewise.
2720 * gdb.cp/templates.exp: Likewise.
2721
d769e349
DE
27222014-08-11 Doug Evans <dje@google.com>
2723
2724 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
2725 (test_load_shlib): Update.
2726
20c6f1e1
YQ
27272014-08-09 Yao Qi <yao@codesourcery.com>
2728
2729 * gdb.base/display.exp: Invoke is_address_zero_readable.
2730 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
2731 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
2732 * gdb.base/hbreak-unmapped.exp: Return if
2733 is_address_zero_readable returns true.
2734 * gdb.base/signest.exp: Likewise.
2735 * gdb.base/signull.exp: Likewise.
2736 * gdb.base/sigbpt.exp: Likewise.
2737 * gdb.guile/scm-disasm.exp: Do the test if
2738 is_address_zero_readable returns false.
2739 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
2740 * gdb.python/py-arch.exp: Likewise.
2741 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
2742 * lib/gdb.exp (is_address_zero_readable): New proc.
2743
5792e8e3
YQ
27442014-08-09 Yao Qi <yao@codesourcery.com>
2745
2746 PR testsuite/13443
2747 * gdb.mi/mi-var-display.exp: Make test messages unique.
2748
3cecbbbe
TT
27492014-08-04 Tom Tromey <tromey@redhat.com>
2750
2751 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
2752 target 0".
2753
00b51ff5
TT
27542014-08-04 Tom Tromey <tromey@redhat.com>
2755
2756 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
2757 "target_resume".
2758
6908c509
JB
27592014-08-01 Joel Brobecker <brobecker@adacore.com>
2760
2761 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
2762 inner_vla_struct_object_size.
2763 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
2764 as xfail.
2765
cc6563d2
PA
27662014-07-30 Pedro Alves <palves@redhat.com>
2767
2768 * gdb.threads/signal-command-handle-nopass.exp (test): Add
2769 comment.
2770
7e09a223
YQ
27712014-07-29 Yao Qi <yao@codesourcery.com>
2772
2773 PR gdb/17206
2774 * gdb.base/until-nodebug.exp: New.
2775
7ebdbe92
DE
27762014-07-28 Doug Evans <xdje42@gmail.com>
2777
2778 PR guile/17203
2779 * gdb.guile/scm-parameter.exp: Add tests for trying to create
2780 previously existing parameter, and previously ambiguously spelled
2781 parameter.
2782
fdb1adc6
WN
27832014-07-28 Will Newton <will.newton@linaro.org>
2784
2785 * gdb.base/varargs.exp: Remove KFAILs for ARM.
2786
186fcde0
DE
27872014-07-26 Ludovic Courtès <ludo@gnu.org>
2788 Doug Evans <xdje42@gmail.com>
2789
2790 PR guile/17146
2791 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
2792
70509625
PA
27932014-07-25 Pedro Alves <palves@redhat.com>
2794
2795 * gdb.threads/signal-command-handle-nopass.c: New file.
2796 * gdb.threads/signal-command-handle-nopass.exp: New file.
2797 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
2798 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
2799 * gdb.threads/signal-delivered-right-thread.c: New file.
2800 * gdb.threads/signal-delivered-right-thread.exp: New file.
2801
c3f814a1
PA
28022014-07-25 Pedro Alves <palves@redhat.com>
2803
2804 * gdb.base/double-prompt-target-event-error.exp
2805 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
2806 match.
2807 (cancel_pagination_in_target_event): Rework double prompt
2808 detection.
2809 * gdb.base/paginate-after-ctrl-c-running.exp
2810 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
2811 <return>' match.
2812 * gdb.base/paginate-bg-execution.exp
2813 (test_bg_execution_pagination_return)
2814 (test_bg_execution_pagination_cancel): Remove '-notransfer
2815 <return>' matches.
2816 * gdb.base/paginate-execution-startup.exp
2817 (test_fg_execution_pagination_return)
2818 (test_fg_execution_pagination_cancel): Remove '-notransfer
2819 <return>' matches.
2820 * gdb.base/paginate-inferior-exit.exp
2821 (test_paginate_inferior_exited): Remove '-notransfer <return>'
2822 match.
2823 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
2824 * lib/gdb.exp (pagination_prompt): Run text through
2825 string_to_regexp.
2826 (gdb_test_multiple): Match $pagination_prompt instead of
2827 "<return>".
2828 (string_to_regexp): Move to lib/gdb-utils.exp.
2829
e214cf6c
JK
28302014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2831
2832 * gdb.arch/amd64-entry-value-paramref.S: New file.
2833 * gdb.arch/amd64-entry-value-paramref.cc: New file.
2834 * gdb.arch/amd64-entry-value-paramref.exp: New file.
2835 * gdb.arch/amd64-optimout-repeat.S: New file.
2836 * gdb.arch/amd64-optimout-repeat.c: New file.
2837 * gdb.arch/amd64-optimout-repeat.exp: New file.
2838
17d0c5c8
JK
28392014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2840
2841 PR gdb/17170
2842 * gdb.base/statistics.exp: New file.
2843
b8b8facf
DE
28442014-07-17 Doug Evans <dje@google.com>
2845
74b49205 2846 PR gdb/17170
b8b8facf
DE
2847 * gdb.base/maint.exp: Update testing of per-command stats.
2848
1b5d0ab3
PA
28492014-07-16 Pedro Alves <palves@redhat.com>
2850
2851 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
2852 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
2853 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
2854 (tfile_write_buf): New functions.
2855 (add_memory_block): Rewrite using the above.
2856 (adjust_function_address): New function.
2857 (FUNCTION_ADDRESS): New macro.
2858 (write_basic_trace_file): Remove short_x local, and use
2859 tfile_write_16. Change type of func_addr local to unsigned long
2860 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
2861 here. Cast argument of add_memory_block to char pointer.
2862 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
2863 (main): Remove parameters.
2864 * gdb.trace/tfile.exp: Remove nowarnings.
2865
4d974e88
SM
28662014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2867
2868 * gdb.base/debug-expr.exp: Test string evaluation with
2869 "debug expression" on.
2870
41e99568
PA
28712014-07-15 Pedro Alves <palves@redhat.com>
2872
2873 * gdb.base/reread.exp: Use clean_restart.
2874
487d9753
PL
28752014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2876
2877 * gdb.arch/avr-flash-qualifer.c: New.
2878 * gdb.arch/avr-flash-qualifer.exp: New.
2879
cc1c52ad
PA
28802014-07-14 Pedro Alves <palves@redhat.com>
2881
2882 * gdb.base/paginate-after-ctrl-c-running.c: New file.
2883 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
2884
1e973570
PA
28852014-07-14 Pedro Alves <palves@redhat.com>
2886
2887 * gdb.base/double-prompt-target-event-error.c: New file.
2888 * gdb.base/double-prompt-target-event-error.exp: New file.
2889
93d6eb10
PA
28902014-07-14 Pedro Alves <palves@redhat.com>
2891
2892 PR gdb/17072
2893 * gdb.base/paginate-inferior-exit.c: New file.
2894 * gdb.base/paginate-inferior-exit.exp: New file.
2895
0017922d
PA
28962014-07-14 Pedro Alves <palves@redhat.com>
2897
2898 PR gdb/17072
2899 * gdb.base/paginate-bg-execution.c: New file.
2900 * gdb.base/paginate-bg-execution.exp: New file.
2901
94696ad3
PA
29022014-07-14 Pedro Alves <palves@redhat.com>
2903
2904 PR gdb/17072
2905 * gdb.base/paginate-execution-startup.c: New file.
2906 * gdb.base/paginate-execution-startup.exp: New file.
2907 * lib/gdb.exp (pagination_prompt): New global.
2908 (default_gdb_spawn): New procedure, factored out from
2909 default_gdb_spawn.
2910 (default_gdb_start): Adjust to call default_gdb_spawn.
2911 (gdb_spawn): New procedure.
2912
bd293940
PA
29132014-07-14 Pedro Alves <palves@redhat.com>
2914
2915 * lib/gdb.exp (gdb_assert): New procedure.
2916 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
2917
c933f875
PA
29182014-07-14 Pedro Alves <palves@redhat.com>
2919
2920 * gdb.base/execution-termios.c: New file.
2921 * gdb.base/execution-termios.exp: New file.
2922
d98b7a16
TT
29232014-07-14 Tom Tromey <tromey@redhat.com>
2924
2925 * gdb.cp/vla-cxx.cc: New file.
2926 * gdb.cp/vla-cxx.exp: New file.
2927
548740d6
TT
29282014-07-14 Tom Tromey <tromey@redhat.com>
2929
2930 * gdb.reverse/rerun-prec.c: New file.
2931 * gdb.reverse/rerun-prec.exp: New file.
2932
a25eb028
MR
29332014-07-12 Maciej W. Rozycki <macro@mips.com>
2934 Maciej W. Rozycki <macro@codesourcery.com>
2935
2936 * lib/gdb-utils.exp: New file.
2937 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
2938 inline `gdb_init_command' processing.
2939 (gdb_start_cmd): Likewise.
2940 * lib/mi-support.exp (mi_run_cmd): Likewise.
2941 * README: Document `gdb_init_command' and `gdb_init_commands'.
2942
218c2655
JK
29432014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2944
2945 Fix false FAIL running under a very long directory name.
2946 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
2947 and "set print elements 10000". Twice.
2948
5401fde3
YQ
29492014-07-11 Yao Qi <yao@codesourcery.com>
2950
2951 * gdb.base/exprs.exp: "set print symbol off".
2952
e76126e8
PA
29532014-07-11 Pedro Alves <palves@redhat.com>
2954
2955 * gdb.threads/kill.c: New file.
2956 * gdb.threads/kill.exp: New file.
2957
2d6f0de6
YQ
29582014-07-10 Yao Qi <yao@codesourcery.com>
2959
2960 * gdb.trace/tfile.c (write_basic_trace_file)
2961 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
2962 address written to trace file.
2963
7180e04a
PA
29642014-07-09 Pedro Alves <palves@redhat.com>
2965
2966 * gdb.base/attach-wait-input.exp: New file.
2967 * gdb.base/attach-wait-input.c: New file.
2968
9a9a7608
AB
29692014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2970
2971 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
2972 setting up test structures.
2973 (main): Call new test function.
2974 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
2975 test function, continue into test function and walk test
2976 structures.
2977
161ac41e
YQ
29782014-07-02 Yao Qi <yao@codesourcery.com>
2979
2980 * gdb.trace/entry-values.c: Define labels 'foo_start' and
2981 'bar_start' at the beginning of functions 'foo' and 'bar'
2982 respectively.
2983 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
2984 instead of 'foo' and 'bar'.
2985
1f267ae3
MM
29862014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2987
2988 * gdb.btrace/segv.exp: New.
2989 * gdb.btrace/segv.c: New.
2990
2b239efb
LM
29912014-07-02 Luis Machado <lgustavo@codesourcery.com>
2992
2993 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
2994 instruction.
2995
cf363f18
MW
29962014-06-30 Mark Wielaard <mjw@redhat.com>
2997
2998 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
2999 vulture, vilify, villar): New volatile array constants.
3000 (vindictive, vegetation): New const volatile array constants.
3001 * gdb.base/volatile.exp: Test volatile and const volatile array
3002 types.
3003
aebf9d24
AA
30042014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
3005
3006 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
3007 target lacks support for awatch, rwatch, or hbreak.
3008
b67a2c6f
YQ
30092014-06-27 Yao Qi <yao@codesourcery.com>
3010
3011 * gdb.multi/dummy-frame-restore.exp: New.
3012 * gdb.multi/dummy-frame-restore.c: New.
3013
aef92902
MM
30142014-06-25 Markus Metzger <markus.t.metzger@intel.com>
3015
3016 * gdb.btrace/gcore.exp: New.
3017
8e9db26e
PA
30182014-06-23 Pedro Alves <palves@redhat.com>
3019
3020 * gdb.base/watchpoint-reuse-slot.c: New file.
3021 * gdb.base/watchpoint-reuse-slot.exp: New file.
3022
70afc5b7
SC
30232014-06-23 Siva Chandra Reddy <sivachandra@google.com>
3024
3025 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
3026 progspace's filename in 'info', 'enable' and 'disable' command
3027 tests.
3028
b972bd9c
JK
30292014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3030
3031 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
3032 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3033 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
3034
125f8a3d
GB
30352014-06-20 Gary Benson <gbenson@redhat.com>
3036
3037 * gdb.arch/i386-avx.exp: Fix include file location.
3038 * gdb.arch/i386-sse.exp: Likewise.
3039
3ed9baed
IB
30402014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
3041
3042 * gdb.dlang/expression.exp: New file.
3043
034f788c
PA
30442014-06-19 Pedro Alves <palves@redhat.com>
3045
3046 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
3047 out from ...
3048 (top level): ... here. Iterate running tests under different
3049 scheduler-locking settings.
3050
45371d0c
LM
30512014-06-18 Luis Machado <lgustavo@codesourcery.com>
3052
3053 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
3054 to DW_FORM_addr and use non-zero addresses.
3055
5d376983
SC
30562014-06-18 Siva Chandra Reddy <sivachandra@google.com>
3057
3058 PR gdb/17017
3059 * gdb.python/py-xmethods.cc: Add global function call counters and
3060 increment them in their respective functions. Remove "cout"
3061 statements.
3062 * gdb.python/py-xmethods.exp: Make tests check the global function
3063 call counters instead of depending on inferior IO.
3064
a1aa2221
LM
30652014-06-18 Don Breazeal <donb@codesourcery.com>
3066
3067 * gdb.base/foll-fork.exp (default_fork_parent_follow):
3068 Deleted procedure.
3069 (explicit_fork_parent_follow): Deleted procedure.
3070 (explicit_fork_child_follow): Deleted procedure.
3071 (test_follow_fork): New procedure.
3072 (do_fork_tests): Replace calls to deleted procedures with
3073 calls to test_follow_fork and reset GDB for subsequent
3074 procedure calls.
3075
0fc05997
YQ
30762014-06-17 Yao Qi <yao@codesourcery.com>
3077
3078 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
3079 CP1252.
3080
70795c52
LM
30812014-06-17 Luis Machado <lgustavo@codesourcery.com>
3082
3083 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
3084 Initialize ptr and S explicitly.
3085 (skip_type_update_when_not_use_rtti_test): Likewise.
3086
6be47f0c
KS
30872014-06-16 Keith Seitz <keiths@redhat.com>
3088
3089 PR mi/15863
3090 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
3091 the inferior is started.
3092
d03de421
PA
30932014-06-16 Pedro Alves <palves@redhat.com>
3094
3095 * gdb.base/break-main-file-remove-fail.c: New file.
3096 * gdb.base/break-main-file-remove-fail.exp: New file.
3097 * gdb.base/break-unload-file.exp: Use build_executable instead of
3098 prepare_for_testing.
3099 (test_break): New parameter "initial_load". Handle it.
3100 (top level): Add initial_load cmdline/file axis.
3101
f9579b99
TT
31022014-06-12 Tom Tromey <tromey@redhat.com>
3103
3104 * gdb.base/completion.exp: Don't use directory name in test.
3105
3657956b
GB
31062014-06-09 Gary Benson <gbenson@redhat.com>
3107
3108 * gdb.base/sigall.c [Functions to send signals]: Reorder to
3109 separate the always-available ANSI-standard signals from the
3110 signals that require checking.
3111 (main): Likewise.
3112 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
3113 Likewise.
3114 (main): Likewise.
3115
4186eb54
KS
31162014-06-07 Keith Seitz <keiths@redhat.com>
3117
3118 Revert:
3119 PR c++/16253
3120 * gdb.cp/var-tag.cc: New file.
3121 * gdb.cp/var-tag.exp: New file.
3122 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3123 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3124 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3125 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3126
25326a28 31272014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
3128
3129 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
3130
829155c9
PA
31312014-06-06 Pedro Alves <palves@redhat.com>
3132
3133 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
3134 in target debug output instead of looking at RSP packets,
3135 disabling the test on any target that uses hardware stepping.
3136 Update comments.
3137
61c8d22e
PA
31382014-06-06 Pedro Alves <palves@redhat.com>
3139
3140 * gdb.base/break-unload-file.exp: Fix typo.
3141
d9a47287
YQ
31422014-06-06 Yao Qi <yao@codesourcery.com>
3143
3144 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
3145 from "jit_function" to "^jit_function".
3146
e5e01dbf
YQ
31472014-06-06 Yao Qi <yao@codesourcery.com>
3148
3149 * gdb.base/async.c (foo): Add one statement.
3150 * gdb.base/async.exp: Get the next instruction address and
3151 match the output of "nexti" by instruction address. Match
3152 the hex address in the output of "finish".
3153
73ba372c
GB
31542014-06-06 Gary Benson <gbenson@redhat.com>
3155
3156 * gdb.base/call-signals.c: Remove preprocessor conditionals
3157 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3158 SIGSEGV and SIGTERM.
3159 * gdb.base/sigall.c: Likewise.
3160 * gdb.base/unwindonsignal.c: Likewise.
3161 * gdb.reverse/sigall-reverse.c: Likewise.
3162
831517df
YQ
31632014-06-06 Yao Qi <yao@codesourcery.com>
3164
3165 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
3166 readable, skip the test.
3167
b8b91e98
YQ
31682014-06-06 Yao Qi <yao@codesourcery.com>
3169
3170 * gdb.threads/staticthreads.c (thread_function): Move the line
3171 setting breakpoint on forward.
3172 * gdb.threads/staticthreads.exp: Update comments.
3173
fb934770
LC
31742014-06-05 Ludovic Courtès <ludo@gnu.org>
3175
3176 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
3177 "history-append! type error".
3178
6ef284bd
SM
31792014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3180
3181 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
3182 erroneous dprintf expected input.
3183
a872e241
DE
31842014-06-04 Doug Evans <xdje42@gmail.com>
3185
3186 * gdb.guile/scm-generics.exp: Delete.
3187
16f691fb
DE
31882014-06-04 Doug Evans <xdje42@gmail.com>
3189
3190 * gdb.guile/scm-breakpoint.exp: Update.
3191 Add tests for breakpoint registration.
3192
012370f6
TT
31932014-06-04 Tom Tromey <tromey@redhat.com>
3194
3195 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
3196 VLA-in-union.
3197 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
3198 inner_vla_struct, vla_union types. Initialize objects of those
3199 types and compute their sizes.
3200
9f5a4cef
HZ
32012014-06-04 Nathan Sidwell <nathan@codesourcery.com>
3202 Hui Zhu <hui@codesourcery.com>
3203
3204 * gdb.base/fileio.exp: Add test for shell not available as well as
3205 available.
3206 * gdb.base/fileio.c (test_system): Check for shell twice.
3207
90a45c4d
YQ
32082014-06-04 Yao Qi <yao@codesourcery.com>
3209
3210 * gdb.base/auto-connect-native-target.exp: Remove redundant
3211 space from the regexp pattern.
3212
70017e41
YQ
32132014-06-04 Yao Qi <yao@codesourcery.com>
3214
3215 * gdb.base/default.exp: Replace "child" with "native" in
3216 regexp pattern.
3217
883964a7
SC
32182014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3219
3220 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
3221 * gdb.python/py-xmethods.exp: New tests to test xmethods.
3222 * gdb.python/py-xmethods.py: Python script supporting the
3223 new testcase and tests.
3224
ef370185
JB
32252014-06-03 Joel Brobecker <brobecker@adacore.com>
3226 Pedro Alves <palves@redhat.com>
3227
3228 PR breakpoints/17000
3229 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
3230 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
3231
1e2ccb61
BM
32322014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3233
3234 * gdb.base/subst.exp: Add tests to verify partial path matching
3235 output.
3236
c6ec5ab2
PA
32372014-06-03 Pedro Alves <palves@redhat.com>
3238
3239 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
3240 target that doesn't use software single-stepping.
3241
835c559f
PA
32422014-06-03 Pedro Alves <palves@redhat.com>
3243
3244 PR breakpoints/17000
3245 * gdb.base/sss-bp-on-user-bp-2.c: New file.
3246 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
3247
06eb1586
DE
32482014-06-02 Doug Evans <xdje42@gmail.com>
3249
3250 * gdb.guile/scm-parameter.exp: New file.
3251
e698b8c4
DE
32522014-06-02 Doug Evans <xdje42@gmail.com>
3253
3254 * gdb.guile/scm-cmd.c: New file.
3255 * gdb.guile/scm-cmd.exp: New file.
3256
ded03782
DE
32572014-06-02 Doug Evans <xdje42@gmail.com>
3258
3259 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
3260 pretty-printer lookup.
3261 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
3262 (make-pp_s-printer): Call it.
3263 (make-pretty-printer-from-dict): New function.
3264 (lookup-pretty-printer-maker-from-dict): New function.
3265 (*pretty-printer*): Simplify.
3266 (make-objfile-pp_s-printer): New function.
3267 (install-objfile-pretty-printers!): New function.
3268 (make-progspace-pp_s-printer): New function.
3269 (install-progspace-pretty-printers!): New function.
3270 * gdb.guile/scm-progspace.c: New file.
3271 * gdb.guile/scm-progspace.exp: New file.
3272
41fac0cf
PA
32732014-06-02 Pedro Alves <palves@redhat.com>
3274
3275 * gdb.base/dprintf-bp-same-addr.c: New file.
3276 * gdb.base/dprintf-bp-same-addr.exp: New file.
3277
96ae5695
EBM
32782014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3279
3280 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
3281 * gdb.arch/powerpc-power.s: Likewise.
3282
da02b3a8
JB
32832014-06-02 Joel Brobecker <brobecker@adacore.com>
3284
3285 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
3286
c72b2e7b
YQ
32872014-06-01 Yao Qi <yao@codesourcery.com>
3288
3289 * gdb.base/watchpoint.exp (test_watch_location): Check null
3290 pointer can be dereferenced. If not, do the test, otherwise
3291 skip it.
3292
53e8a631
AB
32932014-05-30 Andrew Burgess <aburgess@broadcom.com>
3294
3295 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
3296 results.
3297 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
3298
938f0e2f
AB
32992014-05-30 Andrew Burgess <aburgess@broadcom.com>
3300
3301 * gdb.arch/amd64-invalid-stack-middle.S: New file.
3302 * gdb.arch/amd64-invalid-stack-middle.c: New file.
3303 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
3304 * gdb.arch/amd64-invalid-stack-top.c: New file.
3305 * gdb.arch/amd64-invalid-stack-top.exp: New file.
3306
9ba6657a
PA
33072014-05-30 Pedro Alves <palves@redhat.com>
3308
3309 PR breakpoints/17000
3310 * gdb.base/sss-bp-on-user-bp.c: New file.
3311 * gdb.base/sss-bp-on-user-bp.exp: New file.
3312
522c09bf
DB
33132014-05-30 David Blaikie <dblaikie@gmail.com>
3314
3315 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
3316 gnu_inline semantics via attribute.
3317 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
3318 source explicitly specifies the required semantics.
3319
bf4ef81e
MR
33202014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
3321
3322 * gdb.reverse/sigall-reverse.exp: Fix a typo.
3323
329ea579
PA
33242014-05-29 Pedro Alves <palves@redhat.com>
3325 Tom Tromey <tromey@redhat.com>
3326
3327 * gdb.base/async-shell.exp: Don't enable target-async.
3328 * gdb.base/async.exp
3329 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
3330 parameter. Adjust.
3331 (top level): Don't test with "target-async".
3332 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
3333 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
3334 * gdb.base/inferior-died.exp: Don't enable target-async.
3335 * gdb.base/interrupt-noterm.exp: Likewise.
3336 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
3337 * gdb.mi/mi-nonstop-exit.exp: Likewise.
3338 * gdb.mi/mi-nonstop.exp: Likewise.
3339 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
3340 * gdb.mi/mi-nsintrall.exp: Likewise.
3341 * gdb.mi/mi-nsmoribund.exp: Likewise.
3342 * gdb.mi/mi-nsthrexec.exp: Likewise.
3343 * gdb.mi/mi-watch-nonstop.exp: Likewise.
3344 * gdb.multi/watchpoint-multi.exp: Adjust comment.
3345 * gdb.python/py-evsignal.exp: Don't enable target-async.
3346 * gdb.python/py-evthreads.exp: Likewise.
3347 * gdb.python/py-prompt.exp: Likewise.
3348 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
3349 * gdb.server/solib-list.exp: Don't enable target-async.
3350 * gdb.threads/thread-specific-bp.exp: Likewise.
3351 * lib/mi-support.exp: Adjust to use mi-async.
3352
fd664c91
PA
33532014-05-29 Pedro Alves <palves@redhat.com>
3354
3355 PR gdb/13860
3356 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
3357 reason, even in sync mode.
3358
251bde03
PA
33592014-05-29 Pedro Alves <palves@redhat.com>
3360 Hui Zhu <hui@codesourcery.com>
3361
3362 PR PR15693
3363 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
3364 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
3365 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
3366 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
3367
7f3c0343
JB
33682014-05-28 Joel Brobecker <brobecker@adacore.com>
3369
3370 * config/monitor.exp (gdb_target_monitor): Replace use of
3371 "set remotebaud" by "set serial baud".
3372
b2715b27
AW
33732014-05-26 Andy Wingo <wingo@igalia.com>
3374
3375 * gdb.guile/scm-breakpoint.exp:
3376 * gdb.guile/scm-gsmob.exp: Update to use plain old object
3377 properties instead of gdb-object-properties.
3378
498a4489
YQ
33792014-05-26 Yao Qi <yao@codesourcery.com>
3380
3381 * gdb.server/no-thread-db.exp: Specify source file name
3382 explicitly when setting a breakpoint.
3383
589fdceb
MM
33842014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3385
3386 * gdb.btrace/vdso.c: New.
3387 * gdb.btrace/vdso.exp: New.
3388
e9089e05
MM
33892014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3390
3391 * gdb.base/gcore.exp (capture_command_output): Move ...
3392 * lib/gdb.exp (capture_command_output): ... here.
3393
67b5c0c1
MM
33942014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3395
3396 * gdb.btrace/data.exp: Test memory access during btrace replay.
3397
a2199296
SM
33982014-05-22 Simon Marchi <simon.marchi@ericsson.com>
3399
3400 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
3401
17b2616c
PA
34022014-05-21 Pedro Alves <palves@redhat.com>
3403
3404 PR gdb/13860
3405 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
3406 (top level): Test that output related to execution commands is
3407 sent to the console with CLI commands, but not with MI commands.
3408 Test that breakpoint events are always mirrored to the console.
3409 Also expect the new source line to be output after a "next" in
3410 async mode too. Make it a pass/fail test.
3411 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
3412 output.
3413 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
3414
5166082f
PA
34152014-05-21 Pedro Alves <palves@redhat.com>
3416
3417 * gdb.base/list.exp (build_pattern, test_list): New procedures.
3418 Use them to test variations of "list" after reaching a breakpoint.
3419 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
3420 Test "list" with listsize 10 after reaching a breakpoint.
3421 * gdb.python/python.exp (decode_line current location line
3422 number): Adjust expected line number.
3423
2f25d70f
SM
34242014-05-21 Simon Marchi <simon.marchi@ericsson.com>
3425
3426 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
3427 behavior for $args, pass it directly to "run".
3428
ff604a67
MR
34292014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
3430
3431 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
3432 30000 to 65536.
3433
6a3cb8e8
PA
34342014-05-21 Pedro Alves <palves@redhat.com>
3435
3436 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
3437 auto-connect-native-target off".
3438 * gdb.base/auto-connect-native-target.c: New file.
3439 * gdb.base/auto-connect-native-target.exp: New file.
3440
4ebfc96e
PA
34412014-05-21 Pedro Alves <palves@redhat.com>
3442
3443 * gdb.base/default.exp: Test "target native" instead of "target
3444 child".
3445
36d46afb
MW
34462014-05-21 Mark Wielaard <mjw@redhat.com>
3447
3448 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
3449
5876f503
JK
34502014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3451
3452 Fix TLS access for -static -pthread.
3453 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
3454 <HAVE_TLS> (thread_function, main): Initialize it.
3455 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
3456 Add clean_restart.
3457 <$have_tls != "">: Check TLSVAR.
3458
0256a6ac
PA
34592014-05-21 Pedro Alves <palves@redhat.com>
3460
3461 * gdb.base/dcache-line-read-error.c: New.
3462 * gdb.base/dcache-line-read-error.exp: New.
3463
936d2992
PA
34642014-05-20 Pedro Alves <palves@redhat.com>
3465
3466 * gdb.base/compare-sections.c: New file.
3467 * gdb.base/compare-sections.exp: New file.
3468
802e8e6d
PA
34692014-05-20 Pedro Alves <palves@redhat.com>
3470
3471 * gdb.base/break-idempotent.c: New file.
3472 * gdb.base/break-idempotent.exp: New file.
3473
e59fa00f
MM
34742014-05-20 Markus Metzger <markus.t.metzger@intel.com>
3475
3476 * gdb.btrace/nohist.exp: New.
3477
8b696e31
YQ
34782014-05-20 Yao Qi <yao@codesourcery.com>
3479
3480 * lib/gdb.exp (gdb_init): Set timeout if test file is under
3481 gdb.reverse directory and gdb_reverse_timeout exists in board
3482 setting.
3483 * README: Document gdb_reverse_timeout.
3484
73c9764f
YQ
34852014-05-20 Yao Qi <yao@codesourcery.com>
3486
3487 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
3488 'test_file_name'. Treat args as a string instead of a list.
3489 (gdb_init): Rename argument 'args' by 'test_file_name'.
3490
f1f4348a
JK
34912014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3492
3493 * gdb.arch/powerpc-power.exp: New file.
3494 * gdb.arch/powerpc-power.s: New file.
3495
0dbe70ce
DE
34962014-05-16 Doug Evans <dje@google.com>
3497
3498 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
3499 * gdb.base/completion.exp: Check that all expected files exist
3500 before doing file completion.
0dbe70ce 3501
8d551b02
DE
35022014-05-16 Doug Evans <dje@google.com>
3503
3504 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
3505 Update.
3506 (do_syscall_tests_without_xml): Update.
3507
73eb7709
PA
35082014-05-16 Pedro Alves <palves@redhat.com>
3509
3510 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
3511 instead of "unknown output after running".
3512
3fae92fc
YQ
35132014-05-16 Yao Qi <yao@codesourcery.com>
3514
3515 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
3516 file1.txt from host at the end.
3517 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3518
c2b2ccc5
DE
35192014-05-15 Doug Evans <dje@google.com>
3520
3521 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
3522 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
3523 loading file. Add test for TU lookup.
3524
8c217a4b
SM
35252014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3526
3527 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
3528 calling "-exec-arguments" or "set args" before running the
3529 inferior.
3530
3deb39c6
SM
35312014-05-15 Simon Marchi <simon.marchi@ericsson.com>
3532
3533 * lib/mi-support.exp (mi_expect_stop): Expect message for
3534 inferiors that exit with non-zero exit code.
3535
71a79f8c
YQ
35362014-05-14 Yao Qi <yao@codesourcery.com>
3537
3538 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
3539 match absolute path on remote host.
3540 (test_file_list_exec_source_files): Remove "/" from the
3541 pattern.
3542
f23fcd46
YQ
35432014-05-14 Yao Qi <yao@codesourcery.com>
3544
3545 * boards/local-remote-host-notty.exp (${board}_file): New
3546 proc.
3547
9404b58f
KM
35482014-05-07 Kyle McMartin <kyle@redhat.com>
3549
3550 Pushed by Joel Brobecker <brobecker@adacore.com>.
3551 * gdb.arch/aarch64-atomic-inst.c: New file.
3552 * gdb.arch/aarch64-atomic-inst.exp: New file.
3553
5e45f04c
YQ
35542014-05-07 Yao Qi <yao@codesourcery.com>
3555
3556 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
3557 in current context" too.
3558
c888a17d
KS
35592014-05-05 Keith Seitz <keiths@redhat.com>
3560
3561 * gdb.linespec/ls-dollar.exp: Add test for linespec
3562 file:convenience_variable.
3563
290a839c
YQ
35642014-05-05 Yao Qi <yao@codesourcery.com>
3565
3566 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
3567 traceframes into tfile and ctf trace files. Read data from
3568 trace file and test collected data.
3569 (gdb_collect_locals_test): Likewise.
3570 (gdb_unavailable_registers_test): Likewise.
3571 (gdb_unavailable_floats): Likewise.
3572 (gdb_collect_globals_test): Likewise.
3573 (top-level): Append "ctf" to trace_file_targets if GDB
3574 supports.
3575
b5262cd0
YQ
35762014-05-05 Yao Qi <yao@codesourcery.com>
3577
3578 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
3579 code to ...
3580 (gdb_collect_args_test_1): ... it. New proc.
3581 (gdb_collect_locals_test): Move some code to ...
3582 (gdb_collect_locals_test_1): ... it. New proc.
3583 (gdb_unavailable_registers_test): Move some code to ...
3584 (gdb_unavailable_registers_test_1): ... it. New proc.
3585 (gdb_unavailable_floats): Move some code to ...
3586 (gdb_unavailable_floats_1): ... it. New proc.
3587
30a1e6cc
SDJ
35882014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3589
3590 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
3591 probes to test for bitness recognition.
3592 * gdb.arch/amd64-stap-optional-prefix.exp
3593 (test_probe_value_without_reg): New procedure.
3594 Add code to test for different kinds of bitness.
3595
f33da99a
SDJ
35962014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
3597
3598 PR breakpoints/16889
3599 * gdb.arch/amd64-stap-optional-prefix.S: New file.
3600 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
3601
5b80f00d
PA
36022014-05-01 Pedro Alves <palves@redhat.com>
3603
3604 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
3605 gdb_file_cmd if no file is specified.
3606 * boards/native-extended-gdbserver.exp (gdb_load): Use the
3607 last_loaded_file to set the remote exec-file.
3608
f8c2a73c
PA
36092014-05-01 Pedro Alves <palves@redhat.com>
3610
3611 * boards/local-remote-host.exp: New file.
3612
be6e8ac7
PA
36132014-05-01 Pedro Alves <palves@redhat.com>
3614
3615 * boards/local-remote-host.exp: Rename to ...
3616 * boards/local-remote-host-notty.exp: ... this.
3617
cac0dc8f
JB
36182014-04-28 Joel Brobecker <brobecker@adacore.com>
3619
3620 * gdb.ada/dyn_arrayidx: New testcase.
3621
9730e6cc
YQ
36222014-04-26 Yao Qi <yao@codesourcery.com>
3623
3624 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
3625 and compute the length of function main. Save it in
3626 $main_length.
3627 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
3628 (top-level): Use gdb_compile to compile objects into
3629 executable and restart GDB. Remove invocation to
3630 prepare_for_testing.
3631
7ae1a6a6
PA
36322014-04-25 Simon Marchi <simon.marchi@ericsson.com>
3633 Pedro Alves <palves@redhat.com>
3634
3635 PR server/16255
3636 * gdb.multi/multi-attach.c: New file.
3637 * gdb.multi/multi-attach.exp: New file.
3638
4082afcc
PA
36392014-04-25 Pedro Alves <palves@redhat.com>
3640
3641 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
3642 user.
3643 (top level): Test that "set remote conditional-breakpoints-packet
3644 off" works as intended.
3645 * gdb.base/dprintf.exp: Test that "set remote
3646 breakpoint-commands-packet off" works as intended.
3647 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
3648 New function.
3649 (top level): Call it.
3650 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
3651 remote fast-tracepoints-packet off" works as intended.
3652 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
3653 * lib/gdb.exp (gdb_is_target_remote): ... here.
3654
2abc3f8d
DB
36552014-04-24 David Blaikie <dblaikie@gmail.com>
3656
3657 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
3658 ensure clang would not discard them.
3659 * gdb.base/gdbvars.c: Ditto.
3660 * gdb.base/memattr.c: Ditto.
3661 * gdb.base/whatis.c: Ditto.
3662 * gdb.python/py-prettyprint.c: Ditto.
3663 * gdb.trace/actions.c: Ditto.
3664 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
3665 ensure clang would not discard it.
3666
bfd39632
DB
36672014-04-24 David Blaikie <dblaikie@gmail.com>
3668
3669 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
3670 clang to emit the full definition of type required by the test
3671 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
3672
22842ff6
DB
36732014-04-24 David Blaikie <dblaikie@gmail.com>
3674
3675 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
3676 coax Clang into emitting the definition of the type.
3677 * gdb.cp/pr10728-x.h (y): Ditto.
3678 * gdb.cp/pr10728-y.cc (y): Ditto.
3679
c2e827ad
DB
36802014-04-24 David Blaikie <dblaikie@gmail.com>
3681
3682 * gdb.base/label.exp: XFAIL label related tests under Clang.
3683 * gdb.cp/cplabel.exp: Ditto.
3684 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
3685 under Clang those using labels.
3686
4c2d33e7
YQ
36872014-04-25 Yao Qi <yao@codesourcery.com>
3688
3689 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
3690 double_label.
3691 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
3692 partial_label and double_label.
3693
56083b99
DB
36942014-04-24 David Blaikie <dblaikie@gmail.com>
3695
3696 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
3697
25d4e99d
DB
36982014-04-24 David Blaikie <dblaikie@gmail.com>
3699
3700 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
3701 of the function to work across GCC and Clang.
3702 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
3703 pointer types (const void ** const V void **).
3704
01f9f808
MS
37052014-04-24 Michael Sturm <michael.sturm@mintel.com>
3706 Walfred Tedeschi <walfred.tedeschi@intel.com>
3707
3708 * Makefile.in (EXECUTABLES): Added i386-avx512.
3709 * gdb.arch/i386-avx512.c: New file.
3710 * gdb.arch/i386-avx512.exp: Likewise.
3711
4b48d439
KS
37122014-04-23 Keith Seitz <keiths@redhat.com>
3713
3714 * lib/mi-support.exp (mi_list_breakpoints): Delete.
3715 (mi_make_breakpoint_table): New procedure.
3716 (mi_create_breakpoint): Use mi_make_breakpoint
3717 and return the result.
3718 (mi_make_breakpoint): New procedure.
3719 (mi_build_kv_pairs): New procedure.
3720
3721 * gdb.mi/mi-break.exp: Remove unused globals,
3722 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
3723 All callers updated.
3724 * gdb.mi/mi-dprintf.exp: Use variable to track command
3725 number.
3726 Update all callers of mi_create_breakpoint and use
3727 mi_make_breakpoint_table.
3728 Remove any unused global variables.
3729 * gdb.mi/mi-nonstop.exp: Likewise.
3730 * gdb.mi/mi-nsintrall.exp: Likewise.
3731 * gdb.mi/mi-nsmoribund.exp: Likewise.
3732 * gdb.mi/mi-nsthrexec.exp: Likewise.
3733 * gdb.mi/mi-reverse.exp: Likewise.
3734 * gdb.mi/mi-simplerun.exp: Likewise.
3735 * gdb.mi/mi-stepn.exp: Likewise.
3736 * gdb.mi/mi-syn-frame.exp: Likewise.
3737 * gdb.mi/mi-until.exp: Likewise.
3738 * gdb.mi/mi-var-cp.exp: Likewise.
3739 * gdb.mi/mi-var-display.exp: Likewise.
3740 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
3741 * gdb.mi/mi2-var-child.exp: Likewise.
3742 * gdb.mi/mi-vla-c99.exp: Likewise.
3743 * lib/mi-support.exp: Likewise.
3744
3745 From Ian Lance Taylor <iant@cygnus.com>:
3746 * lib/gdb.exp (parse_args): New procedure.
3747
08351840
PA
37482014-04-23 Pedro Alves <palves@redhat.com>
3749
3750 * gdb.base/break-unload-file.c: New file.
3751 * gdb.base/break-unload-file.exp: New file.
3752 * gdb.base/sym-file-lib.c (baz): New function.
3753 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
3754 field.
3755 (load): Store the segment's mapped size.
3756 (unload): New function.
3757 (unload_shlib): New function.
3758 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
3759 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
3760 set a breakpoint at baz, and call it.
3761 * gdb.base/sym-file.exp: New tests for stale breakpoint
3762 instructions.
3763
076855f9
PA
37642014-04-23 Pedro Alves <palves@redhat.com>
3765
3766 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
3767 * gdb.base/hbreak-in-shr-unsupported.c: New file.
3768 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
3769 * gdb.base/hbreak-unmapped.c: New file.
3770 * gdb.base/hbreak-unmapped.exp: New file.
3771 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
3772 * lib/gdb.exp (gdb_is_target_remote): ... here.
3773
483805cf
PA
37742014-04-22 Pedro Alves <palves@redhat.com>
3775
3776 * gdb.base/consecutive-step-over.c: New file.
3777 * gdb.base/consecutive-step-over.exp: New file.
3778
06d97543
PA
37792014-04-22 Pedro Alves <palves@redhat.com>
3780
3781 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
3782 instead of send_gdb/gdb_expect.
3783
b4429ea2
YQ
37842014-04-22 Yao Qi <yao@codesourcery.com>
3785
3786 * lib/trace-support.exp (generate_tracefile): New procedure.
3787 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
3788 return 0.
3789 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
3790 if generate_tracefile returns 1.
3791
51d48146
PA
37922014-04-18 Tom Tromey <palves@redhat.com>
3793 Pedro alves <tromey@redhat.com>
3794
3795 PR backtrace/15558
3796 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
3797 with a backtrace limit.
3798 * gdb.python/py-frame-inline.exp: Test running to an inline
3799 function with a backtrace limit, and printing the newest frame.
3800 * gdb.python/py-frame-inline.c (main): Call f.
3801
bd1dce5f
MS
38022014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3803
3804 * gdb.java/jnpe.exp: Drop srcdir from untested path.
3805
40d1a503
MS
38062014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
3807
3808 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
3809 Drop prefix from unsupported source file path.
3810
389b98f7
YQ
38112014-04-17 Yao Qi <yao@codesourcery.com>
3812
3813 * lib/gdb.exp (with_target_charset): New proc.
3814 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
3815 with_target_charset.
3816 (test_print_strings): Likewise.
3817 (test_repeat_bytes): Likewise.
3818 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
3819 for some tests.
3820
22869d73
KS
38212014-04-16 Keith Seitz <keiths@redhat.com>
3822
3823 PR gdb/15827
3824 * gdb.dwarf2/corrupt.c: New file.
3825 * gdb.dwarf2/corrupt.exp: New file.
3826
c4f87ca6
KS
38272014-04-16 Keith Seitz <keiths@redhat.com>
3828
3829 PR c++/16597
3830 * gdb.cp/namelessclass.cc: New file.
3831 * gdb.cp/namelessclass.exp: New file.
3832 * gdb.cp/namelessclass.S: New file.
3833
ab19de87
DE
38342014-04-16 Doug Evans <dje@google.com>
3835
3836 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
3837 Add comment.
3838 (gdbserver_default_get_comm_port): New function.
3839 (gdbserver_start): Check if board file provided
3840 "gdbserver,get_comm_port" and use it if so.
3841 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
3842 (gdb,socketport): Set to "stdio".
3843 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
3844 (stdio_gdbserver_template): Delete.
3845 (${board}_get_remote_address): Update.
3846 (${board}_build_remote_cmd): Delete.
3847 (${board}_get_comm_port): New function.
3848 (${board}_spawn): Update.
3849 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
3850 Delete.
3851 (${board}_get_remote_address): Update.
3852 (${board}_get_comm_port): New function.
3853
fc98a809
AB
38542014-04-16 Andrew Burgess <aburgess@broadcom.com>
3855
3856 * gdb.base/memattr.exp: Improve regexps to handle memory regions
3857 appearing in any order.
3858
87fd9e6e
DE
38592014-04-15 Doug Evans <dje@google.com>
3860
3861 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
3862 uninitialized value of "description".
3863
099fc3ea
KS
38642014-04-15 Keith Seitz <keiths@redhat.com>
3865
3866 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
3867 Remove unused globals.
3868 (test_running_the_program): Likewise.
3869 (test_controlled_execution): Likewise.
3870 (test_controlling_breakpoints): Likewise.
3871 (test_program_termination): Likewise.
3872
5da151d4
KS
38732014-04-15 Keith Seitz <keiths@redhat.com>
3874
3875 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
3876 unused globals.
3877 (test_rbreak_creation_and_listing): Likewise.
3878 (test_ignore_count): Likewise.
3879 (test_error): Likewise.
3880
35e5d2f0
PA
38812014-04-15 Pedro Alves <palves@redhat.com>
3882
3883 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
3884 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
3885 sym-file-loader.c.
3886 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3887 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3888 to sym-file-loader.c.
3889 (struct library): Forward declare.
3890 (load_shlib, lookup_function): Change prototypes.
3891 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3892 (translate_offset): Remove declarations.
3893 (get_text_addr): New declaration.
3894 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
3895 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
3896 sym-file-loader.h.
3897 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
3898 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
3899 here from sym-file-loader.h.
3900 (struct library): New structure.
3901 (load_shlib, lookup_function): Change prototypes and adjust to
3902 work with a struct library.
3903 (find_shstrtab, find_strtab, find_shdr, find_symtab)
3904 (translate_offset): Make static.
3905 (get_text_addr): New function.
3906 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
3907
eb4c1710
PA
39082014-04-15 Pedro Alves <palves@redhat.com>
3909
3910 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
3911
2d1baf52
PA
39122014-04-15 Pedro Alves <palves@redhat.com>
3913
3914 * gdb.base/sym-file-loader.c: Include <limits.h>.
3915 (SELF_LINK): New define.
3916 (get_origin): New function.
3917 (load_shlib): Use it.
3918 * gdb.base/sym-file.exp: Don't early return if the target is
3919 remote. Use runto_main, and issue fail is that fails. Use
3920 gdb_load_shlibs.
3921 (shlib_name): Delete.
3922 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
3923
7dd6df01
PA
39242014-04-15 Pedro Alves <palves@redhat.com>
3925
3926 * gdb.base/sym-file.exp: Remove regex characters from test
3927 message. Don't refer to breakpoint numbers in test messages.
3928
b50c8614
KS
39292014-04-14 Keith Seitz <keiths@redhat.com>
3930
3931 PR c++/16253
3932 * gdb.cp/var-tag.cc: New file.
3933 * gdb.cp/var-tag.exp: New file.
3934 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
3935 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
3936 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3937 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3938
3d567982
TT
39392014-04-14 Tom Tromey <tromey@redhat.com>
3940
3941 * gdb.cp/classes.exp (test_enums): Handle underlying type.
3942 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
3943 type.
3944 * gdb.cp/enum-class.exp: New file.
3945 * gdb.cp/enum-class.cc: New file.
3946
0626fc76
TT
39472014-04-14 Tom Tromey <tromey@redhat.com>
3948
3949 * gdb.dwarf2/enum-type.exp: New file.
3950
dca325b3
SA
39512014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3952
3953 * gdb.mi/mi-vla-c99.exp: New file.
3954 * gdb.mi/vla.c: New file.
3955
5854b38a
SA
39562014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3957
3958 * gdb.base/vla-datatypes.c: New file.
3959 * gdb.base/vla-datatypes.exp: New file.
3960
463bb957
SA
39612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3962
3963 * gdb.base/vla-ptr.c: New file.
3964 * gdb.base/vla-ptr.exp: New file.
3965
3dd170be
SA
39662014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3967
3968 * gdb.dwarf2/count.exp: New file.
3969
5ecaaa66
SA
39702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
3971
3972 * gdb.base/vla-sideeffect.c: New file.
3973 * gdb.base/vla-sideeffect.exp: New file.
3974
41f1ada5
DB
39752014-04-14 David Blaikie <dblaikie@gmail.com>
3976
3977 * gdb.mi/non-stop.c: Add return value for non-void function return
3978 statement.
3979 * gdb.threads/staticthreads.c: Ditto.
3980
0be03e84
DE
39812014-04-12 Siva Chandra Reddy <sivachandra@google.com>
3982 Doug Evans <xdje42@gmail.com>
3983
3984 * gdb.guile/scm-value.c: Improve test case.
3985 * gdb.guile/scm-value.exp: Add new test.
3986
f180a1fb
DB
39872014-04-11 David Blaikie <dblaikie@gmail.com>
3988
3989 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
3990 override Clang's default.
3991
6b662e19
JB
39922014-04-11 Joel Brobecker <brobecker@adacore.com>
3993
3994 Revert the following changes (regressions):
3995
3996 * gdb.base/vla-sideeffect.c: New file.
3997 * gdb.base/vla-sideeffect.exp: New file.
3998
3999 * gdb.dwarf2/count.exp: New file.
4000
4001 * gdb.base/vla-multi.c: New file.
4002 * gdb.base/vla-multi.exp: New file.
4003
4004 * gdb.base/vla-ptr.c: New file.
4005 * gdb.base/vla-ptr.exp: New file.
4006
4007 * gdb.base/vla-datatypes.c: New file.
4008 * gdb.base/vla-datatypes.exp: New file.
4009
4010 * gdb.mi/mi-vla-c99.exp: New file.
4011 * gdb.mi/vla.c: New file.
4012
245a5f0b
KS
40132014-04-11 Keith Seitz <keiths@redhat.com>
4014
4015 PR c++/16675
4016 * gdb.cp/cpsizeof.exp: New file.
4017 * gdb.cp/cpsizeof.cc: New file.
4018
58a84dcf
SA
40192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4020
191a8a90
JB
4021 * gdb.mi/mi-vla-c99.exp: New file.
4022 * gdb.mi/vla.c: New file.
58a84dcf 4023
c8655f75
SA
40242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4025
4026 * gdb.base/vla-datatypes.c: New file.
4027 * gdb.base/vla-datatypes.exp: New file.
4028
024e13b4
SA
40292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4030
4031 * gdb.base/vla-ptr.c: New file.
4032 * gdb.base/vla-ptr.exp: New file.
4033
1a237e0e
SA
40342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4035
4036 * gdb.base/vla-multi.c: New file.
4037 * gdb.base/vla-multi.exp: New file.
4038
504f3432
SA
40392014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4040
4041 * gdb.dwarf2/count.exp: New file.
4042
3bce8237
SA
40432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
4044
191a8a90
JB
4045 * gdb.base/vla-sideeffect.c: New file.
4046 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 4047
322f9c21
YQ
40482014-04-11 Yao Qi <yao@codesourcery.com>
4049
4050 * gdb.base/completion.exp: Check file exists before running tests
4051 on file completion.
4052
d708bcd1
PA
40532014-04-10 Pedro Alves <palves@redhat.com>
4054
4055 * gdb.base/cond-eval-mode.c: New file.
4056 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
4057 prepare_for_testing to build the new file. Check result of
4058 runto_main.
4059 (test_break, test_watch): New procedures.
4060 (top level): Use them.
4061
ae1d2761
PM
40622014-04-08 Pierre Muller <muller@sourceware.org>
4063
4064 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
4065 Ctrl-V use for mingw hosts.
4066
7af389b8
SC
40672014-04-07 Siva Chandra Reddy <sivachandra@google.com>
4068
4069 * gdb.python/py-value.c: Improve test case.
4070 * gdb.python/py-value.exp: Add new test.
4071
5e703181
DE
40722014-04-07 David Blaikie <dblaikie@gmail.com>
4073
4074 * lib/compiler.c: Identify the clang compiler.
4075 * lib/compiler.cc: Ditto.
4076
9810b410
YQ
40772014-04-03 Yao Qi <yao@codesourcery.com>
4078
4079 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
4080
98d1b8dc
AB
40812014-04-01 Anton Blanchard <anton@samba.org>
4082
4083 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
4084 messages unique.
4085
3114cea1
AB
40862014-04-01 Anton Blanchard <anton@samba.org>
4087
4088 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
4089 prepare_for_testing.
4090
62f7182c
AB
40912014-04-01 Anton Blanchard <anton@samba.org>
4092
4093 * gdb.arch/ppc64-atomic-inst.c: Remove.
4094 * gdb.arch/ppc64-atomic-inst.S: New file.
4095 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
4096
770e7fc7
DE
40972014-03-31 Doug Evans <dje@google.com>
4098
4099 * gdb.base/print-symbol-loading-lib.c: New file.
4100 * gdb.base/print-symbol-loading-main.c: New file.
4101 * gdb.base/print-symbol-loading.exp: New file.
4102
46e2bafa
YQ
41032014-03-31 Yao Qi <yao@codesourcery.com>
4104
4105 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
4106
8776cfe9
JB
41072014-03-28 Joel Brobecker <brobecker@adacore.com>
4108
4109 * gdb.ada/mi_dyn_arr: New testcase.
4110
5d1ef361
DE
41112014-03-27 Doug Evans <dje@google.com>
4112
4113 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
4114
b5bee914
YQ
41152014-03-27 Yao Qi <yao@codesourcery.com>
4116
4117 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
4118 if target is nios2-*-*.
4119
0d4d0e77
YQ
41202014-03-26 Yao Qi <yao@codesourcery.com>
4121
4122 * lib/gdb.exp (readline_is_used): New proc.
4123 * gdb.base/completion.exp: Move tests on command complete up.
4124 Skip the rest of tests if readline is not used.
4125 * gdb.ada/complete.exp: Skp the test if readline is not
4126 used.
4127 * gdb.base/filesym.exp: Likewise.
4128 * gdb.base/macscp.exp: Likewise.
4129 * gdb.base/readline-ask.exp: Likewise.
4130 * gdb.base/readline.exp: Likewise.
4131 * gdb.python/py-cmd.exp: Likewise.
4132 * gdb.trace/tfile.exp: Likewise.
4133
29361eee
YQ
41342014-03-26 Yao Qi <yao@codesourcery.com>
4135
4136 * gdb.base/macscp.exp: Fix code format issues.
4137
bc9a5525
UW
41382014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
4139
4140 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
4141 * gdb.asm/powerpc64le.inc: New file.
4142
d3839ede
PA
41432014-03-25 Pedro Alves <palves@redhat.com>
4144 Doug Evans <dje@google.com>
4145
4146 * gdb.base/source-execution.c: New file.
4147 * gdb.base/source-execution.exp: New file.
4148 * gdb.base/source-execution.gdb: New file.
4149
01672a57
DE
41502014-03-24 Doug Evans <dje@google.com>
4151
4152 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
4153 using fission.
4154
88bbeca9
HZ
41552014-03-24 Hui Zhu <hui@codesourcery.com>
4156 Pedro Alves <palves@redhat.com>
4157
4158 PR breakpoints/16101
4159 * gdb.base/dprintf.exp: Use unsupported rather than changing the
4160 test pass/fail messages. Detect missing support for dprintf when
4161 breakpoints are actually inserted.
4162 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
4163 breakpoints are actually inserted.
4164 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
4165 fails.
4166
d2348791
JK
41672014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4168
4169 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
4170
feef67ab
DE
41712014-03-22 Doug Evans <xdje42@gmail.com>
4172
4173 * gdb.python/python.exp (python not supported): Verify multi-line
4174 python command issues an error.
25d743f9 4175 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 4176 guile command issues an error.
feef67ab 4177
ecebef6a
MR
41782014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
4179
4180 * gdb.threads/thread-specific.exp: Handle the lack of usable
4181 $this_breakpoint and $this_thread.
4182
ccdd1909
HZ
41832014-03-21 Hui Zhu <hui@codesourcery.com>
4184
4185 * gdb.base/attach.exp (do_command_attach_tests): New.
4186
beb460e8
PA
41872014-03-20 Tom Tromey <tromey@redhat.com>
4188 Pedro Alves <palves@redhat.com>
4189
4190 PR cli/15718
4191 * gdb.base/condbreak-call-false.c: New file.
4192 * gdb.base/condbreak-call-false.exp: New file.
4193
40acf43a
PA
41942014-03-20 Pedro Alves <palves@redhat.com>
4195
4196 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
4197 Delete.
4198 (block_signals, unblock_signals): Delete.
4199 (child_function_2, main): Remove references to deleted variable
4200 and functions.
4201
9f5e1e02
PA
42022014-03-20 Pedro Alves <palves@redhat.com>
4203
4204 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
4205 Use pthread_kill to signal thread 2.
4206 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4207 Adjust to make the test send itself a signal rather than using the
4208 host's "kill" command.
4209
99619bea
PA
42102014-03-20 Pedro Alves <palves@redhat.com>
4211
4212 * gdb.threads/multiple-step-overs.c: New file.
4213 * gdb.threads/multiple-step-overs.exp: New file.
4214 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4215 Adjust expected infrun debug output.
4216
2adfaa28
PA
42172014-03-20 Pedro Alves <palves@redhat.com>
4218
4219 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
4220 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
4221
31e77af2
PA
42222014-03-20 Pedro Alves <palves@redhat.com>
4223
4224 PR breakpoints/7143
4225 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
4226 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
4227 of gdb_test_multiple.
4228 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
4229 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
4230
b9f437de
PA
42312014-03-20 Pedro Alves <palves@redhat.com>
4232
4233 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
4234 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
4235
05adc73e
PA
42362014-03-19 Pedro Alves <palves@redhat.com>
4237
4238 * gdb.base/async.exp: Remove early return.
4239
6048b950
PA
42402014-03-19 Pedro Alves <palves@redhat.com>
4241
4242 * gdb.base/async.exp (step& tests): Pass explicit test messages.
4243
8bcfb00a
PA
42442014-03-19 Pedro Alves <palves@redhat.com>
4245
4246 * gdb.base/async.exp (test_background): Expect \r\n after
4247 "completed." in the fail pattern.
4248
884e37dc
PA
42492014-03-19 Pedro Alves <palves@redhat.com>
4250
4251 * gdb.base/async.exp (test_background): New procedure.
4252 Use it for all background execution command tests.
4253
148e57e2
PA
42542014-03-19 Pedro Alves <palves@redhat.com>
4255
4256 * gdb.base/async.exp: Use prepare_for_testing.
4257
f48088c7
PA
42582014-03-19 Pedro Alves <palves@redhat.com>
4259
4260 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
4261 the same line.
4262
e2f6c966
PA
42632014-03-19 Pedro Alves <palves@redhat.com>
4264
4265 * gdb.base/async.c (main): Add "jump here" and "until here" line
4266 marker comments.
4267 * gdb.base/async.exp (jump_here): New global.
4268 (jump& test): Use it.
4269 (until_here): New global.
4270 (until& test): Use it.
4271
c30568d4
PA
42722014-03-19 Pedro Alves <palves@redhat.com>
4273
4274 * gdb.base/async.exp: Don't frob gdb_protocol.
4275
0172b6a7
DE
42762014-03-18 Doug Evans <xdje42@gmail.com>
4277
4278 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
4279 Fix spelling of exec-done-display.
4280
06c868a8
JK
42812014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4282
4283 PR gdb/15358
4284 * gdb.base/gdb-sigterm.c: New file.
4285 * gdb.base/gdb-sigterm.exp: New file.
4286
0c7e1a46
PA
42872014-03-18 Pedro Alves <palves@redhat.com>
4288
4289 PR gdb/13860
4290 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
4291 * lib/mi-support.exp (mi_expect_stop): Add special handling for
4292 solib-event.
4293
f7c77d93
JB
42942014-03-17 Joel Brobecker <brobecker@adacore.com>
4295
4296 * gdb.ada/pckd_arr_ren: New testcase.
4297
5a1e8c7a
DE
42982014-03-13 Doug Evans <xdje42@gmail.com>
4299
4300 PR guile/16612
4301 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
4302 collect after discarding symbols.
4303
350e1a76
DE
43042014-03-13 Ludovic Courtès <ludo@gnu.org>
4305 Doug Evans <xdje42@gmail.com>
4306
4307 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
4308 to history survives a gc.
4309
a69900ae
PA
43102014-03-13 Pedro Alves <palves@redhat.com>
4311
4312 * gdb.base/default.exp: Don't test "target procfs".
4313
5db9f0bd
PA
43142014-03-13 Pedro Alves <palves@redhat.com>
4315
4316 * gdb.base/default.exp: Update "target child" and "target procfs"
4317 tests to not expect "Unix".
4318
b3ccfe11
TT
43192014-03-12 Tom Tromey <tromey@redhat.com>
4320
4321 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
4322 New procs. Add target-async tests.
4323 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
4324 Add target-async tests.
4325
646f4417
AA
43262014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4327
4328 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
4329 'func_start' and 'func_end' for the beginning and end of the
4330 function code, respectively.
4331 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
4332 'func_end' instead of 'func' and 'main'.
4333
288c211f
AA
43342014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4335
4336 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
4337 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
4338 generate the debug info assembler source.
4339
e0c0f156
AA
43402014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4341
4342 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
4343 * gdb.dwarf2/arr-subrange.exp: Likewise.
4344 * gdb.dwarf2/dwz.exp: Likewise.
4345 * gdb.dwarf2/method-ptr.exp: Likewise.
4346 * gdb.dwarf2/missing-sig-type.exp: Likewise.
4347 * gdb.dwarf2/subrange.exp: Likewise.
4348 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
4349 * gdb.dwarf2/implptrpiece.exp: Likewise.
4350 * gdb.dwarf2/nostaticblock.exp: Likewise.
4351
0e5c4555
AA
43522014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4353
4354 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
4355 directory to absolute path name arguments.
4356
5ec18f2b
JG
43572014-03-10 Joel Brobecker <brobecker@adacore.com>
4358
4359 * gdb.ada/tagged_access: New testcase.
4360
847fc4f2
MM
43612014-03-07 Markus Metzger <markus.t.metzger@intel.com>
4362
4363 * gdb.btrace/data.exp: Update expected output.
4364
cc3da688
YQ
43652014-03-06 Yao Qi <yao@codesourcery.com>
4366
4367 * gdb.trace/pr16508.exp: New file.
4368
0f26cec1
PA
43692014-03-05 Pedro Alves <palves@redhat.com>
4370
4371 PR gdb/16575
4372 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
4373 procedure.
4374 (top level): Adjust to use it. Add tests that exercise breakpoint
4375 interaction with the code-cache.
4376
7a5a839f
LC
43772014-02-26 Ludovic Courtès <ludo@gnu.org>
4378
4379 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
4380 test for 'history-append!'.
4381
31aa7e4e
JB
43822014-02-26 Joel Brobecker <brobecker@adacore.com>
4383
4384 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
4385 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
4386 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
4387 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
4388 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
4389 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
4390
1b588015
JB
43912014-02-26 Joel Brobecker <brobecker@adacore.com>
4392
4393 * testsuite/gdb.python/py-pp-re-notag.c: New file.
4394 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
4395 * testsuite/gdb.python/py-pp-re-notag.p: New file.
4396
55426c9d
JB
43972014-02-26 Joel Brobecker <brobecker@adacore.com>
4398
4399 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
4400
dc53a7ad
JB
44012014-02-26 Joel Brobecker <brobecker@adacore.com>
4402
4403 * gdb.dwarf2/arr-stride.c: New file.
4404 * gdb.dwarf2/arr-stride.exp: New file.
4405
12ab52e9
PA
44062014-02-26 Pedro Alves <palves@redhat.com>
4407
4408 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
4409 that won't ever trigger. Make sure that GDB reports the correct
4410 breakpoint that caused the stop.
4411
849c862e
JK
44122014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4413
4414 PR gdb/16626
4415 * gdb.base/auto-load-script: New file.
4416 * gdb.base/auto-load.c: New file.
4417 * gdb.base/auto-load.exp: New file.
4418
71b7d793
JK
4419 PR gdb/16626
4420 * gdb.base/auto-load.exp: Fix out-of-srctree run.
4421
e2f0d509
JK
44222014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4423
4424 Fix dw2-icycle.exp -fsanitize=address GDB crash.
4425 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
4426
50cc37c8
DE
44272014-02-24 Doug Evans <dje@google.com>
4428
4429 * lib/gdb.exp (run_on_host): Log error output if program fails.
4430
ea4758f2
PA
44312014-02-21 Pedro Alves <palves@redhat.com>
4432
4433 * gdb.threads/step-after-sr-lock.c: Rename to ...
4434 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
4435 * gdb.threads/step-after-sr-lock.exp: Rename to ...
4436 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
4437 ... this.
4438
d7b30f67
SDJ
44392014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
4440
4441 PR tdep/16397
4442 * gdb.arch/amd64-stap-special-operands.exp: New file.
4443 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
4444 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
4445 * gdb.arch/amd64-stap-triplet.S: Likewise.
4446 * gdb.arch/amd64-stap-triplet.c: Likewise.
4447
83deb43f
JB
44482014-02-20 Joel Brobecker <brobecker@adacore.com>
4449
4450 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
4451 in .section pseudo-op.
4452
adde2bff
DE
44532014-02-20 lin zuojian <manjian2006@gmail.com>
4454 Joel Brobecker <brobecker@adacore.com>
4455 Doug Evans <xdje42@gmail.com>
4456
4457 PR symtab/16581
4458 * gdb.dwarf2/dw2-icycle.S: New file.
4459 * gdb.dwarf2/dw2-icycle.c: New file.
4460 * gdb.dwarf2/dw2-icycle.exp: New file.
4461
f7bd0f78
SC
44622014-02-19 Siva Chandra Reddy <sivachandra@google.com>
4463
4464 * gdb.python/py-value-cc.cc: Improve test case to enable testing
4465 operations on gdb.Value objects.
4466 * gdb.python/py-value-cc.exp: Add new test to test operations on
4467 gdb.Value objects.
4468
c17ef0d5
DE
44692014-02-18 Doug Evans <dje@google.com>
4470
4471 * Makefile.in (TESTS): New variable.
4472 (expanded_tests, expanded_tests_or_none): New variables
4473 (check-single): Pass $(expanded_tests_or_none) to runtest.
4474 (check-parallel): Only run tests in $(TESTS) if non-empty.
4475 (check/no-matching-tests-found): New rule.
4476 * README: Document TESTS makefile variable.
4477
5dd3176f
DE
44782014-02-18 Doug Evans <dje@google.com>
4479
4480 * Makefile.in (check-parallel): rm -rf outputs temp.
4481
0b10be4f
JK
44822014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4483
4484 Fix "ERROR: no fileid for" in the testsuite.
4485 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
4486
85f224e7
DE
44872014-02-12 Doug Evans <dje@google.com>
4488
4489 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
4490 (MISCELLANEOUS): New variable.
4491 (clean): rm -rf $(MISCELLANEOUS).
4492 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
4493 dwp live in the same directory as symlinks, with each symlink pointed
4494 to a differently named file in a different directory.
4495
149b30ff
DE
44962014-02-11 Doug Evans <dje@google.com>
4497
4498 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
4499 of Tcl file commands.
4500
1dfdac32
MK
45012014-02-10 Mark Kettenis <kettenis@gnu.org>
4502
4503 * gdb.threads/step-after-sr-lock.exp: Avoid executing
4504 "kill -SIGUSR1 -1".
4505
aa4fb036
JB
45062014-02-10 Joel Brobecker <brobecker@adacore.com>
4507
4508 * gdb.ada/tick_length_array_enum_idx: New testcase.
4509
ed3ef339
DE
45102014-02-10 Doug Evans <xdje42@gmail.com>
4511
4512 * configure.ac (AC_OUTPUT): Add gdb.guile.
4513 * configure: Regenerate.
4514 * lib/gdb-guile.exp: New file.
4515 * lib/gdb.exp (get_target_charset): New function.
4516 * gdb.base/help.exp: Update expected output from "apropos apropos".
4517 * gdb.guile/Makefile.in: New file.
4518 * gdb.guile/guile.exp: New file.
4519 * gdb.guile/scm-arch.c: New file.
4520 * gdb.guile/scm-arch.exp: New file.
4521 * gdb.guile/scm-block.c: New file.
4522 * gdb.guile/scm-block.exp: New file.
4523 * gdb.guile/scm-breakpoint.c: New file.
4524 * gdb.guile/scm-breakpoint.exp: New file.
4525 * gdb.guile/scm-disasm.c: New file.
4526 * gdb.guile/scm-disasm.exp: New file.
4527 * gdb.guile/scm-equal.c: New file.
4528 * gdb.guile/scm-equal.exp: New file.
4529 * gdb.guile/scm-error.exp: New file.
4530 * gdb.guile/scm-error.scm: New file.
4531 * gdb.guile/scm-frame-args.c: New file.
4532 * gdb.guile/scm-frame-args.exp: New file.
4533 * gdb.guile/scm-frame-args.scm: New file.
4534 * gdb.guile/scm-frame-inline.c: New file.
4535 * gdb.guile/scm-frame-inline.exp: New file.
4536 * gdb.guile/scm-frame.c: New file.
4537 * gdb.guile/scm-frame.exp: New file.
4538 * gdb.guile/scm-generics.exp: New file.
4539 * gdb.guile/scm-gsmob.exp: New file.
4540 * gdb.guile/scm-iterator.c: New file.
4541 * gdb.guile/scm-iterator.exp: New file.
4542 * gdb.guile/scm-math.c: New file.
4543 * gdb.guile/scm-math.exp: New file.
4544 * gdb.guile/scm-objfile-script-gdb.in: New file.
4545 * gdb.guile/scm-objfile-script.c: New file.
4546 * gdb.guile/scm-objfile-script.exp: New file.
4547 * gdb.guile/scm-objfile.c: New file.
4548 * gdb.guile/scm-objfile.exp: New file.
4549 * gdb.guile/scm-ports.exp: New file.
4550 * gdb.guile/scm-pretty-print.c: New file.
4551 * gdb.guile/scm-pretty-print.exp: New file.
4552 * gdb.guile/scm-pretty-print.scm: New file.
4553 * gdb.guile/scm-section-script.c: New file.
4554 * gdb.guile/scm-section-script.exp: New file.
4555 * gdb.guile/scm-section-script.scm: New file.
4556 * gdb.guile/scm-symbol.c: New file.
4557 * gdb.guile/scm-symbol.exp: New file.
4558 * gdb.guile/scm-symtab-2.c: New file.
4559 * gdb.guile/scm-symtab.c: New file.
4560 * gdb.guile/scm-symtab.exp: New file.
4561 * gdb.guile/scm-type.c: New file.
4562 * gdb.guile/scm-type.exp: New file.
4563 * gdb.guile/scm-value-cc.cc: New file.
4564 * gdb.guile/scm-value-cc.exp: New file.
4565 * gdb.guile/scm-value.c: New file.
4566 * gdb.guile/scm-value.exp: New file.
4567 * gdb.guile/source2.scm: New file.
4568 * gdb.guile/types-module.cc: New file.
4569 * gdb.guile/types-module.exp: New file.
4570
7026a7c1
YQ
45712014-02-10 Yao Qi <yao@codesourcery.com>
4572
4573 PR testsuite/16543
4574 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
4575 * configure: Regenerated.
4576 * Makefile.in: New file.
4577
6c466447
AS
45782014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4579
4580 * gdb.python/py-framefilter.exp: Fix typo.
4581
6e854735
YQ
45822014-02-08 Yao Qi <yao@codesourcery.com>
4583
4584 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
4585 that no =breakpoint-modified is emitted when breakpoints are
4586 modified through MI commands.
4587
d137e6dc
PA
45882014-02-07 Pedro Alves <pedro@codesourcery.com>
4589 Pedro Alves <palves@redhat.com>
4590
4591 * gdb.threads/step-after-sr-lock.c: New file.
4592 * gdb.threads/step-after-sr-lock.exp: New file.
4593
b5ee5a50
PA
45942014-02-07 Pedro Alves <palves@redhat.com>
4595
4596 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
4597
3c77faf3
JK
45982014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4599
4600 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
4601 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
4602
6dddc817
DE
46032014-02-06 Doug Evans <xdje42@gmail.com>
4604
4605 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
4606 output.
4607
4608 * gdb.gdb/python-interrupts.exp: New file.
4609
de7b2893
YQ
46102014-02-05 Yao Qi <yao@codesourcery.com>
4611
4612 * gdb.trace/report.exp (use_collected_data): Test the output
4613 of "info threads" and "info inferiors".
4614
66d032ac
YQ
46152014-02-05 Yao Qi <yao@codesourcery.com>
4616
4617 Revert this patch:
4618
4619 2013-05-24 Yao Qi <yao@codesourcery.com>
4620
4621 * gdb.trace/tfile.exp: Test inferior and thread.
4622
591a12a1
UW
46232014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4624
4625 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
4626 on a function.
4627 * gdb.base/step-bt.c: Call hello via function pointer to make
4628 sure its first instruction is executed on powerpc64le-linux.
4629
0ff3e01f
UW
46302014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4631
4632 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
4633
084ee545
UW
46342014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4635
4636 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
4637 of the test patterns for use on little-endian systems.
4638
6ed14ff3
UW
46392014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
4640
4641 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
4642 (decimal_vector): Fix for little-endian.
4643
401e27fd
JM
46442014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
4645
4646 * gdb.arch/sparc-sysstep.exp: New file.
4647 * gdb.arch/sparc-sysstep.c: Likewise.
4648
4649 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
4650
8b924729
EBM
46512014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4652
4653 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
4654
fb151210
JB
46552014-01-23 Tom Tromey <tromey@redhat.com>
4656
4657 * gdb.ada/array_char_idx: New testcase.
4658
0740f8d8
TT
46592014-01-23 Tom Tromey <tromey@redhat.com>
4660
4661 PR python/16487:
4662 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
4663 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
4664 classes.
4665
21909fa1
TT
46662014-01-23 Tom Tromey <tromey@redhat.com>
4667
4668 PR python/16491:
4669 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
4670 string from an inferior frame.
4671 * gdb.python/py-framefilter-mi.exp: Update.
4672
87ce2a04
DE
46732014-01-22 Doug Evans <dje@google.com>
4674
4675 * gdb.server/server-mon.exp: Add tests for "set debug-format".
4676
237b092b
AA
46772014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4678
4679 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
4680
d674a709
AA
46812014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4682
4683 * gdb.trace/entry-values.exp: Remove excess space character from
4684 regex patterns. Handle s390 call instruction.
4685
20fa3390
AA
46862014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4687
4688 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
4689 define "*_start" label. Make "name" static.
4690 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
4691 ${name} by references to ${name}_start.
4692
78466714
AA
46932014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
4694
4695 * gdb.base/info-macros.exp: Remove "debug" from the compile
4696 options.
4697
ec9f644a
IB
46982014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4699
4700 * gdb.dlang/demangle.exp: New file.
4701
94b1b47e
IB
47022014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4703
4704 * gdb.dlang/primitive-types.exp: New file.
4705
7f420862
IB
47062014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
4707
4708 * configure.ac: Create gdb.dlang/Makefile.
4709 * configure: Regenerate.
4710 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
4711 * gdb.dlang/Makefile.in: New file.
4712 * lib/d-support.exp: New file.
4713 * lib/gdb.exp (skip_d_tests): New proc.
4714
52834460
MM
47152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4716
4717 * gdb.btrace/delta.exp: Check reverse stepi.
4718 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
4719 * gdb.btrace/finish.exp: New.
4720 * gdb.btrace/next.exp: New.
4721 * gdb.btrace/nexti.exp: New.
4722 * gdb.btrace/record_goto.c: Add comments.
4723 * gdb.btrace/step.exp: New.
4724 * gdb.btrace/stepi.exp: New.
4725 * gdb.btrace/multi-thread-step.c: New.
4726 * gdb.btrace/multi-thread-step.exp: New.
4727 * gdb.btrace/rn-dl-bind.c: New.
4728 * gdb.btrace/rn-dl-bind.exp: New.
4729 * gdb.btrace/data.c: New.
4730 * gdb.btrace/data.exp: New.
4731 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4732
6e07b1d2
MM
47332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4734
4735 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
4736 * gdb.btrace/exception.exp: Update.
4737 * gdb.btrace/instruction_history.exp: Update.
4738 * gdb.btrace/record_goto.exp: Update.
4739 * gdb.btrace/tailcall.exp: Update.
4740 * gdb.btrace/unknown_functions.exp: Update.
4741 * gdb.btrace/delta.exp: New.
4742
0b722aec
MM
47432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4744
4745 * gdb.btrace/record_goto.exp: Add backtrace test.
4746 * gdb.btrace/tailcall.exp: Add backtrace test.
4747
066ce621
MM
47482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4749
4750 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
4751 * gdb.btrace/record_goto.c: New.
4752 * gdb.btrace/record_goto.exp: New.
4753 * gdb.btrace/x86-record_goto.S: New.
4754
0688d04e
MM
47552014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4756
4757 * gdb.btrace/function_call_history.exp: Update tests.
4758 * gdb.btrace/instruction_history.exp: Update tests.
4759
8710b709
MM
47602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4761
4762 * gdb.btrace/function_call_history.exp: Fix expected field
4763 order for "record function-call-history".
4764 Add new tests for "record function-call-history /c".
4765 * gdb.btrace/exception.cc: New.
4766 * gdb.btrace/exception.exp: New.
4767 * gdb.btrace/tailcall.exp: New.
4768 * gdb.btrace/x86-tailcall.S: New.
4769 * gdb.btrace/x86-tailcall.c: New.
4770 * gdb.btrace/unknown_functions.c: New.
4771 * gdb.btrace/unknown_functions.exp: New.
4772 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
4773
5de9129b
MM
47742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4775
4776 * gdb.btrace/instruction_history.exp: Update.
4777 * gdb.btrace/function_call_history.exp: Update.
4778
23a7fe75
MM
47792014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4780
4781 * gdb.btrace/function_call_history.exp: Fix expected function
4782 trace.
4783 * gdb.btrace/instruction_history.exp: Initialize traced.
4784 Remove traced_functions.
4785
724c7dd8
MM
47862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4787
4788 * gdb.btrace/function_call_history.exp: Update
4789 * gdb.btrace/instruction_history.exp: Update.
4790
6d78d93b
MM
47912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
4792
4793 * gdb.btrace/enable.exp: Update expected text.
4794
93a360cc
OJ
47952014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
4796
4797 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
4798 bytes.
4799
3772b53f
MR
48002014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
4801
4802 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
4803
596662fa
OJ
48042014-01-15 Omair Javaid <omair.javaid@linaro.org>
4805
4806 * lib/gdb.exp (supports_process_record): Return true for
4807 arm*-linux*. (supports_reverse): Likewise.
4808
b5b08fb4
SC
48092014-01-13 Siva Chandra Reddy <sivachandra@google.com>
4810
4811 PR python/15464
4812 PR python/16113
4813 * gdb.python/py-type.c: Enhance test case.
4814 * gdb.python/py-value-cc.cc: Likewise
4815 * gdb.python/py-type.exp: Add new tests.
4816 * gdb.python/py-value-cc.exp: Likewise
4817
52d7fb13
AA
48182014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
4819 Pedro Alves <palves@redhat.com>
4820
4821 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
4822 Make "name" extern.
4823 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
4824 references to ${name}_start by references to ${name}.
4825
a2cd8cfe
JB
48262014-01-10 Joel Brobecker <brobecker@adacore.com>
4827
4828 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
4829
4e23fced
JB
48302014-01-10 Joel Brobecker <brobecker@adacore.com>
4831
4832 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
4833
c6a9e42c
PA
48342014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
4835 Pedro Alves <palves@redhat.com>
4836
4837 * gdb.mi/mi-info-os.exp: Connect to the target with
4838 mi_gdb_target_load.
4839
b7ea362b
PA
48402014-01-08 Pedro Alves <palves@redhat.com>
4841
4842 * gdb.threads/reconnect-signal.c: New file.
4843 * gdb.threads/reconnect-signal.exp: New file.
4844
5e3f4fab
EBM
48452014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4846
4847 * gdb.base/source-dir.exp: New file.
4848
79301218
JB
48492014-01-07 Joel Brobecker <brobecker@adacore.com>
4850
4851 * gdb.ada/mi_interface: New testcase.
4852
8e355c5d
JB
48532014-01-07 Joel Brobecker <brobecker@adacore.com>
4854
4855 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
4856 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
4857 gdb.ada/pp-rec-component/pck.ads: New files.
4858
c0d48811
JB
48592014-01-07 Joel Brobecker <brobecker@adacore.com>
4860
4861 * gdb.python/py-pp-integral.c: New file.
4862 * gdb.python/py-pp-integral.py: New file.
4863 * gdb.python/py-pp-integral.exp: New file.
4864
17b609c3 4865For older changes see ChangeLog-1993-2013.
c906108c 4866\f
8d8cb839
EZ
4867;; Local Variables:
4868;; mode: change-log
4869;; left-margin: 8
4870;; fill-column: 74
4871;; version-control: never
4872;; End:
902f2ccb 4873
32d0add0 4874 Copyright 2014-2015 Free Software Foundation, Inc.
902f2ccb
MC
4875 Copying and distribution of this file, with or without modification,
4876 are permitted provided the copyright notice and this notice are preserved.
This page took 2.325806 seconds and 4 git commands to generate.