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