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