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