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