This fixes more seg-faults in tools like "strings" and "objdump" when
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
763905a3
YQ
12014-10-27 Yao Qi <yao@codesourcery.com>
2
3 * gdb.trace/tfile.c (adjust_function_address)
4 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5 function descriptor.
6
6f259a23
DB
72014-10-24 Don Breazeal <donb@codesourcery.com>
8
9 * gdb.base/foll-fork.exp (test_follow_fork,
10 catch_fork_child_follow): Check for updated fork messages emitted
11 from infrun.c.
12 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
13 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
14 vfork_and_exec_child_follow_through_step): Check for updated vfork
15 messages emitted from infrun.c.
16
09dd9a69
PA
172014-10-24 Pedro Alves <palves@redhat.com>
18
19 * gdb.base/corefile.exp: Remove references to ultrix.
20 * gdb.base/interrupt.exp: Likewise.
21 * gdb.base/whatis.exp: Likewise.
22 * gdb.gdb/selftest.exp: Likewise.
23 * gdb.threads/manythreads.exp: Likewise.
24 * gdb.threads/print-threads.exp: Likewise.
25 * gdb.threads/pthreads.exp:: Likewise.
26 * gdb.threads/schedlock.exp: Likewise.
27
3433cfa5
SC
282014-10-24 Siva Chandra Reddy <sivachandra@google.com>
29
30 * gdb.cp/non-trivial-retval.cc: Add a test case.
31 * gdb.cp/non-trivial-retval.exp: Add a test.
32
092f880b
YQ
332014-10-20 Yao Qi <yao@codesourcery.com>
34
35 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
36 * gdb.python/py-objfile-script-gdb.py: New file.
37 * gdb.python/py-objfile-script.exp: Update reference to
38 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
39 of remote_download. Remove the dest file.
40
acbdb7f3
YQ
412014-10-20 Yao Qi <yao@codesourcery.com>
42
43 * gdb.base/checkpoint.exp: Don't remove file copied on host.
44 * gdb.base/step-line.exp: Likewise.
45 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
46 * gdb.dwarf2/dw2-basic.exp: Likewise.
47 * gdb.dwarf2/dw2-compressed.exp: Likewise.
48 * gdb.dwarf2/dw2-filename.exp: Likewise.
49 * gdb.dwarf2/dw2-intercu.exp: Likewise.
50 * gdb.dwarf2/dw2-intermix.exp: Likewise.
51 * gdb.dwarf2/dw2-producer.exp: Likewise.
52 * gdb.dwarf2/mac-fileno.exp: Likewise.
53 * gdb.python/py-frame-args.exp: Likewise.
54 * gdb.python/py-framefilter.exp: Likewise.
55 * gdb.python/py-mi.exp: Likewise.
56 * gdb.python/py-objfile-script.exp: Likewise
57 * gdb.python/py-pp-integral.exp: Likewise.
58 * gdb.python/py-pp-re-notag.exp: Likewise.
59 * gdb.python/py-prettyprint.exp: Likewise.
60 * gdb.python/py-section-script.exp: Likewise.
61 * gdb.python/py-typeprint.exp: Likewise.
62 * gdb.python/py-xmethods.exp: Likewise.
63 * gdb.stabs/weird.exp: Likewise.
64 * gdb.xml/tdesc-regs.exp: Likewise.
65
bd286a29
KCY
662014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
67
68 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
69 (out_cu): Use addr_len for the size of addresses.
70 (out_line): Likewise. Size DW_LNE_set_address instruction
71 according to addr_len.
72 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
73 (FUNC): Add START_INSNS to definition.
74
673dc4a0
YQ
752014-10-18 Yao Qi <yao@codesourcery.com>
76
77 * gdb.base/argv0-symlink.exp: Check argv[0] value if
78 gdb_has_argv0 return true.
79 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
80 check [target_info exists noargs], check [gdb_has_argv0]
81 instead.
82 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
83 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
84 procedures.
85
4ffbba72
DE
862014-10-17 Doug Evans <dje@google.com>
87
88 * gdb.python/py-events.exp: Update expected output for clear_objfiles
89 event.
90 * gdb.python/py-events.py: Add clear_objfiles event.
91
d096d8c1
DE
922014-10-17 Doug Evans <dje@google.com>
93
94 * gdb.python/py-objfile.exp: Test progspace attribute.
95
a80db015
LM
962014-10-17 Luis Machado <lgustavo@codesourcery.com>
97
98 * gdb.guile/scm-breakpoint.exp: Do not assume any
99 directory separators when matching source file paths.
100 * gdb.python/py-breakpoint.exp: Likewise.
101 * gdb.reverse/break-precsave.exp: Likewise.
102 * gdb.reverse/break-reverse.exp: Likewise.
103 * gdb.reverse/consecutive-precsave.exp: Likewise.
104 * gdb.reverse/finish-precsave.exp: Likewise.
105 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
106 * gdb.reverse/finish-reverse.exp: Likewise.
107 * gdb.reverse/i386-precsave.exp: Likewise.
108 * gdb.reverse/i387-env-reverse.exp: Likewise.
109 * gdb.reverse/i387-stack-reverse.exp: Likewise.
110 * gdb.reverse/machinestate-precsave.exp: Likewise.
111 * gdb.reverse/machinestate.exp: Likewise.
112 * gdb.reverse/sigall-precsave.exp: Likewise.
113 * gdb.reverse/solib-precsave.exp: Likewise.
114 * gdb.reverse/step-precsave.exp: Likewise.
115 * gdb.reverse/until-precsave.exp: Likewise.
116 * gdb.reverse/watch-precsave.exp: Likewise.
117 * gdb.reverse/watch-reverse.exp: Likewise.
118
b22089ab
YQ
1192014-10-17 Yao Qi <yao@codesourcery.com>
120
121 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
122 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
123
6c4486e6
PA
1242014-10-17 Pedro Alves <palves@redhat.com>
125
126 PR gdb/17471
127 * gdb.base/bg-execution-repeat.c: New file.
128 * gdb.base/bg-execution-repeat.exp: New file.
129
0ff33695
PA
1302014-10-17 Pedro Alves <palves@redhat.com>
131
132 PR gdb/17300
133 * gdb.base/continue-all-already-running.c: New file.
134 * gdb.base/continue-all-already-running.exp: New file.
135
6fdebc3d
PA
1362014-10-17 Pedro Alves <palves@redhat.com>
137
138 PR gdb/17472
139 * gdb.base/annota-input-while-running.c: New file.
140 * gdb.base/annota-input-while-running.exp: New file.
141
32a8097b
PA
1422014-10-17 Pedro Alves <palves@redhat.com>
143
144 * gdb.base/callfuncs.exp: emove references to osf.
145 * gdb.base/sigall.exp: Likewise.
146 * gdb.gdb/selftest.exp: Likewise.
147 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
148 * gdb.mi/non-stop.c: Likewise.
149 * gdb.mi/pthreads.c: Likewise.
150 * gdb.reverse/sigall-precsave.exp: Likewise.
151 * gdb.reverse/sigall-reverse.exp: Likewise.
152 * gdb.threads/pthreads.c: Likewise.
153 * gdb.threads/pthreads.exp: Likewise.
154
7a3517ff
YQ
1552014-10-17 Yao Qi <yao@codesourcery.com>
156
157 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
158 check 'target_info exists noargs'.
159 (test_command_prompt_position): Likewise.
160 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
161 Remove "set args".
162 (progvar_simple_while_test): Likewise.
163 (progvar_complex_if_while_test): Likewise.
164 (if_while_breakpoint_command_test): Likewise.
165 (infrun_breakpoint_command_test): Likewise.
166 (breakpoint_command_test): Likewise.
167 (watchpoint_command_test): Likewise.
168 (bp_deleted_in_command_test): Likewise.
169 (temporary_breakpoint_commands): Likewise.
170
bb99c472
YQ
1712014-10-16 Yao Qi <yao@codesourcery.com>
172
173 * gdb.base/remotetimeout.exp: Remove noargs checking.
174
7c16b83e
PA
1752014-10-15 Pedro Alves <palves@redhat.com>
176
177 PR breakpoints/9649
178 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
179 * gdb.base/breakpoint-in-ro-region.exp
180 (probe_target_hardware_step): New procedure.
181 (top level): Probe hardware stepping and hardware breakpoint
182 support. Test stepping through a read-only region, with both
183 "breakpoint auto-hw" on and off and both "always-inserted" on and
184 off.
185
35a49624
IB
1862014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
187
188 * gdb.dlang/demangle.exp: Update for demangling changes.
189
2d1c107c
SC
1902014-10-15 Siva Chandra Reddy <sivachandra@google.com>
191
192 * gdb.cp/non-trivial-retval.cc: Add new test cases.
193 * gdb.cp/non-trivial-retval.exp: Add new tests.
194
778811d5
SC
1952014-10-15 Siva Chandra Reddy <sivachandra@google.com>
196
197 PR c++/13403
198 PR c++/15154
199 * gdb.cp/non-trivial-retval.cc: New file.
200 * gdb.cp/non-trivial-retval.exp: New file.
201
10c5f0a8
YQ
2022014-10-15 Yao Qi <yao@codesourcery.com>
203
204 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
205 remote host.
206
65d7b369
YQ
2072014-10-15 Yao Qi <yao@codesourcery.com>
208
209 * gdb.python/py-symbol.exp: Match file base name if host is
210 remote, otherwise match file name with dir name.
211 * gdb.python/py-symtab.exp: Likewise.
212 * gdb.python/python.exp: Likewise.
213
46dc1394
YQ
2142014-10-15 Yao Qi <yao@codesourcery.com>
215
216 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
217 pattern.
218 * gdb.python/py-symtab.exp: Likewise.
219 * gdb.python/python.exp: Remove trailing ".*". Fix typo
220 locationn.
221
c40cc657
JB
2222014-10-14 Joel Brobecker <brobecker@adacore.com>
223
224 * gdb.ada/addr_arith: New testcase.
225
2abf49e1
MR
2262014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
227
228 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
229 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
230 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
231 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
232
f7088df3
SDJ
2332014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
234
235 * gdb.arch/stap-eval-lang-ada.S: Likewise.
236 * gdb.arch/stap-eval-lang-ada.c: Likewise.
237 * gdb.arch/stap-eval-lang-ada.exp: New file.
238
4dc06805
YQ
2392014-10-14 Yao Qi <yao@codesourcery.com>
240
241 * gdb.mi/mi-var-child.c (nothing1): New function.
242 (nothing2): New function.
243 (do_children_tests): Set function pointers by nothing1 and
244 nothing2.
245 * gdb.mi/mi-var-child.exp: Step over new added statements.
246 Update test to match the new output.
247 * gdb.mi/var-cmd.c (nothing1): New function.
248 (nothing2): New function.
249 (do_children_tests): Set function pointers by nothing1 and
250 nothing2.
251 * gdb.mi/mi-var-display.exp: Update test to match output.
252 Step to the line specified by $line_dct_nothing.
253 Increase the number of lines to step.
254
46a93de2
YQ
2552014-10-14 Yao Qi <yao@codesourcery.com>
256
257 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
258 tests.
259 * gdb.mi/mi2-var-child.exp: Likewise.
260
14ea52ee
DE
2612014-10-13 Doug Evans <dje@google.com>
262
263 * gdb.python/py-objfile.exp: Change name of file name test.
264
e5c6e92b
DE
2652014-10-13 Doug Evans <dje@google.com>
266
267 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
268 from the start of the CU.
269
c780cc2f
JK
2702014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
271 Yao Qi <yao@codesourcery.com>
272
273 Fix "save breakpoints" for "catch" command.
274 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
275 Remove -nonewline. Match also the added "main" line.
276
99894e11
JK
2772014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
278
279 Fix "save breakpoints" for "disable $bpnum" command.
280 * gdb.base/save-bp.c (main): Add label.
281 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
282
6e1ac5a3
JK
2832014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
284
285 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
286
754dd2b0
YQ
2872014-10-11 Yao Qi <yao@codesourcery.com>
288
289 * gdb.server/server-kill.exp: Execute command
290 "set remote trace-status-packet on" before "tstatus".
291
f90183d7
YQ
2922014-10-11 Yao Qi <yao@codesourcery.com>
293
294 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
295 (main): Call getppid.
296 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
297 and continue to it. Read variable "server_pid".
298
bf40a607
YQ
2992014-10-11 Yao Qi <yao@codesourcery.com>
300
301 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
302
052ca370
YQ
3032014-10-11 Yao Qi <yao@codesourcery.com>
304
305 * gdb.threads/thread-find.exp: Don't execute command
306 "info threads".
307 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
308 * gdb.threads/linux-dp.exp: Don't check the condition
309 $threads_created equals to zero.
310
3831839c
PA
3112014-10-10 Pedro Alves <palves@redhat.com>
312
313 * gdb.base/bigcore.exp: Remove references to IRIX.
314 * gdb.base/funcargs.exp: Likewise.
315 * gdb.base/interrupt.exp: Likewise.
316 * gdb.base/mips_pro.exp: Likewise.
317 * gdb.base/nodebug.exp: Likewise.
318 * gdb.base/setvar.exp: Likewise.
319 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
320
8b9a549d
PA
3212014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
322 Pedro Alves <palves@redhat.com>
323
324 PR symtab/14466
325 * gdb.base/vdso-warning.c: New file.
326 * gdb.base/vdso-warning.exp: New file.
327
d48ba5e8
DE
3282014-10-02 Doug Evans <dje@google.com>
329
330 * gdb.base/structs.c (main): Don't run forever.
331
2278c276
PA
3322014-10-02 Pedro Alves <palves@redhat.com>
333
334 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
335 (top level) <stop threads 1, stop threads 2>: Use it.
336
b57bacec
PA
3372014-10-02 Pedro Alves <palves@redhat.com>
338
339 * gdb.threads/break-while-running.exp (test): Add new
340 'update_thread_list' argument. Skip "info threads" if false.
341 (top level): Add new 'update_thread_list' axis.
342
13fd3ff3
PA
3432014-10-02 Pedro Alves <palves@redhat.com>
344
345 PR breakpoints/17431
346 * gdb.base/execl-update-breakpoints.c: New file.
347 * gdb.base/execl-update-breakpoints.exp: New file.
348
0fec99e8
PA
3492014-10-01 Pedro Alves <palves@redhat.com>
350
351 * gdb.base/breakpoint-in-ro-region.c: New file.
352 * gdb.base/breakpoint-in-ro-region.exp: New file.
353
2ddf4301
SM
3542014-10-01 Simon Marchi <simon.marchi@ericsson.com>
355
356 * gdb.mi/mi-exit-code.exp: New file.
357 * gdb.mi/mi-exit-code.c: New file.
358
6a5f3f43
YQ
3592014-09-30 Yao Qi <yao@codesourcery.com>
360
361 * lib/prelink-support.exp (build_executable_own_libs): Error if
362 the target isn't native.
363
345bcc73
YQ
3642014-09-30 Yao Qi <yao@codesourcery.com>
365
366 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
367 false.
368
a25a5a45
PA
3692014-09-22 Pedro Alves <palves@redhat.com>
370
371 * gdb.threads/break-while-running.exp: New file.
372 * gdb.threads/break-while-running.c: New file.
373
00ba3162
YQ
3742014-09-19 Yao Qi <yao@codesourcery.com>
375
376 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
377 Invoke test. Restart GDB with --readnow and invoke test again.
378
c3b7b696
YQ
3792014-09-19 Yao Qi <yao@codesourcery.com>
380
381 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
382 proc set_breakpoint_on_gcd_function. Invoke
383 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
384 invoke set_breakpoint_on_gcd_function again.
385
2b4fd423
DE
3862014-09-18 Doug Evans <dje@google.com>
387
388 * gdb.dwarf2/symtab-producer.exp: New file.
389
a5947601
SDJ
3902014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
391
392 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
393 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
394 * gdb.base/global-var-nested-by-dso.c: Likewise.
395 * gdb.base/global-var-nested-by-dso.exp: Likewise.
396
91c19059
SDJ
3972014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
398 Pedro Alves <palves@redhat.com>
399
400 * gdb.base/watch-bitfields.exp: Pass string other than test file
401 name to prepare_for_testing.
402 (watch): New procedure.
403 (expect_watchpoint): Use with_test_prefix.
404 (top level): Factor out tests to ...
405 (test_watch_location, test_regular_watch): ... these new
406 procedures, and use with_test_prefix and gdb_continue_to_end.
407
bb9d5f81
PP
4082014-09-16 Patrick Palka <patrick@parcs.ath.cx>
409
410 PR breakpoints/12526
411 * gdb.base/watch-bitfields.exp: New file.
412 * gdb.base/watch-bitfields.c: New file.
413
635856f5
PA
4142014-09-16 Pedro Alves <palves@redhat.com>
415
416 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
417 software and hardware addresses, not software address against
418 itself.
419
7280ceea
PA
4202014-09-16 Pedro Alves <palves@redhat.com>
421
422 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
423 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
424
428b16bd
PA
4252014-09-16 Pedro Alves <palves@redhat.com>
426
427 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
428 files.
429 * gdb.base/a2-run.exp: Remove all code guarded by istarget
430 "*-*-vxworks*" throughout.
431 * gdb.base/break.exp: Likewise.
432 * gdb.base/default.exp: Likewise.
433 * gdb.base/scope.exp: Likewise.
434 * gdb.base/sepdebug.exp: Likewise.
435 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
436 throughout.
437 * gdb.base/run.c: Likewise.
438 * gdb.base/sepdebug.c: Likewise.
439 * gdb.hp/gdb.aCC/run.c: Likewise.
440 * gdb.reverse/until-reverse.c: Likewise.
441 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
442
666d413c
YQ
4432014-09-16 Yao Qi <yao@codesourcery.com>
444
445 * boards/local-remote-host-native.exp: New file.
446
57cbd724
DE
4472014-09-14 Doug Evans <xdje42@gmail.com>
448
449 * gdb.threads/queue-signal.c (thread_count): New variable.
450 (thread_count_mutex, thread_count_condvar): New variables.
451 (incr_thread_count, wait_all_threads_running): New functions.
452 (main): Wait for all threads to be in their thread functions.
453
81219e53
DE
4542014-09-13 Doug Evans <xdje42@gmail.com>
455
456 * gdb.threads/queue-signal.c: New file.
457 * gdb.threads/queue-signal.exp: New file.
458
3714cea7
DE
4592014-09-13 Doug Evans <xdje42@gmail.com>
460
461 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
462 be consistent with what default_gdb_init uses.
463 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
464 the plain text of the prompt. Add some logging printfs.
465 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
466
fa43b1d7
PA
4672014-09-12 Pedro Alves <palves@redhat.com>
468
469 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
470 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
471 * gdb.arch/i386-size-overlap.exp: Likewise.
472 * gdb.arch/i386-size.exp: Likewise.
473 * gdb.arch/i386-unwind.exp: Likewise.
474 * gdb.base/a2-run.exp: Likewise.
475 * gdb.base/break.exp: Likewise.
476 * gdb.base/charset.exp: Likewise.
477 * gdb.base/chng-syms.exp: Likewise.
478 * gdb.base/commands.exp: Likewise.
479 * gdb.base/dbx.exp: Likewise.
480 * gdb.base/find.exp: Likewise.
481 * gdb.base/funcargs.exp: Likewise.
482 * gdb.base/jit-simple.exp: Likewise.
483 * gdb.base/reread.exp: Likewise.
484 * gdb.base/sepdebug.exp: Likewise.
485 * gdb.base/step-bt.exp: Likewise.
486 * gdb.cp/mb-inline.exp: Likewise.
487 * gdb.cp/mb-templates.exp: Likewise.
488 * gdb.objc/basicclass.exp: Likewise.
489 * gdb.threads/killed.exp: Likewise.
490
9d9bf2df
EBM
4912014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
492
493 PR tdep/17379
494 * gdb.arch/powerpc-stackless.S: New file.
495 * gdb.arch/powerpc-stackless.exp: New file.
496
1cf2f1b0
JK
4972014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
498
499 * gdb.base/attach.c: Include unistd.h.
500 (main): Call alarm. Add label postloop.
501 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
502 gdb_breakpoint, gdb_continue_to_breakpoint.
503 (test_command_line_attach_run): Kill ${testpid} in one exit path.
504
98880d46
PA
5052014-09-11 Pedro Alves <palves@redhat.com>
506
507 PR gdb/17347
508 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
509 * gdb.base/attach.exp (test_command_line_attach_run): New
510 procedure.
511 (top level): Call it.
512
4c92ff2c
PA
5132014-09-11 Pedro Alves <palves@redhat.com>
514
515 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
516 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
517 (do_command_attach_tests): Use spawn_wait_for_attach.
518 * gdb.base/solib-overlap.exp: Likewise.
519 * gdb.multi/multi-attach.exp: Likewise.
520 * gdb.python/py-prompt.exp: Likewise.
521 * gdb.python/py-sync-interp.exp: Likewise.
522 * gdb.server/ext-attach.exp: Likewise.
523
3adc1a7d
GKB
5242014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
525
526 * gdb.fortran/array-element.exp: Remove unexpected "continue"
527 command in testcase. Simplify testcase.
528
96334934
JB
5292014-09-10 Joel Brobecker <brobecker@adacore.com>
530
531 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
532
eb479039
JB
5332014-09-10 Joel Brobecker <brobecker@adacore.com>
534
535 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
536
deede10c
JB
5372014-09-10 Joel Brobecker <brobecker@adacore.com>
538
539 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
540
7828a5f5
JB
5412014-09-10 Joel Brobecker <brobecker@adacore.com>
542
543 * gdb.dwarf2/dynarr-ptr.c: New file.
544 * gdb.dwarf2/dynarr-ptr.exp: New file.
545
33aeebcf
MR
5462014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
547
548 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
549 of 30 rather than hardcoding 120 for a slow test case. Take the
550 `gdb,timeout' target setting into account for this calculation.
551 Don't extend the timeout for the test cases that don't need it.
552
7b415901
MR
5532014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
554
555 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
556 a factor of 2 for a slow test case. Take the `gdb,timeout'
557 target setting into account for this calculation.
558 * gdb.reverse/until-precsave.exp: Increase the timeout by
559 a factor of 15 and 3 respectively rather than adding 120
560 for a pair of slow test cases. Take the `gdb,timeout'
561 target setting into account for this calculation.
562
4a40f85a
MR
5632014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
564
565 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
566 timeout, don't pass one down to gdb_expect.
567 (gdb_expect): Rework timeout selection.
568
09635af7
MR
5692014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
570
571 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
572 exception on timeout.
573 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
574 (gdbserver_start_extended): Catch any `gdbserver_start' error
575 exceptions.
576 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
577 * lib/mi-support.exp (mi_gdb_target_load): Catch any
578 `gdbserver_gdb_load' error exceptions.
579
2bdd10b7
MR
5802014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
581
582 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
583 120 on waiting for the TCP socket to open.
584
316935f0
DE
5852014-09-09 Doug Evans <xdje42@gmail.com>
586
587 * gdb.base/default.exp (show_conv_list): Add _caller_is,
588 _caller_matches, _any_caller_is, _any_caller_matches.
589
83740597
DE
5902014-09-09 Doug Evans <xdje42@gmail.com>
591
592 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
593
4c122fc3
YQ
5942014-09-09 Yao Qi <yao@codesourcery.com>
595
596 * gdb.mi/mi-var-display.exp: Set print symbol off.
597
a9f116cb
GKB
5982014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
599
600 PR gdb/17035
601 * gdb.base/commands.exp: Add tests to verify user-defined
602 commands with empty bodies.
603 * gdb.python/py-cmd.exp: Test that we don't show user-defined
604 python commands in `show user command`.
605 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
606 scheme commands in `show user command`.
607
c75bd3a2
JK
6082014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
609
610 PR python/17355
611 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
612 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
613 * gdb.python/py-framefilter-invalidarg.exp: New file.
614 * gdb.python/py-framefilter-invalidarg.py: New file.
615
faa42425
DE
6162014-09-06 Doug Evans <xdje42@gmail.com>
617
618 PR 15276
619 * gdb.python/py-caller-is.c: New file.
620 * gdb.python/py-caller-is.exp: New file.
621
474ca4f6
SDJ
6222014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
623
624 PR gdb/17235
625 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
626 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
627
eb0b0463
SDJ
6282014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
629
630 PR fortran/17237
631 * gdb.fortran/print-formatted.exp: New file.
632 * gdb.fortran/print-formatted.f90: Likewise.
633
5f3b99cf
SS
6342014-09-03 Sasha Smundak <asmundak@google.com>
635
636 * gdb.python/py-frame.exp: Test Frame.read_register.
637
7d793aa9
SDJ
6382014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
639
640 PR python/16699
641 * gdb.python/py-completion.exp: New file.
642 * gdb.python/py-completion.py: Likewise.
643
fb0576e9
DE
6442014-08-28 Doug Evans <dje@google.com>
645
646 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
647 eax,etc. are live with values set by gdb and thus the compiler can't
648 use them.
649 * gdb.arch/i386-pseudo.c (main): Ditto.
650
ee92b0dd
DE
6512014-08-27 Doug Evans <dje@google.com>
652
653 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
654
6649db35
DE
6552014-08-25 Doug Evans <dje@google.com>
656
657 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
658 (main): Ditto.
659
564b7600
DE
6602014-08-25 Doug Evans <dje@google.com>
661
662 * gdb.threads/thread-execl.exp: #include <stdio.h>.
663
3881fb67
YQ
6642014-08-24 Yao Qi <yao@codesourcery.com>
665
666 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
667 symbol off.
668 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
669
a05a36a5
DE
6702014-08-22 Doug Evans <dje@google.com>
671
672 PR 17276
673 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
674 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
675 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
676
7c343b48
YQ
6772014-08-22 Yao Qi <yao@codesourcery.com>
678
679 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
680 * gdb.python/py-finish-breakpoint2.exp: Likewise.
681 * gdb.python/python.exp: Likewise. Use .py file on the host
682 instead of the build.
683
22fd09ae
JK
6842014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
685
686 * gdb.threads/gcore-stale-thread.c: New file.
687 * gdb.threads/gcore-stale-thread.exp: New file.
688
a8454a7c
PA
6892014-08-21 Pedro Alves <palves@redhat.com>
690
691 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
692 * gdb.base/gcore-relro-pie.exp: Likewise.
693 * gdb.base/gcore-relro.exp: Likewise.
694 * gdb.base/gcore.exp: Likewise.
695 * gdb.base/print-symbol-loading.exp: Likewise.
696 * gdb.threads/gcore-thread.exp: Likewise.
697 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
698
2a31c623
PA
6992014-08-20 Pedro Alves <palves@redhat.com>
700 Jan Kratochvil <jan.kratochvil@redhat.com>
701
702 * Makefile.in (EXTRA_RULES, CC): New variables, get from
703 configure.
704 (EXPECT): Handle READ1 being set.
705 (all): Depend on EXTRA_RULES.
706 (check-read1, expect-read1, read1.so, read1): New rules.
707 * README (Testsuite Parameters): Document the READ1 make variable.
708 (Race detection): New section.
709 * configure: Regenerate.
710 * configure.ac: If build==host==target, and running under a
711 GNU/glibc system, add read1 to the extra Makefile rules.
712 (EXTRA_RULES): AC_SUBST it.
713 * lib/read1.c: New file.
714
d36430db
JB
7152014-08-20 Joel Brobecker <brobecker@adacore.com>
716
717 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
718 the handling of variables declared as a typedef to an array
719 which a DW_AT_data_location attribute.
720
9a0dc9e3
PA
7212014-08-19 Andrew Burgess <aburgess@broadcom.com>
722 Pedro Alves <palves@redhat.com>
723
724 PR symtab/14604
725 PR symtab/14605
726 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
727 gdb_test.
728
0718a8da
PA
7292014-08-19 Pedro Alves <palves@redhat.com>
730
731 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
732
13b448cd
YQ
7332014-08-19 Yao Qi <yao@codesourcery.com>
734
735 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
736 right line.
737
1cbf5077
DB
7382014-08-18 David Blaikie <dblaikie@gmail.com>
739
740 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
741
bf0fae19
JB
7422014-08-18 Joel Brobecker <brobecker@adacore.com>
743
744 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
745 attribute in array range.
746
3c8c5dcc
JB
7472014-08-18 Joel Brobecker <brobecker@adacore.com>
748
749 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
750
e66d4446
SC
7512014-08-15 Siva Chandra Reddy <sivachandra@google.com>
752
753 PR c++/17132
754 * gdb.cp/pr17132.cc: New file.
755 * gdb.cp/pr17132.exp: New file.
756
940df408
SC
7572014-08-15 Siva Chandra Reddy <sivachandra@google.com>
758
759 * gdb.python/py-xmethods.py (A_getarrayind)
760 (E_method_char_worker.__call__, E_method_int_worker.__call__):
761 Use 'print' with function call syntax.
762 (E_method_matcher.match): Fix tab vs space indentation mixup.
763
ebcc6c3a
YQ
7642014-08-15 Yao Qi <yao@codesourcery.com>
765
766 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
767 false.
768
775e0f04
YQ
7692014-08-15 Yao Qi <yao@codesourcery.com>
770
771 * gdb.cp/casts.exp: Set print symbol off.
772 * gdb.cp/class2.exp: Likewise.
773 * gdb.cp/overload.exp: Likewise.
774 * gdb.cp/templates.exp: Likewise.
775
d769e349
DE
7762014-08-11 Doug Evans <dje@google.com>
777
778 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
779 (test_load_shlib): Update.
780
20c6f1e1
YQ
7812014-08-09 Yao Qi <yao@codesourcery.com>
782
783 * gdb.base/display.exp: Invoke is_address_zero_readable.
784 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
785 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
786 * gdb.base/hbreak-unmapped.exp: Return if
787 is_address_zero_readable returns true.
788 * gdb.base/signest.exp: Likewise.
789 * gdb.base/signull.exp: Likewise.
790 * gdb.base/sigbpt.exp: Likewise.
791 * gdb.guile/scm-disasm.exp: Do the test if
792 is_address_zero_readable returns false.
793 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
794 * gdb.python/py-arch.exp: Likewise.
795 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
796 * lib/gdb.exp (is_address_zero_readable): New proc.
797
5792e8e3
YQ
7982014-08-09 Yao Qi <yao@codesourcery.com>
799
800 PR testsuite/13443
801 * gdb.mi/mi-var-display.exp: Make test messages unique.
802
3cecbbbe
TT
8032014-08-04 Tom Tromey <tromey@redhat.com>
804
805 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
806 target 0".
807
00b51ff5
TT
8082014-08-04 Tom Tromey <tromey@redhat.com>
809
810 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
811 "target_resume".
812
6908c509
JB
8132014-08-01 Joel Brobecker <brobecker@adacore.com>
814
815 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
816 inner_vla_struct_object_size.
817 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
818 as xfail.
819
cc6563d2
PA
8202014-07-30 Pedro Alves <palves@redhat.com>
821
822 * gdb.threads/signal-command-handle-nopass.exp (test): Add
823 comment.
824
7e09a223
YQ
8252014-07-29 Yao Qi <yao@codesourcery.com>
826
827 PR gdb/17206
828 * gdb.base/until-nodebug.exp: New.
829
7ebdbe92
DE
8302014-07-28 Doug Evans <xdje42@gmail.com>
831
832 PR guile/17203
833 * gdb.guile/scm-parameter.exp: Add tests for trying to create
834 previously existing parameter, and previously ambiguously spelled
835 parameter.
836
fdb1adc6
WN
8372014-07-28 Will Newton <will.newton@linaro.org>
838
839 * gdb.base/varargs.exp: Remove KFAILs for ARM.
840
186fcde0
DE
8412014-07-26 Ludovic Courtès <ludo@gnu.org>
842 Doug Evans <xdje42@gmail.com>
843
844 PR guile/17146
845 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
846
70509625
PA
8472014-07-25 Pedro Alves <palves@redhat.com>
848
849 * gdb.threads/signal-command-handle-nopass.c: New file.
850 * gdb.threads/signal-command-handle-nopass.exp: New file.
851 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
852 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
853 * gdb.threads/signal-delivered-right-thread.c: New file.
854 * gdb.threads/signal-delivered-right-thread.exp: New file.
855
c3f814a1
PA
8562014-07-25 Pedro Alves <palves@redhat.com>
857
858 * gdb.base/double-prompt-target-event-error.exp
859 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
860 match.
861 (cancel_pagination_in_target_event): Rework double prompt
862 detection.
863 * gdb.base/paginate-after-ctrl-c-running.exp
864 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
865 <return>' match.
866 * gdb.base/paginate-bg-execution.exp
867 (test_bg_execution_pagination_return)
868 (test_bg_execution_pagination_cancel): Remove '-notransfer
869 <return>' matches.
870 * gdb.base/paginate-execution-startup.exp
871 (test_fg_execution_pagination_return)
872 (test_fg_execution_pagination_cancel): Remove '-notransfer
873 <return>' matches.
874 * gdb.base/paginate-inferior-exit.exp
875 (test_paginate_inferior_exited): Remove '-notransfer <return>'
876 match.
877 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
878 * lib/gdb.exp (pagination_prompt): Run text through
879 string_to_regexp.
880 (gdb_test_multiple): Match $pagination_prompt instead of
881 "<return>".
882 (string_to_regexp): Move to lib/gdb-utils.exp.
883
e214cf6c
JK
8842014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
885
886 * gdb.arch/amd64-entry-value-paramref.S: New file.
887 * gdb.arch/amd64-entry-value-paramref.cc: New file.
888 * gdb.arch/amd64-entry-value-paramref.exp: New file.
889 * gdb.arch/amd64-optimout-repeat.S: New file.
890 * gdb.arch/amd64-optimout-repeat.c: New file.
891 * gdb.arch/amd64-optimout-repeat.exp: New file.
892
17d0c5c8
JK
8932014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
894
895 PR gdb/17170
896 * gdb.base/statistics.exp: New file.
897
b8b8facf
DE
8982014-07-17 Doug Evans <dje@google.com>
899
74b49205 900 PR gdb/17170
b8b8facf
DE
901 * gdb.base/maint.exp: Update testing of per-command stats.
902
1b5d0ab3
PA
9032014-07-16 Pedro Alves <palves@redhat.com>
904
905 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
906 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
907 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
908 (tfile_write_buf): New functions.
909 (add_memory_block): Rewrite using the above.
910 (adjust_function_address): New function.
911 (FUNCTION_ADDRESS): New macro.
912 (write_basic_trace_file): Remove short_x local, and use
913 tfile_write_16. Change type of func_addr local to unsigned long
914 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
915 here. Cast argument of add_memory_block to char pointer.
916 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
917 (main): Remove parameters.
918 * gdb.trace/tfile.exp: Remove nowarnings.
919
4d974e88
SM
9202014-07-15 Simon Marchi <simon.marchi@ericsson.com>
921
922 * gdb.base/debug-expr.exp: Test string evaluation with
923 "debug expression" on.
924
41e99568
PA
9252014-07-15 Pedro Alves <palves@redhat.com>
926
927 * gdb.base/reread.exp: Use clean_restart.
928
487d9753
PL
9292014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
930
931 * gdb.arch/avr-flash-qualifer.c: New.
932 * gdb.arch/avr-flash-qualifer.exp: New.
933
cc1c52ad
PA
9342014-07-14 Pedro Alves <palves@redhat.com>
935
936 * gdb.base/paginate-after-ctrl-c-running.c: New file.
937 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
938
1e973570
PA
9392014-07-14 Pedro Alves <palves@redhat.com>
940
941 * gdb.base/double-prompt-target-event-error.c: New file.
942 * gdb.base/double-prompt-target-event-error.exp: New file.
943
93d6eb10
PA
9442014-07-14 Pedro Alves <palves@redhat.com>
945
946 PR gdb/17072
947 * gdb.base/paginate-inferior-exit.c: New file.
948 * gdb.base/paginate-inferior-exit.exp: New file.
949
0017922d
PA
9502014-07-14 Pedro Alves <palves@redhat.com>
951
952 PR gdb/17072
953 * gdb.base/paginate-bg-execution.c: New file.
954 * gdb.base/paginate-bg-execution.exp: New file.
955
94696ad3
PA
9562014-07-14 Pedro Alves <palves@redhat.com>
957
958 PR gdb/17072
959 * gdb.base/paginate-execution-startup.c: New file.
960 * gdb.base/paginate-execution-startup.exp: New file.
961 * lib/gdb.exp (pagination_prompt): New global.
962 (default_gdb_spawn): New procedure, factored out from
963 default_gdb_spawn.
964 (default_gdb_start): Adjust to call default_gdb_spawn.
965 (gdb_spawn): New procedure.
966
bd293940
PA
9672014-07-14 Pedro Alves <palves@redhat.com>
968
969 * lib/gdb.exp (gdb_assert): New procedure.
970 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
971
c933f875
PA
9722014-07-14 Pedro Alves <palves@redhat.com>
973
974 * gdb.base/execution-termios.c: New file.
975 * gdb.base/execution-termios.exp: New file.
976
d98b7a16
TT
9772014-07-14 Tom Tromey <tromey@redhat.com>
978
979 * gdb.cp/vla-cxx.cc: New file.
980 * gdb.cp/vla-cxx.exp: New file.
981
548740d6
TT
9822014-07-14 Tom Tromey <tromey@redhat.com>
983
984 * gdb.reverse/rerun-prec.c: New file.
985 * gdb.reverse/rerun-prec.exp: New file.
986
a25eb028
MR
9872014-07-12 Maciej W. Rozycki <macro@mips.com>
988 Maciej W. Rozycki <macro@codesourcery.com>
989
990 * lib/gdb-utils.exp: New file.
991 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
992 inline `gdb_init_command' processing.
993 (gdb_start_cmd): Likewise.
994 * lib/mi-support.exp (mi_run_cmd): Likewise.
995 * README: Document `gdb_init_command' and `gdb_init_commands'.
996
218c2655
JK
9972014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
998
999 Fix false FAIL running under a very long directory name.
1000 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1001 and "set print elements 10000". Twice.
1002
5401fde3
YQ
10032014-07-11 Yao Qi <yao@codesourcery.com>
1004
1005 * gdb.base/exprs.exp: "set print symbol off".
1006
e76126e8
PA
10072014-07-11 Pedro Alves <palves@redhat.com>
1008
1009 * gdb.threads/kill.c: New file.
1010 * gdb.threads/kill.exp: New file.
1011
2d6f0de6
YQ
10122014-07-10 Yao Qi <yao@codesourcery.com>
1013
1014 * gdb.trace/tfile.c (write_basic_trace_file)
1015 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1016 address written to trace file.
1017
7180e04a
PA
10182014-07-09 Pedro Alves <palves@redhat.com>
1019
1020 * gdb.base/attach-wait-input.exp: New file.
1021 * gdb.base/attach-wait-input.c: New file.
1022
9a9a7608
AB
10232014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1024
1025 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1026 setting up test structures.
1027 (main): Call new test function.
1028 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1029 test function, continue into test function and walk test
1030 structures.
1031
161ac41e
YQ
10322014-07-02 Yao Qi <yao@codesourcery.com>
1033
1034 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1035 'bar_start' at the beginning of functions 'foo' and 'bar'
1036 respectively.
1037 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1038 instead of 'foo' and 'bar'.
1039
1f267ae3
MM
10402014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1041
1042 * gdb.btrace/segv.exp: New.
1043 * gdb.btrace/segv.c: New.
1044
2b239efb
LM
10452014-07-02 Luis Machado <lgustavo@codesourcery.com>
1046
1047 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1048 instruction.
1049
cf363f18
MW
10502014-06-30 Mark Wielaard <mjw@redhat.com>
1051
1052 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1053 vulture, vilify, villar): New volatile array constants.
1054 (vindictive, vegetation): New const volatile array constants.
1055 * gdb.base/volatile.exp: Test volatile and const volatile array
1056 types.
1057
aebf9d24
AA
10582014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1059
1060 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1061 target lacks support for awatch, rwatch, or hbreak.
1062
b67a2c6f
YQ
10632014-06-27 Yao Qi <yao@codesourcery.com>
1064
1065 * gdb.multi/dummy-frame-restore.exp: New.
1066 * gdb.multi/dummy-frame-restore.c: New.
1067
aef92902
MM
10682014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1069
1070 * gdb.btrace/gcore.exp: New.
1071
8e9db26e
PA
10722014-06-23 Pedro Alves <palves@redhat.com>
1073
1074 * gdb.base/watchpoint-reuse-slot.c: New file.
1075 * gdb.base/watchpoint-reuse-slot.exp: New file.
1076
70afc5b7
SC
10772014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1078
1079 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1080 progspace's filename in 'info', 'enable' and 'disable' command
1081 tests.
1082
b972bd9c
JK
10832014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1084
1085 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1086 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1087 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1088
125f8a3d
GB
10892014-06-20 Gary Benson <gbenson@redhat.com>
1090
1091 * gdb.arch/i386-avx.exp: Fix include file location.
1092 * gdb.arch/i386-sse.exp: Likewise.
1093
3ed9baed
IB
10942014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1095
1096 * gdb.dlang/expression.exp: New file.
1097
034f788c
PA
10982014-06-19 Pedro Alves <palves@redhat.com>
1099
1100 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1101 out from ...
1102 (top level): ... here. Iterate running tests under different
1103 scheduler-locking settings.
1104
45371d0c
LM
11052014-06-18 Luis Machado <lgustavo@codesourcery.com>
1106
1107 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1108 to DW_FORM_addr and use non-zero addresses.
1109
5d376983
SC
11102014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1111
1112 PR gdb/17017
1113 * gdb.python/py-xmethods.cc: Add global function call counters and
1114 increment them in their respective functions. Remove "cout"
1115 statements.
1116 * gdb.python/py-xmethods.exp: Make tests check the global function
1117 call counters instead of depending on inferior IO.
1118
a1aa2221
LM
11192014-06-18 Don Breazeal <donb@codesourcery.com>
1120
1121 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1122 Deleted procedure.
1123 (explicit_fork_parent_follow): Deleted procedure.
1124 (explicit_fork_child_follow): Deleted procedure.
1125 (test_follow_fork): New procedure.
1126 (do_fork_tests): Replace calls to deleted procedures with
1127 calls to test_follow_fork and reset GDB for subsequent
1128 procedure calls.
1129
0fc05997
YQ
11302014-06-17 Yao Qi <yao@codesourcery.com>
1131
1132 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1133 CP1252.
1134
70795c52
LM
11352014-06-17 Luis Machado <lgustavo@codesourcery.com>
1136
1137 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1138 Initialize ptr and S explicitly.
1139 (skip_type_update_when_not_use_rtti_test): Likewise.
1140
6be47f0c
KS
11412014-06-16 Keith Seitz <keiths@redhat.com>
1142
1143 PR mi/15863
1144 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1145 the inferior is started.
1146
d03de421
PA
11472014-06-16 Pedro Alves <palves@redhat.com>
1148
1149 * gdb.base/break-main-file-remove-fail.c: New file.
1150 * gdb.base/break-main-file-remove-fail.exp: New file.
1151 * gdb.base/break-unload-file.exp: Use build_executable instead of
1152 prepare_for_testing.
1153 (test_break): New parameter "initial_load". Handle it.
1154 (top level): Add initial_load cmdline/file axis.
1155
f9579b99
TT
11562014-06-12 Tom Tromey <tromey@redhat.com>
1157
1158 * gdb.base/completion.exp: Don't use directory name in test.
1159
3657956b
GB
11602014-06-09 Gary Benson <gbenson@redhat.com>
1161
1162 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1163 separate the always-available ANSI-standard signals from the
1164 signals that require checking.
1165 (main): Likewise.
1166 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1167 Likewise.
1168 (main): Likewise.
1169
4186eb54
KS
11702014-06-07 Keith Seitz <keiths@redhat.com>
1171
1172 Revert:
1173 PR c++/16253
1174 * gdb.cp/var-tag.cc: New file.
1175 * gdb.cp/var-tag.exp: New file.
1176 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1177 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1178 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1179 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1180
25326a28 11812014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
1182
1183 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1184
829155c9
PA
11852014-06-06 Pedro Alves <palves@redhat.com>
1186
1187 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1188 in target debug output instead of looking at RSP packets,
1189 disabling the test on any target that uses hardware stepping.
1190 Update comments.
1191
61c8d22e
PA
11922014-06-06 Pedro Alves <palves@redhat.com>
1193
1194 * gdb.base/break-unload-file.exp: Fix typo.
1195
d9a47287
YQ
11962014-06-06 Yao Qi <yao@codesourcery.com>
1197
1198 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1199 from "jit_function" to "^jit_function".
1200
e5e01dbf
YQ
12012014-06-06 Yao Qi <yao@codesourcery.com>
1202
1203 * gdb.base/async.c (foo): Add one statement.
1204 * gdb.base/async.exp: Get the next instruction address and
1205 match the output of "nexti" by instruction address. Match
1206 the hex address in the output of "finish".
1207
73ba372c
GB
12082014-06-06 Gary Benson <gbenson@redhat.com>
1209
1210 * gdb.base/call-signals.c: Remove preprocessor conditionals
1211 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1212 SIGSEGV and SIGTERM.
1213 * gdb.base/sigall.c: Likewise.
1214 * gdb.base/unwindonsignal.c: Likewise.
1215 * gdb.reverse/sigall-reverse.c: Likewise.
1216
831517df
YQ
12172014-06-06 Yao Qi <yao@codesourcery.com>
1218
1219 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1220 readable, skip the test.
1221
b8b91e98
YQ
12222014-06-06 Yao Qi <yao@codesourcery.com>
1223
1224 * gdb.threads/staticthreads.c (thread_function): Move the line
1225 setting breakpoint on forward.
1226 * gdb.threads/staticthreads.exp: Update comments.
1227
fb934770
LC
12282014-06-05 Ludovic Courtès <ludo@gnu.org>
1229
1230 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1231 "history-append! type error".
1232
6ef284bd
SM
12332014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1234
1235 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1236 erroneous dprintf expected input.
1237
a872e241
DE
12382014-06-04 Doug Evans <xdje42@gmail.com>
1239
1240 * gdb.guile/scm-generics.exp: Delete.
1241
16f691fb
DE
12422014-06-04 Doug Evans <xdje42@gmail.com>
1243
1244 * gdb.guile/scm-breakpoint.exp: Update.
1245 Add tests for breakpoint registration.
1246
012370f6
TT
12472014-06-04 Tom Tromey <tromey@redhat.com>
1248
1249 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1250 VLA-in-union.
1251 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1252 inner_vla_struct, vla_union types. Initialize objects of those
1253 types and compute their sizes.
1254
9f5a4cef
HZ
12552014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1256 Hui Zhu <hui@codesourcery.com>
1257
1258 * gdb.base/fileio.exp: Add test for shell not available as well as
1259 available.
1260 * gdb.base/fileio.c (test_system): Check for shell twice.
1261
90a45c4d
YQ
12622014-06-04 Yao Qi <yao@codesourcery.com>
1263
1264 * gdb.base/auto-connect-native-target.exp: Remove redundant
1265 space from the regexp pattern.
1266
70017e41
YQ
12672014-06-04 Yao Qi <yao@codesourcery.com>
1268
1269 * gdb.base/default.exp: Replace "child" with "native" in
1270 regexp pattern.
1271
883964a7
SC
12722014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1273
1274 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1275 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1276 * gdb.python/py-xmethods.py: Python script supporting the
1277 new testcase and tests.
1278
ef370185
JB
12792014-06-03 Joel Brobecker <brobecker@adacore.com>
1280 Pedro Alves <palves@redhat.com>
1281
1282 PR breakpoints/17000
1283 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1284 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1285
1e2ccb61
BM
12862014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1287
1288 * gdb.base/subst.exp: Add tests to verify partial path matching
1289 output.
1290
c6ec5ab2
PA
12912014-06-03 Pedro Alves <palves@redhat.com>
1292
1293 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1294 target that doesn't use software single-stepping.
1295
835c559f
PA
12962014-06-03 Pedro Alves <palves@redhat.com>
1297
1298 PR breakpoints/17000
1299 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1300 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1301
06eb1586
DE
13022014-06-02 Doug Evans <xdje42@gmail.com>
1303
1304 * gdb.guile/scm-parameter.exp: New file.
1305
e698b8c4
DE
13062014-06-02 Doug Evans <xdje42@gmail.com>
1307
1308 * gdb.guile/scm-cmd.c: New file.
1309 * gdb.guile/scm-cmd.exp: New file.
1310
ded03782
DE
13112014-06-02 Doug Evans <xdje42@gmail.com>
1312
1313 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1314 pretty-printer lookup.
1315 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1316 (make-pp_s-printer): Call it.
1317 (make-pretty-printer-from-dict): New function.
1318 (lookup-pretty-printer-maker-from-dict): New function.
1319 (*pretty-printer*): Simplify.
1320 (make-objfile-pp_s-printer): New function.
1321 (install-objfile-pretty-printers!): New function.
1322 (make-progspace-pp_s-printer): New function.
1323 (install-progspace-pretty-printers!): New function.
1324 * gdb.guile/scm-progspace.c: New file.
1325 * gdb.guile/scm-progspace.exp: New file.
1326
41fac0cf
PA
13272014-06-02 Pedro Alves <palves@redhat.com>
1328
1329 * gdb.base/dprintf-bp-same-addr.c: New file.
1330 * gdb.base/dprintf-bp-same-addr.exp: New file.
1331
96ae5695
EBM
13322014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1333
1334 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1335 * gdb.arch/powerpc-power.s: Likewise.
1336
da02b3a8
JB
13372014-06-02 Joel Brobecker <brobecker@adacore.com>
1338
1339 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1340
c72b2e7b
YQ
13412014-06-01 Yao Qi <yao@codesourcery.com>
1342
1343 * gdb.base/watchpoint.exp (test_watch_location): Check null
1344 pointer can be dereferenced. If not, do the test, otherwise
1345 skip it.
1346
53e8a631
AB
13472014-05-30 Andrew Burgess <aburgess@broadcom.com>
1348
1349 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1350 results.
1351 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1352
938f0e2f
AB
13532014-05-30 Andrew Burgess <aburgess@broadcom.com>
1354
1355 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1356 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1357 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1358 * gdb.arch/amd64-invalid-stack-top.c: New file.
1359 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1360
9ba6657a
PA
13612014-05-30 Pedro Alves <palves@redhat.com>
1362
1363 PR breakpoints/17000
1364 * gdb.base/sss-bp-on-user-bp.c: New file.
1365 * gdb.base/sss-bp-on-user-bp.exp: New file.
1366
522c09bf
DB
13672014-05-30 David Blaikie <dblaikie@gmail.com>
1368
1369 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1370 gnu_inline semantics via attribute.
1371 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1372 source explicitly specifies the required semantics.
1373
bf4ef81e
MR
13742014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1375
1376 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1377
329ea579
PA
13782014-05-29 Pedro Alves <palves@redhat.com>
1379 Tom Tromey <tromey@redhat.com>
1380
1381 * gdb.base/async-shell.exp: Don't enable target-async.
1382 * gdb.base/async.exp
1383 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1384 parameter. Adjust.
1385 (top level): Don't test with "target-async".
1386 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1387 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1388 * gdb.base/inferior-died.exp: Don't enable target-async.
1389 * gdb.base/interrupt-noterm.exp: Likewise.
1390 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1391 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1392 * gdb.mi/mi-nonstop.exp: Likewise.
1393 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1394 * gdb.mi/mi-nsintrall.exp: Likewise.
1395 * gdb.mi/mi-nsmoribund.exp: Likewise.
1396 * gdb.mi/mi-nsthrexec.exp: Likewise.
1397 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1398 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1399 * gdb.python/py-evsignal.exp: Don't enable target-async.
1400 * gdb.python/py-evthreads.exp: Likewise.
1401 * gdb.python/py-prompt.exp: Likewise.
1402 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1403 * gdb.server/solib-list.exp: Don't enable target-async.
1404 * gdb.threads/thread-specific-bp.exp: Likewise.
1405 * lib/mi-support.exp: Adjust to use mi-async.
1406
fd664c91
PA
14072014-05-29 Pedro Alves <palves@redhat.com>
1408
1409 PR gdb/13860
1410 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1411 reason, even in sync mode.
1412
251bde03
PA
14132014-05-29 Pedro Alves <palves@redhat.com>
1414 Hui Zhu <hui@codesourcery.com>
1415
1416 PR PR15693
1417 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1418 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1419 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1420 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1421
7f3c0343
JB
14222014-05-28 Joel Brobecker <brobecker@adacore.com>
1423
1424 * config/monitor.exp (gdb_target_monitor): Replace use of
1425 "set remotebaud" by "set serial baud".
1426
b2715b27
AW
14272014-05-26 Andy Wingo <wingo@igalia.com>
1428
1429 * gdb.guile/scm-breakpoint.exp:
1430 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1431 properties instead of gdb-object-properties.
1432
498a4489
YQ
14332014-05-26 Yao Qi <yao@codesourcery.com>
1434
1435 * gdb.server/no-thread-db.exp: Specify source file name
1436 explicitly when setting a breakpoint.
1437
589fdceb
MM
14382014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1439
1440 * gdb.btrace/vdso.c: New.
1441 * gdb.btrace/vdso.exp: New.
1442
e9089e05
MM
14432014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1444
1445 * gdb.base/gcore.exp (capture_command_output): Move ...
1446 * lib/gdb.exp (capture_command_output): ... here.
1447
67b5c0c1
MM
14482014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1449
1450 * gdb.btrace/data.exp: Test memory access during btrace replay.
1451
a2199296
SM
14522014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1453
1454 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1455
17b2616c
PA
14562014-05-21 Pedro Alves <palves@redhat.com>
1457
1458 PR gdb/13860
1459 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1460 (top level): Test that output related to execution commands is
1461 sent to the console with CLI commands, but not with MI commands.
1462 Test that breakpoint events are always mirrored to the console.
1463 Also expect the new source line to be output after a "next" in
1464 async mode too. Make it a pass/fail test.
1465 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1466 output.
1467 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1468
5166082f
PA
14692014-05-21 Pedro Alves <palves@redhat.com>
1470
1471 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1472 Use them to test variations of "list" after reaching a breakpoint.
1473 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1474 Test "list" with listsize 10 after reaching a breakpoint.
1475 * gdb.python/python.exp (decode_line current location line
1476 number): Adjust expected line number.
1477
2f25d70f
SM
14782014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1479
1480 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1481 behavior for $args, pass it directly to "run".
1482
ff604a67
MR
14832014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1484
1485 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1486 30000 to 65536.
1487
6a3cb8e8
PA
14882014-05-21 Pedro Alves <palves@redhat.com>
1489
1490 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1491 auto-connect-native-target off".
1492 * gdb.base/auto-connect-native-target.c: New file.
1493 * gdb.base/auto-connect-native-target.exp: New file.
1494
4ebfc96e
PA
14952014-05-21 Pedro Alves <palves@redhat.com>
1496
1497 * gdb.base/default.exp: Test "target native" instead of "target
1498 child".
1499
36d46afb
MW
15002014-05-21 Mark Wielaard <mjw@redhat.com>
1501
1502 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1503
5876f503
JK
15042014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1505
1506 Fix TLS access for -static -pthread.
1507 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1508 <HAVE_TLS> (thread_function, main): Initialize it.
1509 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1510 Add clean_restart.
1511 <$have_tls != "">: Check TLSVAR.
1512
0256a6ac
PA
15132014-05-21 Pedro Alves <palves@redhat.com>
1514
1515 * gdb.base/dcache-line-read-error.c: New.
1516 * gdb.base/dcache-line-read-error.exp: New.
1517
936d2992
PA
15182014-05-20 Pedro Alves <palves@redhat.com>
1519
1520 * gdb.base/compare-sections.c: New file.
1521 * gdb.base/compare-sections.exp: New file.
1522
802e8e6d
PA
15232014-05-20 Pedro Alves <palves@redhat.com>
1524
1525 * gdb.base/break-idempotent.c: New file.
1526 * gdb.base/break-idempotent.exp: New file.
1527
e59fa00f
MM
15282014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1529
1530 * gdb.btrace/nohist.exp: New.
1531
8b696e31
YQ
15322014-05-20 Yao Qi <yao@codesourcery.com>
1533
1534 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1535 gdb.reverse directory and gdb_reverse_timeout exists in board
1536 setting.
1537 * README: Document gdb_reverse_timeout.
1538
73c9764f
YQ
15392014-05-20 Yao Qi <yao@codesourcery.com>
1540
1541 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1542 'test_file_name'. Treat args as a string instead of a list.
1543 (gdb_init): Rename argument 'args' by 'test_file_name'.
1544
f1f4348a
JK
15452014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1546
1547 * gdb.arch/powerpc-power.exp: New file.
1548 * gdb.arch/powerpc-power.s: New file.
1549
0dbe70ce
DE
15502014-05-16 Doug Evans <dje@google.com>
1551
1552 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
1553 * gdb.base/completion.exp: Check that all expected files exist
1554 before doing file completion.
0dbe70ce 1555
8d551b02
DE
15562014-05-16 Doug Evans <dje@google.com>
1557
1558 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1559 Update.
1560 (do_syscall_tests_without_xml): Update.
1561
73eb7709
PA
15622014-05-16 Pedro Alves <palves@redhat.com>
1563
1564 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1565 instead of "unknown output after running".
1566
3fae92fc
YQ
15672014-05-16 Yao Qi <yao@codesourcery.com>
1568
1569 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1570 file1.txt from host at the end.
1571 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1572
c2b2ccc5
DE
15732014-05-15 Doug Evans <dje@google.com>
1574
1575 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1576 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1577 loading file. Add test for TU lookup.
1578
8c217a4b
SM
15792014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1580
1581 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1582 calling "-exec-arguments" or "set args" before running the
1583 inferior.
1584
3deb39c6
SM
15852014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1586
1587 * lib/mi-support.exp (mi_expect_stop): Expect message for
1588 inferiors that exit with non-zero exit code.
1589
71a79f8c
YQ
15902014-05-14 Yao Qi <yao@codesourcery.com>
1591
1592 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1593 match absolute path on remote host.
1594 (test_file_list_exec_source_files): Remove "/" from the
1595 pattern.
1596
f23fcd46
YQ
15972014-05-14 Yao Qi <yao@codesourcery.com>
1598
1599 * boards/local-remote-host-notty.exp (${board}_file): New
1600 proc.
1601
9404b58f
KM
16022014-05-07 Kyle McMartin <kyle@redhat.com>
1603
1604 Pushed by Joel Brobecker <brobecker@adacore.com>.
1605 * gdb.arch/aarch64-atomic-inst.c: New file.
1606 * gdb.arch/aarch64-atomic-inst.exp: New file.
1607
5e45f04c
YQ
16082014-05-07 Yao Qi <yao@codesourcery.com>
1609
1610 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1611 in current context" too.
1612
c888a17d
KS
16132014-05-05 Keith Seitz <keiths@redhat.com>
1614
1615 * gdb.linespec/ls-dollar.exp: Add test for linespec
1616 file:convenience_variable.
1617
290a839c
YQ
16182014-05-05 Yao Qi <yao@codesourcery.com>
1619
1620 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1621 traceframes into tfile and ctf trace files. Read data from
1622 trace file and test collected data.
1623 (gdb_collect_locals_test): Likewise.
1624 (gdb_unavailable_registers_test): Likewise.
1625 (gdb_unavailable_floats): Likewise.
1626 (gdb_collect_globals_test): Likewise.
1627 (top-level): Append "ctf" to trace_file_targets if GDB
1628 supports.
1629
b5262cd0
YQ
16302014-05-05 Yao Qi <yao@codesourcery.com>
1631
1632 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1633 code to ...
1634 (gdb_collect_args_test_1): ... it. New proc.
1635 (gdb_collect_locals_test): Move some code to ...
1636 (gdb_collect_locals_test_1): ... it. New proc.
1637 (gdb_unavailable_registers_test): Move some code to ...
1638 (gdb_unavailable_registers_test_1): ... it. New proc.
1639 (gdb_unavailable_floats): Move some code to ...
1640 (gdb_unavailable_floats_1): ... it. New proc.
1641
30a1e6cc
SDJ
16422014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1643
1644 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1645 probes to test for bitness recognition.
1646 * gdb.arch/amd64-stap-optional-prefix.exp
1647 (test_probe_value_without_reg): New procedure.
1648 Add code to test for different kinds of bitness.
1649
f33da99a
SDJ
16502014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1651
1652 PR breakpoints/16889
1653 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1654 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1655
5b80f00d
PA
16562014-05-01 Pedro Alves <palves@redhat.com>
1657
1658 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1659 gdb_file_cmd if no file is specified.
1660 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1661 last_loaded_file to set the remote exec-file.
1662
f8c2a73c
PA
16632014-05-01 Pedro Alves <palves@redhat.com>
1664
1665 * boards/local-remote-host.exp: New file.
1666
be6e8ac7
PA
16672014-05-01 Pedro Alves <palves@redhat.com>
1668
1669 * boards/local-remote-host.exp: Rename to ...
1670 * boards/local-remote-host-notty.exp: ... this.
1671
cac0dc8f
JB
16722014-04-28 Joel Brobecker <brobecker@adacore.com>
1673
1674 * gdb.ada/dyn_arrayidx: New testcase.
1675
9730e6cc
YQ
16762014-04-26 Yao Qi <yao@codesourcery.com>
1677
1678 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1679 and compute the length of function main. Save it in
1680 $main_length.
1681 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1682 (top-level): Use gdb_compile to compile objects into
1683 executable and restart GDB. Remove invocation to
1684 prepare_for_testing.
1685
7ae1a6a6
PA
16862014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1687 Pedro Alves <palves@redhat.com>
1688
1689 PR server/16255
1690 * gdb.multi/multi-attach.c: New file.
1691 * gdb.multi/multi-attach.exp: New file.
1692
4082afcc
PA
16932014-04-25 Pedro Alves <palves@redhat.com>
1694
1695 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1696 user.
1697 (top level): Test that "set remote conditional-breakpoints-packet
1698 off" works as intended.
1699 * gdb.base/dprintf.exp: Test that "set remote
1700 breakpoint-commands-packet off" works as intended.
1701 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1702 New function.
1703 (top level): Call it.
1704 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1705 remote fast-tracepoints-packet off" works as intended.
1706 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1707 * lib/gdb.exp (gdb_is_target_remote): ... here.
1708
2abc3f8d
DB
17092014-04-24 David Blaikie <dblaikie@gmail.com>
1710
1711 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1712 ensure clang would not discard them.
1713 * gdb.base/gdbvars.c: Ditto.
1714 * gdb.base/memattr.c: Ditto.
1715 * gdb.base/whatis.c: Ditto.
1716 * gdb.python/py-prettyprint.c: Ditto.
1717 * gdb.trace/actions.c: Ditto.
1718 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1719 ensure clang would not discard it.
1720
bfd39632
DB
17212014-04-24 David Blaikie <dblaikie@gmail.com>
1722
1723 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1724 clang to emit the full definition of type required by the test
1725 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1726
22842ff6
DB
17272014-04-24 David Blaikie <dblaikie@gmail.com>
1728
1729 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1730 coax Clang into emitting the definition of the type.
1731 * gdb.cp/pr10728-x.h (y): Ditto.
1732 * gdb.cp/pr10728-y.cc (y): Ditto.
1733
c2e827ad
DB
17342014-04-24 David Blaikie <dblaikie@gmail.com>
1735
1736 * gdb.base/label.exp: XFAIL label related tests under Clang.
1737 * gdb.cp/cplabel.exp: Ditto.
1738 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1739 under Clang those using labels.
1740
4c2d33e7
YQ
17412014-04-25 Yao Qi <yao@codesourcery.com>
1742
1743 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1744 double_label.
1745 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1746 partial_label and double_label.
1747
56083b99
DB
17482014-04-24 David Blaikie <dblaikie@gmail.com>
1749
1750 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1751
25d4e99d
DB
17522014-04-24 David Blaikie <dblaikie@gmail.com>
1753
1754 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1755 of the function to work across GCC and Clang.
1756 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1757 pointer types (const void ** const V void **).
1758
01f9f808
MS
17592014-04-24 Michael Sturm <michael.sturm@mintel.com>
1760 Walfred Tedeschi <walfred.tedeschi@intel.com>
1761
1762 * Makefile.in (EXECUTABLES): Added i386-avx512.
1763 * gdb.arch/i386-avx512.c: New file.
1764 * gdb.arch/i386-avx512.exp: Likewise.
1765
4b48d439
KS
17662014-04-23 Keith Seitz <keiths@redhat.com>
1767
1768 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1769 (mi_make_breakpoint_table): New procedure.
1770 (mi_create_breakpoint): Use mi_make_breakpoint
1771 and return the result.
1772 (mi_make_breakpoint): New procedure.
1773 (mi_build_kv_pairs): New procedure.
1774
1775 * gdb.mi/mi-break.exp: Remove unused globals,
1776 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1777 All callers updated.
1778 * gdb.mi/mi-dprintf.exp: Use variable to track command
1779 number.
1780 Update all callers of mi_create_breakpoint and use
1781 mi_make_breakpoint_table.
1782 Remove any unused global variables.
1783 * gdb.mi/mi-nonstop.exp: Likewise.
1784 * gdb.mi/mi-nsintrall.exp: Likewise.
1785 * gdb.mi/mi-nsmoribund.exp: Likewise.
1786 * gdb.mi/mi-nsthrexec.exp: Likewise.
1787 * gdb.mi/mi-reverse.exp: Likewise.
1788 * gdb.mi/mi-simplerun.exp: Likewise.
1789 * gdb.mi/mi-stepn.exp: Likewise.
1790 * gdb.mi/mi-syn-frame.exp: Likewise.
1791 * gdb.mi/mi-until.exp: Likewise.
1792 * gdb.mi/mi-var-cp.exp: Likewise.
1793 * gdb.mi/mi-var-display.exp: Likewise.
1794 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1795 * gdb.mi/mi2-var-child.exp: Likewise.
1796 * gdb.mi/mi-vla-c99.exp: Likewise.
1797 * lib/mi-support.exp: Likewise.
1798
1799 From Ian Lance Taylor <iant@cygnus.com>:
1800 * lib/gdb.exp (parse_args): New procedure.
1801
08351840
PA
18022014-04-23 Pedro Alves <palves@redhat.com>
1803
1804 * gdb.base/break-unload-file.c: New file.
1805 * gdb.base/break-unload-file.exp: New file.
1806 * gdb.base/sym-file-lib.c (baz): New function.
1807 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1808 field.
1809 (load): Store the segment's mapped size.
1810 (unload): New function.
1811 (unload_shlib): New function.
1812 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1813 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1814 set a breakpoint at baz, and call it.
1815 * gdb.base/sym-file.exp: New tests for stale breakpoint
1816 instructions.
1817
076855f9
PA
18182014-04-23 Pedro Alves <palves@redhat.com>
1819
1820 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1821 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1822 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1823 * gdb.base/hbreak-unmapped.c: New file.
1824 * gdb.base/hbreak-unmapped.exp: New file.
1825 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1826 * lib/gdb.exp (gdb_is_target_remote): ... here.
1827
483805cf
PA
18282014-04-22 Pedro Alves <palves@redhat.com>
1829
1830 * gdb.base/consecutive-step-over.c: New file.
1831 * gdb.base/consecutive-step-over.exp: New file.
1832
06d97543
PA
18332014-04-22 Pedro Alves <palves@redhat.com>
1834
1835 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1836 instead of send_gdb/gdb_expect.
1837
b4429ea2
YQ
18382014-04-22 Yao Qi <yao@codesourcery.com>
1839
1840 * lib/trace-support.exp (generate_tracefile): New procedure.
1841 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1842 return 0.
1843 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1844 if generate_tracefile returns 1.
1845
51d48146
PA
18462014-04-18 Tom Tromey <palves@redhat.com>
1847 Pedro alves <tromey@redhat.com>
1848
1849 PR backtrace/15558
1850 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1851 with a backtrace limit.
1852 * gdb.python/py-frame-inline.exp: Test running to an inline
1853 function with a backtrace limit, and printing the newest frame.
1854 * gdb.python/py-frame-inline.c (main): Call f.
1855
bd1dce5f
MS
18562014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1857
1858 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1859
40d1a503
MS
18602014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1861
1862 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1863 Drop prefix from unsupported source file path.
1864
389b98f7
YQ
18652014-04-17 Yao Qi <yao@codesourcery.com>
1866
1867 * lib/gdb.exp (with_target_charset): New proc.
1868 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1869 with_target_charset.
1870 (test_print_strings): Likewise.
1871 (test_repeat_bytes): Likewise.
1872 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1873 for some tests.
1874
22869d73
KS
18752014-04-16 Keith Seitz <keiths@redhat.com>
1876
1877 PR gdb/15827
1878 * gdb.dwarf2/corrupt.c: New file.
1879 * gdb.dwarf2/corrupt.exp: New file.
1880
c4f87ca6
KS
18812014-04-16 Keith Seitz <keiths@redhat.com>
1882
1883 PR c++/16597
1884 * gdb.cp/namelessclass.cc: New file.
1885 * gdb.cp/namelessclass.exp: New file.
1886 * gdb.cp/namelessclass.S: New file.
1887
ab19de87
DE
18882014-04-16 Doug Evans <dje@google.com>
1889
1890 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1891 Add comment.
1892 (gdbserver_default_get_comm_port): New function.
1893 (gdbserver_start): Check if board file provided
1894 "gdbserver,get_comm_port" and use it if so.
1895 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1896 (gdb,socketport): Set to "stdio".
1897 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1898 (stdio_gdbserver_template): Delete.
1899 (${board}_get_remote_address): Update.
1900 (${board}_build_remote_cmd): Delete.
1901 (${board}_get_comm_port): New function.
1902 (${board}_spawn): Update.
1903 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1904 Delete.
1905 (${board}_get_remote_address): Update.
1906 (${board}_get_comm_port): New function.
1907
fc98a809
AB
19082014-04-16 Andrew Burgess <aburgess@broadcom.com>
1909
1910 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1911 appearing in any order.
1912
87fd9e6e
DE
19132014-04-15 Doug Evans <dje@google.com>
1914
1915 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1916 uninitialized value of "description".
1917
099fc3ea
KS
19182014-04-15 Keith Seitz <keiths@redhat.com>
1919
1920 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1921 Remove unused globals.
1922 (test_running_the_program): Likewise.
1923 (test_controlled_execution): Likewise.
1924 (test_controlling_breakpoints): Likewise.
1925 (test_program_termination): Likewise.
1926
5da151d4
KS
19272014-04-15 Keith Seitz <keiths@redhat.com>
1928
1929 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1930 unused globals.
1931 (test_rbreak_creation_and_listing): Likewise.
1932 (test_ignore_count): Likewise.
1933 (test_error): Likewise.
1934
35e5d2f0
PA
19352014-04-15 Pedro Alves <palves@redhat.com>
1936
1937 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1938 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1939 sym-file-loader.c.
1940 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1941 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1942 to sym-file-loader.c.
1943 (struct library): Forward declare.
1944 (load_shlib, lookup_function): Change prototypes.
1945 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1946 (translate_offset): Remove declarations.
1947 (get_text_addr): New declaration.
1948 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1949 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1950 sym-file-loader.h.
1951 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1952 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1953 here from sym-file-loader.h.
1954 (struct library): New structure.
1955 (load_shlib, lookup_function): Change prototypes and adjust to
1956 work with a struct library.
1957 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1958 (translate_offset): Make static.
1959 (get_text_addr): New function.
1960 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1961
eb4c1710
PA
19622014-04-15 Pedro Alves <palves@redhat.com>
1963
1964 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1965
2d1baf52
PA
19662014-04-15 Pedro Alves <palves@redhat.com>
1967
1968 * gdb.base/sym-file-loader.c: Include <limits.h>.
1969 (SELF_LINK): New define.
1970 (get_origin): New function.
1971 (load_shlib): Use it.
1972 * gdb.base/sym-file.exp: Don't early return if the target is
1973 remote. Use runto_main, and issue fail is that fails. Use
1974 gdb_load_shlibs.
1975 (shlib_name): Delete.
1976 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1977
7dd6df01
PA
19782014-04-15 Pedro Alves <palves@redhat.com>
1979
1980 * gdb.base/sym-file.exp: Remove regex characters from test
1981 message. Don't refer to breakpoint numbers in test messages.
1982
b50c8614
KS
19832014-04-14 Keith Seitz <keiths@redhat.com>
1984
1985 PR c++/16253
1986 * gdb.cp/var-tag.cc: New file.
1987 * gdb.cp/var-tag.exp: New file.
1988 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1989 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1990 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1991 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1992
3d567982
TT
19932014-04-14 Tom Tromey <tromey@redhat.com>
1994
1995 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1996 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1997 type.
1998 * gdb.cp/enum-class.exp: New file.
1999 * gdb.cp/enum-class.cc: New file.
2000
0626fc76
TT
20012014-04-14 Tom Tromey <tromey@redhat.com>
2002
2003 * gdb.dwarf2/enum-type.exp: New file.
2004
dca325b3
SA
20052014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2006
2007 * gdb.mi/mi-vla-c99.exp: New file.
2008 * gdb.mi/vla.c: New file.
2009
5854b38a
SA
20102014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2011
2012 * gdb.base/vla-datatypes.c: New file.
2013 * gdb.base/vla-datatypes.exp: New file.
2014
463bb957
SA
20152014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2016
2017 * gdb.base/vla-ptr.c: New file.
2018 * gdb.base/vla-ptr.exp: New file.
2019
3dd170be
SA
20202014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2021
2022 * gdb.dwarf2/count.exp: New file.
2023
5ecaaa66
SA
20242014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2025
2026 * gdb.base/vla-sideeffect.c: New file.
2027 * gdb.base/vla-sideeffect.exp: New file.
2028
41f1ada5
DB
20292014-04-14 David Blaikie <dblaikie@gmail.com>
2030
2031 * gdb.mi/non-stop.c: Add return value for non-void function return
2032 statement.
2033 * gdb.threads/staticthreads.c: Ditto.
2034
0be03e84
DE
20352014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2036 Doug Evans <xdje42@gmail.com>
2037
2038 * gdb.guile/scm-value.c: Improve test case.
2039 * gdb.guile/scm-value.exp: Add new test.
2040
f180a1fb
DB
20412014-04-11 David Blaikie <dblaikie@gmail.com>
2042
2043 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2044 override Clang's default.
2045
6b662e19
JB
20462014-04-11 Joel Brobecker <brobecker@adacore.com>
2047
2048 Revert the following changes (regressions):
2049
2050 * gdb.base/vla-sideeffect.c: New file.
2051 * gdb.base/vla-sideeffect.exp: New file.
2052
2053 * gdb.dwarf2/count.exp: New file.
2054
2055 * gdb.base/vla-multi.c: New file.
2056 * gdb.base/vla-multi.exp: New file.
2057
2058 * gdb.base/vla-ptr.c: New file.
2059 * gdb.base/vla-ptr.exp: New file.
2060
2061 * gdb.base/vla-datatypes.c: New file.
2062 * gdb.base/vla-datatypes.exp: New file.
2063
2064 * gdb.mi/mi-vla-c99.exp: New file.
2065 * gdb.mi/vla.c: New file.
2066
245a5f0b
KS
20672014-04-11 Keith Seitz <keiths@redhat.com>
2068
2069 PR c++/16675
2070 * gdb.cp/cpsizeof.exp: New file.
2071 * gdb.cp/cpsizeof.cc: New file.
2072
58a84dcf
SA
20732014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2074
191a8a90
JB
2075 * gdb.mi/mi-vla-c99.exp: New file.
2076 * gdb.mi/vla.c: New file.
58a84dcf 2077
c8655f75
SA
20782014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2079
2080 * gdb.base/vla-datatypes.c: New file.
2081 * gdb.base/vla-datatypes.exp: New file.
2082
024e13b4
SA
20832014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2084
2085 * gdb.base/vla-ptr.c: New file.
2086 * gdb.base/vla-ptr.exp: New file.
2087
1a237e0e
SA
20882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2089
2090 * gdb.base/vla-multi.c: New file.
2091 * gdb.base/vla-multi.exp: New file.
2092
504f3432
SA
20932014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2094
2095 * gdb.dwarf2/count.exp: New file.
2096
3bce8237
SA
20972014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2098
191a8a90
JB
2099 * gdb.base/vla-sideeffect.c: New file.
2100 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 2101
322f9c21
YQ
21022014-04-11 Yao Qi <yao@codesourcery.com>
2103
2104 * gdb.base/completion.exp: Check file exists before running tests
2105 on file completion.
2106
d708bcd1
PA
21072014-04-10 Pedro Alves <palves@redhat.com>
2108
2109 * gdb.base/cond-eval-mode.c: New file.
2110 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2111 prepare_for_testing to build the new file. Check result of
2112 runto_main.
2113 (test_break, test_watch): New procedures.
2114 (top level): Use them.
2115
ae1d2761
PM
21162014-04-08 Pierre Muller <muller@sourceware.org>
2117
2118 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2119 Ctrl-V use for mingw hosts.
2120
7af389b8
SC
21212014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2122
2123 * gdb.python/py-value.c: Improve test case.
2124 * gdb.python/py-value.exp: Add new test.
2125
5e703181
DE
21262014-04-07 David Blaikie <dblaikie@gmail.com>
2127
2128 * lib/compiler.c: Identify the clang compiler.
2129 * lib/compiler.cc: Ditto.
2130
9810b410
YQ
21312014-04-03 Yao Qi <yao@codesourcery.com>
2132
2133 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2134
98d1b8dc
AB
21352014-04-01 Anton Blanchard <anton@samba.org>
2136
2137 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2138 messages unique.
2139
3114cea1
AB
21402014-04-01 Anton Blanchard <anton@samba.org>
2141
2142 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2143 prepare_for_testing.
2144
62f7182c
AB
21452014-04-01 Anton Blanchard <anton@samba.org>
2146
2147 * gdb.arch/ppc64-atomic-inst.c: Remove.
2148 * gdb.arch/ppc64-atomic-inst.S: New file.
2149 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2150
770e7fc7
DE
21512014-03-31 Doug Evans <dje@google.com>
2152
2153 * gdb.base/print-symbol-loading-lib.c: New file.
2154 * gdb.base/print-symbol-loading-main.c: New file.
2155 * gdb.base/print-symbol-loading.exp: New file.
2156
46e2bafa
YQ
21572014-03-31 Yao Qi <yao@codesourcery.com>
2158
2159 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2160
8776cfe9
JB
21612014-03-28 Joel Brobecker <brobecker@adacore.com>
2162
2163 * gdb.ada/mi_dyn_arr: New testcase.
2164
5d1ef361
DE
21652014-03-27 Doug Evans <dje@google.com>
2166
2167 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2168
b5bee914
YQ
21692014-03-27 Yao Qi <yao@codesourcery.com>
2170
2171 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2172 if target is nios2-*-*.
2173
0d4d0e77
YQ
21742014-03-26 Yao Qi <yao@codesourcery.com>
2175
2176 * lib/gdb.exp (readline_is_used): New proc.
2177 * gdb.base/completion.exp: Move tests on command complete up.
2178 Skip the rest of tests if readline is not used.
2179 * gdb.ada/complete.exp: Skp the test if readline is not
2180 used.
2181 * gdb.base/filesym.exp: Likewise.
2182 * gdb.base/macscp.exp: Likewise.
2183 * gdb.base/readline-ask.exp: Likewise.
2184 * gdb.base/readline.exp: Likewise.
2185 * gdb.python/py-cmd.exp: Likewise.
2186 * gdb.trace/tfile.exp: Likewise.
2187
29361eee
YQ
21882014-03-26 Yao Qi <yao@codesourcery.com>
2189
2190 * gdb.base/macscp.exp: Fix code format issues.
2191
bc9a5525
UW
21922014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2193
2194 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2195 * gdb.asm/powerpc64le.inc: New file.
2196
d3839ede
PA
21972014-03-25 Pedro Alves <palves@redhat.com>
2198 Doug Evans <dje@google.com>
2199
2200 * gdb.base/source-execution.c: New file.
2201 * gdb.base/source-execution.exp: New file.
2202 * gdb.base/source-execution.gdb: New file.
2203
01672a57
DE
22042014-03-24 Doug Evans <dje@google.com>
2205
2206 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2207 using fission.
2208
88bbeca9
HZ
22092014-03-24 Hui Zhu <hui@codesourcery.com>
2210 Pedro Alves <palves@redhat.com>
2211
2212 PR breakpoints/16101
2213 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2214 test pass/fail messages. Detect missing support for dprintf when
2215 breakpoints are actually inserted.
2216 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2217 breakpoints are actually inserted.
2218 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2219 fails.
2220
d2348791
JK
22212014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2222
2223 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2224
feef67ab
DE
22252014-03-22 Doug Evans <xdje42@gmail.com>
2226
2227 * gdb.python/python.exp (python not supported): Verify multi-line
2228 python command issues an error.
25d743f9 2229 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 2230 guile command issues an error.
feef67ab 2231
ecebef6a
MR
22322014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2233
2234 * gdb.threads/thread-specific.exp: Handle the lack of usable
2235 $this_breakpoint and $this_thread.
2236
ccdd1909
HZ
22372014-03-21 Hui Zhu <hui@codesourcery.com>
2238
2239 * gdb.base/attach.exp (do_command_attach_tests): New.
2240
beb460e8
PA
22412014-03-20 Tom Tromey <tromey@redhat.com>
2242 Pedro Alves <palves@redhat.com>
2243
2244 PR cli/15718
2245 * gdb.base/condbreak-call-false.c: New file.
2246 * gdb.base/condbreak-call-false.exp: New file.
2247
40acf43a
PA
22482014-03-20 Pedro Alves <palves@redhat.com>
2249
2250 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2251 Delete.
2252 (block_signals, unblock_signals): Delete.
2253 (child_function_2, main): Remove references to deleted variable
2254 and functions.
2255
9f5e1e02
PA
22562014-03-20 Pedro Alves <palves@redhat.com>
2257
2258 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2259 Use pthread_kill to signal thread 2.
2260 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2261 Adjust to make the test send itself a signal rather than using the
2262 host's "kill" command.
2263
99619bea
PA
22642014-03-20 Pedro Alves <palves@redhat.com>
2265
2266 * gdb.threads/multiple-step-overs.c: New file.
2267 * gdb.threads/multiple-step-overs.exp: New file.
2268 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2269 Adjust expected infrun debug output.
2270
2adfaa28
PA
22712014-03-20 Pedro Alves <palves@redhat.com>
2272
2273 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2274 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2275
31e77af2
PA
22762014-03-20 Pedro Alves <palves@redhat.com>
2277
2278 PR breakpoints/7143
2279 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2280 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2281 of gdb_test_multiple.
2282 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2283 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2284
b9f437de
PA
22852014-03-20 Pedro Alves <palves@redhat.com>
2286
2287 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2288 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2289
05adc73e
PA
22902014-03-19 Pedro Alves <palves@redhat.com>
2291
2292 * gdb.base/async.exp: Remove early return.
2293
6048b950
PA
22942014-03-19 Pedro Alves <palves@redhat.com>
2295
2296 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2297
8bcfb00a
PA
22982014-03-19 Pedro Alves <palves@redhat.com>
2299
2300 * gdb.base/async.exp (test_background): Expect \r\n after
2301 "completed." in the fail pattern.
2302
884e37dc
PA
23032014-03-19 Pedro Alves <palves@redhat.com>
2304
2305 * gdb.base/async.exp (test_background): New procedure.
2306 Use it for all background execution command tests.
2307
148e57e2
PA
23082014-03-19 Pedro Alves <palves@redhat.com>
2309
2310 * gdb.base/async.exp: Use prepare_for_testing.
2311
f48088c7
PA
23122014-03-19 Pedro Alves <palves@redhat.com>
2313
2314 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2315 the same line.
2316
e2f6c966
PA
23172014-03-19 Pedro Alves <palves@redhat.com>
2318
2319 * gdb.base/async.c (main): Add "jump here" and "until here" line
2320 marker comments.
2321 * gdb.base/async.exp (jump_here): New global.
2322 (jump& test): Use it.
2323 (until_here): New global.
2324 (until& test): Use it.
2325
c30568d4
PA
23262014-03-19 Pedro Alves <palves@redhat.com>
2327
2328 * gdb.base/async.exp: Don't frob gdb_protocol.
2329
0172b6a7
DE
23302014-03-18 Doug Evans <xdje42@gmail.com>
2331
2332 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2333 Fix spelling of exec-done-display.
2334
06c868a8
JK
23352014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2336
2337 PR gdb/15358
2338 * gdb.base/gdb-sigterm.c: New file.
2339 * gdb.base/gdb-sigterm.exp: New file.
2340
0c7e1a46
PA
23412014-03-18 Pedro Alves <palves@redhat.com>
2342
2343 PR gdb/13860
2344 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2345 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2346 solib-event.
2347
f7c77d93
JB
23482014-03-17 Joel Brobecker <brobecker@adacore.com>
2349
2350 * gdb.ada/pckd_arr_ren: New testcase.
2351
5a1e8c7a
DE
23522014-03-13 Doug Evans <xdje42@gmail.com>
2353
2354 PR guile/16612
2355 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2356 collect after discarding symbols.
2357
350e1a76
DE
23582014-03-13 Ludovic Courtès <ludo@gnu.org>
2359 Doug Evans <xdje42@gmail.com>
2360
2361 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2362 to history survives a gc.
2363
a69900ae
PA
23642014-03-13 Pedro Alves <palves@redhat.com>
2365
2366 * gdb.base/default.exp: Don't test "target procfs".
2367
5db9f0bd
PA
23682014-03-13 Pedro Alves <palves@redhat.com>
2369
2370 * gdb.base/default.exp: Update "target child" and "target procfs"
2371 tests to not expect "Unix".
2372
b3ccfe11
TT
23732014-03-12 Tom Tromey <tromey@redhat.com>
2374
2375 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2376 New procs. Add target-async tests.
2377 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2378 Add target-async tests.
2379
646f4417
AA
23802014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2381
2382 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2383 'func_start' and 'func_end' for the beginning and end of the
2384 function code, respectively.
2385 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2386 'func_end' instead of 'func' and 'main'.
2387
288c211f
AA
23882014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2389
2390 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2391 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2392 generate the debug info assembler source.
2393
e0c0f156
AA
23942014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2395
2396 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2397 * gdb.dwarf2/arr-subrange.exp: Likewise.
2398 * gdb.dwarf2/dwz.exp: Likewise.
2399 * gdb.dwarf2/method-ptr.exp: Likewise.
2400 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2401 * gdb.dwarf2/subrange.exp: Likewise.
2402 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2403 * gdb.dwarf2/implptrpiece.exp: Likewise.
2404 * gdb.dwarf2/nostaticblock.exp: Likewise.
2405
0e5c4555
AA
24062014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2407
2408 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2409 directory to absolute path name arguments.
2410
5ec18f2b
JG
24112014-03-10 Joel Brobecker <brobecker@adacore.com>
2412
2413 * gdb.ada/tagged_access: New testcase.
2414
847fc4f2
MM
24152014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2416
2417 * gdb.btrace/data.exp: Update expected output.
2418
cc3da688
YQ
24192014-03-06 Yao Qi <yao@codesourcery.com>
2420
2421 * gdb.trace/pr16508.exp: New file.
2422
0f26cec1
PA
24232014-03-05 Pedro Alves <palves@redhat.com>
2424
2425 PR gdb/16575
2426 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2427 procedure.
2428 (top level): Adjust to use it. Add tests that exercise breakpoint
2429 interaction with the code-cache.
2430
7a5a839f
LC
24312014-02-26 Ludovic Courtès <ludo@gnu.org>
2432
2433 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2434 test for 'history-append!'.
2435
31aa7e4e
JB
24362014-02-26 Joel Brobecker <brobecker@adacore.com>
2437
2438 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2439 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2440 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2441 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2442 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2443 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2444
1b588015
JB
24452014-02-26 Joel Brobecker <brobecker@adacore.com>
2446
2447 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2448 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2449 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2450
55426c9d
JB
24512014-02-26 Joel Brobecker <brobecker@adacore.com>
2452
2453 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2454
dc53a7ad
JB
24552014-02-26 Joel Brobecker <brobecker@adacore.com>
2456
2457 * gdb.dwarf2/arr-stride.c: New file.
2458 * gdb.dwarf2/arr-stride.exp: New file.
2459
12ab52e9
PA
24602014-02-26 Pedro Alves <palves@redhat.com>
2461
2462 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2463 that won't ever trigger. Make sure that GDB reports the correct
2464 breakpoint that caused the stop.
2465
849c862e
JK
24662014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2467
2468 PR gdb/16626
2469 * gdb.base/auto-load-script: New file.
2470 * gdb.base/auto-load.c: New file.
2471 * gdb.base/auto-load.exp: New file.
2472
71b7d793
JK
2473 PR gdb/16626
2474 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2475
e2f0d509
JK
24762014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2477
2478 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2479 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2480
50cc37c8
DE
24812014-02-24 Doug Evans <dje@google.com>
2482
2483 * lib/gdb.exp (run_on_host): Log error output if program fails.
2484
ea4758f2
PA
24852014-02-21 Pedro Alves <palves@redhat.com>
2486
2487 * gdb.threads/step-after-sr-lock.c: Rename to ...
2488 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2489 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2490 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2491 ... this.
2492
d7b30f67
SDJ
24932014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2494
2495 PR tdep/16397
2496 * gdb.arch/amd64-stap-special-operands.exp: New file.
2497 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2498 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2499 * gdb.arch/amd64-stap-triplet.S: Likewise.
2500 * gdb.arch/amd64-stap-triplet.c: Likewise.
2501
83deb43f
JB
25022014-02-20 Joel Brobecker <brobecker@adacore.com>
2503
2504 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2505 in .section pseudo-op.
2506
adde2bff
DE
25072014-02-20 lin zuojian <manjian2006@gmail.com>
2508 Joel Brobecker <brobecker@adacore.com>
2509 Doug Evans <xdje42@gmail.com>
2510
2511 PR symtab/16581
2512 * gdb.dwarf2/dw2-icycle.S: New file.
2513 * gdb.dwarf2/dw2-icycle.c: New file.
2514 * gdb.dwarf2/dw2-icycle.exp: New file.
2515
f7bd0f78
SC
25162014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2517
2518 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2519 operations on gdb.Value objects.
2520 * gdb.python/py-value-cc.exp: Add new test to test operations on
2521 gdb.Value objects.
2522
c17ef0d5
DE
25232014-02-18 Doug Evans <dje@google.com>
2524
2525 * Makefile.in (TESTS): New variable.
2526 (expanded_tests, expanded_tests_or_none): New variables
2527 (check-single): Pass $(expanded_tests_or_none) to runtest.
2528 (check-parallel): Only run tests in $(TESTS) if non-empty.
2529 (check/no-matching-tests-found): New rule.
2530 * README: Document TESTS makefile variable.
2531
5dd3176f
DE
25322014-02-18 Doug Evans <dje@google.com>
2533
2534 * Makefile.in (check-parallel): rm -rf outputs temp.
2535
0b10be4f
JK
25362014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2537
2538 Fix "ERROR: no fileid for" in the testsuite.
2539 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2540
85f224e7
DE
25412014-02-12 Doug Evans <dje@google.com>
2542
2543 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2544 (MISCELLANEOUS): New variable.
2545 (clean): rm -rf $(MISCELLANEOUS).
2546 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2547 dwp live in the same directory as symlinks, with each symlink pointed
2548 to a differently named file in a different directory.
2549
149b30ff
DE
25502014-02-11 Doug Evans <dje@google.com>
2551
2552 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2553 of Tcl file commands.
2554
1dfdac32
MK
25552014-02-10 Mark Kettenis <kettenis@gnu.org>
2556
2557 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2558 "kill -SIGUSR1 -1".
2559
aa4fb036
JB
25602014-02-10 Joel Brobecker <brobecker@adacore.com>
2561
2562 * gdb.ada/tick_length_array_enum_idx: New testcase.
2563
ed3ef339
DE
25642014-02-10 Doug Evans <xdje42@gmail.com>
2565
2566 * configure.ac (AC_OUTPUT): Add gdb.guile.
2567 * configure: Regenerate.
2568 * lib/gdb-guile.exp: New file.
2569 * lib/gdb.exp (get_target_charset): New function.
2570 * gdb.base/help.exp: Update expected output from "apropos apropos".
2571 * gdb.guile/Makefile.in: New file.
2572 * gdb.guile/guile.exp: New file.
2573 * gdb.guile/scm-arch.c: New file.
2574 * gdb.guile/scm-arch.exp: New file.
2575 * gdb.guile/scm-block.c: New file.
2576 * gdb.guile/scm-block.exp: New file.
2577 * gdb.guile/scm-breakpoint.c: New file.
2578 * gdb.guile/scm-breakpoint.exp: New file.
2579 * gdb.guile/scm-disasm.c: New file.
2580 * gdb.guile/scm-disasm.exp: New file.
2581 * gdb.guile/scm-equal.c: New file.
2582 * gdb.guile/scm-equal.exp: New file.
2583 * gdb.guile/scm-error.exp: New file.
2584 * gdb.guile/scm-error.scm: New file.
2585 * gdb.guile/scm-frame-args.c: New file.
2586 * gdb.guile/scm-frame-args.exp: New file.
2587 * gdb.guile/scm-frame-args.scm: New file.
2588 * gdb.guile/scm-frame-inline.c: New file.
2589 * gdb.guile/scm-frame-inline.exp: New file.
2590 * gdb.guile/scm-frame.c: New file.
2591 * gdb.guile/scm-frame.exp: New file.
2592 * gdb.guile/scm-generics.exp: New file.
2593 * gdb.guile/scm-gsmob.exp: New file.
2594 * gdb.guile/scm-iterator.c: New file.
2595 * gdb.guile/scm-iterator.exp: New file.
2596 * gdb.guile/scm-math.c: New file.
2597 * gdb.guile/scm-math.exp: New file.
2598 * gdb.guile/scm-objfile-script-gdb.in: New file.
2599 * gdb.guile/scm-objfile-script.c: New file.
2600 * gdb.guile/scm-objfile-script.exp: New file.
2601 * gdb.guile/scm-objfile.c: New file.
2602 * gdb.guile/scm-objfile.exp: New file.
2603 * gdb.guile/scm-ports.exp: New file.
2604 * gdb.guile/scm-pretty-print.c: New file.
2605 * gdb.guile/scm-pretty-print.exp: New file.
2606 * gdb.guile/scm-pretty-print.scm: New file.
2607 * gdb.guile/scm-section-script.c: New file.
2608 * gdb.guile/scm-section-script.exp: New file.
2609 * gdb.guile/scm-section-script.scm: New file.
2610 * gdb.guile/scm-symbol.c: New file.
2611 * gdb.guile/scm-symbol.exp: New file.
2612 * gdb.guile/scm-symtab-2.c: New file.
2613 * gdb.guile/scm-symtab.c: New file.
2614 * gdb.guile/scm-symtab.exp: New file.
2615 * gdb.guile/scm-type.c: New file.
2616 * gdb.guile/scm-type.exp: New file.
2617 * gdb.guile/scm-value-cc.cc: New file.
2618 * gdb.guile/scm-value-cc.exp: New file.
2619 * gdb.guile/scm-value.c: New file.
2620 * gdb.guile/scm-value.exp: New file.
2621 * gdb.guile/source2.scm: New file.
2622 * gdb.guile/types-module.cc: New file.
2623 * gdb.guile/types-module.exp: New file.
2624
7026a7c1
YQ
26252014-02-10 Yao Qi <yao@codesourcery.com>
2626
2627 PR testsuite/16543
2628 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2629 * configure: Regenerated.
2630 * Makefile.in: New file.
2631
6c466447
AS
26322014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2633
2634 * gdb.python/py-framefilter.exp: Fix typo.
2635
6e854735
YQ
26362014-02-08 Yao Qi <yao@codesourcery.com>
2637
2638 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2639 that no =breakpoint-modified is emitted when breakpoints are
2640 modified through MI commands.
2641
d137e6dc
PA
26422014-02-07 Pedro Alves <pedro@codesourcery.com>
2643 Pedro Alves <palves@redhat.com>
2644
2645 * gdb.threads/step-after-sr-lock.c: New file.
2646 * gdb.threads/step-after-sr-lock.exp: New file.
2647
b5ee5a50
PA
26482014-02-07 Pedro Alves <palves@redhat.com>
2649
2650 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2651
3c77faf3
JK
26522014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2653
2654 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2655 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2656
6dddc817
DE
26572014-02-06 Doug Evans <xdje42@gmail.com>
2658
2659 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2660 output.
2661
2662 * gdb.gdb/python-interrupts.exp: New file.
2663
de7b2893
YQ
26642014-02-05 Yao Qi <yao@codesourcery.com>
2665
2666 * gdb.trace/report.exp (use_collected_data): Test the output
2667 of "info threads" and "info inferiors".
2668
66d032ac
YQ
26692014-02-05 Yao Qi <yao@codesourcery.com>
2670
2671 Revert this patch:
2672
2673 2013-05-24 Yao Qi <yao@codesourcery.com>
2674
2675 * gdb.trace/tfile.exp: Test inferior and thread.
2676
591a12a1
UW
26772014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2678
2679 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2680 on a function.
2681 * gdb.base/step-bt.c: Call hello via function pointer to make
2682 sure its first instruction is executed on powerpc64le-linux.
2683
0ff3e01f
UW
26842014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2685
2686 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2687
084ee545
UW
26882014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2689
2690 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2691 of the test patterns for use on little-endian systems.
2692
6ed14ff3
UW
26932014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2694
2695 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2696 (decimal_vector): Fix for little-endian.
2697
401e27fd
JM
26982014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2699
2700 * gdb.arch/sparc-sysstep.exp: New file.
2701 * gdb.arch/sparc-sysstep.c: Likewise.
2702
2703 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2704
8b924729
EBM
27052014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2706
2707 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2708
fb151210
JB
27092014-01-23 Tom Tromey <tromey@redhat.com>
2710
2711 * gdb.ada/array_char_idx: New testcase.
2712
0740f8d8
TT
27132014-01-23 Tom Tromey <tromey@redhat.com>
2714
2715 PR python/16487:
2716 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2717 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2718 classes.
2719
21909fa1
TT
27202014-01-23 Tom Tromey <tromey@redhat.com>
2721
2722 PR python/16491:
2723 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2724 string from an inferior frame.
2725 * gdb.python/py-framefilter-mi.exp: Update.
2726
87ce2a04
DE
27272014-01-22 Doug Evans <dje@google.com>
2728
2729 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2730
237b092b
AA
27312014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2732
2733 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2734
d674a709
AA
27352014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2736
2737 * gdb.trace/entry-values.exp: Remove excess space character from
2738 regex patterns. Handle s390 call instruction.
2739
20fa3390
AA
27402014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2741
2742 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2743 define "*_start" label. Make "name" static.
2744 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2745 ${name} by references to ${name}_start.
2746
78466714
AA
27472014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2748
2749 * gdb.base/info-macros.exp: Remove "debug" from the compile
2750 options.
2751
ec9f644a
IB
27522014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2753
2754 * gdb.dlang/demangle.exp: New file.
2755
94b1b47e
IB
27562014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2757
2758 * gdb.dlang/primitive-types.exp: New file.
2759
7f420862
IB
27602014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2761
2762 * configure.ac: Create gdb.dlang/Makefile.
2763 * configure: Regenerate.
2764 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2765 * gdb.dlang/Makefile.in: New file.
2766 * lib/d-support.exp: New file.
2767 * lib/gdb.exp (skip_d_tests): New proc.
2768
52834460
MM
27692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2770
2771 * gdb.btrace/delta.exp: Check reverse stepi.
2772 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2773 * gdb.btrace/finish.exp: New.
2774 * gdb.btrace/next.exp: New.
2775 * gdb.btrace/nexti.exp: New.
2776 * gdb.btrace/record_goto.c: Add comments.
2777 * gdb.btrace/step.exp: New.
2778 * gdb.btrace/stepi.exp: New.
2779 * gdb.btrace/multi-thread-step.c: New.
2780 * gdb.btrace/multi-thread-step.exp: New.
2781 * gdb.btrace/rn-dl-bind.c: New.
2782 * gdb.btrace/rn-dl-bind.exp: New.
2783 * gdb.btrace/data.c: New.
2784 * gdb.btrace/data.exp: New.
2785 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2786
6e07b1d2
MM
27872014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2788
2789 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2790 * gdb.btrace/exception.exp: Update.
2791 * gdb.btrace/instruction_history.exp: Update.
2792 * gdb.btrace/record_goto.exp: Update.
2793 * gdb.btrace/tailcall.exp: Update.
2794 * gdb.btrace/unknown_functions.exp: Update.
2795 * gdb.btrace/delta.exp: New.
2796
0b722aec
MM
27972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2798
2799 * gdb.btrace/record_goto.exp: Add backtrace test.
2800 * gdb.btrace/tailcall.exp: Add backtrace test.
2801
066ce621
MM
28022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2803
2804 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2805 * gdb.btrace/record_goto.c: New.
2806 * gdb.btrace/record_goto.exp: New.
2807 * gdb.btrace/x86-record_goto.S: New.
2808
0688d04e
MM
28092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2810
2811 * gdb.btrace/function_call_history.exp: Update tests.
2812 * gdb.btrace/instruction_history.exp: Update tests.
2813
8710b709
MM
28142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2815
2816 * gdb.btrace/function_call_history.exp: Fix expected field
2817 order for "record function-call-history".
2818 Add new tests for "record function-call-history /c".
2819 * gdb.btrace/exception.cc: New.
2820 * gdb.btrace/exception.exp: New.
2821 * gdb.btrace/tailcall.exp: New.
2822 * gdb.btrace/x86-tailcall.S: New.
2823 * gdb.btrace/x86-tailcall.c: New.
2824 * gdb.btrace/unknown_functions.c: New.
2825 * gdb.btrace/unknown_functions.exp: New.
2826 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2827
5de9129b
MM
28282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2829
2830 * gdb.btrace/instruction_history.exp: Update.
2831 * gdb.btrace/function_call_history.exp: Update.
2832
23a7fe75
MM
28332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2834
2835 * gdb.btrace/function_call_history.exp: Fix expected function
2836 trace.
2837 * gdb.btrace/instruction_history.exp: Initialize traced.
2838 Remove traced_functions.
2839
724c7dd8
MM
28402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2841
2842 * gdb.btrace/function_call_history.exp: Update
2843 * gdb.btrace/instruction_history.exp: Update.
2844
6d78d93b
MM
28452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2846
2847 * gdb.btrace/enable.exp: Update expected text.
2848
93a360cc
OJ
28492014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2850
2851 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2852 bytes.
2853
3772b53f
MR
28542014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2855
2856 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2857
596662fa
OJ
28582014-01-15 Omair Javaid <omair.javaid@linaro.org>
2859
2860 * lib/gdb.exp (supports_process_record): Return true for
2861 arm*-linux*. (supports_reverse): Likewise.
2862
b5b08fb4
SC
28632014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2864
2865 PR python/15464
2866 PR python/16113
2867 * gdb.python/py-type.c: Enhance test case.
2868 * gdb.python/py-value-cc.cc: Likewise
2869 * gdb.python/py-type.exp: Add new tests.
2870 * gdb.python/py-value-cc.exp: Likewise
2871
52d7fb13
AA
28722014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2873 Pedro Alves <palves@redhat.com>
2874
2875 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2876 Make "name" extern.
2877 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2878 references to ${name}_start by references to ${name}.
2879
a2cd8cfe
JB
28802014-01-10 Joel Brobecker <brobecker@adacore.com>
2881
2882 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2883
4e23fced
JB
28842014-01-10 Joel Brobecker <brobecker@adacore.com>
2885
2886 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2887
c6a9e42c
PA
28882014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2889 Pedro Alves <palves@redhat.com>
2890
2891 * gdb.mi/mi-info-os.exp: Connect to the target with
2892 mi_gdb_target_load.
2893
b7ea362b
PA
28942014-01-08 Pedro Alves <palves@redhat.com>
2895
2896 * gdb.threads/reconnect-signal.c: New file.
2897 * gdb.threads/reconnect-signal.exp: New file.
2898
5e3f4fab
EBM
28992014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2900
2901 * gdb.base/source-dir.exp: New file.
2902
79301218
JB
29032014-01-07 Joel Brobecker <brobecker@adacore.com>
2904
2905 * gdb.ada/mi_interface: New testcase.
2906
8e355c5d
JB
29072014-01-07 Joel Brobecker <brobecker@adacore.com>
2908
2909 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2910 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2911 gdb.ada/pp-rec-component/pck.ads: New files.
2912
c0d48811
JB
29132014-01-07 Joel Brobecker <brobecker@adacore.com>
2914
2915 * gdb.python/py-pp-integral.c: New file.
2916 * gdb.python/py-pp-integral.py: New file.
2917 * gdb.python/py-pp-integral.exp: New file.
2918
17b609c3 2919For older changes see ChangeLog-1993-2013.
c906108c 2920\f
8d8cb839
EZ
2921;; Local Variables:
2922;; mode: change-log
2923;; left-margin: 8
2924;; fill-column: 74
2925;; version-control: never
2926;; End:
902f2ccb 2927
14f8b115 2928 Copyright 2014 Free Software Foundation, Inc.
902f2ccb
MC
2929 Copying and distribution of this file, with or without modification,
2930 are permitted provided the copyright notice and this notice are preserved.
This page took 2.247375 seconds and 4 git commands to generate.