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