Enable qTStatus packet in case it is disabled
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2014-10-11 Yao Qi <yao@codesourcery.com>
2
3 * gdb.server/server-kill.exp: Execute command
4 "set remote trace-status-packet on" before "tstatus".
5
6 2014-10-11 Yao Qi <yao@codesourcery.com>
7
8 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
9 (main): Call getppid.
10 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
11 and continue to it. Read variable "server_pid".
12
13 2014-10-11 Yao Qi <yao@codesourcery.com>
14
15 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
16
17 2014-10-11 Yao Qi <yao@codesourcery.com>
18
19 * gdb.threads/thread-find.exp: Don't execute command
20 "info threads".
21 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
22 * gdb.threads/linux-dp.exp: Don't check the condition
23 $threads_created equals to zero.
24
25 2014-10-10 Pedro Alves <palves@redhat.com>
26
27 * gdb.base/bigcore.exp: Remove references to IRIX.
28 * gdb.base/funcargs.exp: Likewise.
29 * gdb.base/interrupt.exp: Likewise.
30 * gdb.base/mips_pro.exp: Likewise.
31 * gdb.base/nodebug.exp: Likewise.
32 * gdb.base/setvar.exp: Likewise.
33 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
34
35 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
36 Pedro Alves <palves@redhat.com>
37
38 PR symtab/14466
39 * gdb.base/vdso-warning.c: New file.
40 * gdb.base/vdso-warning.exp: New file.
41
42 2014-10-02 Doug Evans <dje@google.com>
43
44 * gdb.base/structs.c (main): Don't run forever.
45
46 2014-10-02 Pedro Alves <palves@redhat.com>
47
48 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
49 (top level) <stop threads 1, stop threads 2>: Use it.
50
51 2014-10-02 Pedro Alves <palves@redhat.com>
52
53 * gdb.threads/break-while-running.exp (test): Add new
54 'update_thread_list' argument. Skip "info threads" if false.
55 (top level): Add new 'update_thread_list' axis.
56
57 2014-10-02 Pedro Alves <palves@redhat.com>
58
59 PR breakpoints/17431
60 * gdb.base/execl-update-breakpoints.c: New file.
61 * gdb.base/execl-update-breakpoints.exp: New file.
62
63 2014-10-01 Pedro Alves <palves@redhat.com>
64
65 * gdb.base/breakpoint-in-ro-region.c: New file.
66 * gdb.base/breakpoint-in-ro-region.exp: New file.
67
68 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
69
70 * gdb.mi/mi-exit-code.exp: New file.
71 * gdb.mi/mi-exit-code.c: New file.
72
73 2014-09-30 Yao Qi <yao@codesourcery.com>
74
75 * lib/prelink-support.exp (build_executable_own_libs): Error if
76 the target isn't native.
77
78 2014-09-30 Yao Qi <yao@codesourcery.com>
79
80 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
81 false.
82
83 2014-09-22 Pedro Alves <palves@redhat.com>
84
85 * gdb.threads/break-while-running.exp: New file.
86 * gdb.threads/break-while-running.c: New file.
87
88 2014-09-19 Yao Qi <yao@codesourcery.com>
89
90 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
91 Invoke test. Restart GDB with --readnow and invoke test again.
92
93 2014-09-19 Yao Qi <yao@codesourcery.com>
94
95 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
96 proc set_breakpoint_on_gcd_function. Invoke
97 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
98 invoke set_breakpoint_on_gcd_function again.
99
100 2014-09-18 Doug Evans <dje@google.com>
101
102 * gdb.dwarf2/symtab-producer.exp: New file.
103
104 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
105
106 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
107 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
108 * gdb.base/global-var-nested-by-dso.c: Likewise.
109 * gdb.base/global-var-nested-by-dso.exp: Likewise.
110
111 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
112 Pedro Alves <palves@redhat.com>
113
114 * gdb.base/watch-bitfields.exp: Pass string other than test file
115 name to prepare_for_testing.
116 (watch): New procedure.
117 (expect_watchpoint): Use with_test_prefix.
118 (top level): Factor out tests to ...
119 (test_watch_location, test_regular_watch): ... these new
120 procedures, and use with_test_prefix and gdb_continue_to_end.
121
122 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
123
124 PR breakpoints/12526
125 * gdb.base/watch-bitfields.exp: New file.
126 * gdb.base/watch-bitfields.c: New file.
127
128 2014-09-16 Pedro Alves <palves@redhat.com>
129
130 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
131 software and hardware addresses, not software address against
132 itself.
133
134 2014-09-16 Pedro Alves <palves@redhat.com>
135
136 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
137 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
138
139 2014-09-16 Pedro Alves <palves@redhat.com>
140
141 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
142 files.
143 * gdb.base/a2-run.exp: Remove all code guarded by istarget
144 "*-*-vxworks*" throughout.
145 * gdb.base/break.exp: Likewise.
146 * gdb.base/default.exp: Likewise.
147 * gdb.base/scope.exp: Likewise.
148 * gdb.base/sepdebug.exp: Likewise.
149 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
150 throughout.
151 * gdb.base/run.c: Likewise.
152 * gdb.base/sepdebug.c: Likewise.
153 * gdb.hp/gdb.aCC/run.c: Likewise.
154 * gdb.reverse/until-reverse.c: Likewise.
155 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
156
157 2014-09-16 Yao Qi <yao@codesourcery.com>
158
159 * boards/local-remote-host-native.exp: New file.
160
161 2014-09-14 Doug Evans <xdje42@gmail.com>
162
163 * gdb.threads/queue-signal.c (thread_count): New variable.
164 (thread_count_mutex, thread_count_condvar): New variables.
165 (incr_thread_count, wait_all_threads_running): New functions.
166 (main): Wait for all threads to be in their thread functions.
167
168 2014-09-13 Doug Evans <xdje42@gmail.com>
169
170 * gdb.threads/queue-signal.c: New file.
171 * gdb.threads/queue-signal.exp: New file.
172
173 2014-09-13 Doug Evans <xdje42@gmail.com>
174
175 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
176 be consistent with what default_gdb_init uses.
177 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
178 the plain text of the prompt. Add some logging printfs.
179 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
180
181 2014-09-12 Pedro Alves <palves@redhat.com>
182
183 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
184 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
185 * gdb.arch/i386-size-overlap.exp: Likewise.
186 * gdb.arch/i386-size.exp: Likewise.
187 * gdb.arch/i386-unwind.exp: Likewise.
188 * gdb.base/a2-run.exp: Likewise.
189 * gdb.base/break.exp: Likewise.
190 * gdb.base/charset.exp: Likewise.
191 * gdb.base/chng-syms.exp: Likewise.
192 * gdb.base/commands.exp: Likewise.
193 * gdb.base/dbx.exp: Likewise.
194 * gdb.base/find.exp: Likewise.
195 * gdb.base/funcargs.exp: Likewise.
196 * gdb.base/jit-simple.exp: Likewise.
197 * gdb.base/reread.exp: Likewise.
198 * gdb.base/sepdebug.exp: Likewise.
199 * gdb.base/step-bt.exp: Likewise.
200 * gdb.cp/mb-inline.exp: Likewise.
201 * gdb.cp/mb-templates.exp: Likewise.
202 * gdb.objc/basicclass.exp: Likewise.
203 * gdb.threads/killed.exp: Likewise.
204
205 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
206
207 PR tdep/17379
208 * gdb.arch/powerpc-stackless.S: New file.
209 * gdb.arch/powerpc-stackless.exp: New file.
210
211 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
212
213 * gdb.base/attach.c: Include unistd.h.
214 (main): Call alarm. Add label postloop.
215 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
216 gdb_breakpoint, gdb_continue_to_breakpoint.
217 (test_command_line_attach_run): Kill ${testpid} in one exit path.
218
219 2014-09-11 Pedro Alves <palves@redhat.com>
220
221 PR gdb/17347
222 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
223 * gdb.base/attach.exp (test_command_line_attach_run): New
224 procedure.
225 (top level): Call it.
226
227 2014-09-11 Pedro Alves <palves@redhat.com>
228
229 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
230 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
231 (do_command_attach_tests): Use spawn_wait_for_attach.
232 * gdb.base/solib-overlap.exp: Likewise.
233 * gdb.multi/multi-attach.exp: Likewise.
234 * gdb.python/py-prompt.exp: Likewise.
235 * gdb.python/py-sync-interp.exp: Likewise.
236 * gdb.server/ext-attach.exp: Likewise.
237
238 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
239
240 * gdb.fortran/array-element.exp: Remove unexpected "continue"
241 command in testcase. Simplify testcase.
242
243 2014-09-10 Joel Brobecker <brobecker@adacore.com>
244
245 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
246
247 2014-09-10 Joel Brobecker <brobecker@adacore.com>
248
249 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
250
251 2014-09-10 Joel Brobecker <brobecker@adacore.com>
252
253 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
254
255 2014-09-10 Joel Brobecker <brobecker@adacore.com>
256
257 * gdb.dwarf2/dynarr-ptr.c: New file.
258 * gdb.dwarf2/dynarr-ptr.exp: New file.
259
260 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
261
262 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
263 of 30 rather than hardcoding 120 for a slow test case. Take the
264 `gdb,timeout' target setting into account for this calculation.
265 Don't extend the timeout for the test cases that don't need it.
266
267 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
268
269 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
270 a factor of 2 for a slow test case. Take the `gdb,timeout'
271 target setting into account for this calculation.
272 * gdb.reverse/until-precsave.exp: Increase the timeout by
273 a factor of 15 and 3 respectively rather than adding 120
274 for a pair of slow test cases. Take the `gdb,timeout'
275 target setting into account for this calculation.
276
277 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
278
279 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
280 timeout, don't pass one down to gdb_expect.
281 (gdb_expect): Rework timeout selection.
282
283 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
284
285 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
286 exception on timeout.
287 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
288 (gdbserver_start_extended): Catch any `gdbserver_start' error
289 exceptions.
290 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
291 * lib/mi-support.exp (mi_gdb_target_load): Catch any
292 `gdbserver_gdb_load' error exceptions.
293
294 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
295
296 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
297 120 on waiting for the TCP socket to open.
298
299 2014-09-09 Doug Evans <xdje42@gmail.com>
300
301 * gdb.base/default.exp (show_conv_list): Add _caller_is,
302 _caller_matches, _any_caller_is, _any_caller_matches.
303
304 2014-09-09 Doug Evans <xdje42@gmail.com>
305
306 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
307
308 2014-09-09 Yao Qi <yao@codesourcery.com>
309
310 * gdb.mi/mi-var-display.exp: Set print symbol off.
311
312 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
313
314 PR gdb/17035
315 * gdb.base/commands.exp: Add tests to verify user-defined
316 commands with empty bodies.
317 * gdb.python/py-cmd.exp: Test that we don't show user-defined
318 python commands in `show user command`.
319 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
320 scheme commands in `show user command`.
321
322 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
323
324 PR python/17355
325 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
326 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
327 * gdb.python/py-framefilter-invalidarg.exp: New file.
328 * gdb.python/py-framefilter-invalidarg.py: New file.
329
330 2014-09-06 Doug Evans <xdje42@gmail.com>
331
332 PR 15276
333 * gdb.python/py-caller-is.c: New file.
334 * gdb.python/py-caller-is.exp: New file.
335
336 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
337
338 PR gdb/17235
339 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
340 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
341
342 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
343
344 PR fortran/17237
345 * gdb.fortran/print-formatted.exp: New file.
346 * gdb.fortran/print-formatted.f90: Likewise.
347
348 2014-09-03 Sasha Smundak <asmundak@google.com>
349
350 * gdb.python/py-frame.exp: Test Frame.read_register.
351
352 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
353
354 PR python/16699
355 * gdb.python/py-completion.exp: New file.
356 * gdb.python/py-completion.py: Likewise.
357
358 2014-08-28 Doug Evans <dje@google.com>
359
360 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
361 eax,etc. are live with values set by gdb and thus the compiler can't
362 use them.
363 * gdb.arch/i386-pseudo.c (main): Ditto.
364
365 2014-08-27 Doug Evans <dje@google.com>
366
367 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
368
369 2014-08-25 Doug Evans <dje@google.com>
370
371 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
372 (main): Ditto.
373
374 2014-08-25 Doug Evans <dje@google.com>
375
376 * gdb.threads/thread-execl.exp: #include <stdio.h>.
377
378 2014-08-24 Yao Qi <yao@codesourcery.com>
379
380 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
381 symbol off.
382 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
383
384 2014-08-22 Doug Evans <dje@google.com>
385
386 PR 17276
387 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
388 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
389 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
390
391 2014-08-22 Yao Qi <yao@codesourcery.com>
392
393 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
394 * gdb.python/py-finish-breakpoint2.exp: Likewise.
395 * gdb.python/python.exp: Likewise. Use .py file on the host
396 instead of the build.
397
398 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
399
400 * gdb.threads/gcore-stale-thread.c: New file.
401 * gdb.threads/gcore-stale-thread.exp: New file.
402
403 2014-08-21 Pedro Alves <palves@redhat.com>
404
405 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
406 * gdb.base/gcore-relro-pie.exp: Likewise.
407 * gdb.base/gcore-relro.exp: Likewise.
408 * gdb.base/gcore.exp: Likewise.
409 * gdb.base/print-symbol-loading.exp: Likewise.
410 * gdb.threads/gcore-thread.exp: Likewise.
411 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
412
413 2014-08-20 Pedro Alves <palves@redhat.com>
414 Jan Kratochvil <jan.kratochvil@redhat.com>
415
416 * Makefile.in (EXTRA_RULES, CC): New variables, get from
417 configure.
418 (EXPECT): Handle READ1 being set.
419 (all): Depend on EXTRA_RULES.
420 (check-read1, expect-read1, read1.so, read1): New rules.
421 * README (Testsuite Parameters): Document the READ1 make variable.
422 (Race detection): New section.
423 * configure: Regenerate.
424 * configure.ac: If build==host==target, and running under a
425 GNU/glibc system, add read1 to the extra Makefile rules.
426 (EXTRA_RULES): AC_SUBST it.
427 * lib/read1.c: New file.
428
429 2014-08-20 Joel Brobecker <brobecker@adacore.com>
430
431 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
432 the handling of variables declared as a typedef to an array
433 which a DW_AT_data_location attribute.
434
435 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
436 Pedro Alves <palves@redhat.com>
437
438 PR symtab/14604
439 PR symtab/14605
440 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
441 gdb_test.
442
443 2014-08-19 Pedro Alves <palves@redhat.com>
444
445 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
446
447 2014-08-19 Yao Qi <yao@codesourcery.com>
448
449 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
450 right line.
451
452 2014-08-18 David Blaikie <dblaikie@gmail.com>
453
454 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
455
456 2014-08-18 Joel Brobecker <brobecker@adacore.com>
457
458 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
459 attribute in array range.
460
461 2014-08-18 Joel Brobecker <brobecker@adacore.com>
462
463 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
464
465 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
466
467 PR c++/17132
468 * gdb.cp/pr17132.cc: New file.
469 * gdb.cp/pr17132.exp: New file.
470
471 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
472
473 * gdb.python/py-xmethods.py (A_getarrayind)
474 (E_method_char_worker.__call__, E_method_int_worker.__call__):
475 Use 'print' with function call syntax.
476 (E_method_matcher.match): Fix tab vs space indentation mixup.
477
478 2014-08-15 Yao Qi <yao@codesourcery.com>
479
480 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
481 false.
482
483 2014-08-15 Yao Qi <yao@codesourcery.com>
484
485 * gdb.cp/casts.exp: Set print symbol off.
486 * gdb.cp/class2.exp: Likewise.
487 * gdb.cp/overload.exp: Likewise.
488 * gdb.cp/templates.exp: Likewise.
489
490 2014-08-11 Doug Evans <dje@google.com>
491
492 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
493 (test_load_shlib): Update.
494
495 2014-08-09 Yao Qi <yao@codesourcery.com>
496
497 * gdb.base/display.exp: Invoke is_address_zero_readable.
498 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
499 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
500 * gdb.base/hbreak-unmapped.exp: Return if
501 is_address_zero_readable returns true.
502 * gdb.base/signest.exp: Likewise.
503 * gdb.base/signull.exp: Likewise.
504 * gdb.base/sigbpt.exp: Likewise.
505 * gdb.guile/scm-disasm.exp: Do the test if
506 is_address_zero_readable returns false.
507 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
508 * gdb.python/py-arch.exp: Likewise.
509 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
510 * lib/gdb.exp (is_address_zero_readable): New proc.
511
512 2014-08-09 Yao Qi <yao@codesourcery.com>
513
514 PR testsuite/13443
515 * gdb.mi/mi-var-display.exp: Make test messages unique.
516
517 2014-08-04 Tom Tromey <tromey@redhat.com>
518
519 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
520 target 0".
521
522 2014-08-04 Tom Tromey <tromey@redhat.com>
523
524 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
525 "target_resume".
526
527 2014-08-01 Joel Brobecker <brobecker@adacore.com>
528
529 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
530 inner_vla_struct_object_size.
531 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
532 as xfail.
533
534 2014-07-30 Pedro Alves <palves@redhat.com>
535
536 * gdb.threads/signal-command-handle-nopass.exp (test): Add
537 comment.
538
539 2014-07-29 Yao Qi <yao@codesourcery.com>
540
541 PR gdb/17206
542 * gdb.base/until-nodebug.exp: New.
543
544 2014-07-28 Doug Evans <xdje42@gmail.com>
545
546 PR guile/17203
547 * gdb.guile/scm-parameter.exp: Add tests for trying to create
548 previously existing parameter, and previously ambiguously spelled
549 parameter.
550
551 2014-07-28 Will Newton <will.newton@linaro.org>
552
553 * gdb.base/varargs.exp: Remove KFAILs for ARM.
554
555 2014-07-26 Ludovic Courtès <ludo@gnu.org>
556 Doug Evans <xdje42@gmail.com>
557
558 PR guile/17146
559 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
560
561 2014-07-25 Pedro Alves <palves@redhat.com>
562
563 * gdb.threads/signal-command-handle-nopass.c: New file.
564 * gdb.threads/signal-command-handle-nopass.exp: New file.
565 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
566 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
567 * gdb.threads/signal-delivered-right-thread.c: New file.
568 * gdb.threads/signal-delivered-right-thread.exp: New file.
569
570 2014-07-25 Pedro Alves <palves@redhat.com>
571
572 * gdb.base/double-prompt-target-event-error.exp
573 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
574 match.
575 (cancel_pagination_in_target_event): Rework double prompt
576 detection.
577 * gdb.base/paginate-after-ctrl-c-running.exp
578 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
579 <return>' match.
580 * gdb.base/paginate-bg-execution.exp
581 (test_bg_execution_pagination_return)
582 (test_bg_execution_pagination_cancel): Remove '-notransfer
583 <return>' matches.
584 * gdb.base/paginate-execution-startup.exp
585 (test_fg_execution_pagination_return)
586 (test_fg_execution_pagination_cancel): Remove '-notransfer
587 <return>' matches.
588 * gdb.base/paginate-inferior-exit.exp
589 (test_paginate_inferior_exited): Remove '-notransfer <return>'
590 match.
591 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
592 * lib/gdb.exp (pagination_prompt): Run text through
593 string_to_regexp.
594 (gdb_test_multiple): Match $pagination_prompt instead of
595 "<return>".
596 (string_to_regexp): Move to lib/gdb-utils.exp.
597
598 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
599
600 * gdb.arch/amd64-entry-value-paramref.S: New file.
601 * gdb.arch/amd64-entry-value-paramref.cc: New file.
602 * gdb.arch/amd64-entry-value-paramref.exp: New file.
603 * gdb.arch/amd64-optimout-repeat.S: New file.
604 * gdb.arch/amd64-optimout-repeat.c: New file.
605 * gdb.arch/amd64-optimout-repeat.exp: New file.
606
607 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
608
609 PR gdb/17170
610 * gdb.base/statistics.exp: New file.
611
612 2014-07-17 Doug Evans <dje@google.com>
613
614 PR gdb/17170
615 * gdb.base/maint.exp: Update testing of per-command stats.
616
617 2014-07-16 Pedro Alves <palves@redhat.com>
618
619 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
620 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
621 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
622 (tfile_write_buf): New functions.
623 (add_memory_block): Rewrite using the above.
624 (adjust_function_address): New function.
625 (FUNCTION_ADDRESS): New macro.
626 (write_basic_trace_file): Remove short_x local, and use
627 tfile_write_16. Change type of func_addr local to unsigned long
628 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
629 here. Cast argument of add_memory_block to char pointer.
630 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
631 (main): Remove parameters.
632 * gdb.trace/tfile.exp: Remove nowarnings.
633
634 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
635
636 * gdb.base/debug-expr.exp: Test string evaluation with
637 "debug expression" on.
638
639 2014-07-15 Pedro Alves <palves@redhat.com>
640
641 * gdb.base/reread.exp: Use clean_restart.
642
643 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
644
645 * gdb.arch/avr-flash-qualifer.c: New.
646 * gdb.arch/avr-flash-qualifer.exp: New.
647
648 2014-07-14 Pedro Alves <palves@redhat.com>
649
650 * gdb.base/paginate-after-ctrl-c-running.c: New file.
651 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
652
653 2014-07-14 Pedro Alves <palves@redhat.com>
654
655 * gdb.base/double-prompt-target-event-error.c: New file.
656 * gdb.base/double-prompt-target-event-error.exp: New file.
657
658 2014-07-14 Pedro Alves <palves@redhat.com>
659
660 PR gdb/17072
661 * gdb.base/paginate-inferior-exit.c: New file.
662 * gdb.base/paginate-inferior-exit.exp: New file.
663
664 2014-07-14 Pedro Alves <palves@redhat.com>
665
666 PR gdb/17072
667 * gdb.base/paginate-bg-execution.c: New file.
668 * gdb.base/paginate-bg-execution.exp: New file.
669
670 2014-07-14 Pedro Alves <palves@redhat.com>
671
672 PR gdb/17072
673 * gdb.base/paginate-execution-startup.c: New file.
674 * gdb.base/paginate-execution-startup.exp: New file.
675 * lib/gdb.exp (pagination_prompt): New global.
676 (default_gdb_spawn): New procedure, factored out from
677 default_gdb_spawn.
678 (default_gdb_start): Adjust to call default_gdb_spawn.
679 (gdb_spawn): New procedure.
680
681 2014-07-14 Pedro Alves <palves@redhat.com>
682
683 * lib/gdb.exp (gdb_assert): New procedure.
684 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
685
686 2014-07-14 Pedro Alves <palves@redhat.com>
687
688 * gdb.base/execution-termios.c: New file.
689 * gdb.base/execution-termios.exp: New file.
690
691 2014-07-14 Tom Tromey <tromey@redhat.com>
692
693 * gdb.cp/vla-cxx.cc: New file.
694 * gdb.cp/vla-cxx.exp: New file.
695
696 2014-07-14 Tom Tromey <tromey@redhat.com>
697
698 * gdb.reverse/rerun-prec.c: New file.
699 * gdb.reverse/rerun-prec.exp: New file.
700
701 2014-07-12 Maciej W. Rozycki <macro@mips.com>
702 Maciej W. Rozycki <macro@codesourcery.com>
703
704 * lib/gdb-utils.exp: New file.
705 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
706 inline `gdb_init_command' processing.
707 (gdb_start_cmd): Likewise.
708 * lib/mi-support.exp (mi_run_cmd): Likewise.
709 * README: Document `gdb_init_command' and `gdb_init_commands'.
710
711 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
712
713 Fix false FAIL running under a very long directory name.
714 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
715 and "set print elements 10000". Twice.
716
717 2014-07-11 Yao Qi <yao@codesourcery.com>
718
719 * gdb.base/exprs.exp: "set print symbol off".
720
721 2014-07-11 Pedro Alves <palves@redhat.com>
722
723 * gdb.threads/kill.c: New file.
724 * gdb.threads/kill.exp: New file.
725
726 2014-07-10 Yao Qi <yao@codesourcery.com>
727
728 * gdb.trace/tfile.c (write_basic_trace_file)
729 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
730 address written to trace file.
731
732 2014-07-09 Pedro Alves <palves@redhat.com>
733
734 * gdb.base/attach-wait-input.exp: New file.
735 * gdb.base/attach-wait-input.c: New file.
736
737 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
738
739 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
740 setting up test structures.
741 (main): Call new test function.
742 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
743 test function, continue into test function and walk test
744 structures.
745
746 2014-07-02 Yao Qi <yao@codesourcery.com>
747
748 * gdb.trace/entry-values.c: Define labels 'foo_start' and
749 'bar_start' at the beginning of functions 'foo' and 'bar'
750 respectively.
751 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
752 instead of 'foo' and 'bar'.
753
754 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
755
756 * gdb.btrace/segv.exp: New.
757 * gdb.btrace/segv.c: New.
758
759 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
760
761 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
762 instruction.
763
764 2014-06-30 Mark Wielaard <mjw@redhat.com>
765
766 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
767 vulture, vilify, villar): New volatile array constants.
768 (vindictive, vegetation): New const volatile array constants.
769 * gdb.base/volatile.exp: Test volatile and const volatile array
770 types.
771
772 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
773
774 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
775 target lacks support for awatch, rwatch, or hbreak.
776
777 2014-06-27 Yao Qi <yao@codesourcery.com>
778
779 * gdb.multi/dummy-frame-restore.exp: New.
780 * gdb.multi/dummy-frame-restore.c: New.
781
782 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
783
784 * gdb.btrace/gcore.exp: New.
785
786 2014-06-23 Pedro Alves <palves@redhat.com>
787
788 * gdb.base/watchpoint-reuse-slot.c: New file.
789 * gdb.base/watchpoint-reuse-slot.exp: New file.
790
791 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
792
793 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
794 progspace's filename in 'info', 'enable' and 'disable' command
795 tests.
796
797 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
798
799 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
800 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
801 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
802
803 2014-06-20 Gary Benson <gbenson@redhat.com>
804
805 * gdb.arch/i386-avx.exp: Fix include file location.
806 * gdb.arch/i386-sse.exp: Likewise.
807
808 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
809
810 * gdb.dlang/expression.exp: New file.
811
812 2014-06-19 Pedro Alves <palves@redhat.com>
813
814 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
815 out from ...
816 (top level): ... here. Iterate running tests under different
817 scheduler-locking settings.
818
819 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
820
821 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
822 to DW_FORM_addr and use non-zero addresses.
823
824 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
825
826 PR gdb/17017
827 * gdb.python/py-xmethods.cc: Add global function call counters and
828 increment them in their respective functions. Remove "cout"
829 statements.
830 * gdb.python/py-xmethods.exp: Make tests check the global function
831 call counters instead of depending on inferior IO.
832
833 2014-06-18 Don Breazeal <donb@codesourcery.com>
834
835 * gdb.base/foll-fork.exp (default_fork_parent_follow):
836 Deleted procedure.
837 (explicit_fork_parent_follow): Deleted procedure.
838 (explicit_fork_child_follow): Deleted procedure.
839 (test_follow_fork): New procedure.
840 (do_fork_tests): Replace calls to deleted procedures with
841 calls to test_follow_fork and reset GDB for subsequent
842 procedure calls.
843
844 2014-06-17 Yao Qi <yao@codesourcery.com>
845
846 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
847 CP1252.
848
849 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
850
851 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
852 Initialize ptr and S explicitly.
853 (skip_type_update_when_not_use_rtti_test): Likewise.
854
855 2014-06-16 Keith Seitz <keiths@redhat.com>
856
857 PR mi/15863
858 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
859 the inferior is started.
860
861 2014-06-16 Pedro Alves <palves@redhat.com>
862
863 * gdb.base/break-main-file-remove-fail.c: New file.
864 * gdb.base/break-main-file-remove-fail.exp: New file.
865 * gdb.base/break-unload-file.exp: Use build_executable instead of
866 prepare_for_testing.
867 (test_break): New parameter "initial_load". Handle it.
868 (top level): Add initial_load cmdline/file axis.
869
870 2014-06-12 Tom Tromey <tromey@redhat.com>
871
872 * gdb.base/completion.exp: Don't use directory name in test.
873
874 2014-06-09 Gary Benson <gbenson@redhat.com>
875
876 * gdb.base/sigall.c [Functions to send signals]: Reorder to
877 separate the always-available ANSI-standard signals from the
878 signals that require checking.
879 (main): Likewise.
880 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
881 Likewise.
882 (main): Likewise.
883
884 2014-06-07 Keith Seitz <keiths@redhat.com>
885
886 Revert:
887 PR c++/16253
888 * gdb.cp/var-tag.cc: New file.
889 * gdb.cp/var-tag.exp: New file.
890 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
891 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
892 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
893 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
894
895 2014-06-06 Doug Evans <xdje42@gmail.com>
896
897 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
898
899 2014-06-06 Pedro Alves <palves@redhat.com>
900
901 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
902 in target debug output instead of looking at RSP packets,
903 disabling the test on any target that uses hardware stepping.
904 Update comments.
905
906 2014-06-06 Pedro Alves <palves@redhat.com>
907
908 * gdb.base/break-unload-file.exp: Fix typo.
909
910 2014-06-06 Yao Qi <yao@codesourcery.com>
911
912 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
913 from "jit_function" to "^jit_function".
914
915 2014-06-06 Yao Qi <yao@codesourcery.com>
916
917 * gdb.base/async.c (foo): Add one statement.
918 * gdb.base/async.exp: Get the next instruction address and
919 match the output of "nexti" by instruction address. Match
920 the hex address in the output of "finish".
921
922 2014-06-06 Gary Benson <gbenson@redhat.com>
923
924 * gdb.base/call-signals.c: Remove preprocessor conditionals
925 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
926 SIGSEGV and SIGTERM.
927 * gdb.base/sigall.c: Likewise.
928 * gdb.base/unwindonsignal.c: Likewise.
929 * gdb.reverse/sigall-reverse.c: Likewise.
930
931 2014-06-06 Yao Qi <yao@codesourcery.com>
932
933 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
934 readable, skip the test.
935
936 2014-06-06 Yao Qi <yao@codesourcery.com>
937
938 * gdb.threads/staticthreads.c (thread_function): Move the line
939 setting breakpoint on forward.
940 * gdb.threads/staticthreads.exp: Update comments.
941
942 2014-06-05 Ludovic Courtès <ludo@gnu.org>
943
944 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
945 "history-append! type error".
946
947 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
948
949 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
950 erroneous dprintf expected input.
951
952 2014-06-04 Doug Evans <xdje42@gmail.com>
953
954 * gdb.guile/scm-generics.exp: Delete.
955
956 2014-06-04 Doug Evans <xdje42@gmail.com>
957
958 * gdb.guile/scm-breakpoint.exp: Update.
959 Add tests for breakpoint registration.
960
961 2014-06-04 Tom Tromey <tromey@redhat.com>
962
963 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
964 VLA-in-union.
965 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
966 inner_vla_struct, vla_union types. Initialize objects of those
967 types and compute their sizes.
968
969 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
970 Hui Zhu <hui@codesourcery.com>
971
972 * gdb.base/fileio.exp: Add test for shell not available as well as
973 available.
974 * gdb.base/fileio.c (test_system): Check for shell twice.
975
976 2014-06-04 Yao Qi <yao@codesourcery.com>
977
978 * gdb.base/auto-connect-native-target.exp: Remove redundant
979 space from the regexp pattern.
980
981 2014-06-04 Yao Qi <yao@codesourcery.com>
982
983 * gdb.base/default.exp: Replace "child" with "native" in
984 regexp pattern.
985
986 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
987
988 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
989 * gdb.python/py-xmethods.exp: New tests to test xmethods.
990 * gdb.python/py-xmethods.py: Python script supporting the
991 new testcase and tests.
992
993 2014-06-03 Joel Brobecker <brobecker@adacore.com>
994 Pedro Alves <palves@redhat.com>
995
996 PR breakpoints/17000
997 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
998 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
999
1000 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
1001
1002 * gdb.base/subst.exp: Add tests to verify partial path matching
1003 output.
1004
1005 2014-06-03 Pedro Alves <palves@redhat.com>
1006
1007 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
1008 target that doesn't use software single-stepping.
1009
1010 2014-06-03 Pedro Alves <palves@redhat.com>
1011
1012 PR breakpoints/17000
1013 * gdb.base/sss-bp-on-user-bp-2.c: New file.
1014 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
1015
1016 2014-06-02 Doug Evans <xdje42@gmail.com>
1017
1018 * gdb.guile/scm-parameter.exp: New file.
1019
1020 2014-06-02 Doug Evans <xdje42@gmail.com>
1021
1022 * gdb.guile/scm-cmd.c: New file.
1023 * gdb.guile/scm-cmd.exp: New file.
1024
1025 2014-06-02 Doug Evans <xdje42@gmail.com>
1026
1027 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
1028 pretty-printer lookup.
1029 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
1030 (make-pp_s-printer): Call it.
1031 (make-pretty-printer-from-dict): New function.
1032 (lookup-pretty-printer-maker-from-dict): New function.
1033 (*pretty-printer*): Simplify.
1034 (make-objfile-pp_s-printer): New function.
1035 (install-objfile-pretty-printers!): New function.
1036 (make-progspace-pp_s-printer): New function.
1037 (install-progspace-pretty-printers!): New function.
1038 * gdb.guile/scm-progspace.c: New file.
1039 * gdb.guile/scm-progspace.exp: New file.
1040
1041 2014-06-02 Pedro Alves <palves@redhat.com>
1042
1043 * gdb.base/dprintf-bp-same-addr.c: New file.
1044 * gdb.base/dprintf-bp-same-addr.exp: New file.
1045
1046 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1047
1048 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
1049 * gdb.arch/powerpc-power.s: Likewise.
1050
1051 2014-06-02 Joel Brobecker <brobecker@adacore.com>
1052
1053 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
1054
1055 2014-06-01 Yao Qi <yao@codesourcery.com>
1056
1057 * gdb.base/watchpoint.exp (test_watch_location): Check null
1058 pointer can be dereferenced. If not, do the test, otherwise
1059 skip it.
1060
1061 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1062
1063 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
1064 results.
1065 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
1066
1067 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
1068
1069 * gdb.arch/amd64-invalid-stack-middle.S: New file.
1070 * gdb.arch/amd64-invalid-stack-middle.c: New file.
1071 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
1072 * gdb.arch/amd64-invalid-stack-top.c: New file.
1073 * gdb.arch/amd64-invalid-stack-top.exp: New file.
1074
1075 2014-05-30 Pedro Alves <palves@redhat.com>
1076
1077 PR breakpoints/17000
1078 * gdb.base/sss-bp-on-user-bp.c: New file.
1079 * gdb.base/sss-bp-on-user-bp.exp: New file.
1080
1081 2014-05-30 David Blaikie <dblaikie@gmail.com>
1082
1083 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
1084 gnu_inline semantics via attribute.
1085 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
1086 source explicitly specifies the required semantics.
1087
1088 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
1089
1090 * gdb.reverse/sigall-reverse.exp: Fix a typo.
1091
1092 2014-05-29 Pedro Alves <palves@redhat.com>
1093 Tom Tromey <tromey@redhat.com>
1094
1095 * gdb.base/async-shell.exp: Don't enable target-async.
1096 * gdb.base/async.exp
1097 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
1098 parameter. Adjust.
1099 (top level): Don't test with "target-async".
1100 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
1101 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
1102 * gdb.base/inferior-died.exp: Don't enable target-async.
1103 * gdb.base/interrupt-noterm.exp: Likewise.
1104 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
1105 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1106 * gdb.mi/mi-nonstop.exp: Likewise.
1107 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1108 * gdb.mi/mi-nsintrall.exp: Likewise.
1109 * gdb.mi/mi-nsmoribund.exp: Likewise.
1110 * gdb.mi/mi-nsthrexec.exp: Likewise.
1111 * gdb.mi/mi-watch-nonstop.exp: Likewise.
1112 * gdb.multi/watchpoint-multi.exp: Adjust comment.
1113 * gdb.python/py-evsignal.exp: Don't enable target-async.
1114 * gdb.python/py-evthreads.exp: Likewise.
1115 * gdb.python/py-prompt.exp: Likewise.
1116 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
1117 * gdb.server/solib-list.exp: Don't enable target-async.
1118 * gdb.threads/thread-specific-bp.exp: Likewise.
1119 * lib/mi-support.exp: Adjust to use mi-async.
1120
1121 2014-05-29 Pedro Alves <palves@redhat.com>
1122
1123 PR gdb/13860
1124 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
1125 reason, even in sync mode.
1126
1127 2014-05-29 Pedro Alves <palves@redhat.com>
1128 Hui Zhu <hui@codesourcery.com>
1129
1130 PR PR15693
1131 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
1132 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
1133 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
1134 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
1135
1136 2014-05-28 Joel Brobecker <brobecker@adacore.com>
1137
1138 * config/monitor.exp (gdb_target_monitor): Replace use of
1139 "set remotebaud" by "set serial baud".
1140
1141 2014-05-26 Andy Wingo <wingo@igalia.com>
1142
1143 * gdb.guile/scm-breakpoint.exp:
1144 * gdb.guile/scm-gsmob.exp: Update to use plain old object
1145 properties instead of gdb-object-properties.
1146
1147 2014-05-26 Yao Qi <yao@codesourcery.com>
1148
1149 * gdb.server/no-thread-db.exp: Specify source file name
1150 explicitly when setting a breakpoint.
1151
1152 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1153
1154 * gdb.btrace/vdso.c: New.
1155 * gdb.btrace/vdso.exp: New.
1156
1157 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1158
1159 * gdb.base/gcore.exp (capture_command_output): Move ...
1160 * lib/gdb.exp (capture_command_output): ... here.
1161
1162 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
1163
1164 * gdb.btrace/data.exp: Test memory access during btrace replay.
1165
1166 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
1167
1168 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
1169
1170 2014-05-21 Pedro Alves <palves@redhat.com>
1171
1172 PR gdb/13860
1173 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
1174 (top level): Test that output related to execution commands is
1175 sent to the console with CLI commands, but not with MI commands.
1176 Test that breakpoint events are always mirrored to the console.
1177 Also expect the new source line to be output after a "next" in
1178 async mode too. Make it a pass/fail test.
1179 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
1180 output.
1181 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
1182
1183 2014-05-21 Pedro Alves <palves@redhat.com>
1184
1185 * gdb.base/list.exp (build_pattern, test_list): New procedures.
1186 Use them to test variations of "list" after reaching a breakpoint.
1187 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
1188 Test "list" with listsize 10 after reaching a breakpoint.
1189 * gdb.python/python.exp (decode_line current location line
1190 number): Adjust expected line number.
1191
1192 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
1193
1194 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
1195 behavior for $args, pass it directly to "run".
1196
1197 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
1198
1199 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
1200 30000 to 65536.
1201
1202 2014-05-21 Pedro Alves <palves@redhat.com>
1203
1204 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
1205 auto-connect-native-target off".
1206 * gdb.base/auto-connect-native-target.c: New file.
1207 * gdb.base/auto-connect-native-target.exp: New file.
1208
1209 2014-05-21 Pedro Alves <palves@redhat.com>
1210
1211 * gdb.base/default.exp: Test "target native" instead of "target
1212 child".
1213
1214 2014-05-21 Mark Wielaard <mjw@redhat.com>
1215
1216 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
1217
1218 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1219
1220 Fix TLS access for -static -pthread.
1221 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
1222 <HAVE_TLS> (thread_function, main): Initialize it.
1223 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
1224 Add clean_restart.
1225 <$have_tls != "">: Check TLSVAR.
1226
1227 2014-05-21 Pedro Alves <palves@redhat.com>
1228
1229 * gdb.base/dcache-line-read-error.c: New.
1230 * gdb.base/dcache-line-read-error.exp: New.
1231
1232 2014-05-20 Pedro Alves <palves@redhat.com>
1233
1234 * gdb.base/compare-sections.c: New file.
1235 * gdb.base/compare-sections.exp: New file.
1236
1237 2014-05-20 Pedro Alves <palves@redhat.com>
1238
1239 * gdb.base/break-idempotent.c: New file.
1240 * gdb.base/break-idempotent.exp: New file.
1241
1242 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
1243
1244 * gdb.btrace/nohist.exp: New.
1245
1246 2014-05-20 Yao Qi <yao@codesourcery.com>
1247
1248 * lib/gdb.exp (gdb_init): Set timeout if test file is under
1249 gdb.reverse directory and gdb_reverse_timeout exists in board
1250 setting.
1251 * README: Document gdb_reverse_timeout.
1252
1253 2014-05-20 Yao Qi <yao@codesourcery.com>
1254
1255 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
1256 'test_file_name'. Treat args as a string instead of a list.
1257 (gdb_init): Rename argument 'args' by 'test_file_name'.
1258
1259 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1260
1261 * gdb.arch/powerpc-power.exp: New file.
1262 * gdb.arch/powerpc-power.s: New file.
1263
1264 2014-05-16 Doug Evans <dje@google.com>
1265
1266 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
1267 * gdb.base/completion.exp: Check that all expected files exist
1268 before doing file completion.
1269
1270 2014-05-16 Doug Evans <dje@google.com>
1271
1272 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
1273 Update.
1274 (do_syscall_tests_without_xml): Update.
1275
1276 2014-05-16 Pedro Alves <palves@redhat.com>
1277
1278 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
1279 instead of "unknown output after running".
1280
1281 2014-05-16 Yao Qi <yao@codesourcery.com>
1282
1283 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
1284 file1.txt from host at the end.
1285 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1286
1287 2014-05-15 Doug Evans <dje@google.com>
1288
1289 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
1290 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
1291 loading file. Add test for TU lookup.
1292
1293 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1294
1295 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
1296 calling "-exec-arguments" or "set args" before running the
1297 inferior.
1298
1299 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
1300
1301 * lib/mi-support.exp (mi_expect_stop): Expect message for
1302 inferiors that exit with non-zero exit code.
1303
1304 2014-05-14 Yao Qi <yao@codesourcery.com>
1305
1306 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
1307 match absolute path on remote host.
1308 (test_file_list_exec_source_files): Remove "/" from the
1309 pattern.
1310
1311 2014-05-14 Yao Qi <yao@codesourcery.com>
1312
1313 * boards/local-remote-host-notty.exp (${board}_file): New
1314 proc.
1315
1316 2014-05-07 Kyle McMartin <kyle@redhat.com>
1317
1318 Pushed by Joel Brobecker <brobecker@adacore.com>.
1319 * gdb.arch/aarch64-atomic-inst.c: New file.
1320 * gdb.arch/aarch64-atomic-inst.exp: New file.
1321
1322 2014-05-07 Yao Qi <yao@codesourcery.com>
1323
1324 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
1325 in current context" too.
1326
1327 2014-05-05 Keith Seitz <keiths@redhat.com>
1328
1329 * gdb.linespec/ls-dollar.exp: Add test for linespec
1330 file:convenience_variable.
1331
1332 2014-05-05 Yao Qi <yao@codesourcery.com>
1333
1334 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
1335 traceframes into tfile and ctf trace files. Read data from
1336 trace file and test collected data.
1337 (gdb_collect_locals_test): Likewise.
1338 (gdb_unavailable_registers_test): Likewise.
1339 (gdb_unavailable_floats): Likewise.
1340 (gdb_collect_globals_test): Likewise.
1341 (top-level): Append "ctf" to trace_file_targets if GDB
1342 supports.
1343
1344 2014-05-05 Yao Qi <yao@codesourcery.com>
1345
1346 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
1347 code to ...
1348 (gdb_collect_args_test_1): ... it. New proc.
1349 (gdb_collect_locals_test): Move some code to ...
1350 (gdb_collect_locals_test_1): ... it. New proc.
1351 (gdb_unavailable_registers_test): Move some code to ...
1352 (gdb_unavailable_registers_test_1): ... it. New proc.
1353 (gdb_unavailable_floats): Move some code to ...
1354 (gdb_unavailable_floats_1): ... it. New proc.
1355
1356 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1357
1358 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
1359 probes to test for bitness recognition.
1360 * gdb.arch/amd64-stap-optional-prefix.exp
1361 (test_probe_value_without_reg): New procedure.
1362 Add code to test for different kinds of bitness.
1363
1364 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
1365
1366 PR breakpoints/16889
1367 * gdb.arch/amd64-stap-optional-prefix.S: New file.
1368 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
1369
1370 2014-05-01 Pedro Alves <palves@redhat.com>
1371
1372 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
1373 gdb_file_cmd if no file is specified.
1374 * boards/native-extended-gdbserver.exp (gdb_load): Use the
1375 last_loaded_file to set the remote exec-file.
1376
1377 2014-05-01 Pedro Alves <palves@redhat.com>
1378
1379 * boards/local-remote-host.exp: New file.
1380
1381 2014-05-01 Pedro Alves <palves@redhat.com>
1382
1383 * boards/local-remote-host.exp: Rename to ...
1384 * boards/local-remote-host-notty.exp: ... this.
1385
1386 2014-04-28 Joel Brobecker <brobecker@adacore.com>
1387
1388 * gdb.ada/dyn_arrayidx: New testcase.
1389
1390 2014-04-26 Yao Qi <yao@codesourcery.com>
1391
1392 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
1393 and compute the length of function main. Save it in
1394 $main_length.
1395 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
1396 (top-level): Use gdb_compile to compile objects into
1397 executable and restart GDB. Remove invocation to
1398 prepare_for_testing.
1399
1400 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
1401 Pedro Alves <palves@redhat.com>
1402
1403 PR server/16255
1404 * gdb.multi/multi-attach.c: New file.
1405 * gdb.multi/multi-attach.exp: New file.
1406
1407 2014-04-25 Pedro Alves <palves@redhat.com>
1408
1409 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
1410 user.
1411 (top level): Test that "set remote conditional-breakpoints-packet
1412 off" works as intended.
1413 * gdb.base/dprintf.exp: Test that "set remote
1414 breakpoint-commands-packet off" works as intended.
1415 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
1416 New function.
1417 (top level): Call it.
1418 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
1419 remote fast-tracepoints-packet off" works as intended.
1420 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
1421 * lib/gdb.exp (gdb_is_target_remote): ... here.
1422
1423 2014-04-24 David Blaikie <dblaikie@gmail.com>
1424
1425 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
1426 ensure clang would not discard them.
1427 * gdb.base/gdbvars.c: Ditto.
1428 * gdb.base/memattr.c: Ditto.
1429 * gdb.base/whatis.c: Ditto.
1430 * gdb.python/py-prettyprint.c: Ditto.
1431 * gdb.trace/actions.c: Ditto.
1432 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
1433 ensure clang would not discard it.
1434
1435 2014-04-24 David Blaikie <dblaikie@gmail.com>
1436
1437 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
1438 clang to emit the full definition of type required by the test
1439 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
1440
1441 2014-04-24 David Blaikie <dblaikie@gmail.com>
1442
1443 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
1444 coax Clang into emitting the definition of the type.
1445 * gdb.cp/pr10728-x.h (y): Ditto.
1446 * gdb.cp/pr10728-y.cc (y): Ditto.
1447
1448 2014-04-24 David Blaikie <dblaikie@gmail.com>
1449
1450 * gdb.base/label.exp: XFAIL label related tests under Clang.
1451 * gdb.cp/cplabel.exp: Ditto.
1452 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
1453 under Clang those using labels.
1454
1455 2014-04-25 Yao Qi <yao@codesourcery.com>
1456
1457 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
1458 double_label.
1459 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
1460 partial_label and double_label.
1461
1462 2014-04-24 David Blaikie <dblaikie@gmail.com>
1463
1464 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
1465
1466 2014-04-24 David Blaikie <dblaikie@gmail.com>
1467
1468 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
1469 of the function to work across GCC and Clang.
1470 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
1471 pointer types (const void ** const V void **).
1472
1473 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
1474 Walfred Tedeschi <walfred.tedeschi@intel.com>
1475
1476 * Makefile.in (EXECUTABLES): Added i386-avx512.
1477 * gdb.arch/i386-avx512.c: New file.
1478 * gdb.arch/i386-avx512.exp: Likewise.
1479
1480 2014-04-23 Keith Seitz <keiths@redhat.com>
1481
1482 * lib/mi-support.exp (mi_list_breakpoints): Delete.
1483 (mi_make_breakpoint_table): New procedure.
1484 (mi_create_breakpoint): Use mi_make_breakpoint
1485 and return the result.
1486 (mi_make_breakpoint): New procedure.
1487 (mi_build_kv_pairs): New procedure.
1488
1489 * gdb.mi/mi-break.exp: Remove unused globals,
1490 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
1491 All callers updated.
1492 * gdb.mi/mi-dprintf.exp: Use variable to track command
1493 number.
1494 Update all callers of mi_create_breakpoint and use
1495 mi_make_breakpoint_table.
1496 Remove any unused global variables.
1497 * gdb.mi/mi-nonstop.exp: Likewise.
1498 * gdb.mi/mi-nsintrall.exp: Likewise.
1499 * gdb.mi/mi-nsmoribund.exp: Likewise.
1500 * gdb.mi/mi-nsthrexec.exp: Likewise.
1501 * gdb.mi/mi-reverse.exp: Likewise.
1502 * gdb.mi/mi-simplerun.exp: Likewise.
1503 * gdb.mi/mi-stepn.exp: Likewise.
1504 * gdb.mi/mi-syn-frame.exp: Likewise.
1505 * gdb.mi/mi-until.exp: Likewise.
1506 * gdb.mi/mi-var-cp.exp: Likewise.
1507 * gdb.mi/mi-var-display.exp: Likewise.
1508 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
1509 * gdb.mi/mi2-var-child.exp: Likewise.
1510 * gdb.mi/mi-vla-c99.exp: Likewise.
1511 * lib/mi-support.exp: Likewise.
1512
1513 From Ian Lance Taylor <iant@cygnus.com>:
1514 * lib/gdb.exp (parse_args): New procedure.
1515
1516 2014-04-23 Pedro Alves <palves@redhat.com>
1517
1518 * gdb.base/break-unload-file.c: New file.
1519 * gdb.base/break-unload-file.exp: New file.
1520 * gdb.base/sym-file-lib.c (baz): New function.
1521 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
1522 field.
1523 (load): Store the segment's mapped size.
1524 (unload): New function.
1525 (unload_shlib): New function.
1526 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
1527 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
1528 set a breakpoint at baz, and call it.
1529 * gdb.base/sym-file.exp: New tests for stale breakpoint
1530 instructions.
1531
1532 2014-04-23 Pedro Alves <palves@redhat.com>
1533
1534 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
1535 * gdb.base/hbreak-in-shr-unsupported.c: New file.
1536 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
1537 * gdb.base/hbreak-unmapped.c: New file.
1538 * gdb.base/hbreak-unmapped.exp: New file.
1539 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
1540 * lib/gdb.exp (gdb_is_target_remote): ... here.
1541
1542 2014-04-22 Pedro Alves <palves@redhat.com>
1543
1544 * gdb.base/consecutive-step-over.c: New file.
1545 * gdb.base/consecutive-step-over.exp: New file.
1546
1547 2014-04-22 Pedro Alves <palves@redhat.com>
1548
1549 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
1550 instead of send_gdb/gdb_expect.
1551
1552 2014-04-22 Yao Qi <yao@codesourcery.com>
1553
1554 * lib/trace-support.exp (generate_tracefile): New procedure.
1555 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
1556 return 0.
1557 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
1558 if generate_tracefile returns 1.
1559
1560 2014-04-18 Tom Tromey <palves@redhat.com>
1561 Pedro alves <tromey@redhat.com>
1562
1563 PR backtrace/15558
1564 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
1565 with a backtrace limit.
1566 * gdb.python/py-frame-inline.exp: Test running to an inline
1567 function with a backtrace limit, and printing the newest frame.
1568 * gdb.python/py-frame-inline.c (main): Call f.
1569
1570 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1571
1572 * gdb.java/jnpe.exp: Drop srcdir from untested path.
1573
1574 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
1575
1576 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
1577 Drop prefix from unsupported source file path.
1578
1579 2014-04-17 Yao Qi <yao@codesourcery.com>
1580
1581 * lib/gdb.exp (with_target_charset): New proc.
1582 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
1583 with_target_charset.
1584 (test_print_strings): Likewise.
1585 (test_repeat_bytes): Likewise.
1586 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
1587 for some tests.
1588
1589 2014-04-16 Keith Seitz <keiths@redhat.com>
1590
1591 PR gdb/15827
1592 * gdb.dwarf2/corrupt.c: New file.
1593 * gdb.dwarf2/corrupt.exp: New file.
1594
1595 2014-04-16 Keith Seitz <keiths@redhat.com>
1596
1597 PR c++/16597
1598 * gdb.cp/namelessclass.cc: New file.
1599 * gdb.cp/namelessclass.exp: New file.
1600 * gdb.cp/namelessclass.S: New file.
1601
1602 2014-04-16 Doug Evans <dje@google.com>
1603
1604 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
1605 Add comment.
1606 (gdbserver_default_get_comm_port): New function.
1607 (gdbserver_start): Check if board file provided
1608 "gdbserver,get_comm_port" and use it if so.
1609 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
1610 (gdb,socketport): Set to "stdio".
1611 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
1612 (stdio_gdbserver_template): Delete.
1613 (${board}_get_remote_address): Update.
1614 (${board}_build_remote_cmd): Delete.
1615 (${board}_get_comm_port): New function.
1616 (${board}_spawn): Update.
1617 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
1618 Delete.
1619 (${board}_get_remote_address): Update.
1620 (${board}_get_comm_port): New function.
1621
1622 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
1623
1624 * gdb.base/memattr.exp: Improve regexps to handle memory regions
1625 appearing in any order.
1626
1627 2014-04-15 Doug Evans <dje@google.com>
1628
1629 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
1630 uninitialized value of "description".
1631
1632 2014-04-15 Keith Seitz <keiths@redhat.com>
1633
1634 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
1635 Remove unused globals.
1636 (test_running_the_program): Likewise.
1637 (test_controlled_execution): Likewise.
1638 (test_controlling_breakpoints): Likewise.
1639 (test_program_termination): Likewise.
1640
1641 2014-04-15 Keith Seitz <keiths@redhat.com>
1642
1643 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
1644 unused globals.
1645 (test_rbreak_creation_and_listing): Likewise.
1646 (test_ignore_count): Likewise.
1647 (test_error): Likewise.
1648
1649 2014-04-15 Pedro Alves <palves@redhat.com>
1650
1651 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
1652 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
1653 sym-file-loader.c.
1654 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1655 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1656 to sym-file-loader.c.
1657 (struct library): Forward declare.
1658 (load_shlib, lookup_function): Change prototypes.
1659 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1660 (translate_offset): Remove declarations.
1661 (get_text_addr): New declaration.
1662 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
1663 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
1664 sym-file-loader.h.
1665 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
1666 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
1667 here from sym-file-loader.h.
1668 (struct library): New structure.
1669 (load_shlib, lookup_function): Change prototypes and adjust to
1670 work with a struct library.
1671 (find_shstrtab, find_strtab, find_shdr, find_symtab)
1672 (translate_offset): Make static.
1673 (get_text_addr): New function.
1674 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
1675
1676 2014-04-15 Pedro Alves <palves@redhat.com>
1677
1678 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
1679
1680 2014-04-15 Pedro Alves <palves@redhat.com>
1681
1682 * gdb.base/sym-file-loader.c: Include <limits.h>.
1683 (SELF_LINK): New define.
1684 (get_origin): New function.
1685 (load_shlib): Use it.
1686 * gdb.base/sym-file.exp: Don't early return if the target is
1687 remote. Use runto_main, and issue fail is that fails. Use
1688 gdb_load_shlibs.
1689 (shlib_name): Delete.
1690 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
1691
1692 2014-04-15 Pedro Alves <palves@redhat.com>
1693
1694 * gdb.base/sym-file.exp: Remove regex characters from test
1695 message. Don't refer to breakpoint numbers in test messages.
1696
1697 2014-04-14 Keith Seitz <keiths@redhat.com>
1698
1699 PR c++/16253
1700 * gdb.cp/var-tag.cc: New file.
1701 * gdb.cp/var-tag.exp: New file.
1702 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
1703 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
1704 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1705 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1706
1707 2014-04-14 Tom Tromey <tromey@redhat.com>
1708
1709 * gdb.cp/classes.exp (test_enums): Handle underlying type.
1710 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
1711 type.
1712 * gdb.cp/enum-class.exp: New file.
1713 * gdb.cp/enum-class.cc: New file.
1714
1715 2014-04-14 Tom Tromey <tromey@redhat.com>
1716
1717 * gdb.dwarf2/enum-type.exp: New file.
1718
1719 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1720
1721 * gdb.mi/mi-vla-c99.exp: New file.
1722 * gdb.mi/vla.c: New file.
1723
1724 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1725
1726 * gdb.base/vla-datatypes.c: New file.
1727 * gdb.base/vla-datatypes.exp: New file.
1728
1729 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1730
1731 * gdb.base/vla-ptr.c: New file.
1732 * gdb.base/vla-ptr.exp: New file.
1733
1734 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1735
1736 * gdb.dwarf2/count.exp: New file.
1737
1738 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
1739
1740 * gdb.base/vla-sideeffect.c: New file.
1741 * gdb.base/vla-sideeffect.exp: New file.
1742
1743 2014-04-14 David Blaikie <dblaikie@gmail.com>
1744
1745 * gdb.mi/non-stop.c: Add return value for non-void function return
1746 statement.
1747 * gdb.threads/staticthreads.c: Ditto.
1748
1749 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
1750 Doug Evans <xdje42@gmail.com>
1751
1752 * gdb.guile/scm-value.c: Improve test case.
1753 * gdb.guile/scm-value.exp: Add new test.
1754
1755 2014-04-11 David Blaikie <dblaikie@gmail.com>
1756
1757 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
1758 override Clang's default.
1759
1760 2014-04-11 Joel Brobecker <brobecker@adacore.com>
1761
1762 Revert the following changes (regressions):
1763
1764 * gdb.base/vla-sideeffect.c: New file.
1765 * gdb.base/vla-sideeffect.exp: New file.
1766
1767 * gdb.dwarf2/count.exp: New file.
1768
1769 * gdb.base/vla-multi.c: New file.
1770 * gdb.base/vla-multi.exp: New file.
1771
1772 * gdb.base/vla-ptr.c: New file.
1773 * gdb.base/vla-ptr.exp: New file.
1774
1775 * gdb.base/vla-datatypes.c: New file.
1776 * gdb.base/vla-datatypes.exp: New file.
1777
1778 * gdb.mi/mi-vla-c99.exp: New file.
1779 * gdb.mi/vla.c: New file.
1780
1781 2014-04-11 Keith Seitz <keiths@redhat.com>
1782
1783 PR c++/16675
1784 * gdb.cp/cpsizeof.exp: New file.
1785 * gdb.cp/cpsizeof.cc: New file.
1786
1787 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1788
1789 * gdb.mi/mi-vla-c99.exp: New file.
1790 * gdb.mi/vla.c: New file.
1791
1792 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1793
1794 * gdb.base/vla-datatypes.c: New file.
1795 * gdb.base/vla-datatypes.exp: New file.
1796
1797 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1798
1799 * gdb.base/vla-ptr.c: New file.
1800 * gdb.base/vla-ptr.exp: New file.
1801
1802 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1803
1804 * gdb.base/vla-multi.c: New file.
1805 * gdb.base/vla-multi.exp: New file.
1806
1807 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1808
1809 * gdb.dwarf2/count.exp: New file.
1810
1811 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
1812
1813 * gdb.base/vla-sideeffect.c: New file.
1814 * gdb.base/vla-sideeffect.exp: New file.
1815
1816 2014-04-11 Yao Qi <yao@codesourcery.com>
1817
1818 * gdb.base/completion.exp: Check file exists before running tests
1819 on file completion.
1820
1821 2014-04-10 Pedro Alves <palves@redhat.com>
1822
1823 * gdb.base/cond-eval-mode.c: New file.
1824 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
1825 prepare_for_testing to build the new file. Check result of
1826 runto_main.
1827 (test_break, test_watch): New procedures.
1828 (top level): Use them.
1829
1830 2014-04-08 Pierre Muller <muller@sourceware.org>
1831
1832 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
1833 Ctrl-V use for mingw hosts.
1834
1835 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
1836
1837 * gdb.python/py-value.c: Improve test case.
1838 * gdb.python/py-value.exp: Add new test.
1839
1840 2014-04-07 David Blaikie <dblaikie@gmail.com>
1841
1842 * lib/compiler.c: Identify the clang compiler.
1843 * lib/compiler.cc: Ditto.
1844
1845 2014-04-03 Yao Qi <yao@codesourcery.com>
1846
1847 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
1848
1849 2014-04-01 Anton Blanchard <anton@samba.org>
1850
1851 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
1852 messages unique.
1853
1854 2014-04-01 Anton Blanchard <anton@samba.org>
1855
1856 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
1857 prepare_for_testing.
1858
1859 2014-04-01 Anton Blanchard <anton@samba.org>
1860
1861 * gdb.arch/ppc64-atomic-inst.c: Remove.
1862 * gdb.arch/ppc64-atomic-inst.S: New file.
1863 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
1864
1865 2014-03-31 Doug Evans <dje@google.com>
1866
1867 * gdb.base/print-symbol-loading-lib.c: New file.
1868 * gdb.base/print-symbol-loading-main.c: New file.
1869 * gdb.base/print-symbol-loading.exp: New file.
1870
1871 2014-03-31 Yao Qi <yao@codesourcery.com>
1872
1873 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
1874
1875 2014-03-28 Joel Brobecker <brobecker@adacore.com>
1876
1877 * gdb.ada/mi_dyn_arr: New testcase.
1878
1879 2014-03-27 Doug Evans <dje@google.com>
1880
1881 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
1882
1883 2014-03-27 Yao Qi <yao@codesourcery.com>
1884
1885 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
1886 if target is nios2-*-*.
1887
1888 2014-03-26 Yao Qi <yao@codesourcery.com>
1889
1890 * lib/gdb.exp (readline_is_used): New proc.
1891 * gdb.base/completion.exp: Move tests on command complete up.
1892 Skip the rest of tests if readline is not used.
1893 * gdb.ada/complete.exp: Skp the test if readline is not
1894 used.
1895 * gdb.base/filesym.exp: Likewise.
1896 * gdb.base/macscp.exp: Likewise.
1897 * gdb.base/readline-ask.exp: Likewise.
1898 * gdb.base/readline.exp: Likewise.
1899 * gdb.python/py-cmd.exp: Likewise.
1900 * gdb.trace/tfile.exp: Likewise.
1901
1902 2014-03-26 Yao Qi <yao@codesourcery.com>
1903
1904 * gdb.base/macscp.exp: Fix code format issues.
1905
1906 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
1907
1908 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
1909 * gdb.asm/powerpc64le.inc: New file.
1910
1911 2014-03-25 Pedro Alves <palves@redhat.com>
1912 Doug Evans <dje@google.com>
1913
1914 * gdb.base/source-execution.c: New file.
1915 * gdb.base/source-execution.exp: New file.
1916 * gdb.base/source-execution.gdb: New file.
1917
1918 2014-03-24 Doug Evans <dje@google.com>
1919
1920 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
1921 using fission.
1922
1923 2014-03-24 Hui Zhu <hui@codesourcery.com>
1924 Pedro Alves <palves@redhat.com>
1925
1926 PR breakpoints/16101
1927 * gdb.base/dprintf.exp: Use unsupported rather than changing the
1928 test pass/fail messages. Detect missing support for dprintf when
1929 breakpoints are actually inserted.
1930 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
1931 breakpoints are actually inserted.
1932 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
1933 fails.
1934
1935 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1936
1937 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
1938
1939 2014-03-22 Doug Evans <xdje42@gmail.com>
1940
1941 * gdb.python/python.exp (python not supported): Verify multi-line
1942 python command issues an error.
1943 * gdb.guile/guile.exp (guile not supported): Verify multi-line
1944 guile command issues an error.
1945
1946 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
1947
1948 * gdb.threads/thread-specific.exp: Handle the lack of usable
1949 $this_breakpoint and $this_thread.
1950
1951 2014-03-21 Hui Zhu <hui@codesourcery.com>
1952
1953 * gdb.base/attach.exp (do_command_attach_tests): New.
1954
1955 2014-03-20 Tom Tromey <tromey@redhat.com>
1956 Pedro Alves <palves@redhat.com>
1957
1958 PR cli/15718
1959 * gdb.base/condbreak-call-false.c: New file.
1960 * gdb.base/condbreak-call-false.exp: New file.
1961
1962 2014-03-20 Pedro Alves <palves@redhat.com>
1963
1964 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
1965 Delete.
1966 (block_signals, unblock_signals): Delete.
1967 (child_function_2, main): Remove references to deleted variable
1968 and functions.
1969
1970 2014-03-20 Pedro Alves <palves@redhat.com>
1971
1972 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
1973 Use pthread_kill to signal thread 2.
1974 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1975 Adjust to make the test send itself a signal rather than using the
1976 host's "kill" command.
1977
1978 2014-03-20 Pedro Alves <palves@redhat.com>
1979
1980 * gdb.threads/multiple-step-overs.c: New file.
1981 * gdb.threads/multiple-step-overs.exp: New file.
1982 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1983 Adjust expected infrun debug output.
1984
1985 2014-03-20 Pedro Alves <palves@redhat.com>
1986
1987 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
1988 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
1989
1990 2014-03-20 Pedro Alves <palves@redhat.com>
1991
1992 PR breakpoints/7143
1993 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
1994 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
1995 of gdb_test_multiple.
1996 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
1997 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
1998
1999 2014-03-20 Pedro Alves <palves@redhat.com>
2000
2001 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
2002 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
2003
2004 2014-03-19 Pedro Alves <palves@redhat.com>
2005
2006 * gdb.base/async.exp: Remove early return.
2007
2008 2014-03-19 Pedro Alves <palves@redhat.com>
2009
2010 * gdb.base/async.exp (step& tests): Pass explicit test messages.
2011
2012 2014-03-19 Pedro Alves <palves@redhat.com>
2013
2014 * gdb.base/async.exp (test_background): Expect \r\n after
2015 "completed." in the fail pattern.
2016
2017 2014-03-19 Pedro Alves <palves@redhat.com>
2018
2019 * gdb.base/async.exp (test_background): New procedure.
2020 Use it for all background execution command tests.
2021
2022 2014-03-19 Pedro Alves <palves@redhat.com>
2023
2024 * gdb.base/async.exp: Use prepare_for_testing.
2025
2026 2014-03-19 Pedro Alves <palves@redhat.com>
2027
2028 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
2029 the same line.
2030
2031 2014-03-19 Pedro Alves <palves@redhat.com>
2032
2033 * gdb.base/async.c (main): Add "jump here" and "until here" line
2034 marker comments.
2035 * gdb.base/async.exp (jump_here): New global.
2036 (jump& test): Use it.
2037 (until_here): New global.
2038 (until& test): Use it.
2039
2040 2014-03-19 Pedro Alves <palves@redhat.com>
2041
2042 * gdb.base/async.exp: Don't frob gdb_protocol.
2043
2044 2014-03-18 Doug Evans <xdje42@gmail.com>
2045
2046 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
2047 Fix spelling of exec-done-display.
2048
2049 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2050
2051 PR gdb/15358
2052 * gdb.base/gdb-sigterm.c: New file.
2053 * gdb.base/gdb-sigterm.exp: New file.
2054
2055 2014-03-18 Pedro Alves <palves@redhat.com>
2056
2057 PR gdb/13860
2058 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
2059 * lib/mi-support.exp (mi_expect_stop): Add special handling for
2060 solib-event.
2061
2062 2014-03-17 Joel Brobecker <brobecker@adacore.com>
2063
2064 * gdb.ada/pckd_arr_ren: New testcase.
2065
2066 2014-03-13 Doug Evans <xdje42@gmail.com>
2067
2068 PR guile/16612
2069 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
2070 collect after discarding symbols.
2071
2072 2014-03-13 Ludovic Courtès <ludo@gnu.org>
2073 Doug Evans <xdje42@gmail.com>
2074
2075 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
2076 to history survives a gc.
2077
2078 2014-03-13 Pedro Alves <palves@redhat.com>
2079
2080 * gdb.base/default.exp: Don't test "target procfs".
2081
2082 2014-03-13 Pedro Alves <palves@redhat.com>
2083
2084 * gdb.base/default.exp: Update "target child" and "target procfs"
2085 tests to not expect "Unix".
2086
2087 2014-03-12 Tom Tromey <tromey@redhat.com>
2088
2089 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
2090 New procs. Add target-async tests.
2091 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
2092 Add target-async tests.
2093
2094 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2095
2096 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
2097 'func_start' and 'func_end' for the beginning and end of the
2098 function code, respectively.
2099 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
2100 'func_end' instead of 'func' and 'main'.
2101
2102 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2103
2104 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
2105 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
2106 generate the debug info assembler source.
2107
2108 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2109
2110 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
2111 * gdb.dwarf2/arr-subrange.exp: Likewise.
2112 * gdb.dwarf2/dwz.exp: Likewise.
2113 * gdb.dwarf2/method-ptr.exp: Likewise.
2114 * gdb.dwarf2/missing-sig-type.exp: Likewise.
2115 * gdb.dwarf2/subrange.exp: Likewise.
2116 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
2117 * gdb.dwarf2/implptrpiece.exp: Likewise.
2118 * gdb.dwarf2/nostaticblock.exp: Likewise.
2119
2120 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
2121
2122 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
2123 directory to absolute path name arguments.
2124
2125 2014-03-10 Joel Brobecker <brobecker@adacore.com>
2126
2127 * gdb.ada/tagged_access: New testcase.
2128
2129 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
2130
2131 * gdb.btrace/data.exp: Update expected output.
2132
2133 2014-03-06 Yao Qi <yao@codesourcery.com>
2134
2135 * gdb.trace/pr16508.exp: New file.
2136
2137 2014-03-05 Pedro Alves <palves@redhat.com>
2138
2139 PR gdb/16575
2140 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
2141 procedure.
2142 (top level): Adjust to use it. Add tests that exercise breakpoint
2143 interaction with the code-cache.
2144
2145 2014-02-26 Ludovic Courtès <ludo@gnu.org>
2146
2147 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
2148 test for 'history-append!'.
2149
2150 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2151
2152 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
2153 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
2154 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
2155 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
2156 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
2157 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
2158
2159 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2160
2161 * testsuite/gdb.python/py-pp-re-notag.c: New file.
2162 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
2163 * testsuite/gdb.python/py-pp-re-notag.p: New file.
2164
2165 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2166
2167 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
2168
2169 2014-02-26 Joel Brobecker <brobecker@adacore.com>
2170
2171 * gdb.dwarf2/arr-stride.c: New file.
2172 * gdb.dwarf2/arr-stride.exp: New file.
2173
2174 2014-02-26 Pedro Alves <palves@redhat.com>
2175
2176 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
2177 that won't ever trigger. Make sure that GDB reports the correct
2178 breakpoint that caused the stop.
2179
2180 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2181
2182 PR gdb/16626
2183 * gdb.base/auto-load-script: New file.
2184 * gdb.base/auto-load.c: New file.
2185 * gdb.base/auto-load.exp: New file.
2186
2187 PR gdb/16626
2188 * gdb.base/auto-load.exp: Fix out-of-srctree run.
2189
2190 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2191
2192 Fix dw2-icycle.exp -fsanitize=address GDB crash.
2193 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
2194
2195 2014-02-24 Doug Evans <dje@google.com>
2196
2197 * lib/gdb.exp (run_on_host): Log error output if program fails.
2198
2199 2014-02-21 Pedro Alves <palves@redhat.com>
2200
2201 * gdb.threads/step-after-sr-lock.c: Rename to ...
2202 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
2203 * gdb.threads/step-after-sr-lock.exp: Rename to ...
2204 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2205 ... this.
2206
2207 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
2208
2209 PR tdep/16397
2210 * gdb.arch/amd64-stap-special-operands.exp: New file.
2211 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
2212 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
2213 * gdb.arch/amd64-stap-triplet.S: Likewise.
2214 * gdb.arch/amd64-stap-triplet.c: Likewise.
2215
2216 2014-02-20 Joel Brobecker <brobecker@adacore.com>
2217
2218 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
2219 in .section pseudo-op.
2220
2221 2014-02-20 lin zuojian <manjian2006@gmail.com>
2222 Joel Brobecker <brobecker@adacore.com>
2223 Doug Evans <xdje42@gmail.com>
2224
2225 PR symtab/16581
2226 * gdb.dwarf2/dw2-icycle.S: New file.
2227 * gdb.dwarf2/dw2-icycle.c: New file.
2228 * gdb.dwarf2/dw2-icycle.exp: New file.
2229
2230 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
2231
2232 * gdb.python/py-value-cc.cc: Improve test case to enable testing
2233 operations on gdb.Value objects.
2234 * gdb.python/py-value-cc.exp: Add new test to test operations on
2235 gdb.Value objects.
2236
2237 2014-02-18 Doug Evans <dje@google.com>
2238
2239 * Makefile.in (TESTS): New variable.
2240 (expanded_tests, expanded_tests_or_none): New variables
2241 (check-single): Pass $(expanded_tests_or_none) to runtest.
2242 (check-parallel): Only run tests in $(TESTS) if non-empty.
2243 (check/no-matching-tests-found): New rule.
2244 * README: Document TESTS makefile variable.
2245
2246 2014-02-18 Doug Evans <dje@google.com>
2247
2248 * Makefile.in (check-parallel): rm -rf outputs temp.
2249
2250 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2251
2252 Fix "ERROR: no fileid for" in the testsuite.
2253 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
2254
2255 2014-02-12 Doug Evans <dje@google.com>
2256
2257 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
2258 (MISCELLANEOUS): New variable.
2259 (clean): rm -rf $(MISCELLANEOUS).
2260 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
2261 dwp live in the same directory as symlinks, with each symlink pointed
2262 to a differently named file in a different directory.
2263
2264 2014-02-11 Doug Evans <dje@google.com>
2265
2266 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
2267 of Tcl file commands.
2268
2269 2014-02-10 Mark Kettenis <kettenis@gnu.org>
2270
2271 * gdb.threads/step-after-sr-lock.exp: Avoid executing
2272 "kill -SIGUSR1 -1".
2273
2274 2014-02-10 Joel Brobecker <brobecker@adacore.com>
2275
2276 * gdb.ada/tick_length_array_enum_idx: New testcase.
2277
2278 2014-02-10 Doug Evans <xdje42@gmail.com>
2279
2280 * configure.ac (AC_OUTPUT): Add gdb.guile.
2281 * configure: Regenerate.
2282 * lib/gdb-guile.exp: New file.
2283 * lib/gdb.exp (get_target_charset): New function.
2284 * gdb.base/help.exp: Update expected output from "apropos apropos".
2285 * gdb.guile/Makefile.in: New file.
2286 * gdb.guile/guile.exp: New file.
2287 * gdb.guile/scm-arch.c: New file.
2288 * gdb.guile/scm-arch.exp: New file.
2289 * gdb.guile/scm-block.c: New file.
2290 * gdb.guile/scm-block.exp: New file.
2291 * gdb.guile/scm-breakpoint.c: New file.
2292 * gdb.guile/scm-breakpoint.exp: New file.
2293 * gdb.guile/scm-disasm.c: New file.
2294 * gdb.guile/scm-disasm.exp: New file.
2295 * gdb.guile/scm-equal.c: New file.
2296 * gdb.guile/scm-equal.exp: New file.
2297 * gdb.guile/scm-error.exp: New file.
2298 * gdb.guile/scm-error.scm: New file.
2299 * gdb.guile/scm-frame-args.c: New file.
2300 * gdb.guile/scm-frame-args.exp: New file.
2301 * gdb.guile/scm-frame-args.scm: New file.
2302 * gdb.guile/scm-frame-inline.c: New file.
2303 * gdb.guile/scm-frame-inline.exp: New file.
2304 * gdb.guile/scm-frame.c: New file.
2305 * gdb.guile/scm-frame.exp: New file.
2306 * gdb.guile/scm-generics.exp: New file.
2307 * gdb.guile/scm-gsmob.exp: New file.
2308 * gdb.guile/scm-iterator.c: New file.
2309 * gdb.guile/scm-iterator.exp: New file.
2310 * gdb.guile/scm-math.c: New file.
2311 * gdb.guile/scm-math.exp: New file.
2312 * gdb.guile/scm-objfile-script-gdb.in: New file.
2313 * gdb.guile/scm-objfile-script.c: New file.
2314 * gdb.guile/scm-objfile-script.exp: New file.
2315 * gdb.guile/scm-objfile.c: New file.
2316 * gdb.guile/scm-objfile.exp: New file.
2317 * gdb.guile/scm-ports.exp: New file.
2318 * gdb.guile/scm-pretty-print.c: New file.
2319 * gdb.guile/scm-pretty-print.exp: New file.
2320 * gdb.guile/scm-pretty-print.scm: New file.
2321 * gdb.guile/scm-section-script.c: New file.
2322 * gdb.guile/scm-section-script.exp: New file.
2323 * gdb.guile/scm-section-script.scm: New file.
2324 * gdb.guile/scm-symbol.c: New file.
2325 * gdb.guile/scm-symbol.exp: New file.
2326 * gdb.guile/scm-symtab-2.c: New file.
2327 * gdb.guile/scm-symtab.c: New file.
2328 * gdb.guile/scm-symtab.exp: New file.
2329 * gdb.guile/scm-type.c: New file.
2330 * gdb.guile/scm-type.exp: New file.
2331 * gdb.guile/scm-value-cc.cc: New file.
2332 * gdb.guile/scm-value-cc.exp: New file.
2333 * gdb.guile/scm-value.c: New file.
2334 * gdb.guile/scm-value.exp: New file.
2335 * gdb.guile/source2.scm: New file.
2336 * gdb.guile/types-module.cc: New file.
2337 * gdb.guile/types-module.exp: New file.
2338
2339 2014-02-10 Yao Qi <yao@codesourcery.com>
2340
2341 PR testsuite/16543
2342 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
2343 * configure: Regenerated.
2344 * Makefile.in: New file.
2345
2346 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2347
2348 * gdb.python/py-framefilter.exp: Fix typo.
2349
2350 2014-02-08 Yao Qi <yao@codesourcery.com>
2351
2352 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
2353 that no =breakpoint-modified is emitted when breakpoints are
2354 modified through MI commands.
2355
2356 2014-02-07 Pedro Alves <pedro@codesourcery.com>
2357 Pedro Alves <palves@redhat.com>
2358
2359 * gdb.threads/step-after-sr-lock.c: New file.
2360 * gdb.threads/step-after-sr-lock.exp: New file.
2361
2362 2014-02-07 Pedro Alves <palves@redhat.com>
2363
2364 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
2365
2366 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2367
2368 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
2369 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
2370
2371 2014-02-06 Doug Evans <xdje42@gmail.com>
2372
2373 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
2374 output.
2375
2376 * gdb.gdb/python-interrupts.exp: New file.
2377
2378 2014-02-05 Yao Qi <yao@codesourcery.com>
2379
2380 * gdb.trace/report.exp (use_collected_data): Test the output
2381 of "info threads" and "info inferiors".
2382
2383 2014-02-05 Yao Qi <yao@codesourcery.com>
2384
2385 Revert this patch:
2386
2387 2013-05-24 Yao Qi <yao@codesourcery.com>
2388
2389 * gdb.trace/tfile.exp: Test inferior and thread.
2390
2391 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2392
2393 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
2394 on a function.
2395 * gdb.base/step-bt.c: Call hello via function pointer to make
2396 sure its first instruction is executed on powerpc64le-linux.
2397
2398 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2399
2400 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
2401
2402 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2403
2404 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
2405 of the test patterns for use on little-endian systems.
2406
2407 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
2408
2409 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
2410 (decimal_vector): Fix for little-endian.
2411
2412 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
2413
2414 * gdb.arch/sparc-sysstep.exp: New file.
2415 * gdb.arch/sparc-sysstep.c: Likewise.
2416
2417 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
2418
2419 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2420
2421 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
2422
2423 2014-01-23 Tom Tromey <tromey@redhat.com>
2424
2425 * gdb.ada/array_char_idx: New testcase.
2426
2427 2014-01-23 Tom Tromey <tromey@redhat.com>
2428
2429 PR python/16487:
2430 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
2431 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
2432 classes.
2433
2434 2014-01-23 Tom Tromey <tromey@redhat.com>
2435
2436 PR python/16491:
2437 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
2438 string from an inferior frame.
2439 * gdb.python/py-framefilter-mi.exp: Update.
2440
2441 2014-01-22 Doug Evans <dje@google.com>
2442
2443 * gdb.server/server-mon.exp: Add tests for "set debug-format".
2444
2445 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2446
2447 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
2448
2449 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2450
2451 * gdb.trace/entry-values.exp: Remove excess space character from
2452 regex patterns. Handle s390 call instruction.
2453
2454 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2455
2456 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
2457 define "*_start" label. Make "name" static.
2458 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
2459 ${name} by references to ${name}_start.
2460
2461 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
2462
2463 * gdb.base/info-macros.exp: Remove "debug" from the compile
2464 options.
2465
2466 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2467
2468 * gdb.dlang/demangle.exp: New file.
2469
2470 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2471
2472 * gdb.dlang/primitive-types.exp: New file.
2473
2474 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
2475
2476 * configure.ac: Create gdb.dlang/Makefile.
2477 * configure: Regenerate.
2478 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
2479 * gdb.dlang/Makefile.in: New file.
2480 * lib/d-support.exp: New file.
2481 * lib/gdb.exp (skip_d_tests): New proc.
2482
2483 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2484
2485 * gdb.btrace/delta.exp: Check reverse stepi.
2486 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
2487 * gdb.btrace/finish.exp: New.
2488 * gdb.btrace/next.exp: New.
2489 * gdb.btrace/nexti.exp: New.
2490 * gdb.btrace/record_goto.c: Add comments.
2491 * gdb.btrace/step.exp: New.
2492 * gdb.btrace/stepi.exp: New.
2493 * gdb.btrace/multi-thread-step.c: New.
2494 * gdb.btrace/multi-thread-step.exp: New.
2495 * gdb.btrace/rn-dl-bind.c: New.
2496 * gdb.btrace/rn-dl-bind.exp: New.
2497 * gdb.btrace/data.c: New.
2498 * gdb.btrace/data.exp: New.
2499 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2500
2501 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2502
2503 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
2504 * gdb.btrace/exception.exp: Update.
2505 * gdb.btrace/instruction_history.exp: Update.
2506 * gdb.btrace/record_goto.exp: Update.
2507 * gdb.btrace/tailcall.exp: Update.
2508 * gdb.btrace/unknown_functions.exp: Update.
2509 * gdb.btrace/delta.exp: New.
2510
2511 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2512
2513 * gdb.btrace/record_goto.exp: Add backtrace test.
2514 * gdb.btrace/tailcall.exp: Add backtrace test.
2515
2516 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2517
2518 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
2519 * gdb.btrace/record_goto.c: New.
2520 * gdb.btrace/record_goto.exp: New.
2521 * gdb.btrace/x86-record_goto.S: New.
2522
2523 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2524
2525 * gdb.btrace/function_call_history.exp: Update tests.
2526 * gdb.btrace/instruction_history.exp: Update tests.
2527
2528 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2529
2530 * gdb.btrace/function_call_history.exp: Fix expected field
2531 order for "record function-call-history".
2532 Add new tests for "record function-call-history /c".
2533 * gdb.btrace/exception.cc: New.
2534 * gdb.btrace/exception.exp: New.
2535 * gdb.btrace/tailcall.exp: New.
2536 * gdb.btrace/x86-tailcall.S: New.
2537 * gdb.btrace/x86-tailcall.c: New.
2538 * gdb.btrace/unknown_functions.c: New.
2539 * gdb.btrace/unknown_functions.exp: New.
2540 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
2541
2542 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2543
2544 * gdb.btrace/instruction_history.exp: Update.
2545 * gdb.btrace/function_call_history.exp: Update.
2546
2547 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2548
2549 * gdb.btrace/function_call_history.exp: Fix expected function
2550 trace.
2551 * gdb.btrace/instruction_history.exp: Initialize traced.
2552 Remove traced_functions.
2553
2554 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2555
2556 * gdb.btrace/function_call_history.exp: Update
2557 * gdb.btrace/instruction_history.exp: Update.
2558
2559 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
2560
2561 * gdb.btrace/enable.exp: Update expected text.
2562
2563 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
2564
2565 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
2566 bytes.
2567
2568 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
2569
2570 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
2571
2572 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
2573
2574 * lib/gdb.exp (supports_process_record): Return true for
2575 arm*-linux*. (supports_reverse): Likewise.
2576
2577 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
2578
2579 PR python/15464
2580 PR python/16113
2581 * gdb.python/py-type.c: Enhance test case.
2582 * gdb.python/py-value-cc.cc: Likewise
2583 * gdb.python/py-type.exp: Add new tests.
2584 * gdb.python/py-value-cc.exp: Likewise
2585
2586 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2587 Pedro Alves <palves@redhat.com>
2588
2589 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
2590 Make "name" extern.
2591 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
2592 references to ${name}_start by references to ${name}.
2593
2594 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2595
2596 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
2597
2598 2014-01-10 Joel Brobecker <brobecker@adacore.com>
2599
2600 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
2601
2602 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
2603 Pedro Alves <palves@redhat.com>
2604
2605 * gdb.mi/mi-info-os.exp: Connect to the target with
2606 mi_gdb_target_load.
2607
2608 2014-01-08 Pedro Alves <palves@redhat.com>
2609
2610 * gdb.threads/reconnect-signal.c: New file.
2611 * gdb.threads/reconnect-signal.exp: New file.
2612
2613 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2614
2615 * gdb.base/source-dir.exp: New file.
2616
2617 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2618
2619 * gdb.ada/mi_interface: New testcase.
2620
2621 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2622
2623 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
2624 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
2625 gdb.ada/pp-rec-component/pck.ads: New files.
2626
2627 2014-01-07 Joel Brobecker <brobecker@adacore.com>
2628
2629 * gdb.python/py-pp-integral.c: New file.
2630 * gdb.python/py-pp-integral.py: New file.
2631 * gdb.python/py-pp-integral.exp: New file.
2632
2633 For older changes see ChangeLog-1993-2013.
2634 \f
2635 ;; Local Variables:
2636 ;; mode: change-log
2637 ;; left-margin: 8
2638 ;; fill-column: 74
2639 ;; version-control: never
2640 ;; End:
2641
2642 Copyright 2014 Free Software Foundation, Inc.
2643 Copying and distribution of this file, with or without modification,
2644 are permitted provided the copyright notice and this notice are preserved.
This page took 0.126801 seconds and 4 git commands to generate.