Close the file in fileio.exp test
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
0ea4d52e
YQ
12014-10-29 Yao Qi <yao@codesourcery.com>
2
3 * gdb.base/fileio.c (test_write): Close the file.
4
7f5ef605
PA
52014-10-28 Pedro Alves <palves@redhat.com>
6
7 PR gdb/12623
8 * gdb.base/sigstep.c (no_handler): New global.
9 (main): If 'no_handler is true, set the signal handlers to
10 SIG_IGN.
11 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12 with_sw_watch and no_handler parameters. Handle them.
13 (top level) <stepping over handler when stopped at a breakpoint
14 test>: Add a test axis for testing with a software watchpoint, and
15 another for testing with the signal handler set to SIG_IGN.
16 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
17 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
18
abbdbd03
PA
192014-10-28 Pedro Alves <palves@redhat.com>
20
21 PR gdb/17511
22 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
23 * gdb.base/sigstep.exp (other_handler_location): New global.
24 (advance): Support stepping into the signal handler, and running
25 commands while in the handler.
26 (in_handler_map): New global.
27 (top level): In the advance test, add combinations for getting
28 into the handler with stepping commands, and for running commands
29 in the handler. Add comment descripting the advancei tests.
30
1df4399f
PA
312014-10-28 Pedro Alves <palves@redhat.com>
32
33 * gdb.base/sigstep.exp: Use build_executable instead of
34 prepare_for_testing.
35 (top level): Move code that starts GDB, runs to main and creates a
36 display to ...
37 (restart): ... this new procedure.
38 (top level): Move backtrace from signal handler test to ...
39 (validate_backtrace): ... this new procedure.
40 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
41 with_test_prefix. Always restart GDB.
42 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
43 with_test_prefix. Always restart GDB. No need to delete
44 breakpoints after the test.
45 (test_skip_handler): Remove prefix parameter.
46 (skip_over_handler, breakpoint_to_handler)
47 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
48 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
49 restart GDB. No need to delete breakpoints after the test.
50 (top level): Use foreach to call the test procedures with
51 different commands.
52
a5b6e449
PA
532014-10-28 Pedro Alves <palves@redhat.com>
54
55 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
56 instead of GNATS numbers.
57 * gdb.base/sigbpt.exp: Likewise.
58 * gdb.base/siginfo.exp: Likewise.
59 * gdb.base/sigstep.exp: Likewise.
60
e5f8a7cc
PA
612014-10-27 Pedro Alves <palves@redhat.com>
62
63 * gdb.base/sigstep.c (dummy): New global.
64 (main): Issue a couple writes to the new global.
65 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
66 procedures.
67 (skip_over_handler): Use test_skip_handler.
68 (top level): Call skip_over_handler for stepi and nexti too.
69 (breakpoint_over_handler): Use test_skip_handler.
70 (top level): Call breakpoint_over_handler for stepi and nexti too.
71
763905a3
YQ
722014-10-27 Yao Qi <yao@codesourcery.com>
73
74 * gdb.trace/tfile.c (adjust_function_address)
75 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
76 function descriptor.
77
6f259a23
DB
782014-10-24 Don Breazeal <donb@codesourcery.com>
79
80 * gdb.base/foll-fork.exp (test_follow_fork,
81 catch_fork_child_follow): Check for updated fork messages emitted
82 from infrun.c.
83 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
84 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
85 vfork_and_exec_child_follow_through_step): Check for updated vfork
86 messages emitted from infrun.c.
87
09dd9a69
PA
882014-10-24 Pedro Alves <palves@redhat.com>
89
90 * gdb.base/corefile.exp: Remove references to ultrix.
91 * gdb.base/interrupt.exp: Likewise.
92 * gdb.base/whatis.exp: Likewise.
93 * gdb.gdb/selftest.exp: Likewise.
94 * gdb.threads/manythreads.exp: Likewise.
95 * gdb.threads/print-threads.exp: Likewise.
96 * gdb.threads/pthreads.exp:: Likewise.
97 * gdb.threads/schedlock.exp: Likewise.
98
3433cfa5
SC
992014-10-24 Siva Chandra Reddy <sivachandra@google.com>
100
101 * gdb.cp/non-trivial-retval.cc: Add a test case.
102 * gdb.cp/non-trivial-retval.exp: Add a test.
103
092f880b
YQ
1042014-10-20 Yao Qi <yao@codesourcery.com>
105
106 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
107 * gdb.python/py-objfile-script-gdb.py: New file.
108 * gdb.python/py-objfile-script.exp: Update reference to
109 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
110 of remote_download. Remove the dest file.
111
acbdb7f3
YQ
1122014-10-20 Yao Qi <yao@codesourcery.com>
113
114 * gdb.base/checkpoint.exp: Don't remove file copied on host.
115 * gdb.base/step-line.exp: Likewise.
116 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
117 * gdb.dwarf2/dw2-basic.exp: Likewise.
118 * gdb.dwarf2/dw2-compressed.exp: Likewise.
119 * gdb.dwarf2/dw2-filename.exp: Likewise.
120 * gdb.dwarf2/dw2-intercu.exp: Likewise.
121 * gdb.dwarf2/dw2-intermix.exp: Likewise.
122 * gdb.dwarf2/dw2-producer.exp: Likewise.
123 * gdb.dwarf2/mac-fileno.exp: Likewise.
124 * gdb.python/py-frame-args.exp: Likewise.
125 * gdb.python/py-framefilter.exp: Likewise.
126 * gdb.python/py-mi.exp: Likewise.
127 * gdb.python/py-objfile-script.exp: Likewise
128 * gdb.python/py-pp-integral.exp: Likewise.
129 * gdb.python/py-pp-re-notag.exp: Likewise.
130 * gdb.python/py-prettyprint.exp: Likewise.
131 * gdb.python/py-section-script.exp: Likewise.
132 * gdb.python/py-typeprint.exp: Likewise.
133 * gdb.python/py-xmethods.exp: Likewise.
134 * gdb.stabs/weird.exp: Likewise.
135 * gdb.xml/tdesc-regs.exp: Likewise.
136
bd286a29
KCY
1372014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
138
139 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
140 (out_cu): Use addr_len for the size of addresses.
141 (out_line): Likewise. Size DW_LNE_set_address instruction
142 according to addr_len.
143 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
144 (FUNC): Add START_INSNS to definition.
145
673dc4a0
YQ
1462014-10-18 Yao Qi <yao@codesourcery.com>
147
148 * gdb.base/argv0-symlink.exp: Check argv[0] value if
149 gdb_has_argv0 return true.
150 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
151 check [target_info exists noargs], check [gdb_has_argv0]
152 instead.
153 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
154 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
155 procedures.
156
4ffbba72
DE
1572014-10-17 Doug Evans <dje@google.com>
158
159 * gdb.python/py-events.exp: Update expected output for clear_objfiles
160 event.
161 * gdb.python/py-events.py: Add clear_objfiles event.
162
d096d8c1
DE
1632014-10-17 Doug Evans <dje@google.com>
164
165 * gdb.python/py-objfile.exp: Test progspace attribute.
166
a80db015
LM
1672014-10-17 Luis Machado <lgustavo@codesourcery.com>
168
169 * gdb.guile/scm-breakpoint.exp: Do not assume any
170 directory separators when matching source file paths.
171 * gdb.python/py-breakpoint.exp: Likewise.
172 * gdb.reverse/break-precsave.exp: Likewise.
173 * gdb.reverse/break-reverse.exp: Likewise.
174 * gdb.reverse/consecutive-precsave.exp: Likewise.
175 * gdb.reverse/finish-precsave.exp: Likewise.
176 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
177 * gdb.reverse/finish-reverse.exp: Likewise.
178 * gdb.reverse/i386-precsave.exp: Likewise.
179 * gdb.reverse/i387-env-reverse.exp: Likewise.
180 * gdb.reverse/i387-stack-reverse.exp: Likewise.
181 * gdb.reverse/machinestate-precsave.exp: Likewise.
182 * gdb.reverse/machinestate.exp: Likewise.
183 * gdb.reverse/sigall-precsave.exp: Likewise.
184 * gdb.reverse/solib-precsave.exp: Likewise.
185 * gdb.reverse/step-precsave.exp: Likewise.
186 * gdb.reverse/until-precsave.exp: Likewise.
187 * gdb.reverse/watch-precsave.exp: Likewise.
188 * gdb.reverse/watch-reverse.exp: Likewise.
189
b22089ab
YQ
1902014-10-17 Yao Qi <yao@codesourcery.com>
191
192 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
193 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
194
6c4486e6
PA
1952014-10-17 Pedro Alves <palves@redhat.com>
196
197 PR gdb/17471
198 * gdb.base/bg-execution-repeat.c: New file.
199 * gdb.base/bg-execution-repeat.exp: New file.
200
0ff33695
PA
2012014-10-17 Pedro Alves <palves@redhat.com>
202
203 PR gdb/17300
204 * gdb.base/continue-all-already-running.c: New file.
205 * gdb.base/continue-all-already-running.exp: New file.
206
6fdebc3d
PA
2072014-10-17 Pedro Alves <palves@redhat.com>
208
209 PR gdb/17472
210 * gdb.base/annota-input-while-running.c: New file.
211 * gdb.base/annota-input-while-running.exp: New file.
212
32a8097b
PA
2132014-10-17 Pedro Alves <palves@redhat.com>
214
215 * gdb.base/callfuncs.exp: emove references to osf.
216 * gdb.base/sigall.exp: Likewise.
217 * gdb.gdb/selftest.exp: Likewise.
218 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
219 * gdb.mi/non-stop.c: Likewise.
220 * gdb.mi/pthreads.c: Likewise.
221 * gdb.reverse/sigall-precsave.exp: Likewise.
222 * gdb.reverse/sigall-reverse.exp: Likewise.
223 * gdb.threads/pthreads.c: Likewise.
224 * gdb.threads/pthreads.exp: Likewise.
225
7a3517ff
YQ
2262014-10-17 Yao Qi <yao@codesourcery.com>
227
228 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
229 check 'target_info exists noargs'.
230 (test_command_prompt_position): Likewise.
231 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
232 Remove "set args".
233 (progvar_simple_while_test): Likewise.
234 (progvar_complex_if_while_test): Likewise.
235 (if_while_breakpoint_command_test): Likewise.
236 (infrun_breakpoint_command_test): Likewise.
237 (breakpoint_command_test): Likewise.
238 (watchpoint_command_test): Likewise.
239 (bp_deleted_in_command_test): Likewise.
240 (temporary_breakpoint_commands): Likewise.
241
bb99c472
YQ
2422014-10-16 Yao Qi <yao@codesourcery.com>
243
244 * gdb.base/remotetimeout.exp: Remove noargs checking.
245
7c16b83e
PA
2462014-10-15 Pedro Alves <palves@redhat.com>
247
248 PR breakpoints/9649
249 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
250 * gdb.base/breakpoint-in-ro-region.exp
251 (probe_target_hardware_step): New procedure.
252 (top level): Probe hardware stepping and hardware breakpoint
253 support. Test stepping through a read-only region, with both
254 "breakpoint auto-hw" on and off and both "always-inserted" on and
255 off.
256
35a49624
IB
2572014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
258
259 * gdb.dlang/demangle.exp: Update for demangling changes.
260
2d1c107c
SC
2612014-10-15 Siva Chandra Reddy <sivachandra@google.com>
262
263 * gdb.cp/non-trivial-retval.cc: Add new test cases.
264 * gdb.cp/non-trivial-retval.exp: Add new tests.
265
778811d5
SC
2662014-10-15 Siva Chandra Reddy <sivachandra@google.com>
267
268 PR c++/13403
269 PR c++/15154
270 * gdb.cp/non-trivial-retval.cc: New file.
271 * gdb.cp/non-trivial-retval.exp: New file.
272
10c5f0a8
YQ
2732014-10-15 Yao Qi <yao@codesourcery.com>
274
275 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
276 remote host.
277
65d7b369
YQ
2782014-10-15 Yao Qi <yao@codesourcery.com>
279
280 * gdb.python/py-symbol.exp: Match file base name if host is
281 remote, otherwise match file name with dir name.
282 * gdb.python/py-symtab.exp: Likewise.
283 * gdb.python/python.exp: Likewise.
284
46dc1394
YQ
2852014-10-15 Yao Qi <yao@codesourcery.com>
286
287 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
288 pattern.
289 * gdb.python/py-symtab.exp: Likewise.
290 * gdb.python/python.exp: Remove trailing ".*". Fix typo
291 locationn.
292
c40cc657
JB
2932014-10-14 Joel Brobecker <brobecker@adacore.com>
294
295 * gdb.ada/addr_arith: New testcase.
296
2abf49e1
MR
2972014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
298
299 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
300 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
301 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
302 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
303
f7088df3
SDJ
3042014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
305
306 * gdb.arch/stap-eval-lang-ada.S: Likewise.
307 * gdb.arch/stap-eval-lang-ada.c: Likewise.
308 * gdb.arch/stap-eval-lang-ada.exp: New file.
309
4dc06805
YQ
3102014-10-14 Yao Qi <yao@codesourcery.com>
311
312 * gdb.mi/mi-var-child.c (nothing1): New function.
313 (nothing2): New function.
314 (do_children_tests): Set function pointers by nothing1 and
315 nothing2.
316 * gdb.mi/mi-var-child.exp: Step over new added statements.
317 Update test to match the new output.
318 * gdb.mi/var-cmd.c (nothing1): New function.
319 (nothing2): New function.
320 (do_children_tests): Set function pointers by nothing1 and
321 nothing2.
322 * gdb.mi/mi-var-display.exp: Update test to match output.
323 Step to the line specified by $line_dct_nothing.
324 Increase the number of lines to step.
325
46a93de2
YQ
3262014-10-14 Yao Qi <yao@codesourcery.com>
327
328 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
329 tests.
330 * gdb.mi/mi2-var-child.exp: Likewise.
331
14ea52ee
DE
3322014-10-13 Doug Evans <dje@google.com>
333
334 * gdb.python/py-objfile.exp: Change name of file name test.
335
e5c6e92b
DE
3362014-10-13 Doug Evans <dje@google.com>
337
338 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
339 from the start of the CU.
340
c780cc2f
JK
3412014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
342 Yao Qi <yao@codesourcery.com>
343
344 Fix "save breakpoints" for "catch" command.
345 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
346 Remove -nonewline. Match also the added "main" line.
347
99894e11
JK
3482014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
349
350 Fix "save breakpoints" for "disable $bpnum" command.
351 * gdb.base/save-bp.c (main): Add label.
352 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
353
6e1ac5a3
JK
3542014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
355
356 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
357
754dd2b0
YQ
3582014-10-11 Yao Qi <yao@codesourcery.com>
359
360 * gdb.server/server-kill.exp: Execute command
361 "set remote trace-status-packet on" before "tstatus".
362
f90183d7
YQ
3632014-10-11 Yao Qi <yao@codesourcery.com>
364
365 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
366 (main): Call getppid.
367 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
368 and continue to it. Read variable "server_pid".
369
bf40a607
YQ
3702014-10-11 Yao Qi <yao@codesourcery.com>
371
372 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
373
052ca370
YQ
3742014-10-11 Yao Qi <yao@codesourcery.com>
375
376 * gdb.threads/thread-find.exp: Don't execute command
377 "info threads".
378 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
379 * gdb.threads/linux-dp.exp: Don't check the condition
380 $threads_created equals to zero.
381
3831839c
PA
3822014-10-10 Pedro Alves <palves@redhat.com>
383
384 * gdb.base/bigcore.exp: Remove references to IRIX.
385 * gdb.base/funcargs.exp: Likewise.
386 * gdb.base/interrupt.exp: Likewise.
387 * gdb.base/mips_pro.exp: Likewise.
388 * gdb.base/nodebug.exp: Likewise.
389 * gdb.base/setvar.exp: Likewise.
390 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
391
8b9a549d
PA
3922014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
393 Pedro Alves <palves@redhat.com>
394
395 PR symtab/14466
396 * gdb.base/vdso-warning.c: New file.
397 * gdb.base/vdso-warning.exp: New file.
398
d48ba5e8
DE
3992014-10-02 Doug Evans <dje@google.com>
400
401 * gdb.base/structs.c (main): Don't run forever.
402
2278c276
PA
4032014-10-02 Pedro Alves <palves@redhat.com>
404
405 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
406 (top level) <stop threads 1, stop threads 2>: Use it.
407
b57bacec
PA
4082014-10-02 Pedro Alves <palves@redhat.com>
409
410 * gdb.threads/break-while-running.exp (test): Add new
411 'update_thread_list' argument. Skip "info threads" if false.
412 (top level): Add new 'update_thread_list' axis.
413
13fd3ff3
PA
4142014-10-02 Pedro Alves <palves@redhat.com>
415
416 PR breakpoints/17431
417 * gdb.base/execl-update-breakpoints.c: New file.
418 * gdb.base/execl-update-breakpoints.exp: New file.
419
0fec99e8
PA
4202014-10-01 Pedro Alves <palves@redhat.com>
421
422 * gdb.base/breakpoint-in-ro-region.c: New file.
423 * gdb.base/breakpoint-in-ro-region.exp: New file.
424
2ddf4301
SM
4252014-10-01 Simon Marchi <simon.marchi@ericsson.com>
426
427 * gdb.mi/mi-exit-code.exp: New file.
428 * gdb.mi/mi-exit-code.c: New file.
429
6a5f3f43
YQ
4302014-09-30 Yao Qi <yao@codesourcery.com>
431
432 * lib/prelink-support.exp (build_executable_own_libs): Error if
433 the target isn't native.
434
345bcc73
YQ
4352014-09-30 Yao Qi <yao@codesourcery.com>
436
437 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
438 false.
439
a25a5a45
PA
4402014-09-22 Pedro Alves <palves@redhat.com>
441
442 * gdb.threads/break-while-running.exp: New file.
443 * gdb.threads/break-while-running.c: New file.
444
00ba3162
YQ
4452014-09-19 Yao Qi <yao@codesourcery.com>
446
447 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
448 Invoke test. Restart GDB with --readnow and invoke test again.
449
c3b7b696
YQ
4502014-09-19 Yao Qi <yao@codesourcery.com>
451
452 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
453 proc set_breakpoint_on_gcd_function. Invoke
454 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
455 invoke set_breakpoint_on_gcd_function again.
456
2b4fd423
DE
4572014-09-18 Doug Evans <dje@google.com>
458
459 * gdb.dwarf2/symtab-producer.exp: New file.
460
a5947601
SDJ
4612014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
462
463 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
464 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
465 * gdb.base/global-var-nested-by-dso.c: Likewise.
466 * gdb.base/global-var-nested-by-dso.exp: Likewise.
467
91c19059
SDJ
4682014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
469 Pedro Alves <palves@redhat.com>
470
471 * gdb.base/watch-bitfields.exp: Pass string other than test file
472 name to prepare_for_testing.
473 (watch): New procedure.
474 (expect_watchpoint): Use with_test_prefix.
475 (top level): Factor out tests to ...
476 (test_watch_location, test_regular_watch): ... these new
477 procedures, and use with_test_prefix and gdb_continue_to_end.
478
bb9d5f81
PP
4792014-09-16 Patrick Palka <patrick@parcs.ath.cx>
480
481 PR breakpoints/12526
482 * gdb.base/watch-bitfields.exp: New file.
483 * gdb.base/watch-bitfields.c: New file.
484
635856f5
PA
4852014-09-16 Pedro Alves <palves@redhat.com>
486
487 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
488 software and hardware addresses, not software address against
489 itself.
490
7280ceea
PA
4912014-09-16 Pedro Alves <palves@redhat.com>
492
493 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
494 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
495
428b16bd
PA
4962014-09-16 Pedro Alves <palves@redhat.com>
497
498 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
499 files.
500 * gdb.base/a2-run.exp: Remove all code guarded by istarget
501 "*-*-vxworks*" throughout.
502 * gdb.base/break.exp: Likewise.
503 * gdb.base/default.exp: Likewise.
504 * gdb.base/scope.exp: Likewise.
505 * gdb.base/sepdebug.exp: Likewise.
506 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
507 throughout.
508 * gdb.base/run.c: Likewise.
509 * gdb.base/sepdebug.c: Likewise.
510 * gdb.hp/gdb.aCC/run.c: Likewise.
511 * gdb.reverse/until-reverse.c: Likewise.
512 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
513
666d413c
YQ
5142014-09-16 Yao Qi <yao@codesourcery.com>
515
516 * boards/local-remote-host-native.exp: New file.
517
57cbd724
DE
5182014-09-14 Doug Evans <xdje42@gmail.com>
519
520 * gdb.threads/queue-signal.c (thread_count): New variable.
521 (thread_count_mutex, thread_count_condvar): New variables.
522 (incr_thread_count, wait_all_threads_running): New functions.
523 (main): Wait for all threads to be in their thread functions.
524
81219e53
DE
5252014-09-13 Doug Evans <xdje42@gmail.com>
526
527 * gdb.threads/queue-signal.c: New file.
528 * gdb.threads/queue-signal.exp: New file.
529
3714cea7
DE
5302014-09-13 Doug Evans <xdje42@gmail.com>
531
532 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
533 be consistent with what default_gdb_init uses.
534 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
535 the plain text of the prompt. Add some logging printfs.
536 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
537
fa43b1d7
PA
5382014-09-12 Pedro Alves <palves@redhat.com>
539
540 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
541 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
542 * gdb.arch/i386-size-overlap.exp: Likewise.
543 * gdb.arch/i386-size.exp: Likewise.
544 * gdb.arch/i386-unwind.exp: Likewise.
545 * gdb.base/a2-run.exp: Likewise.
546 * gdb.base/break.exp: Likewise.
547 * gdb.base/charset.exp: Likewise.
548 * gdb.base/chng-syms.exp: Likewise.
549 * gdb.base/commands.exp: Likewise.
550 * gdb.base/dbx.exp: Likewise.
551 * gdb.base/find.exp: Likewise.
552 * gdb.base/funcargs.exp: Likewise.
553 * gdb.base/jit-simple.exp: Likewise.
554 * gdb.base/reread.exp: Likewise.
555 * gdb.base/sepdebug.exp: Likewise.
556 * gdb.base/step-bt.exp: Likewise.
557 * gdb.cp/mb-inline.exp: Likewise.
558 * gdb.cp/mb-templates.exp: Likewise.
559 * gdb.objc/basicclass.exp: Likewise.
560 * gdb.threads/killed.exp: Likewise.
561
9d9bf2df
EBM
5622014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
563
564 PR tdep/17379
565 * gdb.arch/powerpc-stackless.S: New file.
566 * gdb.arch/powerpc-stackless.exp: New file.
567
1cf2f1b0
JK
5682014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
569
570 * gdb.base/attach.c: Include unistd.h.
571 (main): Call alarm. Add label postloop.
572 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
573 gdb_breakpoint, gdb_continue_to_breakpoint.
574 (test_command_line_attach_run): Kill ${testpid} in one exit path.
575
98880d46
PA
5762014-09-11 Pedro Alves <palves@redhat.com>
577
578 PR gdb/17347
579 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
580 * gdb.base/attach.exp (test_command_line_attach_run): New
581 procedure.
582 (top level): Call it.
583
4c92ff2c
PA
5842014-09-11 Pedro Alves <palves@redhat.com>
585
586 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
587 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
588 (do_command_attach_tests): Use spawn_wait_for_attach.
589 * gdb.base/solib-overlap.exp: Likewise.
590 * gdb.multi/multi-attach.exp: Likewise.
591 * gdb.python/py-prompt.exp: Likewise.
592 * gdb.python/py-sync-interp.exp: Likewise.
593 * gdb.server/ext-attach.exp: Likewise.
594
3adc1a7d
GKB
5952014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
596
597 * gdb.fortran/array-element.exp: Remove unexpected "continue"
598 command in testcase. Simplify testcase.
599
96334934
JB
6002014-09-10 Joel Brobecker <brobecker@adacore.com>
601
602 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
603
eb479039
JB
6042014-09-10 Joel Brobecker <brobecker@adacore.com>
605
606 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
607
deede10c
JB
6082014-09-10 Joel Brobecker <brobecker@adacore.com>
609
610 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
611
7828a5f5
JB
6122014-09-10 Joel Brobecker <brobecker@adacore.com>
613
614 * gdb.dwarf2/dynarr-ptr.c: New file.
615 * gdb.dwarf2/dynarr-ptr.exp: New file.
616
33aeebcf
MR
6172014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
618
619 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
620 of 30 rather than hardcoding 120 for a slow test case. Take the
621 `gdb,timeout' target setting into account for this calculation.
622 Don't extend the timeout for the test cases that don't need it.
623
7b415901
MR
6242014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
625
626 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
627 a factor of 2 for a slow test case. Take the `gdb,timeout'
628 target setting into account for this calculation.
629 * gdb.reverse/until-precsave.exp: Increase the timeout by
630 a factor of 15 and 3 respectively rather than adding 120
631 for a pair of slow test cases. Take the `gdb,timeout'
632 target setting into account for this calculation.
633
4a40f85a
MR
6342014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
635
636 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
637 timeout, don't pass one down to gdb_expect.
638 (gdb_expect): Rework timeout selection.
639
09635af7
MR
6402014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
641
642 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
643 exception on timeout.
644 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
645 (gdbserver_start_extended): Catch any `gdbserver_start' error
646 exceptions.
647 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
648 * lib/mi-support.exp (mi_gdb_target_load): Catch any
649 `gdbserver_gdb_load' error exceptions.
650
2bdd10b7
MR
6512014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
652
653 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
654 120 on waiting for the TCP socket to open.
655
316935f0
DE
6562014-09-09 Doug Evans <xdje42@gmail.com>
657
658 * gdb.base/default.exp (show_conv_list): Add _caller_is,
659 _caller_matches, _any_caller_is, _any_caller_matches.
660
83740597
DE
6612014-09-09 Doug Evans <xdje42@gmail.com>
662
663 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
664
4c122fc3
YQ
6652014-09-09 Yao Qi <yao@codesourcery.com>
666
667 * gdb.mi/mi-var-display.exp: Set print symbol off.
668
a9f116cb
GKB
6692014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
670
671 PR gdb/17035
672 * gdb.base/commands.exp: Add tests to verify user-defined
673 commands with empty bodies.
674 * gdb.python/py-cmd.exp: Test that we don't show user-defined
675 python commands in `show user command`.
676 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
677 scheme commands in `show user command`.
678
c75bd3a2
JK
6792014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
680
681 PR python/17355
682 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
683 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
684 * gdb.python/py-framefilter-invalidarg.exp: New file.
685 * gdb.python/py-framefilter-invalidarg.py: New file.
686
faa42425
DE
6872014-09-06 Doug Evans <xdje42@gmail.com>
688
689 PR 15276
690 * gdb.python/py-caller-is.c: New file.
691 * gdb.python/py-caller-is.exp: New file.
692
474ca4f6
SDJ
6932014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
694
695 PR gdb/17235
696 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
697 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
698
eb0b0463
SDJ
6992014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
700
701 PR fortran/17237
702 * gdb.fortran/print-formatted.exp: New file.
703 * gdb.fortran/print-formatted.f90: Likewise.
704
5f3b99cf
SS
7052014-09-03 Sasha Smundak <asmundak@google.com>
706
707 * gdb.python/py-frame.exp: Test Frame.read_register.
708
7d793aa9
SDJ
7092014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
710
711 PR python/16699
712 * gdb.python/py-completion.exp: New file.
713 * gdb.python/py-completion.py: Likewise.
714
fb0576e9
DE
7152014-08-28 Doug Evans <dje@google.com>
716
717 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
718 eax,etc. are live with values set by gdb and thus the compiler can't
719 use them.
720 * gdb.arch/i386-pseudo.c (main): Ditto.
721
ee92b0dd
DE
7222014-08-27 Doug Evans <dje@google.com>
723
724 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
725
6649db35
DE
7262014-08-25 Doug Evans <dje@google.com>
727
728 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
729 (main): Ditto.
730
564b7600
DE
7312014-08-25 Doug Evans <dje@google.com>
732
733 * gdb.threads/thread-execl.exp: #include <stdio.h>.
734
3881fb67
YQ
7352014-08-24 Yao Qi <yao@codesourcery.com>
736
737 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
738 symbol off.
739 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
740
a05a36a5
DE
7412014-08-22 Doug Evans <dje@google.com>
742
743 PR 17276
744 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
745 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
746 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
747
7c343b48
YQ
7482014-08-22 Yao Qi <yao@codesourcery.com>
749
750 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
751 * gdb.python/py-finish-breakpoint2.exp: Likewise.
752 * gdb.python/python.exp: Likewise. Use .py file on the host
753 instead of the build.
754
22fd09ae
JK
7552014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
756
757 * gdb.threads/gcore-stale-thread.c: New file.
758 * gdb.threads/gcore-stale-thread.exp: New file.
759
a8454a7c
PA
7602014-08-21 Pedro Alves <palves@redhat.com>
761
762 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
763 * gdb.base/gcore-relro-pie.exp: Likewise.
764 * gdb.base/gcore-relro.exp: Likewise.
765 * gdb.base/gcore.exp: Likewise.
766 * gdb.base/print-symbol-loading.exp: Likewise.
767 * gdb.threads/gcore-thread.exp: Likewise.
768 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
769
2a31c623
PA
7702014-08-20 Pedro Alves <palves@redhat.com>
771 Jan Kratochvil <jan.kratochvil@redhat.com>
772
773 * Makefile.in (EXTRA_RULES, CC): New variables, get from
774 configure.
775 (EXPECT): Handle READ1 being set.
776 (all): Depend on EXTRA_RULES.
777 (check-read1, expect-read1, read1.so, read1): New rules.
778 * README (Testsuite Parameters): Document the READ1 make variable.
779 (Race detection): New section.
780 * configure: Regenerate.
781 * configure.ac: If build==host==target, and running under a
782 GNU/glibc system, add read1 to the extra Makefile rules.
783 (EXTRA_RULES): AC_SUBST it.
784 * lib/read1.c: New file.
785
d36430db
JB
7862014-08-20 Joel Brobecker <brobecker@adacore.com>
787
788 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
789 the handling of variables declared as a typedef to an array
790 which a DW_AT_data_location attribute.
791
9a0dc9e3
PA
7922014-08-19 Andrew Burgess <aburgess@broadcom.com>
793 Pedro Alves <palves@redhat.com>
794
795 PR symtab/14604
796 PR symtab/14605
797 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
798 gdb_test.
799
0718a8da
PA
8002014-08-19 Pedro Alves <palves@redhat.com>
801
802 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
803
13b448cd
YQ
8042014-08-19 Yao Qi <yao@codesourcery.com>
805
806 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
807 right line.
808
1cbf5077
DB
8092014-08-18 David Blaikie <dblaikie@gmail.com>
810
811 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
812
bf0fae19
JB
8132014-08-18 Joel Brobecker <brobecker@adacore.com>
814
815 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
816 attribute in array range.
817
3c8c5dcc
JB
8182014-08-18 Joel Brobecker <brobecker@adacore.com>
819
820 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
821
e66d4446
SC
8222014-08-15 Siva Chandra Reddy <sivachandra@google.com>
823
824 PR c++/17132
825 * gdb.cp/pr17132.cc: New file.
826 * gdb.cp/pr17132.exp: New file.
827
940df408
SC
8282014-08-15 Siva Chandra Reddy <sivachandra@google.com>
829
830 * gdb.python/py-xmethods.py (A_getarrayind)
831 (E_method_char_worker.__call__, E_method_int_worker.__call__):
832 Use 'print' with function call syntax.
833 (E_method_matcher.match): Fix tab vs space indentation mixup.
834
ebcc6c3a
YQ
8352014-08-15 Yao Qi <yao@codesourcery.com>
836
837 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
838 false.
839
775e0f04
YQ
8402014-08-15 Yao Qi <yao@codesourcery.com>
841
842 * gdb.cp/casts.exp: Set print symbol off.
843 * gdb.cp/class2.exp: Likewise.
844 * gdb.cp/overload.exp: Likewise.
845 * gdb.cp/templates.exp: Likewise.
846
d769e349
DE
8472014-08-11 Doug Evans <dje@google.com>
848
849 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
850 (test_load_shlib): Update.
851
20c6f1e1
YQ
8522014-08-09 Yao Qi <yao@codesourcery.com>
853
854 * gdb.base/display.exp: Invoke is_address_zero_readable.
855 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
856 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
857 * gdb.base/hbreak-unmapped.exp: Return if
858 is_address_zero_readable returns true.
859 * gdb.base/signest.exp: Likewise.
860 * gdb.base/signull.exp: Likewise.
861 * gdb.base/sigbpt.exp: Likewise.
862 * gdb.guile/scm-disasm.exp: Do the test if
863 is_address_zero_readable returns false.
864 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
865 * gdb.python/py-arch.exp: Likewise.
866 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
867 * lib/gdb.exp (is_address_zero_readable): New proc.
868
5792e8e3
YQ
8692014-08-09 Yao Qi <yao@codesourcery.com>
870
871 PR testsuite/13443
872 * gdb.mi/mi-var-display.exp: Make test messages unique.
873
3cecbbbe
TT
8742014-08-04 Tom Tromey <tromey@redhat.com>
875
876 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
877 target 0".
878
00b51ff5
TT
8792014-08-04 Tom Tromey <tromey@redhat.com>
880
881 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
882 "target_resume".
883
6908c509
JB
8842014-08-01 Joel Brobecker <brobecker@adacore.com>
885
886 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
887 inner_vla_struct_object_size.
888 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
889 as xfail.
890
cc6563d2
PA
8912014-07-30 Pedro Alves <palves@redhat.com>
892
893 * gdb.threads/signal-command-handle-nopass.exp (test): Add
894 comment.
895
7e09a223
YQ
8962014-07-29 Yao Qi <yao@codesourcery.com>
897
898 PR gdb/17206
899 * gdb.base/until-nodebug.exp: New.
900
7ebdbe92
DE
9012014-07-28 Doug Evans <xdje42@gmail.com>
902
903 PR guile/17203
904 * gdb.guile/scm-parameter.exp: Add tests for trying to create
905 previously existing parameter, and previously ambiguously spelled
906 parameter.
907
fdb1adc6
WN
9082014-07-28 Will Newton <will.newton@linaro.org>
909
910 * gdb.base/varargs.exp: Remove KFAILs for ARM.
911
186fcde0
DE
9122014-07-26 Ludovic Courtès <ludo@gnu.org>
913 Doug Evans <xdje42@gmail.com>
914
915 PR guile/17146
916 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
917
70509625
PA
9182014-07-25 Pedro Alves <palves@redhat.com>
919
920 * gdb.threads/signal-command-handle-nopass.c: New file.
921 * gdb.threads/signal-command-handle-nopass.exp: New file.
922 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
923 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
924 * gdb.threads/signal-delivered-right-thread.c: New file.
925 * gdb.threads/signal-delivered-right-thread.exp: New file.
926
c3f814a1
PA
9272014-07-25 Pedro Alves <palves@redhat.com>
928
929 * gdb.base/double-prompt-target-event-error.exp
930 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
931 match.
932 (cancel_pagination_in_target_event): Rework double prompt
933 detection.
934 * gdb.base/paginate-after-ctrl-c-running.exp
935 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
936 <return>' match.
937 * gdb.base/paginate-bg-execution.exp
938 (test_bg_execution_pagination_return)
939 (test_bg_execution_pagination_cancel): Remove '-notransfer
940 <return>' matches.
941 * gdb.base/paginate-execution-startup.exp
942 (test_fg_execution_pagination_return)
943 (test_fg_execution_pagination_cancel): Remove '-notransfer
944 <return>' matches.
945 * gdb.base/paginate-inferior-exit.exp
946 (test_paginate_inferior_exited): Remove '-notransfer <return>'
947 match.
948 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
949 * lib/gdb.exp (pagination_prompt): Run text through
950 string_to_regexp.
951 (gdb_test_multiple): Match $pagination_prompt instead of
952 "<return>".
953 (string_to_regexp): Move to lib/gdb-utils.exp.
954
e214cf6c
JK
9552014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
956
957 * gdb.arch/amd64-entry-value-paramref.S: New file.
958 * gdb.arch/amd64-entry-value-paramref.cc: New file.
959 * gdb.arch/amd64-entry-value-paramref.exp: New file.
960 * gdb.arch/amd64-optimout-repeat.S: New file.
961 * gdb.arch/amd64-optimout-repeat.c: New file.
962 * gdb.arch/amd64-optimout-repeat.exp: New file.
963
17d0c5c8
JK
9642014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
965
966 PR gdb/17170
967 * gdb.base/statistics.exp: New file.
968
b8b8facf
DE
9692014-07-17 Doug Evans <dje@google.com>
970
74b49205 971 PR gdb/17170
b8b8facf
DE
972 * gdb.base/maint.exp: Update testing of per-command stats.
973
1b5d0ab3
PA
9742014-07-16 Pedro Alves <palves@redhat.com>
975
976 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
977 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
978 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
979 (tfile_write_buf): New functions.
980 (add_memory_block): Rewrite using the above.
981 (adjust_function_address): New function.
982 (FUNCTION_ADDRESS): New macro.
983 (write_basic_trace_file): Remove short_x local, and use
984 tfile_write_16. Change type of func_addr local to unsigned long
985 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
986 here. Cast argument of add_memory_block to char pointer.
987 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
988 (main): Remove parameters.
989 * gdb.trace/tfile.exp: Remove nowarnings.
990
4d974e88
SM
9912014-07-15 Simon Marchi <simon.marchi@ericsson.com>
992
993 * gdb.base/debug-expr.exp: Test string evaluation with
994 "debug expression" on.
995
41e99568
PA
9962014-07-15 Pedro Alves <palves@redhat.com>
997
998 * gdb.base/reread.exp: Use clean_restart.
999
487d9753
PL
10002014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1001
1002 * gdb.arch/avr-flash-qualifer.c: New.
1003 * gdb.arch/avr-flash-qualifer.exp: New.
1004
cc1c52ad
PA
10052014-07-14 Pedro Alves <palves@redhat.com>
1006
1007 * gdb.base/paginate-after-ctrl-c-running.c: New file.
1008 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
1009
1e973570
PA
10102014-07-14 Pedro Alves <palves@redhat.com>
1011
1012 * gdb.base/double-prompt-target-event-error.c: New file.
1013 * gdb.base/double-prompt-target-event-error.exp: New file.
1014
93d6eb10
PA
10152014-07-14 Pedro Alves <palves@redhat.com>
1016
1017 PR gdb/17072
1018 * gdb.base/paginate-inferior-exit.c: New file.
1019 * gdb.base/paginate-inferior-exit.exp: New file.
1020
0017922d
PA
10212014-07-14 Pedro Alves <palves@redhat.com>
1022
1023 PR gdb/17072
1024 * gdb.base/paginate-bg-execution.c: New file.
1025 * gdb.base/paginate-bg-execution.exp: New file.
1026
94696ad3
PA
10272014-07-14 Pedro Alves <palves@redhat.com>
1028
1029 PR gdb/17072
1030 * gdb.base/paginate-execution-startup.c: New file.
1031 * gdb.base/paginate-execution-startup.exp: New file.
1032 * lib/gdb.exp (pagination_prompt): New global.
1033 (default_gdb_spawn): New procedure, factored out from
1034 default_gdb_spawn.
1035 (default_gdb_start): Adjust to call default_gdb_spawn.
1036 (gdb_spawn): New procedure.
1037
bd293940
PA
10382014-07-14 Pedro Alves <palves@redhat.com>
1039
1040 * lib/gdb.exp (gdb_assert): New procedure.
1041 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
1042
c933f875
PA
10432014-07-14 Pedro Alves <palves@redhat.com>
1044
1045 * gdb.base/execution-termios.c: New file.
1046 * gdb.base/execution-termios.exp: New file.
1047
d98b7a16
TT
10482014-07-14 Tom Tromey <tromey@redhat.com>
1049
1050 * gdb.cp/vla-cxx.cc: New file.
1051 * gdb.cp/vla-cxx.exp: New file.
1052
548740d6
TT
10532014-07-14 Tom Tromey <tromey@redhat.com>
1054
1055 * gdb.reverse/rerun-prec.c: New file.
1056 * gdb.reverse/rerun-prec.exp: New file.
1057
a25eb028
MR
10582014-07-12 Maciej W. Rozycki <macro@mips.com>
1059 Maciej W. Rozycki <macro@codesourcery.com>
1060
1061 * lib/gdb-utils.exp: New file.
1062 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
1063 inline `gdb_init_command' processing.
1064 (gdb_start_cmd): Likewise.
1065 * lib/mi-support.exp (mi_run_cmd): Likewise.
1066 * README: Document `gdb_init_command' and `gdb_init_commands'.
1067
218c2655
JK
10682014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1069
1070 Fix false FAIL running under a very long directory name.
1071 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
1072 and "set print elements 10000". Twice.
1073
5401fde3
YQ
10742014-07-11 Yao Qi <yao@codesourcery.com>
1075
1076 * gdb.base/exprs.exp: "set print symbol off".
1077
e76126e8
PA
10782014-07-11 Pedro Alves <palves@redhat.com>
1079
1080 * gdb.threads/kill.c: New file.
1081 * gdb.threads/kill.exp: New file.
1082
2d6f0de6
YQ
10832014-07-10 Yao Qi <yao@codesourcery.com>
1084
1085 * gdb.trace/tfile.c (write_basic_trace_file)
1086 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
1087 address written to trace file.
1088
7180e04a
PA
10892014-07-09 Pedro Alves <palves@redhat.com>
1090
1091 * gdb.base/attach-wait-input.exp: New file.
1092 * gdb.base/attach-wait-input.c: New file.
1093
9a9a7608
AB
10942014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1095
1096 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
1097 setting up test structures.
1098 (main): Call new test function.
1099 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
1100 test function, continue into test function and walk test
1101 structures.
1102
161ac41e
YQ
11032014-07-02 Yao Qi <yao@codesourcery.com>
1104
1105 * gdb.trace/entry-values.c: Define labels 'foo_start' and
1106 'bar_start' at the beginning of functions 'foo' and 'bar'
1107 respectively.
1108 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
1109 instead of 'foo' and 'bar'.
1110
1f267ae3
MM
11112014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1112
1113 * gdb.btrace/segv.exp: New.
1114 * gdb.btrace/segv.c: New.
1115
2b239efb
LM
11162014-07-02 Luis Machado <lgustavo@codesourcery.com>
1117
1118 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
1119 instruction.
1120
cf363f18
MW
11212014-06-30 Mark Wielaard <mjw@redhat.com>
1122
1123 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
1124 vulture, vilify, villar): New volatile array constants.
1125 (vindictive, vegetation): New const volatile array constants.
1126 * gdb.base/volatile.exp: Test volatile and const volatile array
1127 types.
1128
aebf9d24
AA
11292014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1130
1131 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
1132 target lacks support for awatch, rwatch, or hbreak.
1133
b67a2c6f
YQ
11342014-06-27 Yao Qi <yao@codesourcery.com>
1135
1136 * gdb.multi/dummy-frame-restore.exp: New.
1137 * gdb.multi/dummy-frame-restore.c: New.
1138
aef92902
MM
11392014-06-25 Markus Metzger <markus.t.metzger@intel.com>
1140
1141 * gdb.btrace/gcore.exp: New.
1142
8e9db26e
PA
11432014-06-23 Pedro Alves <palves@redhat.com>
1144
1145 * gdb.base/watchpoint-reuse-slot.c: New file.
1146 * gdb.base/watchpoint-reuse-slot.exp: New file.
1147
70afc5b7
SC
11482014-06-23 Siva Chandra Reddy <sivachandra@google.com>
1149
1150 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
1151 progspace's filename in 'info', 'enable' and 'disable' command
1152 tests.
1153
b972bd9c
JK
11542014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
1155
1156 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
1157 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1158 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
1159
125f8a3d
GB
11602014-06-20 Gary Benson <gbenson@redhat.com>
1161
1162 * gdb.arch/i386-avx.exp: Fix include file location.
1163 * gdb.arch/i386-sse.exp: Likewise.
1164
3ed9baed
IB
11652014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
1166
1167 * gdb.dlang/expression.exp: New file.
1168
034f788c
PA
11692014-06-19 Pedro Alves <palves@redhat.com>
1170
1171 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
1172 out from ...
1173 (top level): ... here. Iterate running tests under different
1174 scheduler-locking settings.
1175
45371d0c
LM
11762014-06-18 Luis Machado <lgustavo@codesourcery.com>
1177
1178 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
1179 to DW_FORM_addr and use non-zero addresses.
1180
5d376983
SC
11812014-06-18 Siva Chandra Reddy <sivachandra@google.com>
1182
1183 PR gdb/17017
1184 * gdb.python/py-xmethods.cc: Add global function call counters and
1185 increment them in their respective functions. Remove "cout"
1186 statements.
1187 * gdb.python/py-xmethods.exp: Make tests check the global function
1188 call counters instead of depending on inferior IO.
1189
a1aa2221
LM
11902014-06-18 Don Breazeal <donb@codesourcery.com>
1191
1192 * gdb.base/foll-fork.exp (default_fork_parent_follow):
1193 Deleted procedure.
1194 (explicit_fork_parent_follow): Deleted procedure.
1195 (explicit_fork_child_follow): Deleted procedure.
1196 (test_follow_fork): New procedure.
1197 (do_fork_tests): Replace calls to deleted procedures with
1198 calls to test_follow_fork and reset GDB for subsequent
1199 procedure calls.
1200
0fc05997
YQ
12012014-06-17 Yao Qi <yao@codesourcery.com>
1202
1203 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
1204 CP1252.
1205
70795c52
LM
12062014-06-17 Luis Machado <lgustavo@codesourcery.com>
1207
1208 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
1209 Initialize ptr and S explicitly.
1210 (skip_type_update_when_not_use_rtti_test): Likewise.
1211
6be47f0c
KS
12122014-06-16 Keith Seitz <keiths@redhat.com>
1213
1214 PR mi/15863
1215 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
1216 the inferior is started.
1217
d03de421
PA
12182014-06-16 Pedro Alves <palves@redhat.com>
1219
1220 * gdb.base/break-main-file-remove-fail.c: New file.
1221 * gdb.base/break-main-file-remove-fail.exp: New file.
1222 * gdb.base/break-unload-file.exp: Use build_executable instead of
1223 prepare_for_testing.
1224 (test_break): New parameter "initial_load". Handle it.
1225 (top level): Add initial_load cmdline/file axis.
1226
f9579b99
TT
12272014-06-12 Tom Tromey <tromey@redhat.com>
1228
1229 * gdb.base/completion.exp: Don't use directory name in test.
1230
3657956b
GB
12312014-06-09 Gary Benson <gbenson@redhat.com>
1232
1233 * gdb.base/sigall.c [Functions to send signals]: Reorder to
1234 separate the always-available ANSI-standard signals from the
1235 signals that require checking.
1236 (main): Likewise.
1237 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
1238 Likewise.
1239 (main): Likewise.
1240
4186eb54
KS
12412014-06-07 Keith Seitz <keiths@redhat.com>
1242
1243 Revert:
1244 PR c++/16253
1245 * gdb.cp/var-tag.cc: New file.
1246 * gdb.cp/var-tag.exp: New file.
1247 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1248 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1249 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1250 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1251
25326a28 12522014-06-06 Doug Evans <xdje42@gmail.com>
6da01dbe
DE
1253
1254 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
1255
829155c9
PA
12562014-06-06 Pedro Alves <palves@redhat.com>
1257
1258 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
1259 in target debug output instead of looking at RSP packets,
1260 disabling the test on any target that uses hardware stepping.
1261 Update comments.
1262
61c8d22e
PA
12632014-06-06 Pedro Alves <palves@redhat.com>
1264
1265 * gdb.base/break-unload-file.exp: Fix typo.
1266
d9a47287
YQ
12672014-06-06 Yao Qi <yao@codesourcery.com>
1268
1269 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
1270 from "jit_function" to "^jit_function".
1271
e5e01dbf
YQ
12722014-06-06 Yao Qi <yao@codesourcery.com>
1273
1274 * gdb.base/async.c (foo): Add one statement.
1275 * gdb.base/async.exp: Get the next instruction address and
1276 match the output of "nexti" by instruction address. Match
1277 the hex address in the output of "finish".
1278
73ba372c
GB
12792014-06-06 Gary Benson <gbenson@redhat.com>
1280
1281 * gdb.base/call-signals.c: Remove preprocessor conditionals
1282 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
1283 SIGSEGV and SIGTERM.
1284 * gdb.base/sigall.c: Likewise.
1285 * gdb.base/unwindonsignal.c: Likewise.
1286 * gdb.reverse/sigall-reverse.c: Likewise.
1287
831517df
YQ
12882014-06-06 Yao Qi <yao@codesourcery.com>
1289
1290 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
1291 readable, skip the test.
1292
b8b91e98
YQ
12932014-06-06 Yao Qi <yao@codesourcery.com>
1294
1295 * gdb.threads/staticthreads.c (thread_function): Move the line
1296 setting breakpoint on forward.
1297 * gdb.threads/staticthreads.exp: Update comments.
1298
fb934770
LC
12992014-06-05 Ludovic Courtès <ludo@gnu.org>
1300
1301 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
1302 "history-append! type error".
1303
6ef284bd
SM
13042014-06-05 Simon Marchi <simon.marchi@ericsson.com>
1305
1306 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
1307 erroneous dprintf expected input.
1308
a872e241
DE
13092014-06-04 Doug Evans <xdje42@gmail.com>
1310
1311 * gdb.guile/scm-generics.exp: Delete.
1312
16f691fb
DE
13132014-06-04 Doug Evans <xdje42@gmail.com>
1314
1315 * gdb.guile/scm-breakpoint.exp: Update.
1316 Add tests for breakpoint registration.
1317
012370f6
TT
13182014-06-04 Tom Tromey <tromey@redhat.com>
1319
1320 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
1321 VLA-in-union.
1322 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
1323 inner_vla_struct, vla_union types. Initialize objects of those
1324 types and compute their sizes.
1325
9f5a4cef
HZ
13262014-06-04 Nathan Sidwell <nathan@codesourcery.com>
1327 Hui Zhu <hui@codesourcery.com>
1328
1329 * gdb.base/fileio.exp: Add test for shell not available as well as
1330 available.
1331 * gdb.base/fileio.c (test_system): Check for shell twice.
1332
90a45c4d
YQ
13332014-06-04 Yao Qi <yao@codesourcery.com>
1334
1335 * gdb.base/auto-connect-native-target.exp: Remove redundant
1336 space from the regexp pattern.
1337
70017e41
YQ
13382014-06-04 Yao Qi <yao@codesourcery.com>
1339
1340 * gdb.base/default.exp: Replace "child" with "native" in
1341 regexp pattern.
1342
883964a7
SC
13432014-06-03 Siva Chandra Reddy <sivachandra@google.com>
1344
1345 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
1346 * gdb.python/py-xmethods.exp: New tests to test xmethods.
1347 * gdb.python/py-xmethods.py: Python script supporting the
1348 new testcase and tests.
1349
ef370185
JB
13502014-06-03 Joel Brobecker <brobecker@adacore.com>
1351 Pedro Alves <palves@redhat.com>
1352
1353 PR breakpoints/17000
1354 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
1355 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
1356
1e2ccb61
BM
13572014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1358
1359 * gdb.base/subst.exp: Add tests to verify partial path matching
1360 output.
1361
c6ec5ab2
PA
13622014-06-03 Pedro Alves <palves@redhat.com>
1363
1364 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1365 target that doesn't use software single-stepping.
1366
835c559f
PA
13672014-06-03 Pedro Alves <palves@redhat.com>
1368
1369 PR breakpoints/17000
1370 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1371 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1372
06eb1586
DE
13732014-06-02 Doug Evans <xdje42@gmail.com>
1374
1375 * gdb.guile/scm-parameter.exp: New file.
1376
e698b8c4
DE
13772014-06-02 Doug Evans <xdje42@gmail.com>
1378
1379 * gdb.guile/scm-cmd.c: New file.
1380 * gdb.guile/scm-cmd.exp: New file.
1381
ded03782
DE
13822014-06-02 Doug Evans <xdje42@gmail.com>
1383
1384 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1385 pretty-printer lookup.
1386 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1387 (make-pp_s-printer): Call it.
1388 (make-pretty-printer-from-dict): New function.
1389 (lookup-pretty-printer-maker-from-dict): New function.
1390 (*pretty-printer*): Simplify.
1391 (make-objfile-pp_s-printer): New function.
1392 (install-objfile-pretty-printers!): New function.
1393 (make-progspace-pp_s-printer): New function.
1394 (install-progspace-pretty-printers!): New function.
1395 * gdb.guile/scm-progspace.c: New file.
1396 * gdb.guile/scm-progspace.exp: New file.
1397
41fac0cf
PA
13982014-06-02 Pedro Alves <palves@redhat.com>
1399
1400 * gdb.base/dprintf-bp-same-addr.c: New file.
1401 * gdb.base/dprintf-bp-same-addr.exp: New file.
1402
96ae5695
EBM
14032014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1404
1405 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1406 * gdb.arch/powerpc-power.s: Likewise.
1407
da02b3a8
JB
14082014-06-02 Joel Brobecker <brobecker@adacore.com>
1409
1410 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1411
c72b2e7b
YQ
14122014-06-01 Yao Qi <yao@codesourcery.com>
1413
1414 * gdb.base/watchpoint.exp (test_watch_location): Check null
1415 pointer can be dereferenced. If not, do the test, otherwise
1416 skip it.
1417
53e8a631
AB
14182014-05-30 Andrew Burgess <aburgess@broadcom.com>
1419
1420 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1421 results.
1422 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1423
938f0e2f
AB
14242014-05-30 Andrew Burgess <aburgess@broadcom.com>
1425
1426 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1427 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1428 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1429 * gdb.arch/amd64-invalid-stack-top.c: New file.
1430 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1431
9ba6657a
PA
14322014-05-30 Pedro Alves <palves@redhat.com>
1433
1434 PR breakpoints/17000
1435 * gdb.base/sss-bp-on-user-bp.c: New file.
1436 * gdb.base/sss-bp-on-user-bp.exp: New file.
1437
522c09bf
DB
14382014-05-30 David Blaikie <dblaikie@gmail.com>
1439
1440 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1441 gnu_inline semantics via attribute.
1442 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1443 source explicitly specifies the required semantics.
1444
bf4ef81e
MR
14452014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1446
1447 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1448
329ea579
PA
14492014-05-29 Pedro Alves <palves@redhat.com>
1450 Tom Tromey <tromey@redhat.com>
1451
1452 * gdb.base/async-shell.exp: Don't enable target-async.
1453 * gdb.base/async.exp
1454 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1455 parameter. Adjust.
1456 (top level): Don't test with "target-async".
1457 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1458 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1459 * gdb.base/inferior-died.exp: Don't enable target-async.
1460 * gdb.base/interrupt-noterm.exp: Likewise.
1461 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1462 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1463 * gdb.mi/mi-nonstop.exp: Likewise.
1464 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1465 * gdb.mi/mi-nsintrall.exp: Likewise.
1466 * gdb.mi/mi-nsmoribund.exp: Likewise.
1467 * gdb.mi/mi-nsthrexec.exp: Likewise.
1468 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1469 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1470 * gdb.python/py-evsignal.exp: Don't enable target-async.
1471 * gdb.python/py-evthreads.exp: Likewise.
1472 * gdb.python/py-prompt.exp: Likewise.
1473 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1474 * gdb.server/solib-list.exp: Don't enable target-async.
1475 * gdb.threads/thread-specific-bp.exp: Likewise.
1476 * lib/mi-support.exp: Adjust to use mi-async.
1477
fd664c91
PA
14782014-05-29 Pedro Alves <palves@redhat.com>
1479
1480 PR gdb/13860
1481 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1482 reason, even in sync mode.
1483
251bde03
PA
14842014-05-29 Pedro Alves <palves@redhat.com>
1485 Hui Zhu <hui@codesourcery.com>
1486
1487 PR PR15693
1488 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1489 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1490 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1491 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1492
7f3c0343
JB
14932014-05-28 Joel Brobecker <brobecker@adacore.com>
1494
1495 * config/monitor.exp (gdb_target_monitor): Replace use of
1496 "set remotebaud" by "set serial baud".
1497
b2715b27
AW
14982014-05-26 Andy Wingo <wingo@igalia.com>
1499
1500 * gdb.guile/scm-breakpoint.exp:
1501 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1502 properties instead of gdb-object-properties.
1503
498a4489
YQ
15042014-05-26 Yao Qi <yao@codesourcery.com>
1505
1506 * gdb.server/no-thread-db.exp: Specify source file name
1507 explicitly when setting a breakpoint.
1508
589fdceb
MM
15092014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1510
1511 * gdb.btrace/vdso.c: New.
1512 * gdb.btrace/vdso.exp: New.
1513
e9089e05
MM
15142014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1515
1516 * gdb.base/gcore.exp (capture_command_output): Move ...
1517 * lib/gdb.exp (capture_command_output): ... here.
1518
67b5c0c1
MM
15192014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1520
1521 * gdb.btrace/data.exp: Test memory access during btrace replay.
1522
a2199296
SM
15232014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1524
1525 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1526
17b2616c
PA
15272014-05-21 Pedro Alves <palves@redhat.com>
1528
1529 PR gdb/13860
1530 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1531 (top level): Test that output related to execution commands is
1532 sent to the console with CLI commands, but not with MI commands.
1533 Test that breakpoint events are always mirrored to the console.
1534 Also expect the new source line to be output after a "next" in
1535 async mode too. Make it a pass/fail test.
1536 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1537 output.
1538 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1539
5166082f
PA
15402014-05-21 Pedro Alves <palves@redhat.com>
1541
1542 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1543 Use them to test variations of "list" after reaching a breakpoint.
1544 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1545 Test "list" with listsize 10 after reaching a breakpoint.
1546 * gdb.python/python.exp (decode_line current location line
1547 number): Adjust expected line number.
1548
2f25d70f
SM
15492014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1550
1551 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1552 behavior for $args, pass it directly to "run".
1553
ff604a67
MR
15542014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1555
1556 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1557 30000 to 65536.
1558
6a3cb8e8
PA
15592014-05-21 Pedro Alves <palves@redhat.com>
1560
1561 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1562 auto-connect-native-target off".
1563 * gdb.base/auto-connect-native-target.c: New file.
1564 * gdb.base/auto-connect-native-target.exp: New file.
1565
4ebfc96e
PA
15662014-05-21 Pedro Alves <palves@redhat.com>
1567
1568 * gdb.base/default.exp: Test "target native" instead of "target
1569 child".
1570
36d46afb
MW
15712014-05-21 Mark Wielaard <mjw@redhat.com>
1572
1573 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1574
5876f503
JK
15752014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1576
1577 Fix TLS access for -static -pthread.
1578 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1579 <HAVE_TLS> (thread_function, main): Initialize it.
1580 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1581 Add clean_restart.
1582 <$have_tls != "">: Check TLSVAR.
1583
0256a6ac
PA
15842014-05-21 Pedro Alves <palves@redhat.com>
1585
1586 * gdb.base/dcache-line-read-error.c: New.
1587 * gdb.base/dcache-line-read-error.exp: New.
1588
936d2992
PA
15892014-05-20 Pedro Alves <palves@redhat.com>
1590
1591 * gdb.base/compare-sections.c: New file.
1592 * gdb.base/compare-sections.exp: New file.
1593
802e8e6d
PA
15942014-05-20 Pedro Alves <palves@redhat.com>
1595
1596 * gdb.base/break-idempotent.c: New file.
1597 * gdb.base/break-idempotent.exp: New file.
1598
e59fa00f
MM
15992014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1600
1601 * gdb.btrace/nohist.exp: New.
1602
8b696e31
YQ
16032014-05-20 Yao Qi <yao@codesourcery.com>
1604
1605 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1606 gdb.reverse directory and gdb_reverse_timeout exists in board
1607 setting.
1608 * README: Document gdb_reverse_timeout.
1609
73c9764f
YQ
16102014-05-20 Yao Qi <yao@codesourcery.com>
1611
1612 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1613 'test_file_name'. Treat args as a string instead of a list.
1614 (gdb_init): Rename argument 'args' by 'test_file_name'.
1615
f1f4348a
JK
16162014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1617
1618 * gdb.arch/powerpc-power.exp: New file.
1619 * gdb.arch/powerpc-power.s: New file.
1620
0dbe70ce
DE
16212014-05-16 Doug Evans <dje@google.com>
1622
1623 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
d7761c2c
DE
1624 * gdb.base/completion.exp: Check that all expected files exist
1625 before doing file completion.
0dbe70ce 1626
8d551b02
DE
16272014-05-16 Doug Evans <dje@google.com>
1628
1629 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1630 Update.
1631 (do_syscall_tests_without_xml): Update.
1632
73eb7709
PA
16332014-05-16 Pedro Alves <palves@redhat.com>
1634
1635 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1636 instead of "unknown output after running".
1637
3fae92fc
YQ
16382014-05-16 Yao Qi <yao@codesourcery.com>
1639
1640 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1641 file1.txt from host at the end.
1642 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1643
c2b2ccc5
DE
16442014-05-15 Doug Evans <dje@google.com>
1645
1646 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1647 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1648 loading file. Add test for TU lookup.
1649
8c217a4b
SM
16502014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1651
1652 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1653 calling "-exec-arguments" or "set args" before running the
1654 inferior.
1655
3deb39c6
SM
16562014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1657
1658 * lib/mi-support.exp (mi_expect_stop): Expect message for
1659 inferiors that exit with non-zero exit code.
1660
71a79f8c
YQ
16612014-05-14 Yao Qi <yao@codesourcery.com>
1662
1663 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1664 match absolute path on remote host.
1665 (test_file_list_exec_source_files): Remove "/" from the
1666 pattern.
1667
f23fcd46
YQ
16682014-05-14 Yao Qi <yao@codesourcery.com>
1669
1670 * boards/local-remote-host-notty.exp (${board}_file): New
1671 proc.
1672
9404b58f
KM
16732014-05-07 Kyle McMartin <kyle@redhat.com>
1674
1675 Pushed by Joel Brobecker <brobecker@adacore.com>.
1676 * gdb.arch/aarch64-atomic-inst.c: New file.
1677 * gdb.arch/aarch64-atomic-inst.exp: New file.
1678
5e45f04c
YQ
16792014-05-07 Yao Qi <yao@codesourcery.com>
1680
1681 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1682 in current context" too.
1683
c888a17d
KS
16842014-05-05 Keith Seitz <keiths@redhat.com>
1685
1686 * gdb.linespec/ls-dollar.exp: Add test for linespec
1687 file:convenience_variable.
1688
290a839c
YQ
16892014-05-05 Yao Qi <yao@codesourcery.com>
1690
1691 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1692 traceframes into tfile and ctf trace files. Read data from
1693 trace file and test collected data.
1694 (gdb_collect_locals_test): Likewise.
1695 (gdb_unavailable_registers_test): Likewise.
1696 (gdb_unavailable_floats): Likewise.
1697 (gdb_collect_globals_test): Likewise.
1698 (top-level): Append "ctf" to trace_file_targets if GDB
1699 supports.
1700
b5262cd0
YQ
17012014-05-05 Yao Qi <yao@codesourcery.com>
1702
1703 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1704 code to ...
1705 (gdb_collect_args_test_1): ... it. New proc.
1706 (gdb_collect_locals_test): Move some code to ...
1707 (gdb_collect_locals_test_1): ... it. New proc.
1708 (gdb_unavailable_registers_test): Move some code to ...
1709 (gdb_unavailable_registers_test_1): ... it. New proc.
1710 (gdb_unavailable_floats): Move some code to ...
1711 (gdb_unavailable_floats_1): ... it. New proc.
1712
30a1e6cc
SDJ
17132014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1714
1715 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1716 probes to test for bitness recognition.
1717 * gdb.arch/amd64-stap-optional-prefix.exp
1718 (test_probe_value_without_reg): New procedure.
1719 Add code to test for different kinds of bitness.
1720
f33da99a
SDJ
17212014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1722
1723 PR breakpoints/16889
1724 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1725 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1726
5b80f00d
PA
17272014-05-01 Pedro Alves <palves@redhat.com>
1728
1729 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1730 gdb_file_cmd if no file is specified.
1731 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1732 last_loaded_file to set the remote exec-file.
1733
f8c2a73c
PA
17342014-05-01 Pedro Alves <palves@redhat.com>
1735
1736 * boards/local-remote-host.exp: New file.
1737
be6e8ac7
PA
17382014-05-01 Pedro Alves <palves@redhat.com>
1739
1740 * boards/local-remote-host.exp: Rename to ...
1741 * boards/local-remote-host-notty.exp: ... this.
1742
cac0dc8f
JB
17432014-04-28 Joel Brobecker <brobecker@adacore.com>
1744
1745 * gdb.ada/dyn_arrayidx: New testcase.
1746
9730e6cc
YQ
17472014-04-26 Yao Qi <yao@codesourcery.com>
1748
1749 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1750 and compute the length of function main. Save it in
1751 $main_length.
1752 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1753 (top-level): Use gdb_compile to compile objects into
1754 executable and restart GDB. Remove invocation to
1755 prepare_for_testing.
1756
7ae1a6a6
PA
17572014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1758 Pedro Alves <palves@redhat.com>
1759
1760 PR server/16255
1761 * gdb.multi/multi-attach.c: New file.
1762 * gdb.multi/multi-attach.exp: New file.
1763
4082afcc
PA
17642014-04-25 Pedro Alves <palves@redhat.com>
1765
1766 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1767 user.
1768 (top level): Test that "set remote conditional-breakpoints-packet
1769 off" works as intended.
1770 * gdb.base/dprintf.exp: Test that "set remote
1771 breakpoint-commands-packet off" works as intended.
1772 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1773 New function.
1774 (top level): Call it.
1775 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1776 remote fast-tracepoints-packet off" works as intended.
1777 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1778 * lib/gdb.exp (gdb_is_target_remote): ... here.
1779
2abc3f8d
DB
17802014-04-24 David Blaikie <dblaikie@gmail.com>
1781
1782 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1783 ensure clang would not discard them.
1784 * gdb.base/gdbvars.c: Ditto.
1785 * gdb.base/memattr.c: Ditto.
1786 * gdb.base/whatis.c: Ditto.
1787 * gdb.python/py-prettyprint.c: Ditto.
1788 * gdb.trace/actions.c: Ditto.
1789 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1790 ensure clang would not discard it.
1791
bfd39632
DB
17922014-04-24 David Blaikie <dblaikie@gmail.com>
1793
1794 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1795 clang to emit the full definition of type required by the test
1796 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1797
22842ff6
DB
17982014-04-24 David Blaikie <dblaikie@gmail.com>
1799
1800 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1801 coax Clang into emitting the definition of the type.
1802 * gdb.cp/pr10728-x.h (y): Ditto.
1803 * gdb.cp/pr10728-y.cc (y): Ditto.
1804
c2e827ad
DB
18052014-04-24 David Blaikie <dblaikie@gmail.com>
1806
1807 * gdb.base/label.exp: XFAIL label related tests under Clang.
1808 * gdb.cp/cplabel.exp: Ditto.
1809 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1810 under Clang those using labels.
1811
4c2d33e7
YQ
18122014-04-25 Yao Qi <yao@codesourcery.com>
1813
1814 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1815 double_label.
1816 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1817 partial_label and double_label.
1818
56083b99
DB
18192014-04-24 David Blaikie <dblaikie@gmail.com>
1820
1821 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1822
25d4e99d
DB
18232014-04-24 David Blaikie <dblaikie@gmail.com>
1824
1825 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1826 of the function to work across GCC and Clang.
1827 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1828 pointer types (const void ** const V void **).
1829
01f9f808
MS
18302014-04-24 Michael Sturm <michael.sturm@mintel.com>
1831 Walfred Tedeschi <walfred.tedeschi@intel.com>
1832
1833 * Makefile.in (EXECUTABLES): Added i386-avx512.
1834 * gdb.arch/i386-avx512.c: New file.
1835 * gdb.arch/i386-avx512.exp: Likewise.
1836
4b48d439
KS
18372014-04-23 Keith Seitz <keiths@redhat.com>
1838
1839 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1840 (mi_make_breakpoint_table): New procedure.
1841 (mi_create_breakpoint): Use mi_make_breakpoint
1842 and return the result.
1843 (mi_make_breakpoint): New procedure.
1844 (mi_build_kv_pairs): New procedure.
1845
1846 * gdb.mi/mi-break.exp: Remove unused globals,
1847 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1848 All callers updated.
1849 * gdb.mi/mi-dprintf.exp: Use variable to track command
1850 number.
1851 Update all callers of mi_create_breakpoint and use
1852 mi_make_breakpoint_table.
1853 Remove any unused global variables.
1854 * gdb.mi/mi-nonstop.exp: Likewise.
1855 * gdb.mi/mi-nsintrall.exp: Likewise.
1856 * gdb.mi/mi-nsmoribund.exp: Likewise.
1857 * gdb.mi/mi-nsthrexec.exp: Likewise.
1858 * gdb.mi/mi-reverse.exp: Likewise.
1859 * gdb.mi/mi-simplerun.exp: Likewise.
1860 * gdb.mi/mi-stepn.exp: Likewise.
1861 * gdb.mi/mi-syn-frame.exp: Likewise.
1862 * gdb.mi/mi-until.exp: Likewise.
1863 * gdb.mi/mi-var-cp.exp: Likewise.
1864 * gdb.mi/mi-var-display.exp: Likewise.
1865 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1866 * gdb.mi/mi2-var-child.exp: Likewise.
1867 * gdb.mi/mi-vla-c99.exp: Likewise.
1868 * lib/mi-support.exp: Likewise.
1869
1870 From Ian Lance Taylor <iant@cygnus.com>:
1871 * lib/gdb.exp (parse_args): New procedure.
1872
08351840
PA
18732014-04-23 Pedro Alves <palves@redhat.com>
1874
1875 * gdb.base/break-unload-file.c: New file.
1876 * gdb.base/break-unload-file.exp: New file.
1877 * gdb.base/sym-file-lib.c (baz): New function.
1878 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1879 field.
1880 (load): Store the segment's mapped size.
1881 (unload): New function.
1882 (unload_shlib): New function.
1883 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1884 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1885 set a breakpoint at baz, and call it.
1886 * gdb.base/sym-file.exp: New tests for stale breakpoint
1887 instructions.
1888
076855f9
PA
18892014-04-23 Pedro Alves <palves@redhat.com>
1890
1891 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1892 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1893 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1894 * gdb.base/hbreak-unmapped.c: New file.
1895 * gdb.base/hbreak-unmapped.exp: New file.
1896 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1897 * lib/gdb.exp (gdb_is_target_remote): ... here.
1898
483805cf
PA
18992014-04-22 Pedro Alves <palves@redhat.com>
1900
1901 * gdb.base/consecutive-step-over.c: New file.
1902 * gdb.base/consecutive-step-over.exp: New file.
1903
06d97543
PA
19042014-04-22 Pedro Alves <palves@redhat.com>
1905
1906 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1907 instead of send_gdb/gdb_expect.
1908
b4429ea2
YQ
19092014-04-22 Yao Qi <yao@codesourcery.com>
1910
1911 * lib/trace-support.exp (generate_tracefile): New procedure.
1912 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1913 return 0.
1914 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1915 if generate_tracefile returns 1.
1916
51d48146
PA
19172014-04-18 Tom Tromey <palves@redhat.com>
1918 Pedro alves <tromey@redhat.com>
1919
1920 PR backtrace/15558
1921 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1922 with a backtrace limit.
1923 * gdb.python/py-frame-inline.exp: Test running to an inline
1924 function with a backtrace limit, and printing the newest frame.
1925 * gdb.python/py-frame-inline.c (main): Call f.
1926
bd1dce5f
MS
19272014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1928
1929 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1930
40d1a503
MS
19312014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1932
1933 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1934 Drop prefix from unsupported source file path.
1935
389b98f7
YQ
19362014-04-17 Yao Qi <yao@codesourcery.com>
1937
1938 * lib/gdb.exp (with_target_charset): New proc.
1939 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1940 with_target_charset.
1941 (test_print_strings): Likewise.
1942 (test_repeat_bytes): Likewise.
1943 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1944 for some tests.
1945
22869d73
KS
19462014-04-16 Keith Seitz <keiths@redhat.com>
1947
1948 PR gdb/15827
1949 * gdb.dwarf2/corrupt.c: New file.
1950 * gdb.dwarf2/corrupt.exp: New file.
1951
c4f87ca6
KS
19522014-04-16 Keith Seitz <keiths@redhat.com>
1953
1954 PR c++/16597
1955 * gdb.cp/namelessclass.cc: New file.
1956 * gdb.cp/namelessclass.exp: New file.
1957 * gdb.cp/namelessclass.S: New file.
1958
ab19de87
DE
19592014-04-16 Doug Evans <dje@google.com>
1960
1961 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1962 Add comment.
1963 (gdbserver_default_get_comm_port): New function.
1964 (gdbserver_start): Check if board file provided
1965 "gdbserver,get_comm_port" and use it if so.
1966 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1967 (gdb,socketport): Set to "stdio".
1968 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1969 (stdio_gdbserver_template): Delete.
1970 (${board}_get_remote_address): Update.
1971 (${board}_build_remote_cmd): Delete.
1972 (${board}_get_comm_port): New function.
1973 (${board}_spawn): Update.
1974 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1975 Delete.
1976 (${board}_get_remote_address): Update.
1977 (${board}_get_comm_port): New function.
1978
fc98a809
AB
19792014-04-16 Andrew Burgess <aburgess@broadcom.com>
1980
1981 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1982 appearing in any order.
1983
87fd9e6e
DE
19842014-04-15 Doug Evans <dje@google.com>
1985
1986 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1987 uninitialized value of "description".
1988
099fc3ea
KS
19892014-04-15 Keith Seitz <keiths@redhat.com>
1990
1991 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1992 Remove unused globals.
1993 (test_running_the_program): Likewise.
1994 (test_controlled_execution): Likewise.
1995 (test_controlling_breakpoints): Likewise.
1996 (test_program_termination): Likewise.
1997
5da151d4
KS
19982014-04-15 Keith Seitz <keiths@redhat.com>
1999
2000 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
2001 unused globals.
2002 (test_rbreak_creation_and_listing): Likewise.
2003 (test_ignore_count): Likewise.
2004 (test_error): Likewise.
2005
35e5d2f0
PA
20062014-04-15 Pedro Alves <palves@redhat.com>
2007
2008 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
2009 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
2010 sym-file-loader.c.
2011 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2012 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2013 to sym-file-loader.c.
2014 (struct library): Forward declare.
2015 (load_shlib, lookup_function): Change prototypes.
2016 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2017 (translate_offset): Remove declarations.
2018 (get_text_addr): New declaration.
2019 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
2020 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
2021 sym-file-loader.h.
2022 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
2023 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
2024 here from sym-file-loader.h.
2025 (struct library): New structure.
2026 (load_shlib, lookup_function): Change prototypes and adjust to
2027 work with a struct library.
2028 (find_shstrtab, find_strtab, find_shdr, find_symtab)
2029 (translate_offset): Make static.
2030 (get_text_addr): New function.
2031 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
2032
eb4c1710
PA
20332014-04-15 Pedro Alves <palves@redhat.com>
2034
2035 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
2036
2d1baf52
PA
20372014-04-15 Pedro Alves <palves@redhat.com>
2038
2039 * gdb.base/sym-file-loader.c: Include <limits.h>.
2040 (SELF_LINK): New define.
2041 (get_origin): New function.
2042 (load_shlib): Use it.
2043 * gdb.base/sym-file.exp: Don't early return if the target is
2044 remote. Use runto_main, and issue fail is that fails. Use
2045 gdb_load_shlibs.
2046 (shlib_name): Delete.
2047 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
2048
7dd6df01
PA
20492014-04-15 Pedro Alves <palves@redhat.com>
2050
2051 * gdb.base/sym-file.exp: Remove regex characters from test
2052 message. Don't refer to breakpoint numbers in test messages.
2053
b50c8614
KS
20542014-04-14 Keith Seitz <keiths@redhat.com>
2055
2056 PR c++/16253
2057 * gdb.cp/var-tag.cc: New file.
2058 * gdb.cp/var-tag.exp: New file.
2059 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
2060 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
2061 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2062 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2063
3d567982
TT
20642014-04-14 Tom Tromey <tromey@redhat.com>
2065
2066 * gdb.cp/classes.exp (test_enums): Handle underlying type.
2067 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
2068 type.
2069 * gdb.cp/enum-class.exp: New file.
2070 * gdb.cp/enum-class.cc: New file.
2071
0626fc76
TT
20722014-04-14 Tom Tromey <tromey@redhat.com>
2073
2074 * gdb.dwarf2/enum-type.exp: New file.
2075
dca325b3
SA
20762014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2077
2078 * gdb.mi/mi-vla-c99.exp: New file.
2079 * gdb.mi/vla.c: New file.
2080
5854b38a
SA
20812014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2082
2083 * gdb.base/vla-datatypes.c: New file.
2084 * gdb.base/vla-datatypes.exp: New file.
2085
463bb957
SA
20862014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2087
2088 * gdb.base/vla-ptr.c: New file.
2089 * gdb.base/vla-ptr.exp: New file.
2090
3dd170be
SA
20912014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2092
2093 * gdb.dwarf2/count.exp: New file.
2094
5ecaaa66
SA
20952014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
2096
2097 * gdb.base/vla-sideeffect.c: New file.
2098 * gdb.base/vla-sideeffect.exp: New file.
2099
41f1ada5
DB
21002014-04-14 David Blaikie <dblaikie@gmail.com>
2101
2102 * gdb.mi/non-stop.c: Add return value for non-void function return
2103 statement.
2104 * gdb.threads/staticthreads.c: Ditto.
2105
0be03e84
DE
21062014-04-12 Siva Chandra Reddy <sivachandra@google.com>
2107 Doug Evans <xdje42@gmail.com>
2108
2109 * gdb.guile/scm-value.c: Improve test case.
2110 * gdb.guile/scm-value.exp: Add new test.
2111
f180a1fb
DB
21122014-04-11 David Blaikie <dblaikie@gmail.com>
2113
2114 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
2115 override Clang's default.
2116
6b662e19
JB
21172014-04-11 Joel Brobecker <brobecker@adacore.com>
2118
2119 Revert the following changes (regressions):
2120
2121 * gdb.base/vla-sideeffect.c: New file.
2122 * gdb.base/vla-sideeffect.exp: New file.
2123
2124 * gdb.dwarf2/count.exp: New file.
2125
2126 * gdb.base/vla-multi.c: New file.
2127 * gdb.base/vla-multi.exp: New file.
2128
2129 * gdb.base/vla-ptr.c: New file.
2130 * gdb.base/vla-ptr.exp: New file.
2131
2132 * gdb.base/vla-datatypes.c: New file.
2133 * gdb.base/vla-datatypes.exp: New file.
2134
2135 * gdb.mi/mi-vla-c99.exp: New file.
2136 * gdb.mi/vla.c: New file.
2137
245a5f0b
KS
21382014-04-11 Keith Seitz <keiths@redhat.com>
2139
2140 PR c++/16675
2141 * gdb.cp/cpsizeof.exp: New file.
2142 * gdb.cp/cpsizeof.cc: New file.
2143
58a84dcf
SA
21442014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2145
191a8a90
JB
2146 * gdb.mi/mi-vla-c99.exp: New file.
2147 * gdb.mi/vla.c: New file.
58a84dcf 2148
c8655f75
SA
21492014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2150
2151 * gdb.base/vla-datatypes.c: New file.
2152 * gdb.base/vla-datatypes.exp: New file.
2153
024e13b4
SA
21542014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2155
2156 * gdb.base/vla-ptr.c: New file.
2157 * gdb.base/vla-ptr.exp: New file.
2158
1a237e0e
SA
21592014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2160
2161 * gdb.base/vla-multi.c: New file.
2162 * gdb.base/vla-multi.exp: New file.
2163
504f3432
SA
21642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2165
2166 * gdb.dwarf2/count.exp: New file.
2167
3bce8237
SA
21682014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
2169
191a8a90
JB
2170 * gdb.base/vla-sideeffect.c: New file.
2171 * gdb.base/vla-sideeffect.exp: New file.
3bce8237 2172
322f9c21
YQ
21732014-04-11 Yao Qi <yao@codesourcery.com>
2174
2175 * gdb.base/completion.exp: Check file exists before running tests
2176 on file completion.
2177
d708bcd1
PA
21782014-04-10 Pedro Alves <palves@redhat.com>
2179
2180 * gdb.base/cond-eval-mode.c: New file.
2181 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
2182 prepare_for_testing to build the new file. Check result of
2183 runto_main.
2184 (test_break, test_watch): New procedures.
2185 (top level): Use them.
2186
ae1d2761
PM
21872014-04-08 Pierre Muller <muller@sourceware.org>
2188
2189 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
2190 Ctrl-V use for mingw hosts.
2191
7af389b8
SC
21922014-04-07 Siva Chandra Reddy <sivachandra@google.com>
2193
2194 * gdb.python/py-value.c: Improve test case.
2195 * gdb.python/py-value.exp: Add new test.
2196
5e703181
DE
21972014-04-07 David Blaikie <dblaikie@gmail.com>
2198
2199 * lib/compiler.c: Identify the clang compiler.
2200 * lib/compiler.cc: Ditto.
2201
9810b410
YQ
22022014-04-03 Yao Qi <yao@codesourcery.com>
2203
2204 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
2205
98d1b8dc
AB
22062014-04-01 Anton Blanchard <anton@samba.org>
2207
2208 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
2209 messages unique.
2210
3114cea1
AB
22112014-04-01 Anton Blanchard <anton@samba.org>
2212
2213 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
2214 prepare_for_testing.
2215
62f7182c
AB
22162014-04-01 Anton Blanchard <anton@samba.org>
2217
2218 * gdb.arch/ppc64-atomic-inst.c: Remove.
2219 * gdb.arch/ppc64-atomic-inst.S: New file.
2220 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
2221
770e7fc7
DE
22222014-03-31 Doug Evans <dje@google.com>
2223
2224 * gdb.base/print-symbol-loading-lib.c: New file.
2225 * gdb.base/print-symbol-loading-main.c: New file.
2226 * gdb.base/print-symbol-loading.exp: New file.
2227
46e2bafa
YQ
22282014-03-31 Yao Qi <yao@codesourcery.com>
2229
2230 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
2231
8776cfe9
JB
22322014-03-28 Joel Brobecker <brobecker@adacore.com>
2233
2234 * gdb.ada/mi_dyn_arr: New testcase.
2235
5d1ef361
DE
22362014-03-27 Doug Evans <dje@google.com>
2237
2238 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
2239
b5bee914
YQ
22402014-03-27 Yao Qi <yao@codesourcery.com>
2241
2242 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
2243 if target is nios2-*-*.
2244
0d4d0e77
YQ
22452014-03-26 Yao Qi <yao@codesourcery.com>
2246
2247 * lib/gdb.exp (readline_is_used): New proc.
2248 * gdb.base/completion.exp: Move tests on command complete up.
2249 Skip the rest of tests if readline is not used.
2250 * gdb.ada/complete.exp: Skp the test if readline is not
2251 used.
2252 * gdb.base/filesym.exp: Likewise.
2253 * gdb.base/macscp.exp: Likewise.
2254 * gdb.base/readline-ask.exp: Likewise.
2255 * gdb.base/readline.exp: Likewise.
2256 * gdb.python/py-cmd.exp: Likewise.
2257 * gdb.trace/tfile.exp: Likewise.
2258
29361eee
YQ
22592014-03-26 Yao Qi <yao@codesourcery.com>
2260
2261 * gdb.base/macscp.exp: Fix code format issues.
2262
bc9a5525
UW
22632014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
2264
2265 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
2266 * gdb.asm/powerpc64le.inc: New file.
2267
d3839ede
PA
22682014-03-25 Pedro Alves <palves@redhat.com>
2269 Doug Evans <dje@google.com>
2270
2271 * gdb.base/source-execution.c: New file.
2272 * gdb.base/source-execution.exp: New file.
2273 * gdb.base/source-execution.gdb: New file.
2274
01672a57
DE
22752014-03-24 Doug Evans <dje@google.com>
2276
2277 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
2278 using fission.
2279
88bbeca9
HZ
22802014-03-24 Hui Zhu <hui@codesourcery.com>
2281 Pedro Alves <palves@redhat.com>
2282
2283 PR breakpoints/16101
2284 * gdb.base/dprintf.exp: Use unsupported rather than changing the
2285 test pass/fail messages. Detect missing support for dprintf when
2286 breakpoints are actually inserted.
2287 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
2288 breakpoints are actually inserted.
2289 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
2290 fails.
2291
d2348791
JK
22922014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2293
2294 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
2295
feef67ab
DE
22962014-03-22 Doug Evans <xdje42@gmail.com>
2297
2298 * gdb.python/python.exp (python not supported): Verify multi-line
2299 python command issues an error.
25d743f9 2300 * gdb.guile/guile.exp (guile not supported): Verify multi-line
51b8d20c 2301 guile command issues an error.
feef67ab 2302
ecebef6a
MR
23032014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
2304
2305 * gdb.threads/thread-specific.exp: Handle the lack of usable
2306 $this_breakpoint and $this_thread.
2307
ccdd1909
HZ
23082014-03-21 Hui Zhu <hui@codesourcery.com>
2309
2310 * gdb.base/attach.exp (do_command_attach_tests): New.
2311
beb460e8
PA
23122014-03-20 Tom Tromey <tromey@redhat.com>
2313 Pedro Alves <palves@redhat.com>
2314
2315 PR cli/15718
2316 * gdb.base/condbreak-call-false.c: New file.
2317 * gdb.base/condbreak-call-false.exp: New file.
2318
40acf43a
PA
23192014-03-20 Pedro Alves <palves@redhat.com>
2320
2321 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
2322 Delete.
2323 (block_signals, unblock_signals): Delete.
2324 (child_function_2, main): Remove references to deleted variable
2325 and functions.
2326
9f5e1e02
PA
23272014-03-20 Pedro Alves <palves@redhat.com>
2328
2329 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
2330 Use pthread_kill to signal thread 2.
2331 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2332 Adjust to make the test send itself a signal rather than using the
2333 host's "kill" command.
2334
99619bea
PA
23352014-03-20 Pedro Alves <palves@redhat.com>
2336
2337 * gdb.threads/multiple-step-overs.c: New file.
2338 * gdb.threads/multiple-step-overs.exp: New file.
2339 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2340 Adjust expected infrun debug output.
2341
2adfaa28
PA
23422014-03-20 Pedro Alves <palves@redhat.com>
2343
2344 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
2345 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
2346
31e77af2
PA
23472014-03-20 Pedro Alves <palves@redhat.com>
2348
2349 PR breakpoints/7143
2350 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
2351 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
2352 of gdb_test_multiple.
2353 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
2354 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
2355
b9f437de
PA
23562014-03-20 Pedro Alves <palves@redhat.com>
2357
2358 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2359 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2360
05adc73e
PA
23612014-03-19 Pedro Alves <palves@redhat.com>
2362
2363 * gdb.base/async.exp: Remove early return.
2364
6048b950
PA
23652014-03-19 Pedro Alves <palves@redhat.com>
2366
2367 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2368
8bcfb00a
PA
23692014-03-19 Pedro Alves <palves@redhat.com>
2370
2371 * gdb.base/async.exp (test_background): Expect \r\n after
2372 "completed." in the fail pattern.
2373
884e37dc
PA
23742014-03-19 Pedro Alves <palves@redhat.com>
2375
2376 * gdb.base/async.exp (test_background): New procedure.
2377 Use it for all background execution command tests.
2378
148e57e2
PA
23792014-03-19 Pedro Alves <palves@redhat.com>
2380
2381 * gdb.base/async.exp: Use prepare_for_testing.
2382
f48088c7
PA
23832014-03-19 Pedro Alves <palves@redhat.com>
2384
2385 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2386 the same line.
2387
e2f6c966
PA
23882014-03-19 Pedro Alves <palves@redhat.com>
2389
2390 * gdb.base/async.c (main): Add "jump here" and "until here" line
2391 marker comments.
2392 * gdb.base/async.exp (jump_here): New global.
2393 (jump& test): Use it.
2394 (until_here): New global.
2395 (until& test): Use it.
2396
c30568d4
PA
23972014-03-19 Pedro Alves <palves@redhat.com>
2398
2399 * gdb.base/async.exp: Don't frob gdb_protocol.
2400
0172b6a7
DE
24012014-03-18 Doug Evans <xdje42@gmail.com>
2402
2403 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2404 Fix spelling of exec-done-display.
2405
06c868a8
JK
24062014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2407
2408 PR gdb/15358
2409 * gdb.base/gdb-sigterm.c: New file.
2410 * gdb.base/gdb-sigterm.exp: New file.
2411
0c7e1a46
PA
24122014-03-18 Pedro Alves <palves@redhat.com>
2413
2414 PR gdb/13860
2415 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2416 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2417 solib-event.
2418
f7c77d93
JB
24192014-03-17 Joel Brobecker <brobecker@adacore.com>
2420
2421 * gdb.ada/pckd_arr_ren: New testcase.
2422
5a1e8c7a
DE
24232014-03-13 Doug Evans <xdje42@gmail.com>
2424
2425 PR guile/16612
2426 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2427 collect after discarding symbols.
2428
350e1a76
DE
24292014-03-13 Ludovic Courtès <ludo@gnu.org>
2430 Doug Evans <xdje42@gmail.com>
2431
2432 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2433 to history survives a gc.
2434
a69900ae
PA
24352014-03-13 Pedro Alves <palves@redhat.com>
2436
2437 * gdb.base/default.exp: Don't test "target procfs".
2438
5db9f0bd
PA
24392014-03-13 Pedro Alves <palves@redhat.com>
2440
2441 * gdb.base/default.exp: Update "target child" and "target procfs"
2442 tests to not expect "Unix".
2443
b3ccfe11
TT
24442014-03-12 Tom Tromey <tromey@redhat.com>
2445
2446 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2447 New procs. Add target-async tests.
2448 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2449 Add target-async tests.
2450
646f4417
AA
24512014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2452
2453 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2454 'func_start' and 'func_end' for the beginning and end of the
2455 function code, respectively.
2456 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2457 'func_end' instead of 'func' and 'main'.
2458
288c211f
AA
24592014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2460
2461 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2462 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2463 generate the debug info assembler source.
2464
e0c0f156
AA
24652014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2466
2467 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2468 * gdb.dwarf2/arr-subrange.exp: Likewise.
2469 * gdb.dwarf2/dwz.exp: Likewise.
2470 * gdb.dwarf2/method-ptr.exp: Likewise.
2471 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2472 * gdb.dwarf2/subrange.exp: Likewise.
2473 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2474 * gdb.dwarf2/implptrpiece.exp: Likewise.
2475 * gdb.dwarf2/nostaticblock.exp: Likewise.
2476
0e5c4555
AA
24772014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2478
2479 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2480 directory to absolute path name arguments.
2481
5ec18f2b
JG
24822014-03-10 Joel Brobecker <brobecker@adacore.com>
2483
2484 * gdb.ada/tagged_access: New testcase.
2485
847fc4f2
MM
24862014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2487
2488 * gdb.btrace/data.exp: Update expected output.
2489
cc3da688
YQ
24902014-03-06 Yao Qi <yao@codesourcery.com>
2491
2492 * gdb.trace/pr16508.exp: New file.
2493
0f26cec1
PA
24942014-03-05 Pedro Alves <palves@redhat.com>
2495
2496 PR gdb/16575
2497 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2498 procedure.
2499 (top level): Adjust to use it. Add tests that exercise breakpoint
2500 interaction with the code-cache.
2501
7a5a839f
LC
25022014-02-26 Ludovic Courtès <ludo@gnu.org>
2503
2504 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2505 test for 'history-append!'.
2506
31aa7e4e
JB
25072014-02-26 Joel Brobecker <brobecker@adacore.com>
2508
2509 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2510 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2511 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2512 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2513 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2514 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2515
1b588015
JB
25162014-02-26 Joel Brobecker <brobecker@adacore.com>
2517
2518 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2519 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2520 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2521
55426c9d
JB
25222014-02-26 Joel Brobecker <brobecker@adacore.com>
2523
2524 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2525
dc53a7ad
JB
25262014-02-26 Joel Brobecker <brobecker@adacore.com>
2527
2528 * gdb.dwarf2/arr-stride.c: New file.
2529 * gdb.dwarf2/arr-stride.exp: New file.
2530
12ab52e9
PA
25312014-02-26 Pedro Alves <palves@redhat.com>
2532
2533 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2534 that won't ever trigger. Make sure that GDB reports the correct
2535 breakpoint that caused the stop.
2536
849c862e
JK
25372014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2538
2539 PR gdb/16626
2540 * gdb.base/auto-load-script: New file.
2541 * gdb.base/auto-load.c: New file.
2542 * gdb.base/auto-load.exp: New file.
2543
71b7d793
JK
2544 PR gdb/16626
2545 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2546
e2f0d509
JK
25472014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2548
2549 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2550 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2551
50cc37c8
DE
25522014-02-24 Doug Evans <dje@google.com>
2553
2554 * lib/gdb.exp (run_on_host): Log error output if program fails.
2555
ea4758f2
PA
25562014-02-21 Pedro Alves <palves@redhat.com>
2557
2558 * gdb.threads/step-after-sr-lock.c: Rename to ...
2559 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2560 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2561 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2562 ... this.
2563
d7b30f67
SDJ
25642014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2565
2566 PR tdep/16397
2567 * gdb.arch/amd64-stap-special-operands.exp: New file.
2568 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2569 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2570 * gdb.arch/amd64-stap-triplet.S: Likewise.
2571 * gdb.arch/amd64-stap-triplet.c: Likewise.
2572
83deb43f
JB
25732014-02-20 Joel Brobecker <brobecker@adacore.com>
2574
2575 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2576 in .section pseudo-op.
2577
adde2bff
DE
25782014-02-20 lin zuojian <manjian2006@gmail.com>
2579 Joel Brobecker <brobecker@adacore.com>
2580 Doug Evans <xdje42@gmail.com>
2581
2582 PR symtab/16581
2583 * gdb.dwarf2/dw2-icycle.S: New file.
2584 * gdb.dwarf2/dw2-icycle.c: New file.
2585 * gdb.dwarf2/dw2-icycle.exp: New file.
2586
f7bd0f78
SC
25872014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2588
2589 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2590 operations on gdb.Value objects.
2591 * gdb.python/py-value-cc.exp: Add new test to test operations on
2592 gdb.Value objects.
2593
c17ef0d5
DE
25942014-02-18 Doug Evans <dje@google.com>
2595
2596 * Makefile.in (TESTS): New variable.
2597 (expanded_tests, expanded_tests_or_none): New variables
2598 (check-single): Pass $(expanded_tests_or_none) to runtest.
2599 (check-parallel): Only run tests in $(TESTS) if non-empty.
2600 (check/no-matching-tests-found): New rule.
2601 * README: Document TESTS makefile variable.
2602
5dd3176f
DE
26032014-02-18 Doug Evans <dje@google.com>
2604
2605 * Makefile.in (check-parallel): rm -rf outputs temp.
2606
0b10be4f
JK
26072014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2608
2609 Fix "ERROR: no fileid for" in the testsuite.
2610 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2611
85f224e7
DE
26122014-02-12 Doug Evans <dje@google.com>
2613
2614 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2615 (MISCELLANEOUS): New variable.
2616 (clean): rm -rf $(MISCELLANEOUS).
2617 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2618 dwp live in the same directory as symlinks, with each symlink pointed
2619 to a differently named file in a different directory.
2620
149b30ff
DE
26212014-02-11 Doug Evans <dje@google.com>
2622
2623 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2624 of Tcl file commands.
2625
1dfdac32
MK
26262014-02-10 Mark Kettenis <kettenis@gnu.org>
2627
2628 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2629 "kill -SIGUSR1 -1".
2630
aa4fb036
JB
26312014-02-10 Joel Brobecker <brobecker@adacore.com>
2632
2633 * gdb.ada/tick_length_array_enum_idx: New testcase.
2634
ed3ef339
DE
26352014-02-10 Doug Evans <xdje42@gmail.com>
2636
2637 * configure.ac (AC_OUTPUT): Add gdb.guile.
2638 * configure: Regenerate.
2639 * lib/gdb-guile.exp: New file.
2640 * lib/gdb.exp (get_target_charset): New function.
2641 * gdb.base/help.exp: Update expected output from "apropos apropos".
2642 * gdb.guile/Makefile.in: New file.
2643 * gdb.guile/guile.exp: New file.
2644 * gdb.guile/scm-arch.c: New file.
2645 * gdb.guile/scm-arch.exp: New file.
2646 * gdb.guile/scm-block.c: New file.
2647 * gdb.guile/scm-block.exp: New file.
2648 * gdb.guile/scm-breakpoint.c: New file.
2649 * gdb.guile/scm-breakpoint.exp: New file.
2650 * gdb.guile/scm-disasm.c: New file.
2651 * gdb.guile/scm-disasm.exp: New file.
2652 * gdb.guile/scm-equal.c: New file.
2653 * gdb.guile/scm-equal.exp: New file.
2654 * gdb.guile/scm-error.exp: New file.
2655 * gdb.guile/scm-error.scm: New file.
2656 * gdb.guile/scm-frame-args.c: New file.
2657 * gdb.guile/scm-frame-args.exp: New file.
2658 * gdb.guile/scm-frame-args.scm: New file.
2659 * gdb.guile/scm-frame-inline.c: New file.
2660 * gdb.guile/scm-frame-inline.exp: New file.
2661 * gdb.guile/scm-frame.c: New file.
2662 * gdb.guile/scm-frame.exp: New file.
2663 * gdb.guile/scm-generics.exp: New file.
2664 * gdb.guile/scm-gsmob.exp: New file.
2665 * gdb.guile/scm-iterator.c: New file.
2666 * gdb.guile/scm-iterator.exp: New file.
2667 * gdb.guile/scm-math.c: New file.
2668 * gdb.guile/scm-math.exp: New file.
2669 * gdb.guile/scm-objfile-script-gdb.in: New file.
2670 * gdb.guile/scm-objfile-script.c: New file.
2671 * gdb.guile/scm-objfile-script.exp: New file.
2672 * gdb.guile/scm-objfile.c: New file.
2673 * gdb.guile/scm-objfile.exp: New file.
2674 * gdb.guile/scm-ports.exp: New file.
2675 * gdb.guile/scm-pretty-print.c: New file.
2676 * gdb.guile/scm-pretty-print.exp: New file.
2677 * gdb.guile/scm-pretty-print.scm: New file.
2678 * gdb.guile/scm-section-script.c: New file.
2679 * gdb.guile/scm-section-script.exp: New file.
2680 * gdb.guile/scm-section-script.scm: New file.
2681 * gdb.guile/scm-symbol.c: New file.
2682 * gdb.guile/scm-symbol.exp: New file.
2683 * gdb.guile/scm-symtab-2.c: New file.
2684 * gdb.guile/scm-symtab.c: New file.
2685 * gdb.guile/scm-symtab.exp: New file.
2686 * gdb.guile/scm-type.c: New file.
2687 * gdb.guile/scm-type.exp: New file.
2688 * gdb.guile/scm-value-cc.cc: New file.
2689 * gdb.guile/scm-value-cc.exp: New file.
2690 * gdb.guile/scm-value.c: New file.
2691 * gdb.guile/scm-value.exp: New file.
2692 * gdb.guile/source2.scm: New file.
2693 * gdb.guile/types-module.cc: New file.
2694 * gdb.guile/types-module.exp: New file.
2695
7026a7c1
YQ
26962014-02-10 Yao Qi <yao@codesourcery.com>
2697
2698 PR testsuite/16543
2699 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2700 * configure: Regenerated.
2701 * Makefile.in: New file.
2702
6c466447
AS
27032014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2704
2705 * gdb.python/py-framefilter.exp: Fix typo.
2706
6e854735
YQ
27072014-02-08 Yao Qi <yao@codesourcery.com>
2708
2709 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2710 that no =breakpoint-modified is emitted when breakpoints are
2711 modified through MI commands.
2712
d137e6dc
PA
27132014-02-07 Pedro Alves <pedro@codesourcery.com>
2714 Pedro Alves <palves@redhat.com>
2715
2716 * gdb.threads/step-after-sr-lock.c: New file.
2717 * gdb.threads/step-after-sr-lock.exp: New file.
2718
b5ee5a50
PA
27192014-02-07 Pedro Alves <palves@redhat.com>
2720
2721 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2722
3c77faf3
JK
27232014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2724
2725 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2726 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2727
6dddc817
DE
27282014-02-06 Doug Evans <xdje42@gmail.com>
2729
2730 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2731 output.
2732
2733 * gdb.gdb/python-interrupts.exp: New file.
2734
de7b2893
YQ
27352014-02-05 Yao Qi <yao@codesourcery.com>
2736
2737 * gdb.trace/report.exp (use_collected_data): Test the output
2738 of "info threads" and "info inferiors".
2739
66d032ac
YQ
27402014-02-05 Yao Qi <yao@codesourcery.com>
2741
2742 Revert this patch:
2743
2744 2013-05-24 Yao Qi <yao@codesourcery.com>
2745
2746 * gdb.trace/tfile.exp: Test inferior and thread.
2747
591a12a1
UW
27482014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2749
2750 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2751 on a function.
2752 * gdb.base/step-bt.c: Call hello via function pointer to make
2753 sure its first instruction is executed on powerpc64le-linux.
2754
0ff3e01f
UW
27552014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2756
2757 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2758
084ee545
UW
27592014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2760
2761 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2762 of the test patterns for use on little-endian systems.
2763
6ed14ff3
UW
27642014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2765
2766 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2767 (decimal_vector): Fix for little-endian.
2768
401e27fd
JM
27692014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2770
2771 * gdb.arch/sparc-sysstep.exp: New file.
2772 * gdb.arch/sparc-sysstep.c: Likewise.
2773
2774 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2775
8b924729
EBM
27762014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2777
2778 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2779
fb151210
JB
27802014-01-23 Tom Tromey <tromey@redhat.com>
2781
2782 * gdb.ada/array_char_idx: New testcase.
2783
0740f8d8
TT
27842014-01-23 Tom Tromey <tromey@redhat.com>
2785
2786 PR python/16487:
2787 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2788 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2789 classes.
2790
21909fa1
TT
27912014-01-23 Tom Tromey <tromey@redhat.com>
2792
2793 PR python/16491:
2794 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2795 string from an inferior frame.
2796 * gdb.python/py-framefilter-mi.exp: Update.
2797
87ce2a04
DE
27982014-01-22 Doug Evans <dje@google.com>
2799
2800 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2801
237b092b
AA
28022014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2803
2804 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2805
d674a709
AA
28062014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2807
2808 * gdb.trace/entry-values.exp: Remove excess space character from
2809 regex patterns. Handle s390 call instruction.
2810
20fa3390
AA
28112014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2812
2813 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2814 define "*_start" label. Make "name" static.
2815 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2816 ${name} by references to ${name}_start.
2817
78466714
AA
28182014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2819
2820 * gdb.base/info-macros.exp: Remove "debug" from the compile
2821 options.
2822
ec9f644a
IB
28232014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2824
2825 * gdb.dlang/demangle.exp: New file.
2826
94b1b47e
IB
28272014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2828
2829 * gdb.dlang/primitive-types.exp: New file.
2830
7f420862
IB
28312014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2832
2833 * configure.ac: Create gdb.dlang/Makefile.
2834 * configure: Regenerate.
2835 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2836 * gdb.dlang/Makefile.in: New file.
2837 * lib/d-support.exp: New file.
2838 * lib/gdb.exp (skip_d_tests): New proc.
2839
52834460
MM
28402014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2841
2842 * gdb.btrace/delta.exp: Check reverse stepi.
2843 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2844 * gdb.btrace/finish.exp: New.
2845 * gdb.btrace/next.exp: New.
2846 * gdb.btrace/nexti.exp: New.
2847 * gdb.btrace/record_goto.c: Add comments.
2848 * gdb.btrace/step.exp: New.
2849 * gdb.btrace/stepi.exp: New.
2850 * gdb.btrace/multi-thread-step.c: New.
2851 * gdb.btrace/multi-thread-step.exp: New.
2852 * gdb.btrace/rn-dl-bind.c: New.
2853 * gdb.btrace/rn-dl-bind.exp: New.
2854 * gdb.btrace/data.c: New.
2855 * gdb.btrace/data.exp: New.
2856 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2857
6e07b1d2
MM
28582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2859
2860 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2861 * gdb.btrace/exception.exp: Update.
2862 * gdb.btrace/instruction_history.exp: Update.
2863 * gdb.btrace/record_goto.exp: Update.
2864 * gdb.btrace/tailcall.exp: Update.
2865 * gdb.btrace/unknown_functions.exp: Update.
2866 * gdb.btrace/delta.exp: New.
2867
0b722aec
MM
28682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2869
2870 * gdb.btrace/record_goto.exp: Add backtrace test.
2871 * gdb.btrace/tailcall.exp: Add backtrace test.
2872
066ce621
MM
28732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2874
2875 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2876 * gdb.btrace/record_goto.c: New.
2877 * gdb.btrace/record_goto.exp: New.
2878 * gdb.btrace/x86-record_goto.S: New.
2879
0688d04e
MM
28802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2881
2882 * gdb.btrace/function_call_history.exp: Update tests.
2883 * gdb.btrace/instruction_history.exp: Update tests.
2884
8710b709
MM
28852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2886
2887 * gdb.btrace/function_call_history.exp: Fix expected field
2888 order for "record function-call-history".
2889 Add new tests for "record function-call-history /c".
2890 * gdb.btrace/exception.cc: New.
2891 * gdb.btrace/exception.exp: New.
2892 * gdb.btrace/tailcall.exp: New.
2893 * gdb.btrace/x86-tailcall.S: New.
2894 * gdb.btrace/x86-tailcall.c: New.
2895 * gdb.btrace/unknown_functions.c: New.
2896 * gdb.btrace/unknown_functions.exp: New.
2897 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2898
5de9129b
MM
28992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2900
2901 * gdb.btrace/instruction_history.exp: Update.
2902 * gdb.btrace/function_call_history.exp: Update.
2903
23a7fe75
MM
29042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2905
2906 * gdb.btrace/function_call_history.exp: Fix expected function
2907 trace.
2908 * gdb.btrace/instruction_history.exp: Initialize traced.
2909 Remove traced_functions.
2910
724c7dd8
MM
29112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2912
2913 * gdb.btrace/function_call_history.exp: Update
2914 * gdb.btrace/instruction_history.exp: Update.
2915
6d78d93b
MM
29162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2917
2918 * gdb.btrace/enable.exp: Update expected text.
2919
93a360cc
OJ
29202014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2921
2922 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2923 bytes.
2924
3772b53f
MR
29252014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2926
2927 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2928
596662fa
OJ
29292014-01-15 Omair Javaid <omair.javaid@linaro.org>
2930
2931 * lib/gdb.exp (supports_process_record): Return true for
2932 arm*-linux*. (supports_reverse): Likewise.
2933
b5b08fb4
SC
29342014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2935
2936 PR python/15464
2937 PR python/16113
2938 * gdb.python/py-type.c: Enhance test case.
2939 * gdb.python/py-value-cc.cc: Likewise
2940 * gdb.python/py-type.exp: Add new tests.
2941 * gdb.python/py-value-cc.exp: Likewise
2942
52d7fb13
AA
29432014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2944 Pedro Alves <palves@redhat.com>
2945
2946 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2947 Make "name" extern.
2948 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2949 references to ${name}_start by references to ${name}.
2950
a2cd8cfe
JB
29512014-01-10 Joel Brobecker <brobecker@adacore.com>
2952
2953 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2954
4e23fced
JB
29552014-01-10 Joel Brobecker <brobecker@adacore.com>
2956
2957 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2958
c6a9e42c
PA
29592014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2960 Pedro Alves <palves@redhat.com>
2961
2962 * gdb.mi/mi-info-os.exp: Connect to the target with
2963 mi_gdb_target_load.
2964
b7ea362b
PA
29652014-01-08 Pedro Alves <palves@redhat.com>
2966
2967 * gdb.threads/reconnect-signal.c: New file.
2968 * gdb.threads/reconnect-signal.exp: New file.
2969
5e3f4fab
EBM
29702014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2971
2972 * gdb.base/source-dir.exp: New file.
2973
79301218
JB
29742014-01-07 Joel Brobecker <brobecker@adacore.com>
2975
2976 * gdb.ada/mi_interface: New testcase.
2977
8e355c5d
JB
29782014-01-07 Joel Brobecker <brobecker@adacore.com>
2979
2980 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2981 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2982 gdb.ada/pp-rec-component/pck.ads: New files.
2983
c0d48811
JB
29842014-01-07 Joel Brobecker <brobecker@adacore.com>
2985
2986 * gdb.python/py-pp-integral.c: New file.
2987 * gdb.python/py-pp-integral.py: New file.
2988 * gdb.python/py-pp-integral.exp: New file.
2989
17b609c3 2990For older changes see ChangeLog-1993-2013.
c906108c 2991\f
8d8cb839
EZ
2992;; Local Variables:
2993;; mode: change-log
2994;; left-margin: 8
2995;; fill-column: 74
2996;; version-control: never
2997;; End:
902f2ccb 2998
14f8b115 2999 Copyright 2014 Free Software Foundation, Inc.
902f2ccb
MC
3000 Copying and distribution of this file, with or without modification,
3001 are permitted provided the copyright notice and this notice are preserved.
This page took 2.105712 seconds and 4 git commands to generate.