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