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