]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/ChangeLog
gdb
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2011-06-29 Tom Tromey <tromey@redhat.com>
2
3 * gdb.fortran/charset.exp: New file.
4 * gdb.fortran/charset.f90: New file.
5
6 2011-06-29 Tom Tromey <tromey@redhat.com>
7
8 PR testsuite/12040:
9 * lib/future.exp: New file, mostly extracted from ada.exp.
10 Rewrote compatibility code to use rename.
11 (gdb_find_gfortran): New proc.
12 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
13 gfortran patch.
14 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
15 Move to future.exp.
16 * lib/gdb.exp: Always load future.exp.
17
18 2011-06-28 Yao Qi <yao@codesourcery.com>
19
20 * gdb.cp/exception.cc: Don't include iostream.
21 (bar): Remove print statement.
22 (catcher): New.
23 (main): Remove print statements. Call function catcher.
24 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
25 Set breakpoint on catcher, and check the value of parameter.
26
27 2011-06-23 Yao Qi <yao@codesourcery.com>
28
29 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
30 1.2 is disabled. KFAIL for uclinux.
31
32 2011-06-23 Marek Polacek <mpolacek@redhat.com>
33
34 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
35 mi_gdb_test.
36
37 2011-06-23 Marek Polacek <mpolacek@redhat.com>
38
39 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
40
41 2011-06-23 Marek Polacek <mpolacek@redhat.com>
42
43 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
44
45 2011-06-23 Marek Polacek <mpolacek@redhat.com>
46
47 * gdb.mi/mi2-basics.exp: Fix races. Honour the
48 `test_exec_and_symbol_mi_operatons' return value.
49 (test_mi_interpreter_selection): Use mi_gdb_test instead of
50 gdb_test_multiple.
51 (test_exec_and_symbol_mi_operatons): Likewise.
52 (test_path_specification): Likewise.
53
54 2011-06-23 Yao Qi <yao@codesourcery.com>
55
56 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
57 supported.
58 * lib/gdb.exp (support_displaced_stepping): New.
59
60 2011-06-23 Yao Qi <yao@codesourcery.com>
61
62 * gdb.threads/execl.exp: Skip on remote target.
63
64 2011-06-21 Marek Polacek <mpolacek@redhat.com>
65
66 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
67 mi_gdb_test.
68
69 2011-06-20 Marek Polacek <mpolacek@redhat.com>
70
71 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
72
73 2011-06-20 Marek Polacek <mpolacek@redhat.com>
74
75 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
76 mi_gdb_test.
77
78 2011-06-20 Marek Polacek <mpolacek@redhat.com>
79
80 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
81
82 2011-06-14 Yao Qi <yao@codesourcery.com>
83
84 gdb/testsuite/
85 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
86
87 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
88
89 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
90
91 2011-06-10 Tom Tromey <tromey@redhat.com>
92
93 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
94 Add tests for pointer-to-member-function.
95 * gdb.cp/temargs.cc (S::somefunc): New function.
96 (K2): New class.
97 (main): Instantiate K2; call method.
98
99 2011-06-08 Joel Brobecker <brobecker@adacore.com>
100
101 * gdb.python/py-inferior.c (f2): Make str an array rather
102 than a pointer.
103 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
104
105 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
106
107 * gdb.base/async-shell.c: New file.
108 * gdb.base/async-shell.exp: New file.
109
110 2011-06-06 Pedro Alves <pedro@codesourcery.com>
111
112 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
113
114 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
115
116 From Stephen Kitt <steve@sk2.org>
117 * gdb.base/help.exp: Adjust following some spelling corrections
118 in GDB.
119
120 2011-06-01 Yao Qi <yao@codesourcery.com>
121
122 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
123
124 2010-05-31 Keith Seitz <keiths@redhat.com>
125
126 PR c++/12750
127 * gdb.cp/static-method.cc: New file.
128 * gdb.cp/static-method.exp: New file.
129
130 2010-05-31 Keith Seitz <keiths@redhat.com>
131
132 PR symtab/12704
133 * gdb.cp/anon-ns.cc: New file.
134 * gdb.cp/anon-ns.exp: New file.
135
136 2011-05-31 Pedro Alves <pedro@codesourcery.com>
137
138 * gdb.arch/i386-dr3-watch.c: New file.
139 * gdb.arch/i386-dr3-watch.exp: New file.
140
141 2011-05-30 Yao Qi <yao@codesourcery.com>
142
143 * gdb.base/callfuncs.c (t_structs_fc): New.
144 (t_structs_dc, t_structs_ldc): New.
145 (t_double_many_args):
146 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
147 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
148 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
149 * gdb.base/callfuncs.exp: Call new functions.
150
151 2011-05-30 Yao Qi <yao@codesourcery.com>
152
153 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
154 Call rerun_and_prepare for each test to isolate effects.
155
156 2011-05-30 Yao Qi <yao@codesourcery.com>
157
158 * gdb.base/varargs.c (find_max_float_real): New.
159 (find_max_double_real, find_max_long_double_real): New.
160 * gdb.base/varargs.exp: Call these new added functions.
161 * lib/gdb.exp (setup_kfail_for_target): New.
162
163 2011-05-30 Yao Qi <yao@codesourcery.com>
164
165 * gdb.base/funcargs.c (callca, callcb, callcc): New.
166 (callcd, callce, callcf, callc1a, callc1b): New.
167 (callc2a, callc2b): New.
168 * gdb.base/funcargs.exp (complex_args): New.
169 (complex_integral_args, complex_float_integral_args): New.
170 * lib/gdb.exp (support_complex_tests): New. Determine
171 whether to run test cases on _Complex types.
172
173 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
174
175 * gdb.threads/leader-exit.c: New file.
176 * gdb.threads/leader-exit.exp: New file.
177
178 2011-05-27 Marek Polacek <mpolacek@redhat.com>
179
180 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
181
182 2011-05-27 Marek Polacek <mpolacek@redhat.com>
183
184 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
185 remove the `supported' variable.
186 * gdb.mi/mi-nonstop.exp: Likewise.
187 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
188 * gdb.mi/mi-nsintrall.exp: Likewise.
189 * gdb.mi/mi-nsmoribund.exp: Likewise.
190 * gdb.mi/mi-nsthrexec.exp: Likewise.
191
192 2011-05-26 Pedro Alves <pedro@codesourcery.com>
193
194 * gdb.reverse/finish-reverse-bkpt.exp: New test.
195
196 2011-05-26 Pedro Alves <pedro@codesourcery.com>
197
198 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
199
200 2011-05-24 Keith Seitz <keiths@redhat.com>
201
202 PR breakpoint/12803
203 * gdb.cp/cmpd-minsyms.cc (a): New method.
204 (b): New method.
205 (c): New method.
206 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
207
208 2011-05-24 Pedro Alves <pedro@codesourcery.com>
209
210 * gdb.base/commands.exp (watchpoint_command_test): Check that the
211 watchpoint's command list didn't execute when the watchpoint went
212 out of scope.
213
214 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
215
216 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
217 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
218 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
219 * gdb.arch/i386-gnu-cfi.exp: Likewise.
220 * gdb.arch/i386-permbkpt.exp: Likewise.
221 * gdb.arch/i386-prologue.exp: Likewise.
222 * gdb.arch/i386-size-overlap.exp: Likewise.
223 * gdb.arch/i386-size.exp: Likewise.
224 * gdb.arch/i386-unwind.exp: Likewise.
225 * gdb.reverse/i386-precsave.exp: Likewise.
226 * gdb.reverse/i386-reverse.exp: Likewise.
227 * gdb.reverse/i386-sse-reverse.exp: Likewise.
228 * gdb.reverse/i387-env-reverse.exp: Likewise.
229 * gdb.reverse/i387-stack-reverse.exp: Likewise.
230
231 2011-05-24 Pedro Alves <pedro@codesourcery.com>
232
233 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
234 file doesn't error, using MI.
235
236 2011-05-23 Tom Tromey <tromey@redhat.com>
237
238 * gdb.base/charset.exp (string_display): Add tests to assign to
239 arrays.
240 * gdb.base/charset.c (short_array, int_array, long_array): New.
241
242 2011-05-20 Pedro Alves <pedro@codesourcery.com>
243
244 Cope with async mode.
245
246 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
247 into gdb_test + mi_expect_stop.
248
249 2011-05-20 Pedro Alves <pedro@codesourcery.com>
250
251 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
252 (callme): Remove printf call.
253
254 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
255
256 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
257 quote pattern to avoid problems with Cygwin/mingw expect versions.
258 * gdb.base/default.exp (show convenience): Use double
259 quote pattern for regular expressions.
260
261 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
262
263 Fix -readnow for -gdwarf-4 unused type units.
264 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
265 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
266
267 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
268
269 * gdb.base/kill-after-signal.c: New file.
270 * gdb.base/kill-after-signal.exp: New file.
271
272 2011-05-16 Pedro Alves <pedro@codesourcery.com>
273
274 * gdb.ada/start.exp: Call untested with the correct test filename.
275 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
276 test filename. Make the test's binary unique.
277 * gdb.arch/i386-signal.exp: Call untested with the correct test
278 filename.
279 * gdb.arch/i386-size-overlap.exp: Ditto.
280 * gdb.arch/Makefile.in (EXECUTABLES): Update.
281 * gdb.base/gcore-buffer-overflow.exp: Ditto.
282 * gdb.cp/call-c.exp: Ditto.
283 * gdb.mi/mi-reverse.exp: Call untested with the correct test
284 filename. Make the test's binary unique.
285 * gdb.mi/Makefile.in (EXECUTABLES): Update.
286 * gdb.python/py-mi.exp: Ditto.
287 * gdb.python/Makefile.in (EXECUTABLES): Update.
288 * gdb.reverse/i386-precsave.exp: Ditto.
289 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
290 test filename.
291 * gdb.reverse/i387-stack-reverse.exp: Ditto.
292 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
293 unique.
294 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
295 test filename.
296 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
297 * gdb.trace/tfile.exp: Ditto.
298
299 2011-05-14 Yao Qi <yao@codesourcery.com>
300
301 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
302 type.
303
304 2011-05-13 Doug Evans <dje@google.com>
305
306 * gdb.python/py-objfile-script.exp: New file.
307 * gdb.python/py-objfile-script.c: New file.
308 * gdb.python/py-objfile-script-gdb.py: New file.
309 * testsuite/gdb.python/py-section-script.exp: Test
310 "info auto-load-scripts".
311
312 2011-05-13 Tom Tromey <tromey@redhat.com>
313
314 * gdb.dwarf2/clztest.exp: New file.
315 * gdb.dwarf2/clztest.c: New file.
316 * gdb.dwarf2/clztest.S: New file.
317
318 2011-05-13 Doug Evans <dje@google.com>
319
320 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
321 String16 tests.
322
323 2011-05-13 Tom Tromey <tromey@redhat.com>
324
325 * lib/gdb.exp (is_x86_like_target): New proc.
326 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
327 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
328 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
329 -nostdlib to compiler.
330 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
331 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
332 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
333 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
334 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
335
336 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
337
338 * gdb.python/py-function.exp: Test setting a value from a function
339 which executes a command.
340
341 2011-05-12 Tom Tromey <tromey@redhat.com>
342
343 * gdb.dwarf2/typeddwarf.S: New file.
344 * gdb.dwarf2/typeddwarf.c: New file.
345 * gdb.dwarf2/typeddwarf.exp: New file.
346
347 2011-05-12 Marek Polacek <mpolacek@redhat.com>
348
349 * gdb.mi/mi-basics.exp: Fix races. Honour the
350 `test_exec_and_symbol_mi_operatons' return value.
351 (test_mi_interpreter_selection): Use mi_gdb_test instead of
352 gdb_test_multiple.
353 (test_exec_and_symbol_mi_operatons): Likewise.
354 (test_path_specification): Likewise.
355
356 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
357
358 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
359 (gdb_touch_execfile): Remove catch wrappers. New variable time.
360 Replace `file copy' and `file rename' by `file mtime'. Twice.
361
362 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
363
364 * gdb.base/readline-ask.c: New file.
365 * gdb.base/readline-ask.exp: New file.
366 * gdb.base/readline-ask.inputrc: New file.
367
368 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
369
370 * gdb.cell/bt.exp: Delete breakpoints before running to signal
371 to avoid race condition.
372 * gdb.cell/coremaker.c: Use small stack size.
373 * gdb.cell/ea-standalone.exp: Use file name without path as
374 argument to c_to.
375 * gdb.cell/fork.exp: Allow other output when continuing to end.
376
377 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
378
379 * gdb.threads/corethreads.c: New file.
380 * gdb.threads/corethreads.exp: New file.
381
382 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
383
384 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
385 Try to compile the test using -Wl,-z,norelro first.
386 (load_core): New variable libthread_db_seen, initialize it.
387 (zeroed-threads cannot be listed): Protect it by XFAIL on
388 !$libthread_db_seen.
389
390 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
391
392 PR 12573
393 * gdb.dwarf2/dw2-skip-prologue.S: New file.
394 * gdb.dwarf2/dw2-skip-prologue.c: New file.
395 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
396
397 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
398
399 * gdb.cp/psymtab-parameter.cc: New file.
400 * gdb.cp/psymtab-parameter.exp: New file.
401
402 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
403
404 Fix a race.
405 * gdb.cp/static-print-quit.exp (print c): Split to ...
406 (print c - <return>, print c - q <return>, print c - to quit):
407 ... these. Make the testfile untested on gdb-7.1.
408
409 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
410
411 * lib/gdb.exp (exec_target_file, exec_symbol_file,
412 gdb_rename_execfile, gdb_touch_execfile): New.
413 * gdb.base/reread.exp: Use new procs to handle multiple
414 exec files.
415
416 2011-05-05 Yao Qi <yao@codesourcery.com>
417
418 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
419 (test_adr_32bit, test_pop_pc): New.
420 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
421 (test_adr_32bit, test_pop_pc): New.
422
423 2011-05-04 Joseph Myers <joseph@codesourcery.com>
424
425 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
426 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
427 targets.
428 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
429 handle targets.
430
431 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
432
433 * gdb.base/completion.exp (complete help info wat): Rename to ...
434 (complete 'help info wat'): ... here.
435 Remove all `-re ".*' and `-re "^.*' redundant regexes.
436 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
437
438 2011-05-04 Pedro Alves <pedro@codesourcery.com>
439
440 * gdb.base/completion.exp: Use gdb_test_multiple instead of
441 gdb_test and explicit $gdb_prompt/timeout matches.
442
443 2011-05-04 Yao Qi <yao@codesourcery.com>
444
445 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
446 and __thumb2__.
447
448 2011-05-03 Marek Polacek <mpolacek@redhat.com>
449
450 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
451 in place of `gdb_test "delete breakpoints"'. This eliminates two
452 testcases.
453
454 2011-05-02 Pedro Alves <pedro@codesourcery.com>
455
456 PR testsuite/12649
457 Fix races.
458
459 * gdb.base/completion.exp: Remove all sleep calls. Remove
460 unnecessary regexs. Don't explicitly expect anything after the
461 prompt. Eat the prompt if necessary.
462
463 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
464
465 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
466 accept to show the caller line again as well as the line after.
467
468 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
469
470 PR mi/12531
471
472 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
473 compile target.
474 * gdb.python/py-prettyprint.exp: Add C++ object for
475 CPLUS_FAKE_CHILD test.
476
477 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
478
479 * gdb.base/signest.exp: New file.
480 * gdb.base/signest.c: Likewise.
481
482 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
483
484 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
485 thread and breakpoint notifications.
486
487 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
488
489 * gdb.base/fortran-sym-case.c: New file.
490 * gdb.base/fortran-sym-case.exp: New file.
491 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
492 * gdb.dwarf2/dw2-case-insensitive.c: New file.
493 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
494
495 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
496
497 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
498 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
499 false #1', `if true else false #2' and `if true else false #3'.
500
501 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
502
503 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
504 while delivering signal.
505
506 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
507
508 MI breakpoint notifications.
509
510 * testsuite/gdb.mi/mi-cli.exp: Adust.
511 * testsuite/gdb.mi/mi2-cli.exp: Adust.
512 * testsuite/gdb.mi/mi-watch.exp: Adust.
513 * testsuite/gdb.mi/mi2-watch.exp: Adust.
514 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
515 notifications.
516
517 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
518
519 * gdb.base/gdbindex-stabs-dwarf.c: New file.
520 * gdb.base/gdbindex-stabs.c: New file.
521 * gdb.base/gdbindex-stabs.exp: New file.
522
523 2011-04-25 Yao Qi <yao@codesourcery.com>
524
525 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
526 with /*...*/.
527 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
528
529 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
530
531 * gdb.python/py-value.exp (test_objfiles): Name the first test
532 `py-value in file.filename'.
533
534 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
535
536 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
537 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
538 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
539 !gdbserver_reconnect_p..
540 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
541
542 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
543
544 * gdb.cp/cpcompletion.exp (complete class methods)
545 (complete class methods beginning with F): Move them above runto. New
546 comment about the runto delimiter.
547
548 2011-04-20 Pedro Alves <pedro@codesourcery.com>
549
550 * gdb.base/maint.exp: Test that "maint print registers" works
551 without a running program.
552
553 2011-04-20 Marek Polacek <mpolacek@redhat.com>
554
555 * gdb.base/setshow.exp: Fix racy tests.
556 ($old_gdb_prompt): New variable.
557
558 2011-04-19 Tom Tromey <tromey@redhat.com>
559
560 * gdb.mi/mi-nsmoribund.exp:
561 * gdb.hp/gdb.objdbg/objdbg01.exp:
562 * gdb.base/structs.exp (test_struct_returns):
563 * gdb.base/call-sc.exp (test_scalar_returns):
564 * gdb.base/bigcore.exp: Remove duplicate words.
565
566 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
567
568 * gdb.base/break-interp-lib.c (v, vptr): New variables.
569 * gdb.base/break-interp.exp (test_attach): New comment.
570
571 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
572
573 * gdb.threads/gcore-thread.exp ($core0file): New variable.
574 (clear __stack_user.next, clear stack_used.next)
575 (save a zeroed-threads corefile): New test.
576 Call core_load for $core0file.
577 (zeroed-threads cannot be listed): New test.
578
579 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
580
581 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
582 filename.
583 ($srcfile): Preserve the original value.
584 ($testfile): Match it the .exp filename.
585 ($corefile): New variable. Substitute it around.
586 Use clean_restart.
587 ($prev_timeout): Remove.
588 (load_core): Move core loading into this proc.
589 Fix restore of $timeout if load_core fails.
590
591 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
592
593 * gdb.base/eu-strip-infcall.c: New file.
594 * gdb.base/eu-strip-infcall.exp: New file.
595
596 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
597
598 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
599 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
600
601 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
602
603 Fix Python access to inlined frames.
604 * gdb.python/py-frame-inline.c: New file.
605 * gdb.python/py-frame-inline.exp: New file.
606
607 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
608
609 * gdb.base/gdb1090.exp: Change breakpoint location to read the
610 content of 's24' correctly (avoiding "optimized out").
611 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
612
613 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
614
615 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
616
617 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
618
619 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
620 expect a colon in watch -location output.
621
622 2011-04-13 Marek Polacek <mpolacek@redhat.com>
623
624 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
625 New testcase `expect response to define backtrace'. Also remove
626 redundant `default' block.
627
628 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
629
630 * gdb.python/py-prettyprint.c (struct hint_error): New.
631 (main): New variable hint_error.
632 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
633 "print hint_error".
634 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
635 (register_pretty_printers): Register it.
636
637 2011-04-04 Tom Tromey <tromey@redhat.com>
638
639 * gdb.cp/maint.exp (test_help): Update.
640 (test_namespace): Likewise.
641
642 2011-04-01 Joel Brobecker <brobecker@adacore.com>
643
644 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
645 * gdb.ada/arrayptr.exp: Add new tests.
646
647 2011-04-01 Joel Brobecker <brobecker@adacore.com>
648
649 * gdb.ada/mi_catch_ex: New testcase.
650
651 2011-04-01 Pedro Alves <pedro@codesourcery.com>
652
653 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
654 base::overload(void) method without specifying "const".
655
656 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
657
658 * gdb.arch/thumb-singlestep.S: New file.
659 * gdb.arch/thumb-singlestep.exp: Likewise.
660
661 2011-03-31 Tom Tromey <tromey@redhat.com>
662
663 * gdb.python/py-prettyprint.py (exception_flag): New global.
664 (NoStringContainerPrinter._iterator.next): Check it.
665 * gdb.python/py-prettyprint.c (main): New variable nstype2.
666 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
667
668 2011-03-29 Tom Tromey <tromey@redhat.com>
669
670 * gdb.cp/anon-struct.cc: New file.
671 * gdb.cp/anon-struct.exp: New file.
672
673 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
674
675 Test STT_GNU_IFUNC support.
676 * gdb.base/gnu-ifunc-lib.c: New file.
677 * gdb.base/gnu-ifunc.c: New file.
678 * gdb.base/gnu-ifunc.exp: New file.
679
680 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
681
682 Support a ring of related breakpoints.
683 * gdb.base/watchpoint-delete.c: New file.
684 * gdb.base/watchpoint-delete.exp: New file.
685
686 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
687
688 * gdb.ada/arrayparam.exp (print first after function call): Use
689 explicit package name. Add a comment
690 (print lasta after function call): Rename ...
691 (print last after function call): ... it and use explicit package
692 name.
693 (print length after function call): Use explicit package name.
694 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
695 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
696 (multiple matches for symbol i): Rename ...
697 (multiple matches for symbol integervar): ... it.
698 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
699 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
700
701 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
702
703 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
704 environment variable to make grep output more predictable. Move
705 all the environment setup into gdb_init so it's done once per test
706 case rather than each time we start gdb.
707
708 2011-03-24 Tom Tromey <tromey@redhat.com>
709
710 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
711 test.
712
713 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
714
715 * gdb.dwarf2/dw2-entry-value-main.c: New file.
716 * gdb.dwarf2/dw2-entry-value.S: New file.
717 * gdb.dwarf2/dw2-entry-value.exp: New file.
718
719 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
720
721 PR python/12183
722
723 * gdb.python/py-function.exp: Add GdbError tests.
724
725 2011-03-18 Pedro Alves <pedro@codesourcery.com>
726
727 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
728 (reglocal_test_func, statlocal_test_func): New functions.
729 (globals_test_func): Call new functions.
730 * gdb.trace/unavailable.exp (gdb_collect_args_test)
731 (gdb_collect_locals_test): New procedure.
732 (gdb_trace_collection_test): Call new procedures.
733
734 2011-03-18 Pedro Alves <pedro@codesourcery.com>
735
736 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
737 (test_register, test_register_unavailable): New procedures.
738 (gdb_unavailable_registers_test): New procedure.
739 (gdb_trace_collection_test): Call it.
740
741 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
742
743 PR python/12149
744
745 * gdb.python/python.exp: Add gdb.write tests.
746
747 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
748
749 * gdb.python/Makefile.in: Add py-objfile.
750 * gdb.python/py-objfile.exp: New file.
751 * gdb.python/py-objfile.c: New file.
752 * gdb.python/py-block.exp: Add is_valid tests.
753 * gdb.python/py-inferior.exp: Ditto.
754 * gdb.python/py-infthread.exp: Ditto.
755 * gdb.python/py-symbol.exp: Ditto.
756 * gdb.python/py-symtab.exp: Ditto.
757
758 2011-03-16 Keith Seitz <keiths@redhat.com>
759
760 PR c++/12273
761 * gdb.cp/cmpd-minsyms.exp: New test.
762 * gdb.cp/cmpd-minsyms.cc: New file.
763
764 PR c++/11734
765 * gdb.cp/ovsrch.exp: New test.
766 * gdb.cp/ovsrch.h: New file.
767 * gdb.cp/ovsrch1.cc: New file.
768 * gdb.cp/ovsrch2.cc: New file.
769 * gdb.cp/ovsrch3.cc: New file.
770 * gdb.cp/ovsrch4.cc: New file.
771
772 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
773
774 PR gdb/12528
775 * gdb.base/Makefile.in: Adjust EXECUTABLES.
776 * gdb.base/break-on-linker-gcd-function.exp: New test.
777 * gdb.base/break-on-linker-gcd-function.cc: New file.
778
779 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
780
781 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
782
783 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
784
785 * lib/gdb.exp (gdb_unload): Add another termination case.
786
787 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
788
789 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
790 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
791 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
792 Provide a stub byte there.
793 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
794 DW_AT_entry_pc.
795 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
796
797 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
798
799 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
800 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
801 "generic ABI, auto".
802 (altivec_abi_tests): Accept vectors returned by reference.
803
804 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
805
806 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
807
808 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
809
810 * gdb.python/py-section-script.exp: Skip test if no Python support.
811
812 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
813
814 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
815
816 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
817
818 * gdb.python/py-parameter.exp: Update tests to the new Python
819 parameter API. Add "no documentation" test. Add deprecated API
820 backward compatibility test.
821
822 2011-03-09 Tom Tromey <tromey@redhat.com>
823
824 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
825 gdb_continue_to_end.
826
827 2011-03-09 Mark Kettenis <kettenis@gnu.org>
828
829 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
830 tabs.
831
832 2011-03-09 Tom Tromey <tromey@redhat.com>
833
834 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
835 parentheses.
836 (gdb_continue_to_end): Add "allow_extra" parameter. Use
837 $command.
838 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
839 argument to gdb_continue_to_end.
840 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
841 argument to gdb_continue_to_end.
842 * gdb.cp/annota3.exp: Fix regex.
843 * gdb.cp/annota2.exp: Fix regex.
844 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
845 gdb_continue_to_end.
846 * gdb.base/call-signal-resume.exp: Revert earlier patch.
847 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
848 gdb_continue_to_end.
849
850 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
851
852 * gdb.server/ext-run.exp
853 (load new file without any gdbserver inferior): New test.
854
855 2011-03-07 Tom Tromey <tromey@redhat.com>
856
857 * Makefile.in (TAGS): Rewrite.
858
859 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
860
861 * gdb.trace/report.exp (12.1: trace report #1): New match for the
862 initial commands echo. New match for `Found trace'. Anchor all the
863 other matches. Anchor and match for `No trace frame found' the final
864 match.
865
866 2011-03-07 Tom Tromey <tromey@redhat.com>
867
868 * Makefile.in (TAGS): New target.
869
870 2011-03-07 Tom Tromey <tromey@redhat.com>
871
872 * lib/opencl.exp (skip_opencl_tests): Update for exit message
873 change.
874 * lib/mi-support.exp (mi_gdb_test): Update for exit message
875 change.
876 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
877 exit message change.
878 (skip_altivec_tests): Update for exit message change.
879 (skip_vsx_tests): Likewise.
880 (gdb_continue_to_end): Likewise. Add 'command' argument.
881 * lib/cell.exp (skip_cell_tests): Update for exit message change.
882 * gdb.threads/tls.exp: Update for exit message change.
883 * gdb.threads/thread-unwindonsignal.exp: Use
884 gdb_continue_to_end.
885 * gdb.threads/step.exp (step_it): Update for exit message change.
886 (continue_all): Likewise.
887 * gdb.threads/print-threads.exp (test_all_threads): Update for
888 exit message change.
889 * gdb.threads/interrupted-hand-call.exp: Use
890 gdb_continue_to_end.
891 * gdb.threads/execl.exp: Use gdb_continue_to_end.
892 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
893 gdb_continue_to_end.
894 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
895 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
896 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
897 * gdb.cp/method.exp: Update for exit message change.
898 * gdb.cp/mb-templates.exp: Update for exit message change.
899 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
900 * gdb.cp/annota3.exp: Update for exit message change.
901 * gdb.cp/annota2.exp: Update for exit message change.
902 * gdb.cell/fork.exp: Use gdb_continue_to_end.
903 * gdb.base/term.exp: Update for exit message change.
904 * gdb.base/step-test.exp (test_i): Update for exit message change.
905 * gdb.base/sigstep.exp (advance): Update for exit message change.
906 (advancei): Likewise.
907 * gdb.base/siginfo.exp: Update for exit message change.
908 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
909 * gdb.base/reread.exp: Use gdb_continue_to_end.
910 * gdb.base/langs.exp: Use gdb_continue_to_end.
911 * gdb.base/interrupt.exp: Update for exit message change.
912 * gdb.base/gdb1555.exp: Update for exit message change.
913 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
914 * gdb.base/ending-run.exp: Update for exit message change.
915 * gdb.base/chng-syms.exp: Update for exit message change.
916 * gdb.base/checkpoint.exp: Update for exit message change.
917 * gdb.base/catch-syscall.exp (check_for_program_end): Use
918 gdb_continue_to_end.
919 (test_catch_syscall_with_wrong_args): Likewise.
920 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
921 * gdb.base/break-interp.exp (test_ld): Update for exit message
922 change.
923 * gdb.base/bang.exp: Update for exit message change.
924 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
925 (do_call_attach_tests): Likewise.
926 * gdb.base/a2-run.exp: Update for exit message change.
927 * gdb.arch/ppc-dfp.exp: Update for exit message change.
928 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
929 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
930
931 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
932
933 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
934
935 2011-03-03 Tom Tromey <tromey@redhat.com>
936
937 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
938 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
939 * gdb.hp/gdb.aCC/configure.ac: Remove.
940 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
941 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
942 * gdb.hp/gdb.base-hp/configure.ac: Remove.
943 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
944 * gdb.hp/gdb.compat/configure (Makefile): Remove.
945 * gdb.hp/gdb.compat/configure.ac: Remove.
946 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
947 * gdb.hp/gdb.defects/configure (Makefile): Remove.
948 * gdb.hp/gdb.defects/configure.ac: Remove.
949 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
950 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
951 * gdb.hp/gdb.objdbg/configure.ac: Remove.
952 * gdb.hp/configure.ac: Remove.
953 * gdb.hp/configure: Remove.
954 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
955 substitution.
956 (Makefile): Remove rule.
957 * gdb.cell/configure.ac: Remove.
958 * gdb.cell/configure: Remove.
959 * gdb.stabs/Makefile.in (Makefile): Remove.
960 (distclean): Don't remove config.status or config.log.
961 * gdb.stabs/configure (Makefile): Remove.
962 * gdb.stabs/configure.ac: Remove.
963 * configure: Rebuild.
964 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
965 Remove stabs- and cell-specific logic. Test for existence of
966 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
967 subdirectories, gdb.cell, and and gdb.stabs.
968 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
969
970 2011-03-03 Joel Brobecker <brobecker@adacore.com>
971
972 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
973 end of buffer.
974
975 2011-03-02 Joel Brobecker <brobecker@adacore.com>
976
977 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
978 gdb_test when running a test where we expected no output back.
979
980 2011-02-28 Michael Snyder <msnyder@vmware.com>
981
982 * gdb.cp/overload.cc: Change initializer value to integer.
983
984 2011-02-27 Michael Snyder <msnyder@vmware.com>
985
986 * gdb.multi/base.exp: Add test for remove-inferiors.
987
988 2011-02-26 Joel Brobecker <brobecker@adacore.com>
989
990 * gdb.python/py-frame.exp: Simplify the initialization phase
991 using prepare_for_testing.
992
993 2011-02-25 Michael Snyder <msnyder@vmware.com>
994
995 * gdb.multi/base.exp: Add tests for info inferiors with args.
996
997 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
998
999 * gdb.dwarf2/dw2-ranges.S: Rename to ...
1000 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
1001 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
1002 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
1003 asmfile3. Comment the STABS (#3) file compilation. Compile
1004 everything through assembler. Provide KFAIL for symtab/12497.
1005 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
1006 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
1007 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
1008 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
1009
1010 2011-02-24 Michael Snyder <msnyder@vmware.com>
1011
1012 * gdb.base/break.exp: Add tests for delete breakpoints using
1013 convenience variables and value history references.
1014
1015 2011-02-24 Michael Snyder <msnyder@vmware.com>
1016
1017 * gdb.base/break.exp: Remove debugging 'printf' accidentally
1018 left behind in previous check-in.
1019
1020 2011-02-23 Michael Snyder <msnyder@vmware.com>
1021
1022 * gdb.base/break.exp: Add tests for "info break" with arguments.
1023 * gdb.trace/infotrace.exp: Update patterns for error and help.
1024 * gdb.base/completion.exp: Update pattern.
1025 * gdb.base/ena-dis-br.exp: Update pattern.
1026 * gdb.base/help.exp: Update patterns.
1027
1028 2011-02-23 Michael Snyder <msnyder@vmware.com>
1029
1030 * gdb.base/memattr.exp: New test.
1031 * gdb.base/memattr.c: Test load for memattr.exp.
1032
1033 2011-02-22 Doug Evans <dje@google.com>
1034
1035 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
1036
1037 2011-02-22 Michael Snyder <msnyder@vmware.com>
1038
1039 * Makefile.in: Make more clean.
1040 * gdb.ada/Makefile.in: Ditto.
1041 * gdb.arch/Makefile.in: Ditto.
1042 * gdb.asm/Makefile.in: Ditto.
1043 * gdb.base/Makefile.in: Ditto.
1044 * gdb.cp/Makefile.in: Ditto.
1045 * gdb.dwarf2/Makefile.in: Ditto.
1046 * gdb.java/Makefile.in: Ditto.
1047 * gdb.mi/Makefile.in: Ditto.
1048 * gdb.modula2/Makefile.in: Ditto.
1049 * gdb.python/Makefile.in: Ditto.
1050 * gdb.server/Makefile.in: Ditto.
1051 * gdb.stabs/Makefile.in: Ditto.
1052 * gdb.threads/Makefile.in: Ditto.
1053 * gdb.trace/Makefile.in: Ditto.
1054
1055 2011-02-22 Michael Snyder <msnyder@vmware.com>
1056
1057 * gdb.threads/thread-find.exp: Add tests for bad input to
1058 info threads.
1059
1060 2011-02-22 Joel Brobecker <brobecker@adacore.com>
1061
1062 * gdb.python/py-breakpoint.exp: Fix the expected output of
1063 one of the "maint info breakpoints" tests to accept the output
1064 generated on platforms that do not have hardware watchpoints.
1065
1066 2011-02-22 Joel Brobecker <brobecker@adacore.com>
1067
1068 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
1069 clean_restart. Be a little stricter in the expected output
1070 for one of the tests. Fix a typo in one of the comments.
1071
1072 2011-02-22 Joel Brobecker <brobecker@adacore.com>
1073
1074 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
1075 Delete variable binfile, no longer use. Add or modify test
1076 comments to make them unique.
1077
1078 2011-02-21 Michael Snyder <msnyder@vmware.com>
1079
1080 * Makefile.in: Update for make clean.
1081 * gdb.ada/Makefile.in: Ditto.
1082 * gdb.arch/Makefile.in: Ditto.
1083 * gdb.asm/Makefile.in: Ditto.
1084 * gdb.base/Makefile.in: Ditto.
1085 * gdb.cp/Makefile.in: Ditto.
1086 * gdb.dwarf2/Makefile.in: Ditto.
1087 * gdb.java/Makefile.in: Ditto.
1088 * gdb.mi/Makefile.in: Ditto.
1089 * gdb.modula2/Makefile.in: Ditto.
1090 * gdb.python/Makefile.in: Ditto.
1091 * gdb.server/Makefile.in: Ditto.
1092 * gdb.stabs/Makefile.in: Ditto.
1093 * gdb.threads/Makefile.in: Ditto.
1094 * gdb.trace/Makefile.in: Ditto.
1095
1096 2011-02-21 Michael Snyder <msnyder@vmware.com>
1097
1098 * gdb.threads/thread-find.exp: Update patterns for changes in
1099 output of "info threads" command.
1100
1101 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1102 Ulrich Weigand <uweigand@de.ibm.com>
1103
1104 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
1105 (skip_hw_watchpoint_tests): Likewise.
1106 (skip_hw_watchpoint_multi_tests): Likewise.
1107
1108 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
1109
1110 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
1111 (skip_hw_watchpoint_tests): Likewise.
1112 (skip_hw_watchpoint_multi_tests): Likewise.
1113 (skip_hw_watchpoint_access_tests): Likewise.
1114
1115 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
1116 * gdb.base/pr11022.exp: Likewise.
1117 * gdb.base/watch-read.exp: Likewise.
1118 * gdb.base/watch_thread_num.exp: Likewise.
1119 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
1120 * gdb.base/watchpoint-hw.exp: Likewise.
1121 * gdb.base/watchpoint.exp: Likewise.
1122 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
1123 * gdb.threads/watchthreads-reorder.exp: Likewise.
1124 * gdb.threads/watchthreads.exp: Likewise.
1125 * gdb.threads/watchthreads2.exp: Likewise.
1126
1127 2011-02-21 Joel Brobecker <brobecker@adacore.com>
1128
1129 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
1130 the debugger is unable to find the array bounds.
1131
1132 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1133
1134 * gdb.cp/typedef-operator.exp: New file.
1135 * gdb.cp/typedef-operator.cc: New file.
1136
1137 2011-02-17 Michael Snyder <msnyder@vmware.com>
1138
1139 * gdb.threads/thread-find.exp: Fix regular expressions.
1140
1141 2011-02-17 Joel Brobecker <brobecker@adacore.com>
1142
1143 * gdb.ada/packed_array: Expand testcase to test printing of
1144 unconstrained packed array.
1145
1146 2011-02-17 Joel Brobecker <brobecker@adacore.com>
1147
1148 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
1149
1150 2011-02-16 Pedro Alves <pedro@codesourcery.com>
1151
1152 * gdb.trace/collection.c (globalarr3): New global.
1153 (main): Initialize it before collecting, and and clear it
1154 afterwards.
1155 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1156 collecting with '{type} addr', where the addr expression is not an
1157 rvalue.
1158
1159 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
1160
1161 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
1162 a bool variable. Expect correct OpenCL names for vector types. Use the
1163 uc3 variable name instead of referring to the uchar3 built-in type.
1164 Escape the asterisk at the half pointer test.
1165
1166 2011-02-16 Pedro Alves <pedro@codesourcery.com>
1167
1168 * gdb.trace/collection.c (globalarr2): New global.
1169 (main): Initialize it before collecting, and and clear it
1170 afterwards.
1171 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
1172 collecting overlapping memory ranges.
1173
1174 2011-02-15 Michael Snyder <msnyder@vmware.com>
1175
1176 * gdb.base/default.exp: Add tests for thread commands.
1177 * gdb.base/help.exp: Add tests for thread commands.
1178 * gdb.threads/thread-find.exp: New test for thread find command.
1179
1180 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
1181
1182 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
1183
1184 2011-02-15 Yao Qi <yao@codesourcery.com>
1185
1186 PR tdep/12352
1187 * gdb.arch/arm-disp-step.S : New test for str instruction.
1188 * gdb.arch/arm-disp-step.exp : Likewise.
1189
1190 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
1191
1192 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
1193 "vector_register2_vr" test strings. Test the extended floating
1194 point registers (F32~F63).
1195 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
1196 IBM XL C compiler. Make the test program use a register provided
1197 by the compiler for the lxvd2x instruction.
1198
1199 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1200
1201 * gdb.trace/unavailable.cc (class Base, class Middle, class
1202 Derived): New types.
1203 (derived_unavail, derived_partial, derived_whole): New globals.
1204 (virtual_partial): New global.
1205 (virtualp): Point at virtual_partial.
1206 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
1207 related to unavailable vptr.
1208
1209 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1210
1211 * gdb.trace/unavailable.cc (a, b, c): New globals.
1212 (main): Set and clear them.
1213 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
1214 `a' and `c', and check that `b' isn't collected, although `a' and
1215 `c' are.
1216
1217 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1218
1219 * gdb.trace/unavailable.cc (struct Virtual): New.
1220 (virtualp): New global pointer.
1221 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
1222 printing a pointer to an object whose type has a vtable, with
1223 print object on.
1224
1225 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1226
1227 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
1228 value repeat handles unavailableness.
1229
1230 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1231
1232 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
1233 tests for building arrays from unavailable values, subscripting
1234 non-memory rvalue unvailable arrays, and accessing fields or
1235 baseclasses of non-lazy unavailable values,
1236 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
1237 struct types.
1238 (g_smallstruct, g_smallstruct_b): New globals.
1239
1240 2011-02-14 Pedro Alves <pedro@codesourcery.com>
1241
1242 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
1243
1244 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1245
1246 Fix const/volatile qualifiers of C++ types, PR c++/12328.
1247 * gdb.cp/overload-const.exp: New file.
1248 * gdb.cp/overload-const.cc: New file.
1249
1250 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1251
1252 * gdb.opencl/callfuncs.cl: New file.
1253 * gdb.opencl/callfuncs.exp: New test.
1254 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
1255
1256 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
1257
1258 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
1259 when computing result.
1260 * gdb.arch/altivec-abi.exp: Update expected results.
1261
1262 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
1263
1264 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
1265 * gdb.base/jit.exp: Likewise.
1266 * gdb.base/pie-execl.exp: Likewise.
1267 * gdb.base/solib-nodir.exp: Likewise.
1268 * gdb.base/solib-overlap.exp: Likewise.
1269
1270 2011-02-07 Pedro Alves <pedro@codesourcery.com>
1271
1272 * gdb.trace/collection.c (global_pieces): New.
1273 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
1274 New procedure.
1275 (gdb_trace_collection_test): Call it.
1276
1277 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
1278
1279 * gdb.python/py-evthreads.c: New file.
1280 * gdb.python/py-evthreads.exp: New file.
1281 * gdb.python/py-events.py: New file.
1282 * gdb.python/py-events.exp: New file.
1283 * gdb.python/py-events.c: New file.
1284
1285 2011-02-04 David Daney <ddaney@caviumnetworks.com>
1286
1287 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
1288
1289 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
1290
1291 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
1292 gdb.base/disasm-end-cu.exp: New test for disassembling over the
1293 boundary between two compilation units.
1294
1295 2011-02-02 Pedro Alves <pedro@codesourcery.com>
1296
1297 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
1298 (Virtual): New structs.
1299 (virtual_o, virtual_middle_b): New globals.
1300 * gdb.cp/virtbase.exp: New tests.
1301
1302 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1303
1304 * gdb.base/jit.exp: New file.
1305 * gdb.base/jit-main.c: New file.
1306 * gdb.base/jit-solib.c: New file.
1307
1308 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
1309
1310 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
1311 proceed to initial kernel entry point.
1312 * gdb.opencl/datatypes.exp: Likewise.
1313 * gdb.opencl/operators.exp: Likewise.
1314 * gdb.opencl/vec_comps.exp: Likewise.
1315
1316 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
1317
1318 * gdb.cp/nsnested.cc: New.
1319 * gdb.cp/nsnested.exp: New.
1320 * gdb.cp/nsnoimports.exp: New.
1321 * gdb.cp/nsnoimports.cc: New.
1322
1323 2011-01-31 Joel Brobecker <brobecker@adacore.com>
1324
1325 * gdb.base/interact.exp: Add extra tests that verify that
1326 the value of the interactive-mode setting does not change
1327 after the script is sourced.
1328
1329 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1330
1331 * gdb.cp/noparam.exp: New file.
1332 * gdb.cp/noparam.cc: New file.
1333
1334 2011-01-28 Pedro Alves <pedro@codesourcery.com>
1335
1336 * gdb.trace/tfile.exp: Test that with no traceframe selected,
1337 there's no stack or registers.
1338
1339 2011-01-26 Tom Tromey <tromey@redhat.com>
1340
1341 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1342 space before string output. Add test for "set print pretty off"
1343 case.
1344
1345 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1346
1347 * gdb.base/frame-args.exp: Adjust.
1348 * gdb.dwarf2/dw2-noloc.exp: Adjust.
1349 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
1350 * gdb.dwarf2/pieces.exp: Adjust.
1351 * gdb.opt/clobbered-registers-O2.exp: Adjust.
1352 * gdb.opt/inline-locals.exp: Adjust.
1353 * gdb.threads/fork-child-threads.exp: Adjust.
1354
1355 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
1356
1357 * gdb.opencl/convs_casts.cl: Move program scope variables into the
1358 OpenCL kernel function. Add a comment as marker. Add address space
1359 qualifiers for the remaining program scope variables.
1360 * gdb.opencl/datatypes.cl: Likewise.
1361 * gdb.opencl/operators.cl: Likewise.
1362 * gdb.opencl/vec_comps.cl: Likewise.
1363 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
1364 Add breakpoint at the marker comment.
1365 * gdb.opencl/datatypes.exp: Likewise.
1366 * gdb.opencl/operators.exp: Likewise.
1367 * gdb.opencl/vec_comps.exp: Likewise.
1368
1369 2011-01-24 Pedro Alves <pedro@codesourcery.com>
1370
1371 * gdb.base/printcmds.c (some_struct): New struct and instance.
1372 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
1373 procedure.
1374 <global scope>: Call it.
1375
1376 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
1377
1378 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
1379 argument to the gdb_compile_opencl_hostapp call.
1380
1381 2011-01-19 Yao Qi <yao@codesourcery.com>
1382
1383 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
1384 positve list.
1385
1386 2011-01-19 Yao Qi <yao@codesourcery.com>
1387
1388 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1389 canonical form.
1390 Remove "xscale-*-*"
1391 * gdb.xml/tdesc-regs.exp: Likewise.
1392 * gdb.python/py-section-script.exp: Replace ARM target triplet
1393 with canonical form.
1394 Match arm*-*-symbianelf*.
1395 * gdb.base/dup-sect.exp: Likewise.
1396 * lib/dwarf.exp: New.
1397 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1398 dwarf2_support.
1399 * gdb.dwarf2/dup-psym.exp: Likewise.
1400 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1401 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1402 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1403 * gdb.dwarf2/dw2-basic.exp: Likewise.
1404 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1405 * gdb.dwarf2/dw2-const.exp: Likewise.
1406 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1407 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1408 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1409 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1410 * gdb.dwarf2/dw2-filename.exp: Likewise.
1411 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1412 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1413 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1414 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1415 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1416 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1417 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1418 * gdb.dwarf2/dw2-producer.exp: Likewise.
1419 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1420 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1421 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1422 * gdb.dwarf2/dw2-strp.exp: Likewise.
1423 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1424 * gdb.dwarf2/implptr.exp: Likewise.
1425 * gdb.dwarf2/mac-fileno.exp: Likewise.
1426 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1427 * gdb.dwarf2/pieces.exp: Likewise.
1428 * gdb.dwarf2/pr11465.exp: Likewise.
1429 * gdb.dwarf2/valop.exp: Likewise.
1430 * gdb.dwarf2/watch-notconst.exp: Likewise.
1431 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1432
1433 2011-01-19 Tom Tromey <tromey@redhat.com>
1434
1435 * gdb.python/py-infthread.exp: Add thread tests.
1436
1437 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1438
1439 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1440
1441 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1442
1443 * gdb.ada/widewide: New testcase.
1444
1445 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1446
1447 * gdb.base/interact.exp: New testcase.
1448
1449 2011-01-12 Tom Tromey <tromey@redhat.com>
1450
1451 * gdb.mi/gdb2549.exp: Update for error message changes.
1452 * gdb.mi/mi-cli.exp: Likewise.
1453 * gdb.mi/mi-disassemble.exp: Likewise.
1454 * gdb.mi/mi-pthreads.exp: Likewise.
1455 * gdb.mi/mi-regs.exp: Likewise.
1456 * gdb.mi/mi-stack.exp: Likewise.
1457 * gdb.mi/mi-var-block.exp: Likewise.
1458 * gdb.mi/mi-var-cmd.exp: Likewise.
1459 * gdb.mi/mi2-cli.exp: Likewise.
1460 * gdb.mi/mi2-disassemble.exp: Likewise.
1461 * gdb.mi/mi2-pthreads.exp: Likewise.
1462 * gdb.mi/mi2-regs.exp: Likewise.
1463 * gdb.mi/mi2-stack.exp: Likewise.
1464 * gdb.mi/mi2-var-block.exp: Likewise.
1465 * gdb.mi/mi2-var-cmd.exp: Likewise.
1466
1467 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1468 Jan Kratochvil <jan.kratochvil@redhat.com>
1469
1470 PR fortran/11104 and DWARF unbound arrays detection.
1471 * gdb.fortran/multi-dim.exp: New file.
1472 * gdb.fortran/multi-dim.f90: New file.
1473
1474 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1475
1476 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1477 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1478 add new tests for opcode dumping.
1479
1480 2011-01-11 Tom Tromey <tromey@redhat.com>
1481
1482 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1483
1484 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1485
1486 Convert hardware watchpoints to use breakpoint_ops.
1487 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1488 type is not supported.
1489 * gdb.base/foll-fork.exp: Likewise.
1490 * gdb.base/foll-vfork.exp: Likewise.
1491
1492 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1493
1494 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1495 Use load_lib gdb-python.exp.
1496 * gdb.python/python.exp: Ditto.
1497 * gdb.python/py-function.exp: Ditto.
1498
1499 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1500
1501 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1502
1503 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1504
1505 * configure: Regenerate.
1506
1507 2011-01-06 Tom Tromey <tromey@redhat.com>
1508
1509 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1510
1511 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1512
1513 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1514 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1515 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1516 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1517 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1518 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1519 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1520 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1521 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1522 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1523 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
1524 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
1525 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
1526 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
1527 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
1528 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
1529 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
1530 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
1531 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
1532 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
1533 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
1534 gdb.ada/uninitialized_vars.exp,
1535 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
1536 Simplify by using clean_restart.
1537
1538 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1539
1540 Add marker to be used as anchor for inserting breakpoints.
1541 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
1542 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
1543 Likewise.
1544
1545 Remove uses of gdb_start_cmd.
1546 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
1547 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
1548
1549 Do not run testcase if testing with GDBserver.
1550 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
1551 if testing with GDBserver.
1552
1553 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1554
1555 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
1556 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
1557 copyright header.
1558
1559 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1560
1561 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
1562 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
1563 testsuite/gdb.fortran/complex.f,
1564 testsuite/gdb.fortran/derived-type.f90,
1565 testsuite/gdb.fortran/library-module-lib.f90,
1566 testsuite/gdb.fortran/library-module-main.f90,
1567 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
1568 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
1569 Copyright year update.
1570
1571 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1572
1573 * gdb.base/langs1.f: Add copyright header.
1574
1575 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1576
1577 * gdb.base/morestack.exp: New file.
1578 * gdb.base/morestack.c: New file.
1579
1580 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1581
1582 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
1583
1584 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1585
1586 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
1587 * gdb.ada/arrayptr.exp: Add test printing that new variable.
1588
1589 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1590
1591 * gdb.ada/lang_switch.exp: Correct expected parameter value.
1592
1593 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
1594
1595 * gdb.threads/tls.exp: Fix typo.
1596
1597 * gdb.threads/thread-specific.exp (get_thread_list): Update.
1598 * gdb.threads/execl.exp: Update.
1599
1600 2010-12-23 Yao Qi <yao@codesourcery.com>
1601
1602 * gdb.arch/arm-disp-step.exp: New.
1603 * gdb.arch/arm-disp-step.S: New.
1604
1605 2010-12-21 Tom Tromey <tromey@redhat.com>
1606
1607 * gdb.threads/execl.exp: Update.
1608 * gdb.threads/linux-dp.exp: Update.
1609 * gdb.threads/manythreads.exp: Update.
1610 * gdb.threads/tls.exp: Update.
1611
1612 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1613
1614 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
1615 (NextOverThrowDerivates) <resumebpt>: New.
1616 (resumebpt_test): New.
1617 (main): Call resumebpt_test.
1618 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
1619
1620 2010-12-12 Stan Shebs <stan@codesourcery.com>
1621
1622 * gdb.trace/tsv.exp: Test print command on trace state variables.
1623
1624 2010-12-09 Tom Tromey <tromey@redhat.com>
1625
1626 * gdb.base/interp.exp: Add regression test.
1627
1628 2010-12-09 Tom Tromey <tromey@redhat.com>
1629
1630 * gdb.java/jnpe.java: New file.
1631 * gdb.java/jnpe.exp: New file.
1632 * gdb.cp/nextoverthrow.exp: New file.
1633 * gdb.cp/nextoverthrow.cc: New file.
1634
1635 2010-12-07 Doug Evans <dje@google.com>
1636
1637 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
1638 of data-directory.
1639 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
1640 updated.
1641 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
1642
1643 2010-11-29 Michael Snyder <msnyder@vmware.com>
1644
1645 * gdb.base/callfuncs.exp: Test for skip_float_tests.
1646 * gdb.base/call-sc.exp: Ditto.
1647 * gdb.base/finish.exp: Ditto.
1648 * gdb.base/return.exp: Ditto.
1649 * gdb.base/return2.exp: Ditto.
1650
1651 2010-11-30 Doug Evans <dje@google.com>
1652
1653 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
1654 (gdb_expect_list): Fix spelling errors in comments.
1655 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
1656 send_gdb/gdb_expect_list where applicable.
1657 * gdb.base/call-ar-st.exp: Ditto.
1658 * gdb.base/funcargs.exp: Ditto.
1659 * gdb.base/gcore.exp: Ditto.
1660 * gdb.base/page.exp: Ditto.
1661 * gdb.base/sigaltstack.exp: Ditto.
1662 * gdb.base/siginfo.exp: Ditto.
1663 * gdb.base/sigstep.exp: Ditto.
1664 * gdb.base/trace-commands.exp: Ditto.
1665
1666 2010-11-29 Doug Evans <dje@google.com>
1667
1668 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
1669 printer-name;subprinter-name.
1670
1671 2010-11-29 Tom Tromey <tromey@redhat.com>
1672
1673 * gdb.dwarf2/implptr.exp: New file.
1674 * gdb.dwarf2/implptr.c: New file.
1675 * gdb.dwarf2/implptr.S: New file.
1676
1677 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
1678
1679 PR python/12199
1680
1681 * gdb.python/py-breakpoint.exp: Test the delete method.
1682
1683 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1684
1685 Fix step_resume_breakpoint unsaved during an infcall.
1686 * gdb.base/step-resume-infcall.exp: New file.
1687 * gdb.base/step-resume-infcall.c: New file.
1688
1689 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1690
1691 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
1692
1693 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1694
1695 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
1696 on ppc64's symbols; "finish" and "return" commands must accept to
1697 show the caller line again as well as the line after.
1698 * gdb.asm/powerpc64.inc: New file.
1699
1700 2010-11-23 Doug Evans <dje@google.com>
1701
1702 * lib/gdb.exp (gdb_test_sequence): New function.
1703 (gdb_expect_list): Add verbose -log call for each pattern.
1704 * gdb.base/signals.exp (test_handle_all_print): Call it.
1705 Reduce timeout increment from 6 minutes to 1 minute.
1706 * gdb.server/ext-run.exp: Call it.
1707
1708 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
1709
1710 PR python/12212
1711
1712 * gdb.python/python.exp: Check that selected_thread raises an
1713 error when no inferior is loaded.
1714
1715 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1716
1717 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
1718 * gdb.dwarf2/dw2-stack-boundary.S: New file.
1719
1720 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1721
1722 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
1723 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
1724
1725 2010-11-18 Doug Evans <dje@google.com>
1726
1727 * gdb.server/ext-run.exp: Fix intermittent failures.
1728
1729 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1730
1731 * gdb.stabs/gdb11479.exp: Use runto_main.
1732
1733 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1734
1735 * gdb.base/break-entry.exp: Skip if using a stub.
1736
1737 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1738
1739 * gdb.python/py-inferior.exp: Pack values in target endianness.
1740
1741 2010-11-12 Tom Tromey <tromey@redhat.com>
1742
1743 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
1744 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
1745 MemoryError.
1746 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
1747 type.
1748 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
1749 MemoryError.
1750 (test_subscript_regression): Update exception type.
1751
1752 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
1753
1754 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
1755 breakpoint tests.
1756
1757 2010-11-09 Pedro Alves <pedro@codesourcery.com>
1758
1759 * gdb.base/watchpoint.exp: Test "watch -location" with an
1760 innacessible location.
1761
1762 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
1763 Luis Machado <luisgpm@br.ibm.com>
1764
1765 * gdb.base/maint.exp: Expect "." prefix.
1766 * gdb.base/nodebug.exp: Expect "." Likewise.
1767 * gdb.base/sepsymtab.exp: Expect "." Likewise.
1768 * gdb.base/watchpoint-cond-gone.exp: Likewise.
1769 * gdb.base/watchpoint.exp: Expect a software watch to be created for
1770 POWER server processors.
1771
1772 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
1773 Luis Machado <luisgpm@br.ibm.com>
1774
1775 * gdb.base/break-entry.exp: convert entry point for
1776 ppc64 and expect leading `.' on ppc64's symbols
1777
1778 2010-11-05 Doug Evans <dje@google.com>
1779
1780 * gdb.base/help.exp: Update expected output.
1781 * gdb.python/py-param.exp: Delete, contents moved to ...
1782 * gdb.python/py-parameter.exp: ... here. New file.
1783 Add test for gdb.parameter ("directories").
1784
1785 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
1786
1787 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
1788 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
1789 * configure: Regenerate.
1790 * gdb.opencl/Makefile.in: New File.
1791 * gdb.opencl/datatypes.exp: Likewise.
1792 * gdb.opencl/datatypes.cl: Likewise.
1793 * gdb.opencl/operators.exp: Likewise.
1794 * gdb.opencl/operators.cl: Likewise.
1795 * gdb.opencl/vec_comps.exp: Likewise.
1796 * gdb.opencl/vec_comps.cl: Likewise.
1797 * gdb.opencl/convs_casts.exp: Likewise.
1798 * gdb.opencl/convs_casts.cl: Likewise.
1799 * lib/opencl.exp: Likewise.
1800 * lib/opencl_hostapp.c: Likewise.
1801 * lib/opencl_kernel.cl: Likewise.
1802 * lib/cl_util.c: Likewise.
1803 * lib/cl_util.c: Likewise.
1804 * gdb.base/default.exp (set language): Add "opencl" to the list of
1805 languages.
1806
1807 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
1808
1809 * gdb.cp/overload.exp: Added test for inheritance overload.
1810 * gdb.cp/overload.cc: Ditto.
1811 * gdb.cp/oranking.exp: Removed releveant kfails.
1812
1813 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1814 Joel Brobecker <brobecker@adacore.com>
1815
1816 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
1817 check test_compiler_info.
1818
1819 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1820
1821 * gdb.base/gnu_vector.exp: Adjust expect messages.
1822
1823 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1824
1825 * gdb.base/gnu_vector.exp: Add unary operator tests.
1826
1827 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1828
1829 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
1830
1831 2010-11-02 Doug Evans <dje@google.com>
1832
1833 * gdb.python/py-pp-maint.c: New file.
1834 * gdb.python/py-pp-maint.exp: New file.
1835 * gdb.python/py-pp-maint.py: New file.
1836
1837 2010-11-02 Tom Tromey <tromey@redhat.com>
1838
1839 * gdb.base/default.exp: Remove "scheme" from language list.
1840
1841 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1842
1843 Revert:
1844 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1845 * gdb.threads/sigstep-threads.exp: New file.
1846 * gdb.threads/sigstep-threads.c: New file.
1847
1848 2010-10-20 Michael Snyder <msnyder@vmware.com>
1849
1850 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
1851
1852 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1853
1854 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
1855 Skip test completely if gdb,no_hardware_watchpoints.
1856
1857 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1858
1859 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
1860 strict, but do not check for any particular function name within libc.
1861
1862 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1863
1864 * gdb.cp/smartp.exp: New test.
1865 * gdb.cp/smartp.cc : New test.
1866
1867 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1868
1869 * gdb.cp/converts.exp: Test pointer to bool conversion.
1870 Test pointer to long conversion.
1871 * gdb.cp/oranking.exp: Removed relevant kfail.
1872
1873 2010-10-18 Tom Tromey <tromey@redhat.com>
1874
1875 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
1876 argument to lazy_string.
1877 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
1878 (pp_ls.to_string): Use it.
1879 * gdb.python/py-prettyprint.c (main): Move declarations to top.
1880 Add "estring2" local.
1881
1882 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1883
1884 Fix s390x compatibility.
1885 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
1886 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
1887
1888 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1889
1890 * gdb.threads/sigstep-threads.exp: New file.
1891 * gdb.threads/sigstep-threads.c: New file.
1892
1893 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1894
1895 * gdb.base/pie-execl.exp: New file.
1896 * gdb.base/pie-execl.c: New file.
1897
1898 2010-10-13 Doug Evans <dje@google.com>
1899 Jan Kratochvil <jan.kratochvil@redhat.com>
1900
1901 PR exp/12117
1902 * gdb.cp/ptype-cv-cp.cc: New file.
1903 * gdb.cp/ptype-cv-cp.exp: New file.
1904
1905 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
1906
1907 * gdb.cp/converts.cc: New test program.
1908 * gdb.cp/converts.exp: New test.
1909 * gdb.cp/overload.exp: Added test for void* vs int*.
1910 * gdb.cp/overload.exp: Ditto.
1911 * gdb.cp/oranking.exp: Removed related kfail.
1912
1913 2010-10-13 Doug Evans <dje@google.com>
1914
1915 * lib/gdb-python.exp (gdb_check_python_config): New function.
1916 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
1917 * gdb.python/lib-types.cc: New file.
1918 * gdb.python/lib-types.exp: New file.
1919
1920 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1921
1922 * gdb.python/py-error.exp: New file.
1923 * gdb.python/py-error.py: New file.
1924
1925 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1926
1927 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
1928 gdb_test_multiple.
1929
1930 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1931
1932 * gdb.base/break-interp.exp: Use ldlags for linking flags.
1933 * gdb.base/prelink.exp: Likewise.
1934 * gdb.base/solib-nodir.exp: Likewise.
1935 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
1936 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
1937 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
1938
1939 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
1940
1941 * break-interp.exp (test_ld): Use two separate gdb_expect statements
1942 for the "info files" test to avoid timeouts on slow machines.
1943
1944 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1945
1946 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
1947 (main): Make openlib dummy call.
1948
1949 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1950
1951 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
1952 * break-interp.exp (reach): Move the core body ...
1953 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
1954 (test_ld): Provide always real argument, even to the linker. Replace
1955 dl_main by _dl_debug_state.
1956
1957 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1958
1959 Fix results of prelinked PIEs on ppc*.
1960 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
1961 Accept also DISPLACEMENT "PRESENT".
1962 (main): Replace "ZERO" displacements by "PRESENT".
1963
1964 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
1965
1966 * gdb.cp/oranking.exp: New test.
1967 * gdb.cp/oranking.cc: New test program.
1968
1969 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
1970
1971 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
1972 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
1973
1974 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1975
1976 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
1977 lush, lynx) New constant.
1978 * gdb.base/constvars.exp: Test const array types.
1979 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
1980
1981 2010-10-06 Doug Evans <dje@google.com>
1982
1983 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
1984 of syscall staging area.
1985
1986 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1987
1988 * gdb.base/gnu_vector.c: Add variable c4.
1989 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
1990 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1991
1992 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1993
1994 * gdb.arch/altivec-abi.exp: Fix a typo.
1995
1996 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
1997
1998 * lib/mi-support.exp (thread_selected_re): Correct pattern used
1999 to match a thread ID.
2000
2001 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2002
2003 Fix s390x testcase compatibility.
2004 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
2005
2006 2010-10-01 Doug Evans <dje@google.com>
2007
2008 * lib/gdb-python.exp: New file.
2009 * gdb.python/py-block.exp: Use it.
2010 * gdb.python/py-breakpoint.exp: Ditto.
2011 * gdb.python/py-frame.exp: Ditto.
2012 * gdb.python/py-inferior.exp: Ditto.
2013 * gdb.python/py-param.exp: Ditto.
2014 * gdb.python/py-prettyprint.exp: Ditto.
2015 * gdb.python/py-shared.exp: Ditto.
2016 * gdb.python/py-symbol.exp: Ditto.
2017 * gdb.python/py-symtab.exp: Ditto.
2018 * gdb.python/py-type.exp: Ditto.
2019 * gdb.python/py-value.exp: Ditto.
2020 * gdb.python/python.exp: Ditto.
2021
2022 2010-09-30 Tom Tromey <tromey@redhat.com>
2023
2024 * gdb.base/anon.exp: New file.
2025 * gdb.base/anon.c: New file.
2026
2027 2010-09-30 Tom Tromey <tromey@redhat.com>
2028
2029 * gdb.base/completion.exp: Test completion through anonymous
2030 union.
2031 * gdb.base/break1.c (struct some_struct): Add anonymous union.
2032
2033 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2034
2035 Fix printing parameters of inlined functions.
2036 * gdb.dwarf2/dw2-inline-param.exp: New file.
2037 * gdb.dwarf2/dw2-inline-param-main.c: New file.
2038 * gdb.dwarf2/dw2-inline-param.S: New file.
2039
2040 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2041
2042 PR corefiles/12071.
2043 * gdb.base/corefile.exp (quit with a process, no question: load core)
2044 (quit with a core file): New tests.
2045
2046 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2047
2048 Fix GDB crash on inferior calls with self-referencing classes.
2049 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
2050 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
2051 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
2052
2053 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2054
2055 Fix lost siginfo_t for inferior calls.
2056 * gdb.base/siginfo-infcall.exp: New file.
2057 * gdb.base/siginfo-infcall.c: New file.
2058
2059 2010-09-22 Joel Brobecker <brobecker@adacore.com>
2060
2061 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
2062
2063 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2064
2065 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
2066 New test.
2067 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
2068
2069 2010-09-22 Joel Brobecker <brobecker@adacore.com>
2070
2071 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
2072 type of our const type.
2073
2074 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
2075
2076 * gdb.cp/pr12028.cc: New.
2077 * gdb.cp/pr12028.exp: New.
2078
2079 2010-09-22 Joel Brobecker <brobecker@adacore.com>
2080
2081 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
2082
2083 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
2084 Jan Kratochvil <jan.kratochvil@redhat.com>
2085
2086 PR mi/11407
2087 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
2088 * gdb.mi/dw2-ref-missing-frame-main.c New File.
2089 * gdb.mi/dw2-ref-missing-frame.S New File.
2090 * gdb.mi/dw2-ref-missing-frame.exp New File.
2091
2092 2010-09-14 Tom Tromey <tromey@redhat.com>
2093
2094 PR symtab/8399:
2095 * gdb.threads/tls.exp: Remove kfail. Update expected output.
2096
2097 2010-09-14 Tom Tromey <tromey@redhat.com>
2098
2099 PR exp/11803:
2100 * gdb.threads/tls.exp: Use C++.
2101 (check_thread_local): Use K::another_thread_local.
2102 * gdb.threads/tls.c (class K): New.
2103 (another_thread_local): Now a member of K.
2104 (spin): Update. No longer K&R C.
2105
2106 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
2107
2108 * gdb.cp/koenig.cc: created class for testing member lookup.
2109 * gdb.cp/koenig.exp: Added test for member lookup.
2110
2111 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2112
2113 Fix false FAILs on sourcetree topdir directory containing "kill".
2114 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
2115 source line matching regexp.
2116
2117 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2118
2119 * gdb.python/python.exp (set height 0, collect help from uiout)
2120 (verify help to uiout): New tests.
2121
2122 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2123
2124 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
2125 is_lp64_target to check 64bit target.
2126
2127 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2128
2129 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
2130 (test_ld) <powerpc64-*>: New.
2131
2132 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2133
2134 * gdb.cp/templates.exp (test_template_args): Allow "struct".
2135
2136 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
2137
2138 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
2139 (FunctionArg::method): New function.
2140 (empty, arg): New variables.
2141 (main): Call arg.method.
2142 * gdb.cp/templates.exp (test_template_args): New function.
2143 (do_tests): Call it.
2144
2145 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2146
2147 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
2148 of "next" to proceed over pthread_exit call.
2149
2150 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
2151
2152 * gdb.base/maint.exp: Avoid wildcards against potentially very long
2153 "maint print statistics" output to prevent expect timeouts.
2154
2155 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2156
2157 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
2158 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2159 (test_float_rejected): ... here.
2160 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
2161 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2162 (test_float_rejected): ... here.
2163 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
2164 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2165 (test_float_rejected): ... here.
2166 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
2167 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
2168 (test_float_rejected): ... here.
2169
2170 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
2171
2172 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
2173 before disabling hardware watchpoints.
2174 (test_inaccessible_watchpoint): Check that hardware watchpoints
2175 are used. Test for watchpoints on a constant address.
2176
2177 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2178
2179 * gdb.base/ui-redirect.exp: New file.
2180
2181 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2182 Joel Brobecker <brobecker@adacore.com>
2183
2184 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
2185
2186 2010-08-31 Doug Evans <dje@google.com>
2187
2188 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
2189
2190 2010-08-30 Tom Tromey <tromey@redhat.com>
2191
2192 PR python/11792:
2193 * gdb.python/py-value.exp (test_subscript_regression): Add
2194 dynamic_type test.
2195
2196 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
2197
2198 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
2199 instead of running to main. Do not test the main function.
2200 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
2201 Add new main.
2202
2203 2010-08-26 Pedro Alves <pedro@codesourcery.com>
2204
2205 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
2206 one test.
2207
2208 2010-08-24 Doug Evans <dje@google.com>
2209
2210 PR symtab/11942
2211 * gdb.dwarf2/dw4-sig-types.cc: New file.
2212 * gdb.dwarf2/dw4-sig-types.h: New file.
2213 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
2214 * gdb.dwarf2/dw4-sig-types.exp: New file.
2215
2216 2010-08-23 Tom Tromey <tromey@redhat.com>
2217
2218 PR python/11145:
2219 * gdb.python/py-value.c (Base, Derived): New types.
2220 (base): New global.
2221 * gdb.python/py-value.exp (test_subscript_regression): Add
2222 dynamic_cast test.
2223
2224 2010-08-23 Tom Tromey <tromey@redhat.com>
2225
2226 PR python/10676:
2227 * gdb.python/py-type.exp (test_fields): Add tests for type
2228 equality.
2229
2230 2010-08-23 Tom Tromey <tromey@redhat.com>
2231
2232 PR python/11915:
2233 * gdb.python/py-type.exp (test_fields): Add tests for array.
2234
2235 2010-08-23 Keith Seitz <keiths@redhat.com>
2236
2237 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
2238 have any children. Create a new abbrev for it.
2239 Add missing terminal sequence to .debug_abbrev.
2240
2241 2010-08-20 Keith Seitz <keiths@redhat.com>
2242
2243 PR symtab/11465:
2244 * gdb.dwarf2/pr11465.exp: New test.
2245 * gdb.dwarf2/pr11465.S: New file.
2246 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
2247 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
2248
2249 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
2250
2251 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
2252 registers. Update data sets with the new v2_double element in the
2253 VSX register union. Add vector_register3_vr data set for the AltiVec
2254 registers. Use gdb_test_no_output instead of send_gdb.
2255
2256 2010-08-19 Pedro Alves <pedro@codesourcery.com>
2257
2258 * gdb.python/py-shared.exp: New file, factored out from
2259 python.exp.
2260 * gdb.python/py-shared.c: New file.
2261 * gdb.python/py-shared-sl.c: New file.
2262 * gdb.python/python-1.c: New file.
2263 * gdb.python/python-sl.c: Delete.
2264 * gdb.python/python.c: Mention python-1.c.
2265 * gdb.python/python.exp: Move shared library tests to
2266 py-shared.exp.
2267 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
2268 (MISCELLANEOUS): New.
2269 (clean mostlyclean): Also remove $MISCELLANEOUS.
2270
2271 2010-08-19 Doug Evans <dje@google.com>
2272
2273 PR exp/11926
2274 * gdb.base/printcmds.exp (test_float_accepted): New function.
2275 Move existing float tests there. Add tests for floats with suffixes.
2276 (test_float_rejected): New function.
2277 * gdb.java/jv-print.exp (test_float_accepted): New function.
2278 (test_float_rejected): New function.
2279 * gdb.objc/print.exp: New file.
2280 * gdb.pascal/print.exp: New file.
2281 * lib/objc.exp: New file.
2282
2283 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
2284
2285 * gdb.base/default.exp (info set): Avoid full buffer error and force
2286 reading up to final gdb prompt.
2287 (show): Likewise.
2288
2289 2010-08-18 Tom Tromey <tromey@redhat.com>
2290
2291 PR symtab/11919:
2292 * gdb.base/completion.exp: Add test.
2293
2294 2010-08-18 Doug Evans <dje@google.com>
2295
2296 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
2297 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
2298 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
2299 Simplify, early exit if runto_main fails.
2300 * gdb.fortran/exprs.exp: load_lib fortran.exp.
2301 (set_lang_fortran): Moved to lib/fortran.exp.
2302 * gdb.fortran/types.exp: load_lib fortran.exp.
2303 (set_lang_fortran): Moved to lib/fortran.exp.
2304 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
2305 * gdb.java/jprint.exp (set_lang_java): Ditto.
2306 * gdb.java/jv-exp.exp: load_lib java.exp.
2307 If set_lang_java fails, issue a warning instead of failure to be
2308 consistent with other set_lang_foo uses.
2309 (set_lang_java): Moved to lib/java.exp.
2310 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
2311 If set_lang_java fails, issue a warning instead of failure to be
2312 consistent with other set_lang_foo uses.
2313 * gdb.pascal/types.exp: load_lib pascal.exp.
2314 (set_lang_pascal): Moved to lib/pascal.exp.
2315 * lib/fortran.exp: New file.
2316 * lib/java.exp (set_lang_java): New function.
2317 * lib/pascal.exp (set_lang_pascal): New function.
2318
2319 2010-08-18 Yao Qi <yao@codesourcery.com
2320
2321 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
2322 func_nofb_start and func_loopfb_start, so that address of functions
2323 is equal to these labels on Thumb.
2324
2325 2010-08-18 Yao Qi <yao@codesourcery.com>
2326
2327 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
2328 to reflect latest c source file.
2329
2330 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2331
2332 * gdb.cp/infcall-dlopen.exp: New file.
2333 * gdb.cp/infcall-dlopen.cc: New file.
2334 * gdb.cp/infcall-dlopen-lib.cc: New file.
2335
2336 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2337 Pedro Alves <pedro@codesourcery.com>
2338
2339 PR breakpoints/11371
2340
2341 * gdb.base/watch-cond-infcall.exp: New file.
2342 * gdb.base/watch-cond-infcall.c: New file.
2343
2344 2010-08-16 Tom Tromey <tromey@redhat.com>
2345
2346 * gdb.base/help.exp: Update.
2347 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
2348 watchpoint.
2349 (test_watch_location): New proc.
2350 (test_watchpoint_in_big_blob): Delete watchpoint.
2351 * gdb.base/watchpoint.c (func5): New function.
2352 (main): Call it.
2353
2354 2010-08-16 Doug Evans <dje@google.com>
2355
2356 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
2357
2358 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2359
2360 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
2361 tests.
2362
2363 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
2364
2365 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
2366 * gdb.base/gnu_vector.c: New File.
2367 * gdb.base/gnu_vector.exp: Likewise.
2368
2369 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2370
2371 * gdb.python/python.c: New File.
2372 * gdb.python/python-sl.c: New File.
2373 * gdb.python/python.exp: Test solib_address and decode_line
2374 * functions.
2375
2376 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2377
2378 * gdb.python/python.exp (show height, set height 10)
2379 (verify pagination beforehand, verify pagination beforehand: q)
2380 (gdb.execute does not page, verify pagination afterwards)
2381 (verify pagination afterwards: q): New.
2382
2383 2010-08-02 Doug Evans <dje@google.com>
2384
2385 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
2386 because of an older gcc, change test2
2387 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
2388 to unsupported.
2389
2390 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
2391
2392 * gdb.base/break-always.exp: Do not expect full paths to file
2393 names.
2394 * gdb.base/commands.exp: Likewise.
2395
2396 2010-07-30 Doug Evans <dje@google.com>
2397
2398 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2399 xfail them when run with older gccs.
2400
2401 * lib/gdb.exp (build_executable): Forward "c++" option to
2402 get_compiler_info.
2403
2404 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2405 "python print ttype.template_argument(1)" and
2406 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2407 if using gcc 4.4 or earlier.
2408
2409 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2410 attach-to-debugger handling.
2411
2412 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2413
2414 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2415 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2416 (main): Use copyreloc.
2417 * gdb.base/prelink.exp (split debug of executable)
2418 (.dynbss vs. .bss address shift): New tests.
2419
2420 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2421
2422 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2423 in gdb_test_multiple.
2424
2425 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2426
2427 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2428 environment.
2429
2430 2010-07-28 Tom Tromey <tromey@redhat.com>
2431
2432 PR python/11060:
2433 * gdb.python/py-type.c (Temargs): New template.
2434 (temvar): New variable.
2435 * gdb.python/py-type.exp (test_template): New proc.
2436
2437 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2438
2439 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2440 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2441
2442 2010-07-28 Tom Tromey <tromey@redhat.com>
2443
2444 PR c++/9946:
2445 * gdb.cp/temargs.exp: New file.
2446 * gdb.cp/temargs.cc: New file.
2447
2448 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2449
2450 * gdb.base/help.exp (help disassemble): Update the content.
2451
2452 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2453
2454 * gdb.threads/ia64-sigill.exp: New file.
2455 * gdb.threads/ia64-sigill.c: New file.
2456
2457 2010-07-27 Tom Tromey <tromey@redhat.com>
2458
2459 * gdb.opt/inline-cmds.c (ATTR): New define.
2460 (func1): Use it.
2461 (func2): Likewise.
2462 (func3): Likewise.
2463 (outer_inline1): Likewise.
2464 (outer_inline2): Likewise.
2465 * gdb.opt/inline-bt.c (ATTR): New define.
2466 (func1): Use it.
2467 (func2): Likewise.
2468 * gdb.opt/inline-locals.c (ATTR): New define.
2469 (func1): Use it.
2470 (func2): Likewise.
2471
2472 2010-07-27 Tom Tromey <tromey@redhat.com>
2473
2474 * gdb.stabs/gdb11479.c (hack): New function.
2475 (test): Use it.
2476 (test2): Use it.
2477 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2478 (int32_search_buf, int64_search_buf): No longer static.
2479 (x): Remove.
2480 * gdb.base/relocate.c (hack): New function.
2481
2482 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2483
2484 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2485 * gdb.python/py-value.c (func1): New function.
2486 (func2): Likewise.
2487
2488 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
2489
2490 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2491 as not to clash with .data section.
2492
2493 2010-07-26 Jerome Guitton <guitton@adacore.com>
2494
2495 * gdb.base/code_elim.exp: New file.
2496 * gdb.base/code_elim1.c: New file.
2497 * gdb.base/code_elim2.c: New file.
2498
2499 2010-07-21 Pedro Alves <pedro@codesourcery.com>
2500
2501 PR symtab/11827
2502
2503 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2504 (some_volatile_enum): New variable.
2505 * gdb.base/printcmds.exp (test_print_enums): New.
2506 <top level>: Call it.
2507
2508 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2509
2510 * gdb.cp/fpointer.cc: New test.
2511 * gdb.cp/fpointer.exp: New test.
2512
2513 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2514
2515 * gdb.base/solib-nodir.exp: New file.
2516 * lib/gdb.exp (runto): New case for a GDB internal error.
2517
2518 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2519 Ulrich Weigand <uweigand@de.ibm.com>
2520 Tom Tromey <tromey@redhat.com>
2521
2522 * gdb.base/charset-malloc.c: New file.
2523 * gdb.base/charset.c (malloc_stub): New prototype.
2524 (main): Call it instead of malloc itself.
2525 * gdb.base/charset.exp: Use only prepare_for_testing.
2526 (binfile): Remove the variable.
2527
2528 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2529
2530 Make core files the process_stratum.
2531 * gdb.base/corefile.exp (run: load core again)
2532 (run: sanity check we see the core file, run: with core)
2533 (run: core file is cleared, attach: load core again)
2534 (attach: sanity check we see the core file, attach: with core)
2535 (attach: core file is cleared): New tests.
2536 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2537
2538 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
2539
2540 * gdb.arch/altivec-abi.exp: New tests.
2541
2542 2010-07-13 Tom Tromey <tromey@redhat.com>
2543
2544 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
2545 (main): Use it.
2546 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2547
2548 2010-07-13 Tom Tromey <tromey@redhat.com>
2549
2550 * gdb.base/label.exp: New file.
2551 * gdb.base/label.c: New file.
2552
2553 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
2554 H.J. Lu <hongjiu.lu@intel.com>
2555
2556 * lib/gdb.exp (is_ilp32_target): New.
2557 (is_lp64_target): Likewise.
2558
2559 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
2560 target.
2561 * gdb.arch/amd64-disp-step.exp: Likewise.
2562 * gdb.arch/amd64-dword.exp: Likewise.
2563 * gdb.arch/amd64-i386-address.exp: Likewise.
2564 * gdb.arch/amd64-word.exp: Likewise.
2565
2566 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
2567 target.
2568 * gdb.arch/i386-bp_permanent.exp: Likewise.
2569 * gdb.arch/i386-byte.exp: Likewise.
2570 * gdb.arch/i386-disp-step.exp: Likewise.
2571 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2572 * gdb.arch/i386-prologue.exp: Likewise.
2573 * gdb.arch/i386-size-overlap.exp: Likewise.
2574 * gdb.arch/i386-size.exp: Likewise.
2575 * gdb.arch/i386-sse.exp: Likewise.
2576 * gdb.arch/i386-unwind.exp: Likewise.
2577 * gdb.arch/i386-word.exp: Likewise.
2578
2579 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
2580 test only when building 64-bit executables. Do not hard-code
2581 -m64 option.
2582
2583 2010-07-07 Doug Evans <dje@google.com>
2584
2585 * lib/gdb.exp (gdb_test_list_exact): New function.
2586 * gdb.base/default.exp (show convenience): Call it, add tests for
2587 $_sdata = void, $_thread = 0.
2588
2589 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2590 Joel Brobecker <brobecker@adacore.com>
2591
2592 Fix re-run of PIE executable, PR shlibs/11776.
2593 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
2594 Remove $displacement_main to match the solib-svr4.c change. New "kill"
2595 and re-"run" of the inferior.
2596
2597 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2598 Joel Brobecker <brobecker@adacore.com>
2599
2600 Cope with missing /usr/sbin/prelink.
2601 * lib/prelink-support.exp (prelink_no):
2602 <result == 1 && $output is "no such file or directory">: New.
2603 (prelink_yes): Likewise. Return on failed prelink_no.
2604
2605 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2606 Joel Brobecker <brobecker@adacore.com>
2607
2608 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
2609 build_executable by build_executable_own_libs. Replace "prelink -R"
2610 execution by a call of prelink_yes. Comment why "prelink -r" needs no
2611 change.
2612 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
2613 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
2614 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
2615 Replace build_executable by build_executable_own_libs's function
2616 build_executable_own_libs.
2617 (prelinkNO): Create new stub to call prelink_no.
2618 (prelinkYES): Create new stub to call prelink_yes.
2619 (test_attach): Rename calls of copy to file_copy.
2620 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
2621 (copy): Move to ...
2622 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
2623 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
2624 * gdb.base/prelink.exp: Disable testcase also for is_remote and
2625 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
2626 special flags by gdb_compile_shlib. Replace second gdb_compile by
2627 build_executable_own_libs. Replace "prelink -R" execution by a call of
2628 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
2629 a second call of prelink_yes. Replace restart commands by
2630 clean_restart.
2631 (prelink): Rename to ...
2632 (seen displacement message): ... this test. Extend its expectation
2633 strictness.
2634
2635 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2636
2637 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
2638 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
2639 displacement message exactly once.
2640
2641 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2642 Joel Brobecker <brobecker@adacore.com>
2643
2644 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
2645 its restore after the <$relink_args != ""> loop. new comment.
2646
2647 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2648 Joel Brobecker <brobecker@adacore.com>
2649
2650 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
2651 code for it. New variable relink_args.
2652 (prelinkYES): Call prelinkNO.
2653 (test_attach): Accept new parameter relink_args. Re-prelink the binary
2654 in such case. Move the core code to ...
2655 (test_attach_gdb): ... a new function. Send GDB command "file".
2656 Extend expected "Attaching to " string.
2657
2658 2010-07-02 Tom Tromey <tromey@redhat.com>
2659
2660 * gdb.base/bitops.exp: Remove extraneous "pass".
2661
2662 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
2663
2664 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2665
2666 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2667
2668 * gdb.base/help.exp: Adjust expected output.
2669
2670 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2671
2672 * gdb.base/help.exp: Adjust expected output.
2673
2674 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2675
2676 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
2677 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
2678 c++/11702.
2679
2680 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2681 Doug Evans <dje@google.com>
2682
2683 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
2684 add .dynamic entry'.
2685
2686 2010-06-29 Doug Evans <dje@google.com>
2687
2688 Test PR c++/11702.
2689 * gdb.cp/m-static.exp: Add testcase.
2690 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
2691
2692 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
2693 Tom Tromey <tromey@redhat.com>
2694 Thiago Jung Bauermann <bauerman@br.ibm.com>
2695
2696 * gdb.python/py-inferior.c: New File.
2697 * gdb.python/py-infthread.c: New File.
2698 * gdb.python/py-inferior.exp: New File.
2699 * gdb.python/py-infthread.exp: New File.
2700
2701 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2702
2703 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
2704 (ptype ::C::OtherFileClass typedefs): New.
2705 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
2706 (C::OtherFileClass::cOtherFileClassVar2): New.
2707 (C::OtherFileClass::cOtherFileClassVar_use): Use also
2708 cOtherFileClassVar2.
2709 (C::cOtherFileType2, C::cOtherFileVar2): New.
2710 (C::cOtherFileVar_use): use also cOtherFileVar2.
2711 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
2712
2713 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2714
2715 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
2716 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
2717 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
2718 (print ::C::cOtherFileVar)
2719 (whatis C::OtherFileClass::cOtherFileClassType)
2720 (whatis ::C::OtherFileClass::cOtherFileClassType)
2721 (print C::OtherFileClass::cOtherFileClassVar)
2722 (print ::cOtherFileClassVar)
2723 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
2724 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
2725 trailing content.
2726 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
2727 (C::OtherFileClass::cOtherFileClassVar)
2728 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
2729 (C::cOtherFileVar, C::cOtherFileVar_use): New.
2730
2731 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2732
2733 Test PR c++/11703 and PR gdb/1448.
2734 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
2735 gdb/1448.
2736
2737 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2738
2739 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
2740 (main) <rtti_data>: New.
2741 * gdb.cp/virtbase.exp (print rtti_data): New.
2742
2743 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2744 Joel Brobecker <brobecker@adacore.com>
2745
2746 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2747
2748 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2749
2750 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
2751
2752 2010-06-28 Doug Evans <dje@google.com>
2753
2754 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
2755
2756 2010-06-27 Doug Evans <dje@google.com>
2757
2758 * gdb.cp/m-static.exp: Update expected test output.
2759
2760 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
2761
2762 * gdb.gdb/selftest.exp: Adjust expected message for
2763 capturing start-up runtime.
2764
2765 2010-06-25 Tom Tromey <tromey@redhat.com>
2766
2767 PR python/10808:
2768 * gdb.python/python.exp: Add new tests.
2769
2770 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
2771
2772 * gdb.cp/operator.cc: Created an import loop.
2773 * gdb.cp/operator.exp: Added testcase for import loop.
2774
2775 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2776
2777 Test PR python/11407.
2778 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
2779 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
2780 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
2781 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
2782 executable_nofb and executable_fb. New variables srcsfile, objsfile,
2783 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
2784 binfile. Call gdb_compile with clean_restart twice.
2785 (func_nofb print, func_nofb backtrace, func_loopfb print)
2786 (func_loopfb backtrace): New.
2787
2788 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2789
2790 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
2791 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
2792 by a hand made one.
2793 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
2794 i?86 requirement. Remove variables srcfile and binfile. New variable
2795 sources, executable_nofb and executable_fb. Call prepare_for_testing.
2796
2797 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2798
2799 * gdb.cell/dwarfaddr.exp: New file.
2800 * gdb.cell/dwarfaddr.S: New file.
2801
2802 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2803
2804 Test PR 9436.
2805 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2806
2807 2010-06-24 Hui Zhu <teawater@gmail.com>
2808
2809 * gdb.base/eval.exp: New file.
2810
2811 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2812
2813 * gdb.cell/fork.exp: New file.
2814 * gdb.cell/fork.c: Likewise.
2815 * gdb.cell/fork-spu.c: Likewise.
2816
2817 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
2818
2819 * lib/gdb.exp (banned_variables_traced): New global variable.
2820 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
2821 (gdb_init): Use `trace add variable' instead of obsolete
2822 `trace variable'.
2823
2824 2010-06-21 Doug Evans <dje@google.com>
2825
2826 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
2827
2828 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2829
2830 * gdb.arch/spu-ls.exp: New file.
2831 * gdb.arch/spu-ls.c: Likewise.
2832
2833 2010-06-18 Stan Shebs <stan@codesourcery.com>
2834
2835 * gdb.threads/thread-specific.exp: Add tests of $_thread.
2836
2837 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2838
2839 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
2840 * gdb.base/watch-cond.exp: Likewise.
2841 * gdb.python/py-breakpoint.exp: Likewise.
2842
2843 2010-06-18 Pedro Alves <pedro@codesourcery.com>
2844
2845 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
2846 clean_restart, make sure every test has a distinct message, and
2847 that messages don't include the executable' full path.
2848
2849 2010-06-17 Doug Evans <dje@google.com>
2850
2851 * gdb.arch/i386-size.exp: Updated expected output for
2852 DISASSEMBLY_OMIT_FNAME.
2853
2854 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2855 Sergio Durigan Junior <sergiodj@redhat.com>
2856
2857 * gdb.base/watch-notconst.c: New file.
2858 * gdb.base/watch-notconst.S: New file.
2859 * gdb.base/watch-notconst2.c: New file.
2860 * gdb.base/watch-notconst2.S: New file.
2861 * gdb.base/watch-notconst.exp: New file.
2862 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
2863 (func4): Add operations on `global_ptr_ptr'.
2864 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
2865 routine to test watchpoints created with a constant expression.
2866 (test_inaccessible_watchpoint): Include tests for watchpoints
2867 created with a constant expression.
2868
2869 2010-06-14 Kevin Buettner <kevinb@redhat.com>
2870
2871 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
2872 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
2873 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
2874 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
2875 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
2876 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
2877 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
2878 of `_start'.
2879
2880 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2881
2882 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
2883 not supported on the target.
2884 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2885 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2886 * gdb.mi/mi-nsintrall.exp: Likewise.
2887 * gdb.mi/mi-nsmoribund.exp: Likewise.
2888 * gdb.mi/mi-nsthrexec.exp: Likewise.
2889
2890 2010-06-11 Stan Shebs <stan@codesourcery.com>
2891
2892 * gdb.base/permissions.exp: New file.
2893
2894 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2895
2896 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
2897 does not support ELF executable class.
2898
2899 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2900
2901 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2902
2903 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2904
2905 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
2906 (runto): Catch "The target does not support running in non-stop mode.".
2907
2908 2010-06-11 Michael Snyder <msnyder@vmware.com>
2909
2910 * gdb.base/setshow.exp (set language asm): Don't use
2911 gdb_test_no_output, fails on some targets.
2912
2913 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2914
2915 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
2916 * gdb.cp/pr9167.exp: Likewise.
2917
2918 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2919
2920 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2921
2922 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2923
2924 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2925
2926 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2927
2928 * gdb.base/charset.c (main): Make sure malloc gets linked in.
2929
2930 2010-06-11 Tom Tromey <tromey@redhat.com>
2931
2932 PR gdb/9977, PR exp/11636::
2933 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
2934 (pieces_test_f6): Update expected output.
2935
2936 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2937
2938 * gdb.base/moribund-step.exp: New.
2939
2940 2010-06-08 Michael Snyder <msnyder@vmware.com>
2941
2942 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
2943 * gdb.ada/boolean_expr.exp:
2944 * gdb.ada/frame_args.exp: Ditto.
2945 * gdb.ada/lang_switch.exp: Ditto.
2946 * gdb.ada/ptype_arith_binop.exp: Ditto.
2947 * gdb.ada/ref_param.exp: Ditto.
2948 * gdb.ada/type_coercion.exp:Ditto.
2949
2950 * gdb.asm/asm-source.exp: Ditto.
2951
2952 * gdb.base/attach.exp: Ditto.
2953 * gdb.base/bitfields2.exp: Ditto.
2954 * gdb.base/call-signal-resume.exp: Ditto.
2955 * gdb.base/callfuncs.exp: Ditto.
2956 * gdb.base/commands.exp: Ditto.
2957 * gdb.base/dbx.exp: Ditto.
2958 * gdb.base/default.exp: Ditto.
2959 * gdb.base/dump.exp: Ditto.
2960 * gdb.base/exprs.exp: Ditto.
2961 * gdb.base/freebpcmd.exp: Ditto.
2962 * gdb.base/interrupt.exp: Ditto.
2963 * gdb.base/list.exp: Ditto.
2964 * gdb.base/long_long.exp: Ditto.
2965 * gdb.base/maint.exp: Ditto.
2966 * gdb.base/ptype.exp: Ditto.
2967 * gdb.base/return.exp: Ditto.
2968 * gdb.base/setshow.exp: Ditto.
2969 * gdb.base/sigbpt.exp: Ditto.
2970 * gdb.base/sigrepeat.exp: Ditto.
2971
2972 * gdb.cp/classes.exp: Ditto.
2973
2974 * gdb.dwarf2/dw2-restore.exp: Ditto.
2975
2976 * gdb.gdb/selftest.exp: Ditto.
2977
2978 * gdb.multi/base.exp: Ditto.
2979 * gdb.multi/bkpt-multi-exec.exp: Ditto.
2980
2981 * gdb.python/py-block.exp: Ditto.
2982 * gdb.python/py-prettyprint.exp: Ditto.
2983 * gdb.python/py-template.exp: Ditto.
2984
2985 * gdb.server/ext-attach.exp: Ditto.
2986 * gdb.server/ext-run.exp: Ditto.
2987 * gdb.server/server-mon.exp: Ditto.
2988
2989 * gdb.threads/fork-thread-pending.exp: Ditto.
2990 * gdb.threads/hand-call-in-threads.exp: Ditto.
2991 * gdb.threads/interrupted-hand-call.exp: Ditto.
2992 * gdb.threads/linux-dp.exp: Ditto.
2993 * gdb.threads/manythreads.exp: Ditto.
2994 * gdb.threads/print-threads.exp: Ditto.
2995 * gdb.threads/pthreads.exp: Ditto.
2996 * gdb.threads/schedlock.exp: Ditto.
2997 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2998 * gdb.threads/threadapply.exp: Ditto.
2999
3000 2010-06-08 Michael Snyder <msnyder@vmware.com>
3001
3002 * gdb.ada/exec_changed.exp:
3003 Use ".*" instead of "" as wildcard regexp.
3004
3005 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
3006 * gdb.base/call-ar-st.exp: Ditto.
3007 * gdb.base/checkpoint.exp: Ditto.
3008 * gdb.base/default.exp: Ditto.
3009 * gdb.base/dump.exp: Ditto.
3010 * gdb.base/ending-run.exp: Ditto.
3011 * gdb.base/fileio.exp: Ditto.
3012 * gdb.base/miscexprs.exp: Ditto.
3013 * gdb.base/pointers.exp: Ditto.
3014 * gdb.base/readline.exp: Ditto.
3015 * gdb.base/reread.exp: Ditto.
3016 * gdb.base/restore.exp: Ditto.
3017 * gdb.base/shlib-call.exp: Ditto.
3018 * gdb.base/valgrind-db-attach.exp: Ditto.
3019 * gdb.base/volatile.exp: Ditto.
3020 * gdb.base/watchpoints.exp: Ditto.
3021
3022 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
3023
3024 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
3025 * gdb.python/py-value.exp: Ditto.
3026
3027 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
3028 * gdb.trace/circ.exp: Ditto.
3029 * gdb.trace/collection.exp: Ditto.
3030 * gdb.trace/packetlen.exp: Ditto.
3031 * gdb.trace/passc-dyn.exp: Ditto.
3032 * gdb.trace/report.exp: Ditto.
3033 * gdb.trace/tfile.exp: Ditto.
3034 * gdb.trace/tfind.exp: Ditto.
3035 * gdb.trace/while-dyn.exp: Ditto.
3036
3037 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3038
3039 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
3040
3041 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3042
3043 Test PR 10640.
3044 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
3045
3046 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
3047
3048 * gdb.cp/koenig.exp: Test for ADL operators.
3049 * gdb.cp/koenig.cc: Added ADL operators.
3050 * gdb.cp/operator.exp: New test.
3051 * gdb.cp/operator.cc: New test.
3052
3053 2010-06-04 Michael Snyder <msnyder@vmware.com>
3054
3055 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
3056 * gdb.base/pending.exp: Ditto.
3057
3058 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
3059
3060 2010-06-04 Doug Evans <dje@google.com>
3061
3062 * gdb.python/py-prettyprint.exp: Add new test for enabled and
3063 disabled printers.
3064 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
3065 (enable_lookup_function): New function.
3066
3067 2010-06-04 Tom Tromey <tromey@redhat.com>
3068
3069 * gdb.python/py-value.exp (test_value_hash): Don't test equality
3070 of hash and id.
3071
3072 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3073
3074 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
3075 newline.
3076 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
3077 (empty verbose non-noisy clear, empty verbose noisy clear)
3078 (empty non-verbose noisy clear): Likewise.
3079
3080 2010-06-03 Michael Snyder <msnyder@vmware.com>
3081
3082 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
3083 * gdb.base/display.exp: Ditto.
3084 * gdb.base/find.exp: Ditto.
3085 * gdb.base/ifelse.exp: Ditto.
3086 * gdb.base/multi-forks.exp: Ditto.
3087 * gdb.base/recurse.exp: Ditto.
3088 * gdb.base/setshow.exp: Ditto.
3089 * gdb.base/value-double-free.exp: Ditto.
3090 * gdb.base/watch-vfork.exp: Ditto.
3091 * gdb.base/watch_thread_num.exp: Ditto.
3092 * gdb.base/watchpoint-solib.exp: Ditto.
3093 * gdb.base/watchpoint.exp: Ditto.
3094 * gdb.base/watchpoints.exp: Ditto.
3095
3096 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
3097 * gdb.cp/overload.exp: Ditto.
3098 * gdb.cp/virtfunc.exp: Ditto.
3099
3100 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
3101
3102 * gdb.reverse/watch-precsave.exp:
3103 Replace gdb_test with gdb_test_no_output.
3104
3105 * gdb.threads/attach-into-signal.exp:
3106 Replace gdb_test with gdb_test_no_output.
3107 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3108 * gdb.threads/watchthreads.exp: Ditto.
3109 * gdb.threads/watchthreads2.exp: Ditto.
3110
3111 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
3112 * gdb.trace/tfind.exp: Ditto.
3113
3114 2010-06-03 Joel Brobecker <brobecker@adacore.com>
3115
3116 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
3117 successful test if message is the empty string.
3118
3119 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3120
3121 * gdb.fortran/module.exp (stopped language detection): New test.
3122
3123 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3124
3125 Support DW_TAG_module as separate namespaces.
3126 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
3127 gdb.fortran/library-module-lib.f90: New.
3128 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
3129 (print i): Remove.
3130 (continue to breakpoint: i-is-1, print var_i value 1)
3131 (continue to breakpoint: i-is-2, print var_i value 2)
3132 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
3133 (print var_d, print var_i value 14, ptype modmany, complete `modm)
3134 (complete `modmany, complete `modmany`, complete `modmany`var)
3135 (show language, setting breakpoint at module): New tests.
3136 * gdb.fortran/module.f90 (module mod): Remove.
3137 (module mod1, module mod2, module modmany, subroutine sub1)
3138 (subroutine sub2, program module): New.
3139
3140 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3141
3142 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
3143 (print value of rUC, print value of rI, print value of UI): ... here.
3144 * gdb.cp/anon-union.exp (pass): Rename to ...
3145 (print z 2): ... here.
3146
3147 2010-06-02 Michael Snyder <msnyder@vmware.com>
3148
3149 * gdb.trace/actions.exp: Use gdb_test_no_output.
3150 * gdb.trace/circ.exp: Ditto.
3151 * gdb.trace/packetlen.exp: Ditto.
3152 * gdb.trace/save-trace.exp: Ditto.
3153 * gdb.trace/tracecmd.exp: Ditto.
3154 * gdb.trace/tsv.exp: Ditto.
3155
3156 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
3157 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
3158 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
3159 * gdb.threads/manythreads.exp: Ditto.
3160 * gdb.threads/print-threads.exp: Ditto.
3161 * gdb.threads/pthreads.exp: Ditto.
3162 * gdb.threads/schedlock.exp: Ditto.
3163 * gdb.threads/staticthreads.exp: Ditto.
3164 * gdb.threads/thread-specific.exp: Ditto.
3165 * gdb.threads/thread-unwindonsignal.exp: Ditto.
3166 * gdb.threads/threadapply.exp: Ditto.
3167 * gdb.threads/watchthreads.exp: Ditto.
3168 * gdb.threads/watchthreads2.exp: Ditto.
3169
3170 * gdb.python/py-block.exp: Use gdb_test_no_output.
3171 * gdb.python/py-prettyprint.exp: Ditto.
3172 * gdb.python/py-template.exp: Ditto.
3173 * gdb.python/py-value.exp: Ditto.
3174
3175 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
3176 * gdb.reverse/watch-reverse.exp: Ditto.
3177
3178 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
3179 * gdb.server/ext-run.exp: Ditto.
3180
3181 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
3182 * gdb.dwarf2/dw2-compressed.exp: Ditto.
3183 * gdb.dwarf2/dw2-intercu.exp: Ditto.
3184 * gdb.dwarf2/dw2-intermix.exp: Ditto.
3185 * gdb.dwarf2/dw2-producer.exp: Ditto.
3186 * gdb.dwarf2/mac-fileno.exp: Ditto.
3187
3188 * gdb.gdb/observer.exp: Use gdb_test_no_output.
3189 * gdb.gdb/selftest.exp: Ditto.
3190
3191 * gdb.multi/base.exp: Use gdb_test_no_output.
3192
3193 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
3194
3195 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3196
3197 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
3198
3199 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
3200
3201 * gdb.cp/class2.exp: Use gdb_test_no_output.
3202 * gdb.cp/classes.exp: Ditto.
3203 * gdb.cp/extern-c.exp: Ditto.
3204 * gdb.cp/inherit.exp: Ditto.
3205 * gdb.cp/maint.exp: Ditto.
3206 * gdb.cp/mb-inline.exp: Ditto.
3207 * gdb.cp/mb-templates.exp: Ditto.
3208 * gdb.cp/method2.exp: Ditto.
3209 * gdb.cp/misc.exp: Ditto.
3210 * gdb.cp/ovldbreak.exp: Ditto.
3211 * gdb.cp/punctuator.exp: Ditto.
3212 * gdb.cp/templates.exp: Ditto.
3213 * gdb.cp/virtbase.exp: Ditto.
3214
3215 * gdb.threads/attach-stopped.exp:
3216 Replace uses of send_gdb / gdb_expect.
3217 * gdb.threads/attachstop-mt.exp:
3218 Replace uses of send_gdb / gdb_expect.
3219 * gdb.threads/gcore-thread.exp:
3220 Replace uses of send_gdb / gdb_expect.
3221 * gdb.threads/hand-call-in-threads.exp:
3222 Replace uses of send_gdb / gdb_expect.
3223 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
3224 * gdb.threads/print-threads.exp:
3225 Replace uses of send_gdb / gdb_expect.
3226 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
3227 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
3228 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
3229
3230 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
3231 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
3232 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
3233 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
3234 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
3235 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
3236 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
3237 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
3238 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
3239 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
3240 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
3241
3242 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3243
3244 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
3245
3246 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
3247
3248 * gdb.cp/koenig.exp: Added new test case.
3249 * gdb.cp/koenig.cc: Ditto.
3250
3251 2010-06-01 Michael Snyder <msnyder@vmware.com>
3252
3253 * gdb.base/arithmet.exp: Use gdb_test_no_output.
3254 * gdb.base/arrayidx.exp: Ditto.
3255 * gdb.base/attach.exp: Ditto.
3256 * gdb.base/auxv.exp: Ditto.
3257 * gdb.base/bigcre.exp: Ditto.
3258 * gdb.base/break-always.exp: Ditto.
3259 * gdb.base/break-interp.exp: Ditto.
3260 * gdb.base/break.exp: Ditto.
3261 * gdb.base/breakpoint-shadow.exp: Ditto.
3262 * gdb.base/call-ar-st.exp: Ditto.
3263 * gdb.base/call-sc.exp: Ditto.
3264 * gdb.base/call-signal-resume.exp: Ditto.
3265 * gdb.base/callfuncs.exp: Ditto.
3266 * gdb.base/catch-syscall.exp: Ditto.
3267 * gdb.base/charset.exp: Ditto.
3268 * gdb.base/code-expr.exp: Ditto.
3269 * gdb.base/commands.exp: Ditto.
3270 * gdb.base/cond-expr.exp: Ditto.
3271 * gdb.base/condbreak.exp: Ditto.
3272 * gdb.base/cursal.exp: Ditto.
3273 * gdb.base/cvexpr.exp: Ditto.
3274 * gdb.base/default.exp: Ditto.
3275 * gdb.base/del.exp: Ditto.
3276 * gdb.base/detach.exp: Ditto.
3277 * gdb.base/display.exp: Ditto.
3278 * gdb.base/ena-dis-br.exp: Ditto.
3279 * gdb.base/eval-skip.exp: Ditto.
3280 * gdb.base/foll-fork.exp: Ditto.
3281 * gdb.base/foll-vfork.exp: Ditto.
3282 * gdb.base/frame-args.exp: Ditto.
3283 * gdb.base/funcargs.exp: Ditto.
3284 * gdb.base/gcore-buffer-overflow.exp: Ditto.
3285 * gdb.base/gdbvars.exp: Ditto.
3286 * gdb.base/help.exp: Ditto.
3287 * gdb.base/ifelse.exp: Ditto.
3288 * gdb.base/included.exp: Ditto.
3289 * gdb.base/list.exp: Ditto.
3290 * gdb.base/macscp.exp: Ditto.
3291 * gdb.base/maint.exp: Ditto.
3292 * gdb.base/multi-fork.exp: Ditto.
3293 * gdb.base/overlays.exp: Ditto.
3294 * gdb.base/page.exp: Ditto.
3295 * gdb.base/pending.exp: Ditto.
3296 * gdb.base/pointers.exp: Ditto.
3297 * gdb.base/pr11022.exp: Ditto.
3298 * gdb.base/prelink.exp: Ditto.
3299 * gdb.base/printcmds.exp: Ditto.
3300 * gdb.base/psymtab.exp: Ditto.
3301 * gdb.base/randomize.exp: Ditto.
3302 * gdb.base/relational.exp: Ditto.
3303 * gdb.base/relocate.exp: Ditto.
3304 * gdb.base/remote.exp: Ditto.
3305 * gdb.base/sepdebug.exp: Ditto.
3306 * gdb.base/set-lang-auto.exp: Ditto.
3307 * gdb.base/setshow.exp: Ditto.
3308 * gdb.base/setvar.exp: Ditto.
3309 * gdb.base/signals.exp: Ditto.
3310 * gdb.base/signull.exp: Ditto.
3311 * gdb.base/sigstep.exp: Ditto.
3312 * gdb.base/sizeof.exp: Ditto.
3313 * gdb.base/solib-disc.exp: Ditto.
3314 * gdb.base/store.exp: Ditto.
3315 * gdb.base/structs.exp: Ditto.
3316 * gdb.base/structs2.exp: Ditto.
3317 * gdb.base/subst.exp: Ditto.
3318 * gdb.base/term.exp: Ditto.
3319 * gdb.base/trace-commands.exp: Ditto.
3320 * gdb.base/unwindonsignal.exp: Ditto.
3321 * gdb.base/valgrind-db-attach.exp: Ditto.
3322 * gdb.base/varargs.exp: Ditto.
3323 * gdb.base/watch-cond.exp: Ditto.
3324 * gdb.base/watch_thread_num.exp: Ditto.
3325 * gdb.base/watchpoint-cond-gone.exp: Ditto.
3326 * gdb.base/watchpoint.exp: Ditto.
3327 * gdb.base/whatis-exp.exp: Ditto.
3328
3329 2010-06-01 Michael Snyder <msnyder@vmware.com>
3330
3331 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
3332 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
3333 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
3334 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
3335 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
3336 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
3337 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
3338 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
3339 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3340 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3341 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3342 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3343 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3344 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3345 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
3346
3347 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3348
3349 * gdb.base/commands.exp (begin commands on watch): Remove excessive
3350 trailing newline.
3351 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
3352 * gdb.java/jmisc.exp (p *args\n): Rename to ...
3353 (p *args): ... here and remove excessive trailing newline.
3354
3355 2010-05-31 Joel Brobecker <brobecker@adacore.com>
3356
3357 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
3358
3359 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3360
3361 Accept the new Linux kernel "t (tracing stop)" string.
3362 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
3363 Update comment.
3364 (state_wait) <T (tracing stop)>: New.
3365 (main): Update the state_wait expect string.
3366
3367 2010-05-28 Pedro Alves <pedro@codesourcery.com>
3368
3369 * limits.c, limits.exp: Delete files.
3370 * Makefile.in (clean mostlyclean): Adjust.
3371 * tracecmd.exp: Adjust.
3372
3373 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3374
3375 * gdb.base/tui-layout.exp: New.
3376
3377 2010-05-28 Michael Snyder <msnyder@vmware.com>
3378
3379 * gdb.reverse/break-precsave.exp:
3380 Replace uses of send_gdb / gdb_expect.
3381 * gdb.reverse/break-reverse.exp:
3382 Replace uses of send_gdb / gdb_expect.
3383 * gdb.reverse/consecutive-precsave.exp:
3384 Replace uses of send_gdb / gdb_expect.
3385 * gdb.reverse/consecutive-reverse.exp:
3386 Replace uses of send_gdb / gdb_expect.
3387 * gdb.reverse/finish-precsave.exp:
3388 Replace uses of send_gdb / gdb_expect.
3389 * gdb.reverse/finish-reverse.exp:
3390 Replace uses of send_gdb / gdb_expect.
3391 * gdb.reverse/i386-precsave.exp:
3392 Replace uses of send_gdb / gdb_expect.
3393 * gdb.reverse/i386-reverse.exp:
3394 Replace uses of send_gdb / gdb_expect.
3395 * gdb.reverse/i386-sse-reverse.exp:
3396 Replace uses of send_gdb / gdb_expect.
3397 * gdb.reverse/i387-env-reverse.exp:
3398 Replace uses of send_gdb / gdb_expect.
3399 * gdb.reverse/i387-stack-reverse.exp:
3400 Replace uses of send_gdb / gdb_expect.
3401 * gdb.reverse/machinestate-precsave.exp:
3402 Replace uses of send_gdb / gdb_expect.
3403 * gdb.reverse/machinestate.exp:
3404 Replace uses of send_gdb / gdb_expect.
3405 * gdb.reverse/sigall-precsave.exp:
3406 Replace uses of send_gdb / gdb_expect.
3407 * gdb.reverse/sigall-reverse.exp:
3408 Replace uses of send_gdb / gdb_expect.
3409 * gdb.reverse/solib-precsave.exp:
3410 Replace uses of send_gdb / gdb_expect.
3411 * gdb.reverse/solib-reverse.exp:
3412 Replace uses of send_gdb / gdb_expect.
3413 * gdb.reverse/step-precsave.exp:
3414 Replace uses of send_gdb / gdb_expect.
3415 * gdb.reverse/step-reverse.exp:
3416 Replace uses of send_gdb / gdb_expect.
3417 * gdb.reverse/until-precsave.exp:
3418 Replace uses of send_gdb / gdb_expect.
3419 * gdb.reverse/until-reverse.exp:
3420 Replace uses of send_gdb / gdb_expect.
3421 * gdb.reverse/watch-precsave.exp:
3422 Replace uses of send_gdb / gdb_expect.
3423 * gdb.reverse/watch-reverse.exp:
3424 Replace uses of send_gdb / gdb_expect.
3425
3426 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3427
3428 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3429 excessive newline.
3430
3431 2010-05-27 Michael Snyder <msnyder@vmware.com>
3432
3433 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
3434 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3435 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3436 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3437 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3438 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3439 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3440 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3441 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3442 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3443 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3444 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3445 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3446 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3447 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3448 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3449 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3450 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3451 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
3452
3453 2010-05-26 Michael Snyder <msnyder@vmware.com>
3454
3455 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3456 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3457
3458 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3459 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3460 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3461
3462 * gdb.reverse/consecutive-reverse.exp:
3463 Replace uses of send_gdb / gdb_expect.
3464 * gdb.reverse/consecutive-precsave.exp:
3465 Replace uses of send_gdb / gdb_expect.
3466
3467 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3468 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3469 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
3470 * gdb.mi/mi-ns-stale-regcache.exp:
3471 Replace uses of send_gdb / gdb_expect.
3472 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3473 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3474 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3475 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3476 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3477 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3478 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3479 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3480 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
3481
3482 2010-05-26 Michael Snyder <msnyder@vmware.com>
3483
3484 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
3485
3486 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
3487
3488 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3489 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3490 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3491 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3492 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3493 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3494 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3495 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3496 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
3497
3498 2010-05-25 Tom Tromey <tromey@redhat.com>
3499
3500 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3501
3502 2010-05-25 Tom Tromey <tromey@redhat.com>
3503
3504 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3505 argument order.
3506 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3507 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3508 order.
3509 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3510 order.
3511 * gdb.base/call-sc.exp (setup_kfails): Remove.
3512 (setup_compiler_kfails): Remove.
3513 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3514 argument order.
3515 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3516 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3517 (advancei): Fix setup_kfail argument order.
3518 * gdb.base/radix.exp: Fix setup_kfail argument order.
3519 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3520 order.
3521 * gdb.base/structs.exp (setup_kfails): Remove.
3522 (setup_compiler_kfails): Fix setup_kfail argument order.
3523 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
3524 order.
3525 * gdb.java/jmain.exp: Fix setup_kfail argument order.
3526 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
3527 setup_kfail argument order.
3528 * gdb.cp/overload.exp: Fix setup_kfail argument order.
3529
3530 2010-05-25 Tom Tromey <tromey@redhat.com>
3531
3532 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
3533
3534 2010-05-25 Michael Snyder <msnyder@vmware.com>
3535
3536 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
3537 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
3538 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
3539 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
3540 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
3541 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
3542 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
3543 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
3544 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
3545 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
3546 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
3547 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
3548 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
3549 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
3550 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
3551 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
3552 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
3553 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
3554 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
3555 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
3556 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
3557 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
3558 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
3559 * gdb.base/default.exp: Replace send_gdb with gdb_test.
3560 * gdb.base/define.exp: Replace send_gdb with gdb_test.
3561 * gdb.base/display.exp: Replace send_gdb with gdb_test.
3562 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
3563 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
3564 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
3565 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
3566 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
3567 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
3568 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
3569 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
3570 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
3571 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
3572 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
3573 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
3574 * gdb.base/help.exp: Replace send_gdb with gdb_test.
3575 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
3576 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
3577 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
3578 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
3579 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
3580 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
3581 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
3582 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
3583 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
3584
3585 2010-05-25 Doug Evans <dje@google.com>
3586
3587 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
3588 gdb.string_to_argv.
3589
3590 2010-05-21 Tom Tromey <tromey@redhat.com>
3591
3592 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
3593 Call it.
3594 * gdb.dwarf2/pieces.S: Update.
3595 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
3596
3597 2010-05-21 Tom Tromey <tromey@redhat.com>
3598
3599 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
3600 Call it.
3601 * gdb.dwarf2/pieces.c (struct C): New.
3602 (f6): New function.
3603 * gdb.dwarf2/pieces.S: Replace.
3604
3605 2010-05-21 Tom Tromey <tromey@redhat.com>
3606
3607 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
3608 Call it.
3609
3610 2010-05-21 Tom Tromey <tromey@redhat.com>
3611
3612 * gdb.dwarf2.pieces.exp: New file.
3613 * gdb.dwarf2.pieces.S: New file.
3614 * gdb.dwarf2.pieces.c: New file.
3615
3616 2010-05-20 Pedro Alves <pedro@codesourcery.com>
3617 Joel Brobecker <brobecker@adacore.com>
3618
3619 * lib/gdb.exp (gdb_test_no_output): New function.
3620 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
3621 when testing commands that should produce no output.
3622
3623 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3624
3625 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
3626 parameter that we want to watch being a constant.
3627
3628 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3629
3630 * gdb.ada/cond_lang: New testcase.
3631
3632 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3633
3634 * lib/gdb.exp (banned_variables): New variable/constant.
3635 (gdb_init): Add write trace on variables listed in banned_variables.
3636 (gdb_finish): Remove write traces on variables listed in
3637 banned_variables.
3638
3639 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3640
3641 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
3642 * gdb.cp/koenig.exp: Likewise.
3643
3644 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
3645
3646 PR python/11482
3647
3648 * gdb.python/py-value.exp (test_value_hash): New function.
3649
3650 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
3651
3652 PR exp/11530.
3653 * gdb.base/gdb11530.c: New file.
3654 * gdb.base/gdb11530.exp: New file.
3655
3656 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3657
3658 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
3659 * gdb.dwarf2/dw2-modula2-self-type.S: New.
3660
3661 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
3662
3663 * gdb.cp/koenig.exp: New test.
3664 * gdb.cp/koenig.cc: New test program.
3665
3666 2010-05-05 Joel Brobecker <brobecker@adacore.com>
3667
3668 Remove the use of prms_id and bug_id throughout the testsuite.
3669
3670 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
3671
3672 PR exp/11349.
3673 * testsuite/gdb.cp/ref-types.exp: Add test to examine
3674 use a reference local variable.
3675
3676 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3677
3678 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
3679 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
3680 variable different_dir. Move debugfile into a full directory pathname
3681 under DIFFERENT_DIR.
3682 * lib/gdb.exp (separate_debug_filename): Remove.
3683 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
3684 variable debug_dir and mkdir of it. Update function comments.
3685
3686 2010-04-29 Pedro Alves <pedro@codesourcery.com>
3687
3688 PR gdb/11557
3689
3690 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
3691 files.
3692
3693 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
3694
3695 * gdb.python/py-param.exp: New File.
3696
3697 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
3698
3699 * gdb.base/default.exp: Fix "set language" test.
3700
3701 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
3702
3703 PR breakpoints/11531.
3704 * gdb.base/gdb11531.c: New file.
3705 * gdb.base/gdb11531.exp: New file.
3706
3707 2010-04-26 Tom Tromey <tromey@redhat.com>
3708
3709 * gdb.base/completion.exp: Add tests for completion and deprecated
3710 commands.
3711
3712 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3713
3714 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
3715 (print /x char_array): Escape curly brackets.
3716
3717 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3718
3719 Fix deadlock on looped list of loaded shared objects.
3720 * gdb.base/solib-corrupted.exp: New.
3721
3722 2010-04-23 Doug Evans <dje@google.com>
3723
3724 * gdb.python/py-section-script.c: New file.
3725 * gdb.python/py-section-script.exp: New file.
3726 * gdb.python/py-section-script.py: New file.
3727
3728 2010-04-20 Chris Moller <cmoller@redhat.com>
3729
3730 PR 10179
3731
3732 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
3733 * gdb.base/pr10179-a.c:
3734 * gdb.base/pr10179-b.c:
3735 * gdb.base/pr10179.exp: New files.
3736
3737 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3738
3739 Fix crashes on dangling display expressions.
3740 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
3741 is SEP.
3742 (lib_flags): Remove the "debug" keyword.
3743 (libsepdebug): New variable for iterating new loop.
3744 (save_pf_prefix): New variable wrapping the loop.
3745 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
3746 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
3747
3748 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3749
3750 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
3751
3752 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3753
3754 PR stabs/11479.
3755 * gdb.stabs/gdb11479.exp: New file.
3756 * gdb.stabs/gdb11479.c: New file.
3757
3758 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3759
3760 * gdb.base/charset.c (Strin16, String32): New variables.
3761 * gdb.base/charset.exp (gdb_test): Test correct display
3762 of 16 or 32 bit strings.
3763
3764 2010-04-21 Chris Moller <cmoller@redhat.com>
3765
3766 PR 9167
3767 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
3768 * gdb.cp/pr9167.cc: New file.
3769 * gdb.cp/pr9167.exp: New file.
3770
3771
3772 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
3773
3774 PR pascal/11492.
3775 * gdb.pascal/gdb11492.pas: New file.
3776 * gdb.pascal/gdb11492.exp: New file.
3777
3778 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3779
3780 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
3781
3782 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3783
3784 * gdb.ada/dyn_loc: New testcase.
3785
3786 2010-04-20 Chris Moller <cmoller@redhat.com>
3787
3788 PR 10867
3789
3790 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
3791 * gdb.cp/pr10687.cc: New file.
3792 * gdb.cp/pr10687.exp: New file.
3793
3794
3795 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3796 Sergio Durigan Junior <sergiodj@redhat.com>
3797
3798 * gdb.fortran/logical.exp: New testcase.
3799 * gdb.fortran/logical.f90: New file.
3800
3801 2010-04-19 Doug Evans <dje@google.com>
3802
3803 * gdb.base/help.exp (help source): Update expected output.
3804
3805 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3806
3807 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
3808 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
3809 gdb_exit and return.
3810 (executable): New variable.
3811 (binfile): Use it.
3812
3813 2010-04-19 Pedro Alves <pedro@codesourcery.com>
3814
3815 PR breakpoints/8554.
3816
3817 * gdb.trace/save-trace.exp: Adjust.
3818
3819 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
3820
3821 PR corefiles/11511
3822 * gdb.arch/system-gcore.exp: New.
3823 * gdb.arch/gcore.c: Likewise.
3824
3825 2010-04-15 Doug Evans <dje@google.com>
3826
3827 * gdb.python/py-progspace.c: New file.
3828 * gdb.python/py-progspace.exp: New file.
3829
3830 * gdb.base/source.exp: Add tests for "source -s".
3831
3832 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
3833
3834 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
3835 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
3836 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
3837 * gdb.python/py-mi.exp: New test for to_string returning None.
3838
3839 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
3840
3841 * gdb.python/py-breakpoint.c: Make result global.
3842
3843 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3844
3845 Fix non-GNU make compatibility.
3846 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
3847
3848 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
3849
3850 * gdb.python/py-breakpoint.exp: New File.
3851 * gdb.python/py-breakpoint.C: Ditto.
3852
3853 2010-04-08 Stan Shebs <stan@codesourcery.com>
3854
3855 * gdb.trace/actions.exp: Clear default-collect.
3856 * gdb.trace/save-trace.exp: Clear default-collect.
3857
3858 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
3859
3860 * gdb.python/py-value: Add null string variable.
3861 (test_lazy_string): Test zero length, NULL address lazy
3862 strings.
3863
3864 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
3865
3866 * gdb.arch/i386-avx.c: New.
3867 * gdb.arch/i386-avx.exp: Likewise.
3868
3869 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
3870
3871 2010-04-06 Doug Evans <dje@google.com>
3872
3873 * gdb.base/source-test.gdb: New file.
3874 * gdb.base/source.exp: Test source -v.
3875
3876 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3877
3878 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
3879
3880 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
3881
3882 * gdb.stabs/aout.sed: Convert all backslash to double backslash
3883 within one line, unless it is followed by a double quote.
3884 * gdb.stabs/hppa.sed: Idem.
3885 * gdb.stabs/weird.def: Add char and String constants
3886 * gdb.stabs/weird.exp: Check for correct parsing of
3887 char and string constants.
3888 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
3889 in .stabs to .stabx substitution.
3890
3891 2010-04-05 Stan Shebs <stan@codesourcery.com>
3892
3893 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
3894 constant global.
3895 * gdb.trace/tfile.exp: Try to print them.
3896
3897 2010-04-04 Stan Shebs <stan@codesourcery.com>
3898
3899 * gdb.base/completion.exp: Update for new "info watchpoints".
3900 * gdb.base/default.exp: Ditto.
3901 * gdb.base/help.exp: Ditto.
3902 * gdb.base/watchpoint.exp: Ditto.
3903 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
3904
3905 2010-04-04 Stan Shebs <stan@codesourcery.com>
3906
3907 * gdb.trace/tfile.exp: Sharpen tfind test.
3908
3909 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3910
3911 * gdb.base/break-entry.exp: New.
3912
3913 2010-04-02 Hui Zhu <teawater@gmail.com>
3914 Michael Snyder <msnyder@vmware.com>
3915
3916 * gdb.reverse/i386-sse-reverse.exp: New file.
3917 * gdb.reverse/i386-sse-reverse.c: New file.
3918
3919 2010-04-02 Pedro Alves <pedro@codesourcery.com>
3920
3921 * gdb.trace/tfind.exp: Adjust expected disassembly output.
3922
3923 2010-04-01 Stan Shebs <stan@codesourcery.com>
3924
3925 * gdb.trace/actions.exp: Tweak expected output.
3926 * gdb.trace/while-stepping.exp: Tweak expected output.
3927
3928 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
3929
3930 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
3931
3932 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3933
3934 * gdb.base/commands.exp: Adjust.
3935 * gdb.cp/extern-c.exp: Adjust.
3936
3937 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3938
3939 * gdb.trace/collection.c (local_test_func): Define a local struct,
3940 and instanciate it.
3941
3942 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3943
3944 * gdb.trace/collection.exp (gdb_collect_args_test)
3945 (gdb_collect_argarray_test): XFAIL the tests that assume the
3946 argarray argument's elements are collected.
3947
3948 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3949
3950 * gdb.dwarf2/dw2-bad-parameter-type.exp,
3951 gdb.dwarf2/dw2-bad-parameter-type.S: New.
3952
3953 2010-03-31 Stan Shebs <stan@codesourcery.com>
3954
3955 * gdb.trace/save-trace.exp: Test save/restore of default-collect
3956 and tracepoint conditionals.
3957 (gdb_verify_tracepoints): Delete unused return.
3958
3959 2010-03-26 Keith Seitz <keiths@redhat.com>
3960
3961 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
3962 appear in the output before main.
3963 Remove KFAIL for gdb/2215 aka bz 9320.
3964
3965 2010-03-30 Doug Evans <dje@google.com>
3966
3967 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
3968 by dejagnu.
3969 * gdb.arch/amd64-dword.exp: Ditto.
3970
3971 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
3972 match.
3973 (break printf): Ditto.
3974
3975 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
3976
3977 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
3978 gcc < 4.4.
3979 * gdb.cp/shadow.exp: Ditto.
3980
3981 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3982
3983 * gdb.trace/collection.exp (run_trace_experiment): Make sure
3984 "tstart" is silent.
3985
3986 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3987
3988 * gdb.trace/collection.exp (executable): New.
3989 (binfile): Use it.
3990 (fpreg, spreg, pcreg): New.
3991 (test_register): Use gdb_test_multiple. Pass /x to print.
3992 (prepare_for_trace_test): New.
3993 (run_trace_experiment): Use "continue", not gdb_run_cmd.
3994 (gdb_collect_args_test, gdb_collect_argstruct_test)
3995 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
3996 prepare_for_trace_test.
3997 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
3998 fpreg, spreg and pcreg.
3999 (gdb_collect_expression_test, gdb_collect_globals_test): Use
4000 prepare_for_trace_test.
4001 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
4002 try to detect tracing support here. Don't set breakpoints at
4003 `begin' or `end' here.
4004 <global scope>: Use clean_restart. Run to main before checking
4005 for tracing support. Check for for tracing support here.
4006
4007 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4008
4009 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
4010 " as $displacement" to "seen displacement message".
4011
4012 2010-03-28 Pedro Alves <pedro@codesourcery.com>
4013
4014 * gdb.trace/while-dyn.exp (executable): New variable.
4015 (binfile): Use it.
4016 (test_while_stepping): New function. Move most tests here. Call
4017 it once for each of the while-stepping, stepping and ws aliases.
4018
4019 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4020
4021 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
4022 that do not provide the tagless_struct type name at all.
4023 (test_print_anon_union): Do not check value of uninitialized
4024 union member. Do not use cp_test_ptype_class, so we can accept
4025 "long" as well as "long int".
4026
4027 2010-03-26 Pedro Alves <pedro@codesourcery.com>
4028
4029 * gdb.trace/tfile.c (tohex, bin2hex): New.
4030 (write_error_trace_file): Hexify error description.
4031
4032 2010-03-25 Stan Shebs <stan@codesourcery.com>
4033
4034 * gdb.trace/tfile.c: Generate an additional trace file, improve
4035 portability.
4036 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
4037 files in a better way.
4038
4039 2010-03-25 Keith Seitz <keiths@redhat.com>
4040
4041 * gdb.java/jprint.exp: XFAIL printing of static class members
4042 because of GCC debuginfo problem.
4043
4044 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4045
4046 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
4047
4048 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4049
4050 * gdb.base/completion.exp: Allow long instead of long int.
4051 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
4052 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
4053 variable p.
4054 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
4055 * gdb.base/pointers.exp: Allow long instead of long int.
4056 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
4057 * gdb.base/step-line.exp: Allow a directory before the source file name.
4058
4059 2010-03-24 Tom Tromey <tromey@redhat.com>
4060
4061 PR breakpoints/9352:
4062 * gdb.base/default.exp: Update.
4063 * gdb.base/commands.exp: Update.
4064 * gdb.cp/extern-c.exp: Test setting commands on multiple
4065 breakpoints at once.
4066
4067 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4068
4069 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
4070 if gdb,nosignals.
4071 * gdb.base/watchpoints.c: Do not include unnecessary headers.
4072 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
4073 exited".
4074
4075 2010-03-24 Stan Shebs <stan@codesourcery.com>
4076
4077 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
4078
4079 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
4080
4081 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
4082 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
4083 argument. Handle "short" and "long".
4084 (Top level): Pass overprototyped output for old_fptr and xptr.
4085
4086 2010-03-23 Pedro Alves <pedro@codesourcery.com>
4087
4088 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
4089 format strings and add casts to avoid compiler warnings.
4090
4091 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
4092
4093 * lib/trace-support.exp (gdb_trace_setactions):
4094 Don't expect whitespace after ">" prompt.
4095 * gdb.trace/actions.exp: Adjust for output changes.
4096 * gdb.trace/while-stepping.exp: Likewise.
4097
4098 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4099
4100 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
4101 and r157645).
4102
4103 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4104
4105 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
4106 New.
4107
4108 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
4109
4110 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
4111 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
4112
4113 2010-03-19 Stan Shebs <stan@codesourcery.com>
4114
4115 * gdb.trace/ax.exp: New file.
4116
4117 2010-03-19 Doug Evans <dje@google.com>
4118
4119 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
4120 output from gcc.
4121
4122 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
4123 named /usr/sbin/prelink<foo>.
4124
4125 2010-03-18 Stan Shebs <stan@codesourcery.com>
4126
4127 * gdb.trace/circ.exp: Test circular-trace-buffer.
4128 * gdb.trace/tfile.exp: Update tstatus test.
4129
4130 2010-03-18 Joel Brobecker <brobecker@adacore.com>
4131
4132 * gdb.dwarf2/dw2-anonymous-func.S: New file.
4133 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
4134
4135 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4136
4137 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
4138
4139 2010-03-18 Pedro Alves <pedro@codesourcery.com>
4140
4141 * gdb.base/default.exp: Adjust the expected output of the finish
4142 and until commands when the inferior is not being run.
4143
4144 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
4145
4146 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
4147 * gdb.cp/nsusing.exp: Ditto.
4148
4149 2010-03-15 Tom Tromey <tromey@redhat.com>
4150
4151 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
4152 * gdb.cp/userdef.cc (operator==): New function.
4153 (main): New locals mem1, mem2.
4154
4155 2010-03-15 Jie Zhang <jie@codesourcery.com>
4156
4157 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
4158 Declare and use new loadtimeout variable.
4159
4160 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
4161
4162 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
4163 Use gdb_load later.
4164
4165 2010-03-14 Pedro Alves <pedro@codesourcery.com>
4166
4167 * gdb.base/solib-disc.c (main): Make format of fprintf a string
4168 literal. Add missing endlines to prints to stderr.
4169
4170 2010-03-12 Tom Tromey <tromey@redhat.com>
4171
4172 PR c++/9708:
4173 * gdb.cp/m-static.exp: Add regression test.
4174 * gdb.cp/m-static.cc (method): New method.
4175 (main): Call it.
4176
4177 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
4178
4179 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
4180 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
4181
4182 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4183
4184 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
4185
4186 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
4187
4188 * lib/gdb.exp (skip_stl_tests): New.
4189 (gdb_compile): Symbian needs -ldl.
4190 (shlib_target_file): New.
4191 (shlib_symbol_file): New.
4192 (gdb_load_shlibs): Use shlib_target_file.
4193 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
4194 * gdb.cp/exception.exp: Use skip_stl_tests.
4195 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
4196 * gdb.cp/try_catch.exp: Use skip_stl_tests.
4197 * gdb.cp/mb-templates.exp: Ditto.
4198 * gdb.base/commands.exp: Relax regexes.
4199 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
4200 shlib_target_file and shlib_symbol_file.
4201 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
4202 sections.
4203 * gdb.base/ending-run.exp: Accept E32Main for symbian.
4204 * gdb.base/solib-disc.exp: Use
4205 shlib_target_file and shlib_symbol_file.
4206 * gdb.base/unload.exp: Don't skip on symbian. Use
4207 shlib_target_file and shlib_symbol_file.
4208 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
4209
4210 2010-03-12 Pedro Alves <pedro@codesourcery.com>
4211
4212 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
4213 * gdb.trace/report.exp: Adjust for x86 and x86_64.
4214 Issue a tfind end before looking for a tracepoint frame.
4215 * gdb.trace/tfind.exp: Adjust tstatus output.
4216 Adjust disassembly output.
4217 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
4218
4219 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4220
4221 * gdb.base/break-interp.exp: Create new displacement parameter value
4222 for the test_ld calls.
4223 (reach): New parameter displacement, verify its content. New push of
4224 pf_prefix "reach-$func:". Import global expect_out.
4225 (test_core): New parameter displacement, verify its content. New push
4226 of pf_prefix "core:". New command "set verbose on". Import global
4227 expect_out.
4228 (test_attach): New parameter displacement, verify its content. New
4229 push of pf_prefix "attach:". New command "set verbose on". Import
4230 global expect_out.
4231 (test_ld): New parameter displacement, pass it to the reach, test_core
4232 and test_attach calls and verify its content in the "ld.so exit" test.
4233 * gdb.base/prelink.exp: Remove gdb_exit and final return.
4234 (prelink): Update expected text, use gdb_test.
4235
4236 2010-03-10 Doug Evans <dje@google.com>
4237
4238 * gdb.base/checkpoint.exp: Fix comment.
4239 Lengthen timeout while doing >600 checkpoints test.
4240 Rename duplicate "kill all one" test to keep test names unique.
4241
4242 2010-03-10 Pedro Alves <pedro@codesourcery.com>
4243
4244 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
4245
4246 2010-03-08 Keith Seitz <keiths@redhat.com>
4247
4248 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
4249 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
4250 (dm_type_long): New function.
4251 (dm_type_unsigned_short): New function.
4252 (dm_type_unsigned_long): New function.
4253 (myint): New typedef.
4254 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
4255 long, unsigned shor and long, operator char*, and typedef.
4256 (test_lookup_operator_functions): Add operator char* test.
4257 (test_paddr_operator_functions): Likewise.
4258 (test_paddr_overloaded_functions): Use probe values for
4259 short, long, and unsigned short and long.
4260 (test_paddr_hairy_functions): If the demangler probe detected
4261 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
4262 demangler.
4263 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
4264 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
4265 and "print null_pmf".
4266 Add test "ptype a.*pmf".
4267 * gdb.cp/overload.exp: Allow optional "int" to appear with
4268 "short" and "long".
4269 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
4270 long expect value for men_overload1arg.
4271 Allow "int" to appear with "short" and "long".
4272 When testing "info break", add argument for main (void).
4273 Also allow "int" to appear with "short" and "long".
4274 Ditto with "unsigned" and "long long".
4275 * gdb.java/jmain.exp: Do not enclose methods names in single
4276 quotes.
4277 * gdb.java/jmisc.exp: Likewise.
4278 * gdb.java/jprint.exp: Likewise.
4279 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
4280
4281 From Jan Kratochvil <jan.kratochvil@redhat.com>:
4282 * gdb.cp/exception.exp (backtrace after first throw)
4283 (backtrace after second throw): Allow a namespace before __cxa_throw.
4284 (backtrace after first catch, backtrace after second catch): Allow
4285 a namespace before __cxa_begin_catch.
4286
4287 * gdb.cp/cpexprs.exp: New file.
4288 * gdb.cp/cpexprs.cc: New file.
4289
4290 From Daniel Jacobowitz <dan@codesourcery.com>
4291 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
4292 to use string_to_regexp.
4293 (ctor, dtor): New functions. Use them to match constructor
4294 and destructor function types.
4295 (Top level): Use runto_main.
4296
4297 2010-03-05 Tom Tromey <tromey@redhat.com>
4298
4299 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
4300 gdb.target_charset.
4301 (pp_ns.to_string): Likewise.
4302
4303 2010-03-04 Keith Seitz <keiths@redhat.com>
4304
4305 * gdb.cp/overload.exp: Test that the filename portion of a linespec
4306 can be quoted. Test that both the filename and function/line
4307 portions can be quoted at the same time.
4308
4309 2010-03-04 Pedro Alves <pedro@codesourcery.com>
4310
4311 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
4312
4313 2010-03-03 Doug Evans <dje@google.com>
4314
4315 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
4316 libc contains libpthread.
4317
4318 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
4319 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
4320 of gdb_compile. Add another pattern to match android backtrace.
4321
4322 2010-03-03 Tom Tromey <tromey@redhat.com>
4323
4324 PR gdb/11345:
4325 * gdb.base/printcmds.exp (test_printf): Add test.
4326
4327 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
4328
4329 * gdb.arch/amd64-byte.exp: New.
4330 * gdb.arch/amd64-dword.exp: Likewise.
4331 * gdb.arch/amd64-pseudo.c: Likewise.
4332 * gdb.arch/amd64-word.exp: Likewise.
4333 * gdb.arch/i386-byte.exp: Likewise.
4334 * gdb.arch/i386-pseudo.c: Likewise.
4335 * gdb.arch/i386-word.exp: Likewise.
4336
4337 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
4338
4339 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4340 types. Add structreg, bitfields, and flags registers.
4341 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4342 registers.
4343
4344 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4345
4346 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
4347 (load_description): Set architecture if defined.
4348
4349 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
4350
4351 * gdb.python/py-frame.exp: Add read_var block tests.
4352 * gdb.python/py-frame.c (block): New function.
4353
4354 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4355 Daniel Jacobowitz <dan@codesourcery.com>
4356
4357 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
4358
4359 2010-02-25 David S. Miller <davem@davemloft.net>
4360
4361 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
4362 fix logic for setting all_syscalls_numbers.
4363
4364 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4365
4366 * Makefile.in: Add py-block and py-symbol.
4367 * gdb.python/py-symbol.exp: New File.
4368 * gdb.python/py-symtab.exp: New File.
4369 * gdb.python/py-block.exp: New File.
4370 * gdb.python/py-symbol.c: New File.
4371 * gdb.python/py-block.c: New File.
4372
4373 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4374
4375 PR python/11314
4376 * lib/gdb.exp (skip_python_tests): New function.
4377 * gdb.python/py-cmd.exp: Use skip_python_tests.
4378 * gdb.python/py-frame.exp: Likewise.
4379 * gdb.python/py-function.exp: Likewise.
4380 * gdb.python/py-prettyprint.exp: Likewise.
4381 * gdb.python/py-template.exp: Likewise.
4382 * gdb.python/py-type.exp: Likewise.
4383 * gdb.python/py-value.exp: Likewise.
4384
4385 2010-02-22 Pedro Alves <pedro@codesourcery.com>
4386
4387 PR9605
4388
4389 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4390
4391 2010-02-19 Tom Tromey <tromey@redhat.com>
4392
4393 PR c++/8693, PR c++/9496:
4394 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4395 regression tests.
4396
4397 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4398
4399 Fix compatibility with m68k as.
4400 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4401 Use only /* comments */.
4402
4403 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4404
4405 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4406 * configure: Regenerate.
4407
4408 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4409
4410 * gdb.python/py-type.exp: Check for Python support.
4411
4412 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4413
4414 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4415 `regsub' syntax available.
4416
4417 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4418
4419 * gdb.base/shmain.c (main): Remove printf call.
4420 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4421 * gdb.base/unload.c (main): Make format of fprintf a string
4422 literal. Add missing endlines to prints to stderr.
4423 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4424
4425 2010-02-17 Tom Tromey <tromey@redhat.com>
4426
4427 * gdb.java/jprint.java (jprint.props): New field.
4428 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4429
4430 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4431
4432 * gdb.base/charset.exp: Don't assume new `regsub' syntax
4433 available.
4434
4435 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4436
4437 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4438 creation to support remote host testing.
4439
4440 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4441
4442 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4443 Recognize "command not found".
4444
4445 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4446
4447 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4448 single-stepping.
4449
4450 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4451
4452 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4453 if arguments are not supported.
4454
4455 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4456
4457 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4458 be const or non-const.
4459
4460 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4461
4462 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4463 mi_send_resuming_command to send -exec-continue.
4464
4465 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4466
4467 * gdb.base/list.exp (test_list_filename_and_function): Add test
4468 with single quotes.
4469 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4470 matching.
4471 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4472 Add KFAIL'd tests for PR gdb/11289.
4473
4474 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4475
4476 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4477
4478 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4479
4480 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4481 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4482 a temporary directory.
4483
4484 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4485
4486 * gdb.base/charset.exp: Use a single regular expression to match
4487 show host-charset and show target-charset output.
4488
4489 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4490
4491 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4492 "Illegal process-id" expect string more exact.
4493 (attach to digits-starting nonsense is prohibited): New.
4494
4495 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4496
4497 * gdb.base/prelink.exp (set verbose on): New.
4498
4499 2010-02-12 Tomas Holmberg <th@virtutech.com>
4500
4501 * mi-reverse.exp: New file. Test for reverse option to the
4502 following MI commands: exec-continue, exec-finish, exec-next,
4503 exec-step, exec-next-instruction, exec-step-instruction.
4504
4505 2010-02-09 Joel Brobecker <brobecker@adacore.com>
4506
4507 * gdb.ada/ptype_tagged_param: New testcase.
4508
4509 2010-02-08 Tom Tromey <tromey@redhat.com>
4510
4511 PR c++/8017:
4512 * gdb.cp/overload.exp: Add tests.
4513 * gdb.cp/overload.cc (struct K): New.
4514 (namespace N): New.
4515 (main): Call new functions.
4516 (K::staticoverload): Define.
4517
4518 2010-02-08 Chris Moller <moller@mollerware.com>
4519
4520 PR gdb/10728
4521 * gdb.cp/pr10728-x.h: New file.
4522 * gdb.cp/pr10728-x.cc: New file.
4523 * gdb.cp/pr10728-y.cc: New file.
4524 * gdb.cp/pr10728.exp: New file.
4525 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
4526
4527 2010-02-08 Chris Moller <moller@mollerware.com>
4528
4529 PR gdb/9067
4530 * gdb.cp/pr9067.exp: New
4531 * gdb.cp/pr9067.cc: New
4532 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
4533
4534 2010-02-08 Joel Brobecker <brobecker@adacore.com>
4535
4536 * lib/gdb.exp (gdb_test_timeout): New global variable.
4537 Set it to timeout if not already set.
4538 (gdb_init): Reset the value of timeout to gdb_test_timeout.
4539
4540 2010-02-05 Doug Evans <dje@google.com>
4541
4542 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
4543 user.
4544
4545 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
4546
4547 PR c++/7935:
4548 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
4549
4550 2010-02-04 Tom Tromey <tromey@redhat.com>
4551
4552 * gdb.cp/virtbase.exp: Make test case names unique.
4553
4554 2010-02-02 Tom Tromey <tromey@redhat.com>
4555
4556 * gdb.cp/virtbase.exp: Add regression tests.
4557 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
4558 (main): Instantiate RHC.
4559
4560 2010-02-02 Tom Tromey <tromey@redhat.com>
4561
4562 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
4563 type-printing change.
4564
4565 2010-02-02 Tom Tromey <tromey@redhat.com>
4566
4567 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
4568 * gdb.cp/virtbase.cc: New file.
4569 * gdb.cp/virtbase.exp: New file.
4570 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
4571
4572 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4573
4574 PR libc/11214:
4575 * gdb.threads/current-lwp-dead.c: Include features.h.
4576 (HAS_NOMMU): New.
4577 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
4578
4579 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4580
4581 * gdb.base/symbol-without-target_section.exp,
4582 gdb.base/symbol-without-target_section.c: New.
4583
4584 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4585
4586 * gdb.base/bigcore.exp: Reset increased timeout.
4587 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
4588
4589 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4590
4591 * gdb.base/gcore.exp (capture_command_output): Use
4592 gdb_test_multiple.
4593
4594 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4595
4596 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
4597 * gdb.arch/thumb2-it.exp (test_it_break): New function.
4598 (Top level): Call it.
4599
4600 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4601
4602 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
4603
4604 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4605
4606 * gdb.base/call-strs.exp, gdb.base/default.exp,
4607 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
4608 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
4609 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
4610 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
4611 gdb.base/watchpoint-solib.exp: Save and restore timeout.
4612 * gdb.base/ending-run.exp: Correct restore of timeout.
4613 * gdb.base/page.exp: Remove unnecessary timeout setting.
4614
4615 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4616
4617 * gdb.ada/rec_return: New testcase.
4618
4619 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4620
4621 * gdb.ada/call_pn: New testcase.
4622
4623 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4624
4625 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
4626 (Top level): Use it to resume.
4627 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
4628 the Thumb mode displaced stepping error as unsupported.
4629
4630 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
4631
4632 * gdb.cp/nsusing.exp: Added more tests.
4633 * gdb.cp/nsrecurs.exp: Ditto.
4634 * gdb.cp/nsusing.cc: Added test functions.
4635 * gdb.cp/nsrecurs.cc: Ditto.
4636
4637 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4638
4639 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
4640 absolute directory pathnames in gdb.sum file.
4641
4642 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
4643
4644 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
4645 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
4646
4647 2010-01-26 Tom Tromey <tromey@redhat.com>
4648
4649 PR exp/7643:
4650 * gdb.base/printcmds.exp (test_print_string_constants): Remove
4651 setup_kfail.
4652
4653 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
4654
4655 * gdb.cp/nsrecurs.exp: New test.
4656 * gdb.cp/nsrecurs.cc: New test program.
4657 * gdb.cp/nsstress.exp: New test.
4658 * gdb.cp/nsstress.cc: New test program.
4659 * gdb.cp/nsdecl.exp: New test.
4660 * gdb.cp/nsdecl.cc: New test program.
4661
4662 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
4663
4664 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
4665 imported into file scope.
4666 Marked test as xfail.
4667 * gdb.cp/namespace-using.cc (marker5): New function.
4668 * gdb.cp/shadow.exp: New test.
4669 * gdb.cp/shadow.cc: New test program.
4670 * gdb.cp/nsimport.exp: New test.
4671 * gdb.cp/nsimport.cc: New test program.
4672
4673 2010-01-25 Tom Tromey <tromey@redhat.com>
4674
4675 PR gdb/11049:
4676 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
4677 with "set print null-stop on".
4678
4679 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4680
4681 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
4682 Adjust it for DISASSEMBLY_OMIT_FNAME.
4683
4684 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4685
4686 PR symtab/11199:
4687 * gdb.dwarf2/member-ptr-forwardref.exp,
4688 gdb.dwarf2/member-ptr-forwardref.S: New.
4689
4690 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4691
4692 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
4693 (thread1_func): Protect thread1_tid with thread1_tid_cond by
4694 thread1_tid_mutex. Remove gdbstop_mutex handling.
4695 (thread2_func): Protect thread2_tid with thread2_tid_cond by
4696 thread2_tid_mutex. Remove gdbstop_mutex handling.
4697 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
4698 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
4699 pthread_cond_wait conditionalizations by while loops.
4700
4701 2010-01-20 Tom Tromey <tromey@redhat.com>
4702
4703 PR backtrace/10770:
4704 * gdb.dwarf2/pr10770.exp: New file.
4705 * gdb.dwarf2/pr10770.c: New file.
4706 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
4707
4708 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
4709
4710 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
4711 that target was removed, and the test always runs native anyway.
4712
4713 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4714
4715 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
4716 gdb.base/watchpoint-cond-gone-stripped.c: New.
4717
4718 2010-01-19 Tom Tromey <tromey@redhat.com>
4719
4720 PR c++/8000:
4721 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
4722 existing tests.
4723 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
4724 (main): Use AAA::SomeEnum.
4725
4726 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4727
4728 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
4729 (test_ignore_count): Declare line_callme_body global.
4730 (run to breakpoint with ignore count): Use line_callme_body.
4731 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
4732 (set line_main_hello, set line_main_return): Reindent.
4733 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
4734 New.
4735 (continue to callee4): Use line_callee4_body.
4736 (check *stopped from CLI command): Use line_callee4_next.
4737 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
4738 (set line_main_hello, set line_main_return): Reindent.
4739 (set line_callee4_head, set line_callee4_body): New.
4740 (continue to callee4): Use line_callee4_body.
4741
4742 2010-01-18 Tom Tromey <tromey@redhat.com>
4743
4744 PR c++/9680:
4745 * gdb.cp/casts.cc: Add new classes and variables.
4746 * gdb.cp/casts.exp: Test new operators.
4747
4748 2010-01-18 Tom Tromey <tromey@redhat.com>
4749 Thiago Jung Bauermann <bauerman@br.ibm.com>
4750
4751 * gdb.python/source2.py: New file.
4752 * gdb.python/source1: New file.
4753 * gdb.python/python.exp: Test "source" command.
4754
4755 2010-01-15 Stan Shebs <stan@codesourcery.com>
4756
4757 * gdb.trace/tfile.c: New file.
4758 * gdb.trace/tfile.exp: New file.
4759
4760 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4761
4762 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
4763
4764 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4765
4766 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
4767
4768 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4769
4770 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
4771 (libfunc): New parameter action. Implement also selectable "sleep".
4772 * gdb.base/break-interp-main.c: Include assert.h.
4773 (libfunc): New parameter action.
4774 (main): New parameters argc and argv. Assert argc. Pass argv.
4775 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
4776 (test_attach): New proc.
4777 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
4778 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
4779
4780 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4781
4782 * gdb.base/break-interp.exp (test_core): New proc.
4783 (test_ld): Call it.
4784
4785 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4786
4787 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
4788 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
4789 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
4790 and gdb_compile_shlib. Use new -Wl compiler options.
4791 (dl bt, main bt): New tests.
4792
4793 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4794
4795 Support PIEs with no symfile_objfile.
4796 * gdb.base/break-interp.exp: New argument at the test_ld calls.
4797 (test_ld): New parameter trynosym.
4798 (test_ld <$trynosym>): New block.
4799
4800 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4801
4802 * gdb.base/break-interp.exp: New file.
4803
4804 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
4805
4806 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
4807 * gdb.python/py-prettyprint.py (pp_ls): New printer.
4808 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
4809 test.
4810 * gdb.python/py-prettyprint.c: Define lazystring test structure.
4811 * gdb.python/py-mi.exp: Add lazy string test.
4812
4813 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
4814
4815 * lib/mi-support.exp (mi_check_thread_states): Handle
4816 core number in thread listing.
4817
4818 2010-01-12 Joel Brobecker <brobecker@adacore.com>
4819
4820 * gdb.base/maint.exp: Adjust the expected output for the
4821 "maint print type" test. Use gdb_test_multiple instead of
4822 gdb_sent/gdb_expect.
4823
4824 2010-01-11 Doug Evans <dje@google.com>
4825
4826 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
4827 from gdbserver_download. All callers updated.
4828
4829 * gdb.server/ext-run.exp: "info os processes" requires xml support.
4830
4831 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4832
4833 Implement binary numbers parsing.
4834 * gdb.base/printcmds.exp (test_integer_literals_accepted)
4835 (test_integer_literals_rejected): New binary tests.
4836
4837 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4838
4839 * gdb.cell/configure: Regenerate.
4840
4841 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4842
4843 * gdb.base/corefile.exp: Move the core finding block out and call it as
4844 core_find, new variable $corefile, replace corefile by $corefile and
4845 [file tail $corefile] for usage vs. test names resp.
4846 * lib/gdb.exp (core_find): Move it as a new function here. New
4847 parameter binfile and deletefiles. New variable $destcore. Pre-delete
4848 $destcore. Return "" on error.
4849
4850 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4851
4852 Workaround PR binutils/10802.
4853 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
4854 (twice).
4855
4856 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4857
4858 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
4859
4860 2010-01-08 Joel Brobecker <brobecker@adacore.com>
4861
4862 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
4863 call, to avoid interruption.
4864
4865 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4866
4867 * gdb.stabs/weird.def (args93): New.
4868
4869 2010-01-07 Doug Evans <dje@google.com>
4870
4871 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
4872
4873 2010-01-07 Tom Tromey <tromey@redhat.com>
4874
4875 * gdb.base/source.exp: Use correct line number.
4876
4877 2010-01-05 Stan Shebs <stan@codesourcery.com>
4878
4879 * gdb.trace/tracecmd.exp: Test ftrace.
4880
4881 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4882
4883 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
4884
4885 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4886
4887 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
4888 "uint_for_mi_testing".
4889
4890 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4891
4892 Test indented comment in file being sourced.
4893 * gdb.base/commands.exp: Test indented comment in file being sourced.
4894
4895 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4896
4897 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
4898 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
4899 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
4900 notice.
4901
4902 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4903
4904 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
4905 notice.
4906
4907 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4908
4909 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
4910 missing $after_stopped and comma (,) expectation.
4911
4912 2009-12-31 Stan Shebs <stan@codesourcery.com>
4913
4914 * gdb.trace/actions.exp: Test teval action.
4915
4916 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4917
4918 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
4919 (top level): Call test_watchpoint_in_big_blob.
4920 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
4921 watchpoints.
4922 (func3): Write to buf.
4923
4924 2009-12-29 Stan Shebs <stan@codesourcery.com>
4925
4926 * gdb.trace/actions.exp: Test default-collect.
4927
4928 2009-12-28 Stan Shebs <stan@codesourcery.com>
4929
4930 * gdb.trace/tsv.exp: New file.
4931 * gdb.base/completion.exp: Update ambiguous info output.
4932
4933 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
4934
4935 * gdb.base/find.c (main): Reference search buffers.
4936 * gdb.base/included.c (main): Reference integer.
4937 * gdb.base/ptype.c (charfoo): Declare.
4938 (intfoo): Call charfoo.
4939 * gdb.base/scope0.c (useitp): New function.
4940 (usestatics): Use useitp.
4941 (useit): Add a type for val.
4942 * gdb.base/scope1.c (useit1): Take a pointer argument.
4943 (usestatics1): Update calls to useit1.
4944 * gdb.cp/call-c.cc: Declare foo.
4945 (main): Call foo.
4946 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
4947 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
4948 (main): Call C::ensureRefs and ensureOtherRefs.
4949 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
4950 variables.
4951 (ensureOtherRefs): New function.
4952 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
4953 * gdb.cp/templates.cc (main): Call t5i.value.
4954
4955 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4956
4957 Fix compatibility with G++-4.5.
4958 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
4959 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
4960 (uncaught return): Remove.
4961
4962 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4963 Phil Muldoon <pmuldoon@redhat.com>
4964
4965 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
4966 (bp_location13, bp_location14, bp_location17, bp_location18)
4967 (marker3_proto, marker4_proto): New variables.
4968 (breakpoint info): Update output.
4969 (run until breakpoint at marker3, run until breakpoint at marker4): New
4970 tests.
4971
4972 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4973
4974 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
4975 Replace the printf call of Y by provided "y-set-1" label. New block
4976 for the second shared library.
4977 * gdb.base/unload.exp: Compile also the second library, call
4978 gdb_load_shlibs also for it. Use now gdb_breakpoint.
4979 (single pending breakpoint info): Rename to ...
4980 (pending breakpoint info before run): ... this extended test.
4981 (libfile2, libname2, libsrcfile2, libsrc2)
4982 (lib_sl2): New variables.
4983 (exec_opts): Set also SHLIB_NAME2.
4984 (pending breakpoint info on first run at shrfunc1)
4985 (pending breakpoint info on second run at shrfunc1)
4986 (pending breakpoint info on second run at shrfunc2)
4987 (print y from libfile, print y from libfile2): New tests.
4988 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
4989 * gdb.base/unloadshr2.c: New.
4990
4991 2009-12-22 Hui Zhu <teawater@gmail.com>
4992
4993 * gdb.reverse/sigall-reverse.exp: Adjust.
4994
4995 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
4996
4997 PR gdb/10884
4998
4999 * gdb.mi/var-cmd.c (do_bitfield_tests): New
5000 (main): Call do_bitfield_tests.
5001 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
5002
5003 2009-12-20 Joel Brobecker <brobecker@adacore.com>
5004
5005 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
5006 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
5007 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
5008 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
5009 gdb.modula2/unbounded1.c: Update copyright header.
5010
5011 2009-12-10 Chris Moller <moller@mollerware.com>
5012
5013 PR gdb/9399
5014 * gdb.cp/virtfunc2.exp: New tests
5015 * gdb.cp/virtfunc2.cc: New tests
5016 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
5017
5018 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
5019
5020 * gdb.reverse/i387-env-reverse.c: New file.
5021 * gdb.reverse/i387-env-reverse.exp: New file.
5022 * gdb.reverse/i387-stack-reverse.c: New file.
5023 * gdb.reverse/i387-stack-reverse.exp: New file.
5024
5025 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
5026
5027 * gdb.python/py-type.exp (test_range): New test.
5028
5029 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
5030
5031 PR python/10805
5032
5033 * gdb.python/py-type.exp: New file.
5034 * gdb.python/py-type.c: New file.
5035 * Makefile.in: Add py-type.
5036
5037 2009-12-03 Tom Tromey <tromey@redhat.com>
5038
5039 * gdb.python/py-value.exp (test_parse_and_eval): New
5040 function.
5041
5042 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5043
5044 PR gdb/11022
5045
5046 * gdb.base/pr11022.exp: New test.
5047 * gdb.base/pr11022.c: New test.
5048
5049 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5050
5051 Fix spurious false FAILs.
5052 * gdb.base/structs.c (chartest): New.
5053 (main): Fill-in chartest.
5054 * gdb.base/structs.exp (anychar_re, first): New.
5055 (start_structs_test): Import global anychar_re and first.
5056 New gdb_test call "set print elements 300; ${testfile}"
5057 (start_structs_test <$first>): New block.
5058 (any): Import global anychar_re. New variable ac. Use ${ac}.
5059
5060 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5061
5062 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
5063
5064 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5065
5066 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
5067 Force $srcfile file.
5068 * gdb.base/foll-fork.c (callee): Comment out the printf call.
5069
5070 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5071
5072 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
5073 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5074 * gdb.threads/watchthreads-reorder.exp: Likewise.
5075
5076 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
5077
5078 PR gdb/8704
5079
5080 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
5081 "if", and "thread". Correct matching in the previous test.
5082
5083 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
5084
5085 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
5086
5087 2009-11-23 Michael Snyder <msnyder@vmware.com>
5088
5089 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
5090 * gdb.reverse-watch-precsave.exp: Ditto.
5091
5092 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
5093
5094 * gdb.asm/asm-source.exp: Adjust.
5095 * gdb.base/help.exp: Adjust.
5096
5097 2009-11-22 Pedro Alves <pedro@codesourcery.com>
5098
5099 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
5100 (do_syscall_tests_without_xml): Set data-directory to
5101 /the/path/to/nowhere.
5102
5103 2009-11-21 Pedro Alves <pedro@codesourcery.com>
5104
5105 * gdb.threads/local-watch-wrong-thread.c,
5106 gdb.threads/local-watch-wrong-thread.exp: New files.
5107
5108 2009-11-21 Pedro Alves <pedro@codesourcery.com>
5109
5110 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
5111 assume new `regsub' syntax available.
5112
5113 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5114
5115 * gdb.base/watchpoint-hw-hit-once.exp,
5116 gdb.base/watchpoint-hw-hit-once.c: New.
5117
5118 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5119
5120 * gdb.threads/watchthreads-reorder.exp,
5121 gdb.threads/watchthreads-reorder.c: New.
5122
5123 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
5124
5125 * gdb.xml/tdesc-regs.exp: Use for m68k.
5126
5127 2009-11-15 Pedro Alves <pedro@codesourcery.com>
5128
5129 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
5130
5131 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5132
5133 * lib/gdb.exp (current_target_name): New procedure.
5134 (gdb_wrapper_target): New variable.
5135 (gdb_wrapper_init): Set gdb_wrapper_target.
5136 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
5137 wrapper.
5138
5139 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5140
5141 * gdb.base/remote.exp: Delete the slowest load test.
5142 Do not load with fixed packet sizes.
5143
5144 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5145
5146 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
5147
5148 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5149
5150 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
5151 srcfile when setting a breakpoint.
5152
5153 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
5154
5155 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
5156 macros.
5157
5158 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
5159
5160 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
5161 to be in memory.
5162 * gdb.base/display.c (force_mem): New.
5163 (do_loops): Use it. Add breakpoint comments.
5164 (do_vars): Add a breakpoint comment.
5165 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
5166 line numbers.
5167
5168 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
5169
5170 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
5171 instead of a bare "run".
5172
5173 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
5174
5175 * gdb.python/py-prettyprint.exp: Adjust.
5176
5177 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5178
5179 * lib/cell.exp (skip_cell_tests): Clean up test files before
5180 returning.
5181
5182 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5183
5184 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
5185 and the breakpoint menu. Do not call perror if a prompt is seen.
5186 Consume the following GDB prompt.
5187 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
5188 * gdb.cp/namespace.exp: Use gdb_test.
5189 * gdb.cp/templates.exp: Use gdb_test.
5190 (test_template_breakpoints): Use gdb_test_multiple.
5191
5192 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5193
5194 * gdb.base/break1.c (struct some_struct, values): Move earlier.
5195 (marker4): Reference values.
5196
5197 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5198
5199 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
5200 is missing.
5201
5202 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5203
5204 * gdb.base/break.c (need_malloc): New.
5205 * gdb.base/constvars.c (main): Reference crass and crisp.
5206 * gdb.base/gdb1821.c (main): Reference bar.
5207 * gdb.cp/gdb1355.cc (main): Reference s1.
5208 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
5209 (main): Call them.
5210 * gdb.cp/hang2.cc (dummy2): Define.
5211 * gdb.cp/hang3.cc (dummy3): Define.
5212 * gdb.cp/m-data.cc (main): Reference shadow.
5213
5214 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
5215 Nathan Froyd <froydnj@codesourcery.com>
5216
5217 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
5218 remote host.
5219
5220 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
5221
5222 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
5223 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
5224 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5225 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5226 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5227 * gdb.dwarf2/dw2-producer.exp: Likewise.
5228 * gdb.dwarf2/mac-fileno.exp: Likewise.
5229 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
5230 py-prettyprint.py to the remote host.
5231 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
5232
5233 2009-11-11 Keith Seitz <keiths@redhat.com>
5234
5235 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
5236 use it instead of "Foo".
5237 * gdb.cp/classes.exp (do_tests): Add a test to access
5238 a method through a typedef'd class name.
5239
5240 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
5241
5242 * gdb.base/long_long.exp: Permit leading zeros on floating-point
5243 exponents.
5244 * gdb.base/pointers.exp: Likewise.
5245 * gdb.cp/ref-types.exp: Likewise.
5246
5247 2009-11-11 Keith Seitz <keiths@redhat.com>
5248
5249 * gdb.cp/cplusfuncs.cc (class foo): Add operators
5250 new[] and delete[].
5251 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
5252 "void".
5253 (probe_demangler): Remove all single-quoting of
5254 method and variable names.
5255 (info_func_regexp): Remove the word "void" from any
5256 occurrence of "(void)".
5257 (print_addr_2): Remove all single-quoting of
5258 method names.
5259 (print_addr_2_kfail): Likewise.
5260 (print_addr): Single-quote C function names before
5261 passing to print_addr_2.
5262 (test_paddr_operator_functions): Remove single-quoting
5263 for method names.
5264 Add tests for operator new[] and operator delete[].
5265
5266 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5267
5268 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
5269
5270 2009-11-09 Keith Seitz <keiths@redhat.com>
5271
5272 * gdb.cp/overload.exp: Add tests for resolving overloaded
5273 methods in expression parsing/evaluation.
5274
5275 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
5276
5277 * lib/gdb.exp (default_gdb_version): Use --version instead of
5278 --command.
5279
5280 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
5281
5282 * lib/gdb.exp (gdb_compile_test): New.
5283 (skip_ada_tests, skip_java_tests): New.
5284 (gdb_compile): Use gdb_compile_test for f77.
5285 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
5286 * lib/java.exp (compile_java_from_source): Remove runtests check,
5287 use gdb_compile_test to record result.
5288 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
5289 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
5290 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
5291 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
5292 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
5293 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
5294 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
5295 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
5296 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
5297 adjust gdb_compile invocations.
5298
5299 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5300
5301 * Makefile.in (abs_builddir): New.
5302 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
5303 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
5304 `$(abs_builddir)/site.exp'.
5305
5306 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
5307
5308 * config/m68k-emc.exp, lib/emc-support.exp,
5309 gdb.trace/gdb_c_test.c: Delete.
5310 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
5311 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5312 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5313 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5314 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5315 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
5316 casing for m68k-*-elf.
5317
5318 2009-11-03 Pedro Alves <pedro@codesourcery.com>
5319
5320 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
5321 * gdb.arch/i386-prologue.exp: Likewise.
5322 * gdb.arch/i386-unwind.exp: Likewise.
5323
5324 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5325
5326 * lib/gdb.exp (gdb_expect): Fix timeout typo.
5327
5328 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5329
5330 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
5331
5332 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5333
5334 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
5335
5336 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5337
5338 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
5339
5340 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5341
5342 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5343 * gdb.base/sepdebug2.c: New file.
5344
5345 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5346
5347 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
5348 the modified warnings for catch syscall. Verify if GDB was compiled
5349 with support for lib expat, and choose which tests to run depending
5350 on this.
5351
5352 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
5353
5354 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
5355 that composite commands are parsed OK. And also test
5356 that breakpoint commands do work.
5357
5358 2009-10-23 Michael Snyder <msnyder@vmware.com>
5359
5360 gdb.reverse/consecutive-precsave.exp: Change expect pattern
5361 to allow for new disassembly style.
5362
5363 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5364
5365 * gdb.asm/asm-source.exp: Adjust.
5366
5367 2009-10-22 Michael Snyder <msnyder@vmware.com>
5368
5369 * gdb.reverse/break-precsave.exp: New test.
5370 * gdb.reverse/consecutive-precsave.exp: Ditto.
5371 * gdb.reverse/finish-precsave.exp: Ditto.
5372 * gdb.reverse/i386-precsave.exp: Ditto.
5373 * gdb.reverse/machinestate-precsave.exp: Ditto.
5374 * gdb.reverse/sigall-precsave.exp: Ditto.
5375 * gdb.reverse/solilb-precsave.exp: Ditto.
5376 * gdb.reverse/step-precsave.exp: Ditto.
5377 * gdb.reverse/until-precsave.exp: Ditto.
5378 * gdb.reverse/watch-precsave.exp: Ditto.
5379
5380 2009-10-22 Michael Snyder <msnyder@vmware.com>
5381
5382 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
5383 for gdb_expect. Adjust one test's expect strings for the new
5384 format of disassemble.
5385 * gdb.reverse/finish-reverse.exp: Delete 'return'.
5386 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
5387 gdb_test_multiple.
5388 * gdb.reverse/step-reverse.exp: Delete 'return'.
5389 * gdb.reverse/until-reverse.exp: Delete blank lines.
5390 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5391
5392 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5393
5394 * gdb.base/consecutive.exp: Adjust.
5395 * gdb.base/display.exp: Likewise.
5396 * gdb.base/pc-fp.exp: Likewise.
5397 * gdb.base/sigbpt.exp: Likewise.
5398
5399 2009-10-19 Michael Snyder <msnyder@vmware.com>
5400
5401 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5402 * gdb.reverse/finish-reverse.c: Ditto.
5403 * gdb.reverse/sigall-reverse.c: Ditto.
5404 * gdb.reverse/solib-reverse.c: Ditto.
5405 * gdb.reverse/step-reverse.c: Ditto.
5406 * gdb.reverse/watch-reverse.c: Ditto.
5407
5408 2009-10-19 Pedro Alves <pedro@codesourcery.com>
5409 Stan Shebs <stan@codesourcery.com>
5410
5411 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5412 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5413 "Executing new program".
5414 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5415 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5416 left listed after having been killed.
5417 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5418 * gdb.base/maint.exp: Adjust test.
5419
5420 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5421 * gdb.multi/Makefile.in: New.
5422 * gdb.multi/base.exp: New.
5423 * gdb.multi/goodbye.c: New.
5424 * gdb.multi/hangout.c: New.
5425 * gdb.multi/hello.c: New.
5426 * gdb.multi/bkpt-multi-exec.c: New.
5427 * gdb.multi/bkpt-multi-exec.exp: New.
5428 * gdb.multi/crashme.c: New.
5429
5430 2009-10-13 Tristan Gingold <gingold@adacore.com>
5431
5432 * gdb.base/sepdebug.exp: Check debug info are found.
5433
5434 2009-10-08 Pedro Alves <pedro@codesourcery.com>
5435
5436 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5437 bits.
5438
5439 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5440
5441 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5442
5443 2009-10-07 Joel Brobecker <brobecker@adacore.com>
5444
5445 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5446 of the comments.
5447
5448 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5449
5450 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5451 * gdb.base/annota3.exp: Idem.
5452 * gdb.base/maint.exp: Idem.
5453
5454 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5455
5456 * lib/gdb.exp (default_gdb_init): Set current value of match_max
5457 to default.
5458
5459 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5460
5461 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
5462 mingw and cygwin targets.
5463
5464 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5465 Pedro Alves <pedro@codesourcery.com>
5466
5467 * lib/gdb.exp (gdb_compile): Avoid adding
5468 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5469
5470 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5471
5472 * gdb.base/shr1.c: Use %p in format string.
5473 * gdb.base/unload.c: Avoid warning in fprintf.
5474 * gdb.base/watchpoint-solib.c: Idem.
5475
5476 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5477
5478 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5479 long type.
5480 (test_unlink): Correct printf string.
5481 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5482 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5483
5484 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5485
5486 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5487 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5488 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5489
5490 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5491
5492 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5493 * gdb.objc/nondebug.exp: Likewise.
5494
5495 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5496
5497 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5498 target_info setting.
5499
5500 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5501 that detect new threads during "info threads".
5502
5503 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5504
5505 * gdb.threads/manythreads.c (main): Increase thread stack size
5506 to 2*PTHREAD_STACK_MIN.
5507 * gdb.threads/multi-create.c (main): Likewise.
5508 (create_function): Likewise.
5509
5510 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5511
5512 * gdb.base/dump.exp: Pass difference of pointer types instead
5513 of integer types as offset to restore in intarr3.srec case.
5514
5515 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5516
5517 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5518
5519 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5520
5521 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5522
5523 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
5524
5525 New test for two watchpoints, with disabling of
5526 the first inserted.
5527 * testsuite/gdb.base/watchpoints.c: New file.
5528 * testsuite/gdb.base/watchpoints.exp: New file.
5529
5530 2009-09-25 Tom Tromey <tromey@redhat.com>
5531
5532 * gdb.base/charset.exp: Test utf-16 strings with Python.
5533
5534 2009-09-25 Tom Tromey <tromey@redhat.com>
5535
5536 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
5537 UCS-4.
5538 * gdb.base/charset.c (utf_32_string): Rename.
5539 (init_utf32): Rename.
5540 (main): Update.
5541
5542 2009-09-22 Tom Tromey <tromey@redhat.com>
5543
5544 * gdb.python/py-function.exp: Add regression tests.
5545
5546 2009-09-21 Keith Seitz <keiths@redhat.com>
5547
5548 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
5549 with invalid operator.
5550
5551 2009-09-21 Keith Seitz <keiths@redhat.com>
5552
5553 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
5554 and destructor using typedef name of class.
5555 * gdb.cp/classes.cc (class Base1): Add a destructor.
5556 (base1): New typedef.
5557 (use_methods): Instanitate an object of type base1.
5558 * gdb.cp/templates.exp (test_template_typedef): New procedure.
5559 (do_tests): Call test_template_typedef.
5560 * gdb.cp/templates.cc (Baz::~Baz): New method.
5561 (intBazOne): New typedef.
5562 (main): Instantiate intBazOne.
5563
5564 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5565
5566 PR python/10633
5567
5568 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
5569 Function.
5570 (run_lang_tests): Add print elements test.
5571
5572 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5573
5574 * gdb.python/py-value.exp (test_subscript_regression): New
5575 function. Test for invalid subscripts.
5576 * gdb.python/py-value.c (main): Add test array, and pointer to it.
5577 (ptr_ref): New function.
5578
5579 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5580
5581 * gdb.base/default.exp: Fix "show convenience".
5582
5583 2009-09-15 Tom Tromey <tromey@redhat.com>
5584
5585 * lib/mi-support.exp (mi_create_varobj): Update.
5586 (mi_create_floating_varobj): Likewise.
5587 (mi_create_dynamic_varobj): New proc.
5588 (mi_varobj_update): Update.
5589 (mi_varobj_update_with_type_change): Likewise.
5590 (mi_varobj_update_kv_helper): New proc.
5591 (mi_varobj_update_dynamic_helper): Rewrite.
5592 (mi_varobj_update_dynamic): New proc.
5593 (mi_list_varobj_children): Update.
5594 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
5595 * gdb.python/python-prettyprint.py (pp_outer): New class.
5596 (pp_nullstr): Likewise.
5597 (lookup_function): Register new printers.
5598 * gdb.python/python-prettyprint.c (struct substruct): New type.
5599 (struct outerstruct): Likewise.
5600 (substruct_test): New function.
5601 (struct nullstr): New type.
5602 (string_1, string_2): New globals.
5603 (main): Add new tests.
5604 * gdb.python/python-mi.exp: Added regression tests.
5605 * gdb.mi/mi2-var-display.exp: Update.
5606 * gdb.mi/mi2-var-cmd.exp: Update.
5607 * gdb.mi/mi2-var-child.exp: Update.
5608 * gdb.mi/mi2-var-block.exp: Update.
5609 * gdb.mi/mi-var-invalidate.exp: Update.
5610 * gdb.mi/mi-var-display.exp: Update.
5611 * gdb.mi/mi-var-cmd.exp: Update.
5612 * gdb.mi/mi-var-child.exp: Update.
5613 * gdb.mi/mi-var-block.exp: Update.
5614 * gdb.mi/mi-break.exp: Update.
5615 * gdb.mi/gdb701.exp: Update.
5616
5617 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5618
5619 * Makefile.in: Inclusion of catch-syscall object.
5620 * gdb.base/catch-syscall.c: New file.
5621 * gdb.base/catch-syscall.exp: New file.
5622
5623 2009-09-12 Michael Snyder <msnyder@vmware.com>
5624
5625 * gdb.reverse/step-reverse.exp: Explicitly check for targets
5626 that can support reverse debuggnig.
5627
5628 2009-09-11 Tom Tromey <tromey@redhat.com>
5629
5630 * gdb.dwarf2/valop.S: New file.
5631 * gdb.dwarf2/valop.exp: New file.
5632
5633 2009-09-11 Mark Kettenis <kettenis@gnu.org>
5634
5635 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
5636
5637 2009-09-10 Doug Evans <dje@google.com>
5638
5639 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
5640 Add $gdb_prompt to second breakpoint regexp.
5641
5642 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
5643
5644 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
5645 names, add missing ones.
5646 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
5647 * gdb.python/py-frame.c: Rename from python-frame.c.
5648 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
5649 testfile name.
5650 * gdb.python/py-function.exp: Rename from python-function.exp.
5651 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
5652 testfile name.
5653 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
5654 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
5655 Adjust testfile name.
5656 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
5657 * gdb.python/py-template.cc: Rename from python-template.cc.
5658 * gdb.python/py-template.exp: Rename from python-template.exp.
5659 Adjust testfile name.
5660 * gdb.python/py-value.c: Rename from python-value.c.
5661 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
5662 testfile name.
5663
5664 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5665
5666 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
5667 $bpt2address.
5668 (Second breakpoint address is valid on ia64)
5669 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
5670
5671 2009-09-03 Joseph Myers <joseph@codesourcery.com>
5672
5673 * gdb.base/ending-run.exp: Restrict regular expression matching
5674 line number to require closing brace following.
5675
5676 2009-09-03 Doug Evans <dje@google.com>
5677
5678 * gdb.base/store.exp (check_set): Fix typo in expected value message.
5679
5680 2009-09-02 Tom Tromey <tromey@redhat.com>
5681
5682 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
5683
5684 2009-09-02 Tom Tromey <tromey@redhat.com>
5685
5686 * gdb.dwarf2/callframecfa.exp: New file.
5687 * gdb.dwarf2/callframecfa.S: New file.
5688
5689 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5690
5691 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
5692 gdb.base/solib-overlap-main.c: New.
5693
5694 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
5695
5696 PR gdb/10565
5697
5698 * gdb.base/bitfields.c (struct container, container): New.
5699 (main): Initialize it and call break5.
5700 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
5701
5702 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5703
5704 Support constant DW_AT_data_member_location by GCC PR debug/40659.
5705 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
5706
5707 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5708
5709 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
5710
5711 2009-08-26 Michael Snyder <msnyder@vmware.com>
5712
5713 * gdb.base/i386-reverse.c: New file.
5714 * gdb.base/i386-reverse.exp: New file.
5715 * gdb.base/Makefile.in: Add new files to be removed.
5716
5717 2009-08-26 Joseph Myers <joseph@codesourcery.com>
5718
5719 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
5720 environment-pwd for remote host.
5721 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
5722
5723 2009-08-24 Keith Seitz <keiths@redhat.com>
5724
5725 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
5726 Add two new C++ completer tests which limit the output to a
5727 given class.
5728
5729 2009-08-24 Michael Snyder <msnyder@vmware.com>
5730
5731 * gdb.base/del.exp: Fix typo in comment.
5732 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
5733
5734 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5735
5736 * configure: Regenerate.
5737 * gdb.hp/configure: Likewise.
5738 * gdb.hp/gdb.aCC/configure: Likewise.
5739 * gdb.hp/gdb.base-hp/configure: Likewise.
5740 * gdb.hp/gdb.compat/configure: Likewise.
5741 * gdb.hp/gdb.defects/configure: Likewise.
5742 * gdb.hp/gdb.objdbg/configure: Likewise.
5743 * gdb.stabs/configure: Likewise.
5744
5745 2009-08-19 Doug Evans <dje@google.com>
5746
5747 * gdb.base/gdbvars.c: New file.
5748 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
5749
5750 2009-08-14 Pedro Alves <pedro@codesourcery.com>
5751
5752 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5753 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
5754
5755 2009-08-13 Pedro Alves <pedro@codesourcery.com>
5756
5757 * gdb.base/default.exp: Adjust "set language test": it's now an
5758 enum command. Larger help string moved to "help set language".
5759 * gdb.base/help.exp: Adjust "help set language" expected output,
5760 now lists all known languages.
5761
5762 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
5763
5764 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
5765 all frame arguments.
5766 * gdb.arch/altivec-regs.exp: Likewise.
5767
5768 2009-08-07 Tom Tromey <tromey@redhat.com>
5769
5770 * gdb.base/setshow.exp: Add tests for changes to set language, set
5771 check range, and set check type.
5772
5773 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
5774
5775 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
5776 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
5777 Call it.
5778
5779 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5780
5781 * configure.ac: Run gdb.cell tests when appropriate.
5782 * configure: Regenerate.
5783 * lib/cell.exp: New file.
5784 * gdb.cell: New directory.
5785 * gdb.cell/configure.ac: New file.
5786 * gdb.cell/configure: New file.
5787 * gdb.cell/Makefile.in: New file.
5788 * gdb.cell/arch.exp: New file.
5789 * gdb.cell/break.c: New file.
5790 * gdb.cell/break.exp: New file.
5791 * gdb.cell/break-spu.c: New file.
5792 * gdb.cell/bt.c: New file.
5793 * gdb.cell/bt2-spu.c: New file.
5794 * gdb.cell/bt-spu.c: New file.
5795 * gdb.cell/bt.exp: New file.
5796 * gdb.cell/coremaker.c: New file.
5797 * gdb.cell/coremaker-spu.c: New file.
5798 * gdb.cell/core.exp: New file.
5799 * gdb.cell/gcore.exp: New file.
5800 * gdb.cell/data.c: New file.
5801 * gdb.cell/data.exp: New file.
5802 * gdb.cell/data-spu.c: New file.
5803 * gdb.cell/ea-cache.exp: New file.
5804 * gdb.cell/ea-cache.c: New file.
5805 * gdb.cell/ea-cache-spu.c: New file.
5806 * gdb.cell/ea-standalone.c: New file.
5807 * gdb.cell/ea-standalone.exp: New file.
5808 * gdb.cell/ea-test.c: New file.
5809 * gdb.cell/ea-test.exp: New file.
5810 * gdb.cell/f-regs.exp: New file.
5811 * gdb.cell/mem-access.c: New file.
5812 * gdb.cell/mem-access.exp: New file.
5813 * gdb.cell/mem-access-spu.c: New file.
5814 * gdb.cell/ptype.exp: New file.
5815 * gdb.cell/registers.exp: New file.
5816 * gdb.cell/size.c: New file.
5817 * gdb.cell/sizeof.exp: New file.
5818 * gdb.cell/size-spu.c: New file.
5819 * gdb.cell/solib.exp: New file.
5820 * gdb.cell/solib-symbol.exp: New file.
5821
5822 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5823
5824 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
5825
5826 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5827
5828 * gdb.base/float.exp: Handle VFP registers.
5829
5830 2009-07-14 Michael Snyder <msnyder@vmware.com>
5831
5832 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
5833 to bring gdb to the beginning of the calling line.
5834
5835 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
5836 confusing the i386 epilogue unwinder.
5837
5838 2009-07-14 Stan Shebs <stan@codesourcery.com>
5839
5840 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
5841
5842 2009-07-14 Michael Snyder <msnyder@vmware.com>
5843
5844 * gdb.reverse/step-reverse.exp (stepi into function call):
5845 Call instruction may not be first instruction in the line.
5846 (reverse stepi from a function call): Used wrong line number.
5847
5848 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5849
5850 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
5851
5852 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5853
5854 Fix gdb.base/macscp.exp when using custom inputrc.
5855 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
5856 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
5857 env(TERM) set.
5858 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
5859 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
5860
5861 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5862
5863 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
5864 * gdb.base/annota1.exp (thread_test): Import global $testfile.
5865 Change the compilation target to match the testcase name.
5866 * gdb.base/sect-cmd.exp: Change the compilation target to match the
5867 testcase name.
5868 * a2-run.exp: Use for setup prepare_for_testing. Change the
5869 compilation target to match the testcase name.
5870 * gdb.base/commands.exp: Likewise.
5871 * gdb.base/finish.exp: Likewise.
5872 * gdb.base/float.exp: Likewise.
5873 * gdb.base/info-target.exp: Likewise.
5874 * gdb.base/relational.exp: Likewise.
5875 * gdb.base/term.exp: Likewise.
5876 * gdb.base/until.exp: Likewise.
5877 * gdb.base/volatile.exp: Likewise.
5878 * gdb.base/whatis-exp.exp: Likewise.
5879
5880 2009-07-11 Hui Zhu <teawater@gmail.com>
5881
5882 * gdb.base/help.exp (disassemble): Update expected help text.
5883
5884 2009-07-09 Tom Tromey <tromey@redhat.com>
5885
5886 * lib/gdb.exp: Handle TRANSCRIPT.
5887 (remote_spawn, remote_close, send_gdb): New procs.
5888
5889 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
5890
5891 * gdb.python/python-prettyprint.c: Add counted null string
5892 structure.
5893 * gdb.python/python-prettyprint.exp: Print null string. Test for
5894 embedded nulls.
5895 * gdb.python/python-prettyprint.py (pp_ns): New Function.
5896 * gdb.python/python-value.exp (test_value_in_inferior): Add
5897 variable length string fetch tests.
5898 * gdb.python/python-value.c (main): Add strings for string fetch tests.
5899
5900 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5901
5902 * gdb.base/dump.exp (inaccessible memory is reported): New test.
5903
5904 2009-07-07 Tom Tromey <tromey@redhat.com>
5905
5906 * gdb.base/call-rt-st.exp: Update for change to escape output.
5907 * gdb.base/callfuncs.exp: Likewise.
5908 * gdb.base/charset.exp: Likewise.
5909 * gdb.base/constvars.exp: Likewise.
5910 * gdb.base/long_long.exp: Likewise.
5911 * gdb.base/pointers.exp: Likewise.
5912 * gdb.base/printcmds.exp: Likewise.
5913 * gdb.base/setvar.exp: Likewise.
5914 * gdb.base/store.exp: Likewise.
5915 * gdb.cp/ref-types.exp: Likewise.
5916 * gdb.mi/mi-var-child.exp: Likewise.
5917 * gdb.mi/mi-var-display.exp: Likewise.
5918 * gdb.mi/mi2-var-display.exp: Likewise.
5919 * gdb.base/charset.exp: Test octal escape sequence length.
5920 Update for change to escape output.
5921
5922 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5923
5924 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
5925
5926 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
5927
5928 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
5929
5930 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5931
5932 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
5933 gdbserver increasing $portnum if "Can't bind address" has been seen.
5934
5935 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5936
5937 * gdb.base/ending-run.exp: Add "step out of main" pattern for
5938 mingw32ce.
5939
5940 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5941
5942 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
5943 VFP format.
5944
5945 2009-07-02 Pedro Alves <pedro@codesourcery.com>
5946
5947 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
5948 linux. Adjust to use "inferior", "info inferiors", "detach
5949 inferior" and "kill inferior" instead of "restart", "info fork",
5950 "detach fork" and "delete fork".
5951 * gdb.base/ending-run.exp: Spell out "info".
5952 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
5953 the "kill" command.
5954
5955 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5956
5957 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
5958 change to prefix TLS offset in hex with 0x.
5959
5960 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5961
5962 * gdb.base/default.exp: Update test case for "x" changes.
5963
5964 2009-07-01 Tristan Gingold <gingold@adacore.com>
5965
5966 * gdb.base/bigcore.exp: Make darwin untested.
5967
5968 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5969
5970 * gdb.base/completion.exp (directory completion): Create the directory.
5971 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
5972 escapeuniquesub.
5973 (directory completion 2): Expect now ${escapeuniquesub}.
5974 (Glob remaining of directory test): Remove one excessive newline.
5975 Expect the real output.
5976
5977 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5978
5979 Fix `make check//%' target after `make check' has been ran.
5980 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
5981 a mkdir call.
5982 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
5983 (%/.dir): Remove.
5984
5985 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5986
5987 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
5988 the expected result record.
5989
5990 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5991
5992 Remove racy FAILs relying just on the timeouts.
5993 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
5994 (annotation_level 2): Remove racy FAILs.
5995
5996 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
5997
5998 gdb/10275
5999 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
6000
6001 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
6002
6003 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
6004
6005 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
6006
6007 * gdb.mi/mi-stack.exp: Testing symbolic options
6008 to -stack-list-locals and -stack-list-arguments.
6009
6010 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6011
6012 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
6013
6014 2009-06-29 Tom Tromey <tromey@redhat.com>
6015
6016 * dg-extract-results.sh: New file.
6017 * Makefile.in (FORCE_PARALLEL): New variable.
6018 (CHECK_TARGET): New conditional variable.
6019 (check): Use CHECK_TARGET.
6020 (DO_RUNTEST): New variable.
6021 (check-single): New target.
6022 (TEST_DIRS): New variable.
6023 (TEST_TARGETS): Likewise.
6024 (check-parallel): New target.
6025 (check-gdb.%): New pattern.
6026 (BASE1_FILES): New variable.
6027 (BASE2_FILES): Likewise.
6028 (check-gdb.base%): New pattern.
6029 (%/.dir): New pattern.
6030 * configure: Rebuild.
6031 * aclocal.m4 (AM_CONDITIONAL): New defun.
6032 * configure.ac: Check whether user is using GNU make.
6033 (GMAKE): New conditional.
6034
6035 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
6036
6037 * gdb.cp/namespace-nested-import.cc: New test.
6038 * gdb.cp/namespace-nested-import.exp: New test.
6039
6040 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
6041
6042 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
6043 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
6044 * gdb.opt/Makefile.in (EXECUTABLES): Update.
6045 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
6046 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
6047 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
6048 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
6049 gdb.opt/inline-markers.c: New files.
6050 * lib/gdb.exp (skip_inline_frame_tests): New function.
6051 (skip_inline_var_tests): New function.
6052
6053 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
6054
6055 * gdb.cp/exception.exp: Don't require $hex before inner frame in
6056 backtrace.
6057
6058 2009-06-27 Michael Snyder <msnyder@vmware.com>
6059
6060 * gdb.reverse: New directory.
6061 * gdb.reverse/break-reverse.c: New test.
6062 * gdb.reverse/break-reverse.exp: New test.
6063 * gdb.reverse/consecutive-reverse.c: New test.
6064 * gdb.reverse/consecutive-reverse.exp: New test.
6065 * gdb.reverse/finish-reverse.c: New test.
6066 * gdb.reverse/finish-reverse.exp: New test.
6067 * gdb.reverse/machinestate.c: New test.
6068 * gdb.reverse/ms1.c: New test.
6069 * gdb.reverse/machinestate.exp: New test.
6070 * gdb.reverse/Makefile.in: New file.
6071 * gdb.reverse/shr2.c: New test.
6072 * gdb.reverse/solib-reverse.c: New test.
6073 * gdb.reverse/solib-reverse.exp: New test.
6074 * gdb.reverse/step-reverse.c: New test.
6075 * gdb.reverse/step-reverse.exp: New test.
6076 * gdb.reverse/until-reverse.c: New test.
6077 * gdb.reverse/ur1.c: New test.
6078 * gdb.reverse/until-reverse.exp: New test.
6079 * gdb.reverse/watch-reverse.c: New test.
6080 * gdb.reverse/watch-reverse.exp: New test.
6081 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
6082 * configure: Regenerate.
6083
6084 2009-06-26 Doug Evans <dje@google.com>
6085
6086 * gdb.base/psymtab.exp: Turn off pending breakpoints.
6087
6088 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
6089
6090 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
6091 windows problem for 'file delete $binfile'.
6092
6093 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
6094
6095 * gdb.cp/namespace-using.exp: New test.
6096 * gdb.cp/namespace-using.cc: New test.
6097
6098 2009-05-20 Joel Brobecker <brobecker@adacore.com>
6099
6100 * gdb.ada/variant_record_packed_array: New testcase.
6101
6102 2009-06-23 Tom Tromey <tromey@redhat.com>
6103
6104 * gdb.base/charset.exp (test_combination): Regression test.
6105 * gdb.base/charset.c (my_wchar_t): New typedef.
6106 (myvar): New global.
6107 (main): Set myvar.
6108
6109 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
6110
6111 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
6112 target.
6113
6114 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6115
6116 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
6117
6118 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6119
6120 * gdb.mi/gdb680.exp: Update test for error message.
6121
6122 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6123
6124 * gdb.base/annota1.exp: Allow multiple occurrences of the
6125 frames-invalid annotation.
6126 * gdb.cp/annota2.exp: Likewise.
6127
6128 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
6129
6130 * gdb.cp/gdb2495.cc: New file.
6131 * gdb.cp/gdb2495.exp: New file.
6132
6133 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6134
6135 Report error on GDB crash during runto.
6136 * lib/gdb.exp (runto <eof>): New.
6137
6138 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
6139
6140 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
6141 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
6142 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
6143 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
6144 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
6145 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
6146 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
6147 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
6148 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
6149 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
6150 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
6151 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
6152 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
6153 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
6154 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
6155 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
6156 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
6157 gdb.server/server-mon.exp, gdb.server/server-run.exp,
6158 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6159 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
6160 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
6161 gdb.trace/passcount.exp, gdb.trace/report.exp,
6162 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
6163 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
6164 gdb.trace/while-stepping.exp: Use a unique name for the compiled
6165 executable.
6166
6167 2009-06-07 Pedro Alves <pedro@codesourcery.com>
6168
6169 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
6170 defined before referencing it.
6171
6172 2009-06-03 Doug Evans <dje@google.com>
6173
6174 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
6175 * gdb.arch/i386-see.c: Ditto.
6176
6177 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
6178
6179 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
6180 (check_macro): Return 1 if undefined.
6181 If first test fails, check if macro debug information is available,
6182 and report unsupported test if no macro information is found.
6183
6184 2009-05-29 Doug Evans <dje@google.com>
6185
6186 * gdb.threads/hand-call-in-threads.exp: New.
6187 * gdb.threads/hand-call-in-threads.c: New.
6188
6189 2009-05-29 Michael Snyder <msnyder@vmware.com>
6190
6191 * gdb.base/break-always.exp: Change "1" to "on".
6192 Add confirmation check.
6193
6194 2009-05-28 Pedro Alves <pedro@codesourcery.com>
6195
6196 * gdb.threads/threxit-hop-specific.c: New.
6197 * gdb.threads/threxit-hop-specific.exp: New.
6198 * gdb.threads/thread-execl.c: New.
6199 * gdb.threads/thread-execl.exp: New.
6200
6201 2009-05-27 Tom Tromey <tromey@redhat.com>
6202 Thiago Jung Bauermann <bauerman@br.ibm.com>
6203
6204 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
6205 (mi_child_regexp): Likewise.
6206 (mi_list_varobj_children_range): Likewise.
6207 (mi_get_features): Likewise.
6208 (mi_list_varobj_children): Rewrite.
6209 * gdb.python/python-mi.exp: New file.
6210
6211 2009-05-27 Tom Tromey <tromey@redhat.com>
6212 Thiago Jung Bauermann <bauerman@br.ibm.com>
6213 Phil Muldoon <pmuldoon@redhat.com>
6214 Paul Pluzhnikov <ppluzhnikov@google.com>
6215
6216 * gdb.python/python-prettyprint.exp: New file.
6217 * gdb.python/python-prettyprint.c: New file.
6218 * gdb.python/python-prettyprint.py: New file.
6219 * gdb.base/display.exp: print/r is now valid.
6220
6221 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
6222 Tom Tromey <tromey@redhat.com>
6223 Pedro Alves <pedro@codesourcery.com>
6224 Paul Pluzhnikov <ppluzhnikov@google.com>
6225
6226 * gdb.python/python-template.exp: New file.
6227 * gdb.python/python-template.cc: New file.
6228 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6229 tests.
6230 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6231 Call it.
6232 (test_value_after_death): New proc.
6233 * gdb.python/python-value.c (PTR): New typedef.
6234 (main): New variable 'x'.
6235
6236 2009-05-27 Tom Tromey <tromey@redhat.com>
6237
6238 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
6239 tests.
6240 * gdb.python/python-value.exp (py_objfile_tests): New proc.
6241 Call it.
6242
6243 2009-05-27 Pedro Alves <pedro@codesourcery.com>
6244
6245 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
6246
6247 2009-05-24 Pedro Alves <pedro@codesourcery.com>
6248
6249 * gdb.threads/fork-thread-pending.c: New.
6250 * gdb.threads/fork-thread-pending.exp: New.
6251
6252 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6253
6254 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
6255 * gdb.dwarf2/dw2-strp.S (a_string2): New.
6256
6257 2009-05-18 Jon Beniston <jon@beniston.com>
6258
6259 * gdb.asm/asm-source.exp: Add lm32 target.
6260
6261 2009-05-17 Pedro Alves <pedro@codesourcery.com>
6262
6263 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
6264 `gdb_get_line_number'. Call `callee' in both parent and child.
6265 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
6266 `gdb_get_line_number' instead of hardcoding line numbers.
6267 (catch_fork_unpatch_child): New procedure to test detaching
6268 breakpoints from child fork.
6269 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
6270 hardcoding line numbers.
6271 (do_fork_tests): Run `catch_fork_unpatch_child'.
6272
6273 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
6274
6275 * gdb.mi/mi-cmd-var.exp: Check that when varobj
6276 of structure type enters or leaves the scope, it
6277 is reported by -var-update.
6278
6279 2009-05-11 Doug Evans <dje@sebabeach.org>
6280
6281 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
6282 * gdb.threads/pending-step.c (main): Fix off-by-one error.
6283 * gdb.threads/schedlock.c (main): Fix off-by-one error.
6284
6285 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6286
6287 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
6288
6289 2009-04-30 Doug Evans <dje@google.com>
6290
6291 * gdb.threads/watchthreads2.exp: New testcase.
6292 * gdb.threads/watchthreads2.c: New testcase.
6293
6294 2009-04-29 Doug Evans <dje@google.com>
6295
6296 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
6297 * gdb.cp/mb-ctor.cc: Ditto.
6298 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
6299 * gdb.cp/mb-inline.h (multi_line_foo): New function.
6300 * gdb.cp/mb-inline1.cc: Call it.
6301 * gdb.cp/mb-inline2.cc: Ditto.
6302 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
6303 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
6304
6305 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6306
6307 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
6308 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
6309 Replace all uses of `decimal' by `nonzero'.
6310 (info macro FROM_COMMANDLINE): New test.
6311
6312 2009-04-27 Tom Tromey <tromey@redhat.com>
6313
6314 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
6315
6316 2009-04-27 Doug Evans <dje@google.com>
6317
6318 * gdb.threads/watchthreads.c (main): Initialize args before starting
6319 the threads. Plus formatting cleanup.
6320 * gdb.threads/watchthreads.exp: Avoid errant failures due to
6321 biased scheduling of one thread.
6322
6323 2009-04-27 Jerome Guitton <guitton@adacore.com>
6324
6325 * gdb.cp/templates.cc (GetMax): New template.
6326 (main): Declare two instances of GetMax.
6327 * gdb.cp/templates.exp: Add new test.
6328
6329 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6330
6331 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
6332
6333 2009-04-22 Joseph Myers <joseph@codesourcery.com>
6334
6335 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
6336
6337 2009-04-15 Tom Tromey <tromey@redhat.com>
6338
6339 * gdb.base/charset.exp: Add regression test.
6340
6341 2009-04-14 Joel Brobecker <brobecker@adacore.com>
6342
6343 * gdb.base/exe-lock.exp: New testcase.
6344
6345 2009-04-13 Tom Tromey <tromey@redhat.com>
6346
6347 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
6348 operator on Frame.
6349
6350 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6351
6352 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
6353 * gdb.server/ext-attach.exp: Likewise.
6354
6355 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
6356
6357 Eliminate some sleep usage.
6358
6359 * gdb.mi/basics.c (do_nothing): New.
6360 (main): Use do_nothing instead of printf, so that
6361 not to introduce race condition between output of
6362 inferiour and output of gdb. Do not use sleep as it
6363 is not generally available on embedded targets.
6364
6365 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6366
6367 * gdb.server/ext-attach.exp: Expect an optional process id after
6368 "Detached from remote process".
6369
6370 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6371
6372 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
6373 gdb.dwarf2/dw2-unresolved.exp: New.
6374
6375 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6376
6377 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
6378 mi_run_to_main.
6379
6380 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6381
6382 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
6383 mi_run_to_main. Skip thread exit test on remote targets.
6384 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
6385 mi_run_to_main.
6386 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
6387 mi_run_to_main.
6388 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6389 when expecting ^connected. Detect when the target doesn't support
6390 non-stop mode.
6391 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6392 supported. Return -1 on error, 0 on success.
6393 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6394 (mi_runto): Return mi_runto_helper's result explicitly.
6395
6396 2009-04-01 Pedro Alves <pedro@codesourcery.com>
6397
6398 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6399
6400 2009-04-01 Tom Tromey <tromey@redhat.com>
6401
6402 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6403 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6404 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6405 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6406
6407 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6408 Jan Kratochvil <jan.kratochvil@redhat.com>
6409
6410 PR gdb/931
6411 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6412 output.
6413 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6414 for gdb/931.
6415 * dw2-strp.S (DW_AT_language): Change to C++.
6416 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6417
6418 2009-03-31 Joel Brobecker <brobecker@adacore.com>
6419
6420 * gdb.ada/tasks: New testcase.
6421
6422 2009-03-30 Stan Shebs <stan@codesourcery.com>
6423
6424 * gdb.trace/actions.exp: Update to match new info trace format.
6425 * gdb.trace/deltrace.exp: Ditto.
6426 * gdb.trace/infotrace.exp: Ditto.
6427 * gdb.trace/passcount.exp: Ditto.
6428 * gdb.trace/save-trace.exp: Ditto.
6429 * gdb.trace/while-stepping.exp: Ditto.
6430 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6431
6432 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6433
6434 * gdb.python/python-frame.c: New file.
6435 * gdb.python/python-frame.exp: New file.
6436
6437 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6438
6439 * gdb.python/python-value.exp: Add tests for the address
6440 attribute.
6441
6442 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6443
6444 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6445
6446 2009-03-26 Doug Evans <dje@google.com>
6447
6448 * gdb.mi/mi-nonstop-exit.exp: New file.
6449 * gdb.mi/non-stop-exit.c: New file.
6450
6451 2009-03-26 Tom Tromey <tromey@redhat.com>
6452
6453 Update for change to prologue skipping:
6454 * gdb.mi/mi2-simplerun.exp: Update.
6455 * gdb.mi/mi2-break.exp: Update.
6456 * gdb.mi/mi-simplerun.exp: Update.
6457 * gdb.mi/mi-break.exp: Update.
6458 * gdb.base/ending-run.exp: Update.
6459
6460 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6461
6462 * gdb.python/python-value.exp (test_value_in_inferior): Test
6463 gdb.Value.is_optimized_out attribute.
6464
6465 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6466
6467 * gdb.dwarf2/dw2-noloc-main.c: New file.
6468 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6469 (.text): Remove.
6470 (.data): New.
6471 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6472 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6473 (DW_TAG_subprogram func_cu1, noloc): Remove.
6474 (main): New.
6475 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6476 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6477 (file_symbols): New procedure.
6478
6479 2009-03-25 Tom Tromey <tromey@redhat.com>
6480
6481 * gdb.base/charset.exp (valid_target_charset): New proc.
6482 Use it to skip tests on invalid charsets.
6483
6484 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6485
6486 * gdb.base/completion.exp: Add a test for directory completion.
6487
6488 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6489
6490 Fix a racy FAIL.
6491 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6492 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6493
6494 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6495
6496 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6497 * gdb.python/python-function.exp: Add test for function returning
6498 a GDB value.
6499
6500 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6501
6502 * gdb.python/python-function.exp: New file.
6503
6504 2009-03-20 Tom Tromey <tromey@redhat.com>
6505
6506 * gdb.base/store.exp: Update for change to escape output.
6507 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6508 to escape output.
6509 * gdb.base/pointers.exp: Update for change to escape output.
6510 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6511 to escape output.
6512 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6513 escape output.
6514 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6515 to escape output.
6516 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6517 escape output.
6518 * gdb.base/setvar.exp: Update for change to escape output.
6519 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6520 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6521 to escape output.
6522 (test_print_string_constants): Likewise.
6523 * gdb.base/charset.exp (valid_host_charset): Check size of
6524 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
6525 cases. Handle "auto"-related output.
6526 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
6527 (uvar, Uvar): New globals.
6528
6529 2009-03-19 Jerome Guitton <guitton@adacore.com>
6530
6531 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
6532 deltas.
6533 * gdb.ada/fixed_points.exp: Ditto.
6534
6535 2009-03-18 Pedro Alves <pedro@codesourcery.com>
6536
6537 * return-nodebug.c: Don't include stdio.h.
6538 (init): Delete.
6539 (func): Delete definition and provide extern declaration.
6540 (t): New.
6541 (main): Don't call printf. Call func and store its result in t.
6542 * return-nodebug1.c: New.
6543 * return-nodebug.exp: Don't expect stdio output. Instead, print
6544 the global variable t. Drop printf formatters and cast types from
6545 foreach loop. Don't use prepare_for_testing. Compile
6546 return-nodebug.c and return-nodebug1.c in separate steps. Don't
6547 define FORMAT or CAST.
6548
6549 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6550
6551 * gdb.base/solib-display.exp: Disable test for remote targers.
6552
6553 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6554
6555 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
6556
6557 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6558
6559 Fix a racy FAIL.
6560 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
6561 code from `follow parent, print pids'.
6562 (`follow child, print pids', `follow parent, print pids'): Call it.
6563 Replace `gdb_test "break..."' by gdb_breakpoint.
6564
6565 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
6566
6567 * gdb.mi/mi-cli.exp: Adjust for output difference in
6568 sync and async modes.
6569
6570 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6571
6572 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
6573 that was checked in by mistake. Remove loading of ada.exp, since
6574 this is not necessary in this case.
6575
6576 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6577
6578 * gdb.ada/ptype_arith_binop.exp: New testcase.
6579
6580 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6581
6582 * gdb.ada/mod_from_name: New testcase.
6583
6584 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6585
6586 * gdb.ada/tick_last_segv: New testcase.
6587
6588 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6589
6590 * gdb.mi/mi-cli.exp: Remove debug print.
6591
6592 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6593
6594 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
6595 include the token in ^running and frame info in *stopped.
6596
6597 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6598
6599 * solib-display.exp: New file.
6600 * solib-display-main.c: New file.
6601 * solib-display-lib.c: New file.
6602
6603 2009-03-05 Pedro Alves <pedro@codesourcery.com>
6604
6605 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
6606
6607 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6608
6609 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
6610 (list_and_check_macro): Use more specific test name.
6611 (next to definition): Make the test names unique.
6612
6613 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
6614
6615 * gdb.pascal/floats.exp: Accept approximate results everywhere.
6616
6617 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6618
6619 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
6620 notifications.
6621 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
6622 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
6623 * lib/mi-support.exp (library_loaded_re): New.
6624 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
6625
6626 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6627
6628 * gdb.gdb/observer.exp: Use test_notification observer, not
6629 normal_stop, everywhere.
6630 (test_normal_stop_notifications): Rename to...
6631 (test_notifications): ...this.
6632 (test_observer_normal_stop): Rename to...
6633 (test_observer): ...this.
6634
6635 2009-02-16 Doug Evans <dje@google.com>
6636
6637 * gdb.arch/amd64-disp-step.S (test_int3): New test.
6638 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
6639 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
6640 (test_prefixed_syscall,test_int3): New tests.
6641 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
6642 (test_prefixed_syscall,test_int3): New tests.
6643
6644 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
6645
6646 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
6647 (mi_expect_interrupt): Likewise.
6648 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
6649 response.
6650
6651 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6652
6653 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
6654 * gdb.base/pc-fp.exp (get_valueofx): Remove.
6655 Replace calls to get_valueofx by get_hexadecimal_valueof.
6656
6657 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6658
6659 * lib/gdb.exp (get_valueof): Accept anything as a return value.
6660 (get_integer_valueof): New procedure.
6661 (get_sizeof): Use new get_integer_value_of.
6662 * gdb.base/sizeof.exp: Replace all uses of get_valueof
6663 by get_integer_valueof.
6664
6665 2009-02-13 Tom Tromey <tromey@redhat.com>
6666
6667 * gdb.base/remote.exp (get_sizeof): Remove.
6668 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
6669 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
6670 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
6671 * lib/gdb.exp (get_valueof): Move from long_long.exp.
6672 (get_sizeof): Likewise.
6673
6674 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6675
6676 PR fortran/9806
6677 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
6678
6679 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6680
6681 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
6682
6683 2009-02-06 Pedro Alves <pedro@codesourcery.com>
6684
6685 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
6686
6687 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6688
6689 * gdb.python/python-cmd.exp: New file.
6690
6691 2009-02-06 Tristan Gingold <gingold@adacore.com>
6692
6693 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
6694
6695 2009-02-05 Tristan Gingold <gingold@adacore.com>
6696
6697 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
6698 pointer is dereferenced and use this signal name in regexp.
6699 * gdb.base/signull.exp: Ditto.
6700 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
6701 * gdb.base/signull.c (main): Ditto.
6702
6703 2009-02-04 Tom Tromey <tromey@redhat.com>
6704 Thiago Jung Bauermann <bauerman@br.ibm.com>
6705
6706 * gdb.python/python-value.exp: Use `gdb.history' instead of
6707 `gdb.value_from_history'.
6708 (test_value_numeric_ops): Add test for conversion of enum constant.
6709 * gdb.python/python-value.c (enum e): New type.
6710 (evalue): New global.
6711 (main): Use argv.
6712
6713 2009-02-04 Jerome Guitton <guitton@adacore.com>
6714
6715 * gdb.ada/uninitialized_vars: New test program.
6716 * gdb.ada/uninitialized_vars.exp: New testcase.
6717
6718 2009-02-02 Tom Tromey <tromey@redhat.com>
6719
6720 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
6721 * gdb.cp/pr2489.cc: Rename...
6722 * gdb.cp/pr9594.cc: ... to this.
6723
6724 2009-02-02 Tom Tromey <tromey@redhat.com>
6725
6726 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
6727 * gdb.cp/pr2489.cc: New file.
6728 * gdb.cp/cpcompletion.exp: New file.
6729
6730 2009-02-02 Tom Tromey <tromey@redhat.com>
6731
6732 PR exp/9059:
6733 * gdb.cp/call-c.exp: Add regression test.
6734 * gdb.cp/call-c.cc (FooHandle): New typedef.
6735 (main): New variable 'handle'.
6736
6737 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6738
6739 * lib/mi-support.exp (et_mi_thread_list)
6740 (check_mi_and_console_threads): Adjust for current thread in
6741 -thread-list-ids output.
6742
6743 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6744
6745 * gdb.mi/mi-break.exp (test_disabled_creation): New.
6746 Call it.
6747
6748 2009-01-28 Doug Evans <dje@google.com>
6749
6750 * gdb.arch/amd64-disp-step.S: New file.
6751 * gdb.arch/amd64-disp-step.exp: New file.
6752 * gdb.arch/i386-disp-step.S: New file.
6753 * gdb.arch/i386-disp-step.exp: New file.
6754
6755 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
6756
6757 * gdb.base/find.exp: Set newline variable
6758 using quotes instead of braces to fix cygwin failures.
6759
6760 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6761
6762 * gdb.base/radix.exp: Add tests to ensure that that set
6763 input-radix 0 and set output-radix 0 are really rejected.
6764
6765 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6766
6767 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
6768 copyright years.
6769
6770 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6771
6772 PR gdb/9664:
6773 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
6774
6775 2009-01-22 Pedro Alves <pedro@codesourcery.com>
6776
6777 PR c++/9631:
6778 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
6779
6780 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
6781
6782 * gdb.server/file-transfer.exp: Use EXEEXT variable for
6783 binfile definition to fix Windows OS failure.
6784
6785 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6786
6787 PR gdb/9346
6788 * gdb.base/interrupt.c (sigint_handler): New.
6789 (main): Install a SIGINT handler if SIGNALS is defined. Exit
6790 on error.
6791 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
6792 Test "signal SIGINT".
6793
6794 2009-01-19 Doug Evans <dje@google.com>
6795
6796 * gdb.base/break.exp: Update expected gdb output.
6797 * gdb.base/sepdebug.exp: Ditto.
6798 * gdb.mi/mi-syn-frame.exp: Ditto.
6799 * gdb.mi/mi2-syn-frame.exp: Ditto.
6800 * gdb.base/call-signal-resume.exp: New file.
6801 * gdb.base/call-signals.c: New file.
6802 * gdb.base/unwindonsignal.exp: New file.
6803 * gdb.base/unwindonsignal.c: New file.
6804 * gdb.threads/interrupted-hand-call.exp: New file.
6805 * gdb.threads/interrupted-hand-call.c: New file.
6806 * gdb.threads/thread-unwindonsignal.exp: New file.
6807
6808 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
6809
6810 * gdb.base/define.exp: Test defining and hooking prefix commands.
6811 * gdb.python/python.exp: Update test for "show user" output.
6812
6813 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6814
6815 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
6816 now the output exactly, using less wildcards. Expect also the output
6817 of gfortran-4.3. Update for the f-valprint.c modification from
6818 2008-04-22.
6819 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
6820 Remove gdb_test test names where matching the command.
6821
6822 2009-01-01 Pedro Alves <pedro@codesourcery.com>
6823
6824 PR breakpoints/9681:
6825 * gdb.base/watchpoint.exp: Add regression test.
6826
6827 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6828
6829 * gdb.threads/attach-into-signal.exp: Don't use
6830 gdb_suppress_entire_file.
6831 * gdb.threads/attach-stopped.exp: Ditto.
6832 * gdb.threads/attachstop-mt.exp: Ditto.
6833
6834 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6835
6836 PR gdb/8812:
6837 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
6838
6839 2008-12-29 Pedro Alves <pedro@codesourcery.com>
6840
6841 PR gdb/7536:
6842 * gdb.base/radix.exp: Add tests to ensure invalid input radices
6843 and unsupported output radices are really rejected.
6844
6845 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6846
6847 * gdb.cp/punctuator.exp: Backslash the '$' signs.
6848
6849 2008-12-22 Tom Tromey <tromey@redhat.com>
6850
6851 * gdb.cp/punctuator.exp: New file.
6852
6853 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6854
6855 * gdb.base/completion.exp (Completing non-existing component): New test.
6856
6857 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6858
6859 Fix for PR gdb/8648.
6860 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
6861 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
6862 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
6863 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
6864
6865 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6866
6867 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
6868
6869 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
6870
6871 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
6872 compiler actually generate code at the expected line number.
6873
6874 2008-12-15 Jie Zhang <jie.zhang@analog.com>
6875
6876 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
6877
6878 2008-12-12 Tom Tromey <tromey@redhat.com>
6879
6880 * gdb.base/commands.exp (redefine_hook_test): New proc.
6881 Call it.
6882
6883 2008-12-11 Tom Tromey <tromey@redhat.com>
6884
6885 * gdb.base/macscp.exp: New regression test.
6886
6887 2008-12-11 Tom Tromey <tromey@redhat.com>
6888
6889 * gdb.base/macscp.exp: Print "address.addr".
6890 * gdb.base/macscp1.c (struct outer): New struct.
6891 (address): New global.
6892
6893 2008-12-09 Tom Tromey <tromey@redhat.com>
6894
6895 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
6896 Call it.
6897
6898 2008-12-04 Doug Evans <dje@google.com>
6899
6900 * gdb.server/ext-run.exp: Relax regexp for init program.
6901
6902 2008-12-03 Tristan Gingold <gingold@adacore.com>
6903
6904 * gdb.base/macscp.exp: Generate an object file during compilation
6905 to work around Darwin dsymutil limitations.
6906
6907 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6908
6909 Test resolving external references to TLS variables.
6910 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
6911 FILE2_THREAD_LOCAL.
6912 (testfile2, srcfile2): New variables.
6913 * gdb.threads/tls.c (file2_thread_local)
6914 (function_referencing_file2_thread_local): New.
6915 * gdb.threads/tls2.c: New file.
6916
6917 2008-11-28 Joel Brobecker <brobecker@adacore.com>
6918
6919 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
6920 rather than integer, as integer might not be big enough when
6921 on 64bit targets.
6922
6923 2008-11-27 Jerome Guitton <guitton@adacore.com>
6924
6925 * gdb.cp/formatted-ref.exp: Add equality test.
6926 * gdb.ada/formatted_ref.exp: Ditto.
6927
6928 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6929
6930 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
6931 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
6932
6933 2008-11-20 Andreas Schwab <schwab@suse.de>
6934
6935 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
6936 matching syscall entry point.
6937 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6938 (tcatch_vfork_then_child_follow): Likewise. Finish through
6939 vfork even if we stopped at the syscall trampoline.
6940
6941 2008-11-20 Doug Evans <dje@google.com>
6942
6943 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
6944
6945 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
6946
6947 * gdb.arch/ppc-dfp.exp: New file.
6948 * gdb.arch/ppc-dfp.c: New file.
6949
6950 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6951
6952 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
6953
6954 2008-11-17 Doug Evans <dje@google.com>
6955
6956 * gdb.mi/mi-syn-frame.exp: Update expected output.
6957 * gdb.mi/mi2-syn-frame.exp: Update expected output.
6958
6959 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6960
6961 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
6962 "thread N" results in =thread-selected.
6963 * lib/mi-support (mi_run_cmd, mi_expect_stop)
6964 (mi_send_resuming_command_raw): Be prepared for
6965 =thread-selected.
6966
6967 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6968
6969 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
6970 * lib/mi-support.exp: Likewise.
6971
6972 2008-11-16 Joel Brobecker <brobecker@adacore.com>
6973
6974 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
6975 commands from the expected output for "help catch".
6976
6977 2008-11-15 Joel Brobecker <brobecker@adacore.com>
6978
6979 * gdb.ada/int_deref.exp: New testcase.
6980
6981 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
6982
6983 * gdb.mi/gdb2549.exp: New file.
6984
6985 2008-11-11 Doug Evans <dje@google.com>
6986
6987 * gdb.base/callexit.exp: New file.
6988 * gdb.base/callexit.c: New file.
6989
6990 2008-11-10 Doug Evans <dje@google.com>
6991
6992 * lib/gdb.exp (GDBFLAGS): Move -nx ...
6993 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
6994 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
6995 (default_gdb_start,default_gdb_exit): Ditto.
6996 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
6997 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
6998 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
6999 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
7000 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
7001 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
7002
7003 2008-11-03 Andreas Schwab <schwab@suse.de>
7004
7005 * gdb.base/hashline2.exp: Fix typo.
7006 * gdb.base/hashline3.exp: Likewise.
7007
7008 2008-10-30 Tom Tromey <tromey@redhat.com>
7009
7010 * gdb.base/pointers.exp: Add test.
7011 * gdb.base/pointers.c (k, S): New typedefs.
7012 (instance): New global.
7013
7014 2008-10-30 Andreas Schwab <schwab@suse.de>
7015
7016 * gdb.base/args.exp: Add tests for newlines.
7017
7018 2008-10-30 Joel Brobecker <brobecker@adacore.com>
7019
7020 gdb.base/foll-exec.exp: Update the expected output of a couple
7021 of "info breakpoints" tests.
7022
7023 2008-10-28 Tom Tromey <tromey@redhat.com>
7024
7025 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
7026
7027 2008-10-24 Pedro Alves <pedro@codesourcery.com>
7028
7029 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
7030 gdb_start_cmd.
7031 Use runto_main before any test that requires execution.
7032
7033 2008-10-23 Pedro Alves <pedro@codesourcery.com>
7034
7035 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
7036 instead of SIGINT.
7037
7038 2008-10-22 Joel Brobecker <brobecker@adacore.com>
7039
7040 * gdb.base/completion.exp: Update expected output following
7041 the addition of the "info tasks" command.
7042
7043 2008-10-22 Tom Tromey <tromey@redhat.com>
7044
7045 * gdb.base/exprs.exp (test_expr): Add test for string
7046 concatenation.
7047
7048 2008-10-19 Pedro Alves <pedro@codesourcery.com>
7049
7050 * configure.ac: Output gdb.python/Makefile.
7051 * configure: Regenerate.
7052 * gdb.python/Makefile.in: New.
7053
7054 2008-10-16 Joel Brobecker <brobecker@adacore.com>
7055
7056 * gdb.base/foll-fork.exp: Adjust the expected output to match
7057 the new description for fork/vfork catchpoints in the "info
7058 breakpoints" output.
7059
7060 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7061
7062 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
7063
7064 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7065
7066 * gdb.python/python-value.c: New file.
7067 * gdb.python/python-value.exp: New file.
7068
7069 2008-10-15 Pedro Alves <pedro@codesourcery.com>
7070
7071 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
7072
7073 2008-10-15 Denis Pilat <denis.pilat@st.com>
7074
7075 * gdb.cp/mb-ctor.exp: Fix a typo.
7076
7077 2008-10-09 Tom Tromey <tromey@redhat.com>
7078
7079 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
7080 'fprintf' and 'stderr'.
7081
7082 2008-10-07 Joel Brobecker <brobecker@adacore.com>
7083
7084 * gdb.ada/ref_tick_size.exp: New testcase.
7085
7086 2008-10-06 Doug Evans <dje@google.com>
7087
7088 * gdb.dwarf2/dw2-cu-size.exp: New file.
7089 * gdb.dwarf2/dw2-cu-size.S: New file.
7090
7091 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
7092 .Ltype_int for clarity.
7093
7094 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7095
7096 PR gdb/2384:
7097 * gdb.cp/gdb2384.exp: Extended to test more cases.
7098 * gdb.cp/gdb2384.cc: Likewise.
7099 * gdb.cp/gdb2384-base.h: Likewise.
7100 * gdb.cp/gdb2384-base.cc: Likewise.
7101
7102 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7103
7104 * gdb.base/maint.exp (maint print type): Remove printing
7105 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
7106
7107 2008-09-30 Tom Tromey <tromey@redhat.com>
7108
7109 * gdb.base/macscp.exp: Add completion tests.
7110 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
7111 (TWENTY_THREE): Likewise.
7112 (FORTY_EIGHT): Likewise.
7113
7114 2008-09-30 Tom Tromey <tromey@redhat.com>
7115
7116 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
7117 everywhere.
7118 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
7119
7120 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7121
7122 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
7123 testcase is derived from. Fix racy dependency on an expected PID
7124 number. No longer support the testcase on Linux kernel 2.4.x.
7125
7126 2008-09-27 Tom Tromey <tromey@redhat.com>
7127
7128 * gdb.base/macscp.exp: Add tests for stringification, splicing,
7129 and varargs.
7130
7131 2008-09-22 Pedro Alves <pedro@codesourcery.com>
7132
7133 * lib/mi-support.exp (mi_expect_interrupt): New.
7134 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
7135 from gdb.mi/mi-nonstop.exp.
7136 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
7137 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
7138 lib/mi-support.exp.
7139 Use mi_check_thread_states throughout. Avoid ".*" and do not
7140 require an anchor after -exec-run.
7141
7142 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
7143
7144 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
7145 stop is pending. Avoid ".*" when two stops are pending.
7146 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
7147 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
7148 newlines in fullnames.
7149 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
7150 (mi_expect_stop): Update comments. Only anchor in sync mode.
7151 Do not match newlines.
7152 (mi_send_resuming_command_raw): Always return status.
7153 (mi_get_stop_line): Do not match more than one line by accident.
7154 Only anchor in sync mode.
7155 (mi_run_inline_test): If -exec-next fails, give up.
7156
7157 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7158
7159 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
7160 on SPU.
7161
7162 2008-09-10 Joel Brobecker <brobecker@adacore.com>
7163
7164 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
7165
7166 2008-09-10 Joel Brobecker <brobecker@adacore.com>
7167
7168 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
7169 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
7170 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
7171 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
7172 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
7173 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
7174 gdb.ada/interface.exp, gdb.ada/null_array.exp,
7175 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
7176 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
7177 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
7178 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
7179 Include the "= " sequence in the expected output of print tests.
7180
7181 2008-09-10 Joel Brobecker <brobecker@adacore.com>
7182
7183 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
7184 description for boolean types.
7185
7186 2008-09-09 Pedro Alves <pedro@codesourcery.com>
7187
7188 * gdb.base/hook-stop-continue.c: New.
7189 * gdb.base/hook-stop-continue.exp: New.
7190
7191 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
7192
7193 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
7194
7195 2008-09-08 Jerome Guitton <guitton@adacore.com>
7196
7197 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
7198 (stack_check_probe_2, stack_check_probe_loop_1)
7199 (stack_check_probe_loop_2): New functions.
7200 (main): Add call to these new functions.
7201 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
7202 functions, check that the breakpoint is inserted at the appropriate
7203 location.
7204 (insert_breakpoint): Slightly refine this procedure so that it can
7205 be called several times in the test.
7206
7207 2008-09-08 Jerome Guitton <guitton@adacore.com>
7208
7209 * gdb.base/stack-checking.c: New file.
7210 * gdb.base/stack-checking.exp: New file.
7211
7212 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7213
7214 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
7215 * gdb.arch/altivec-regs.exp: Likewise.
7216 * gdb.arch/vsx-regs.exp: Likewise.
7217
7218 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
7219
7220 * gdb.arch/ppc-fp.exp: New file.
7221 * gdb.arch/ppc-fp.c: New file.
7222
7223 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7224
7225 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
7226 lest gcc-4.3.1 optimizes the whole thing away.
7227
7228 2008-09-04 Michael Snyder <msnyder@vmware.com>
7229
7230 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
7231 as "at" (for non-debug functions such as _start).
7232
7233 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7234
7235 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
7236 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
7237 software watchpoints.
7238 * gdb.base/watch_thread_num.exp: Likewise.
7239
7240 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
7241
7242 * gdb.arch/i386-bp_permanent.exp: New test.
7243
7244 2008-08-24 Tom Tromey <tromey@redhat.com>
7245
7246 * gdb.base/maint.exp: Update "maint print type".
7247
7248 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
7249
7250 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
7251 support. Adjust the order of "*running" notifications.
7252 * gdb.mi/non-stop.c: Don't cast from int to void* and
7253 back.
7254
7255 2008-08-20 Mark Kettenis <kettenis@gnu.org>
7256
7257 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
7258 expect to find it in the "info frame" output.
7259
7260 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
7261
7262 * gdb.base/interp.exp: Always consume both prompts.
7263
7264 2008-08-20 Pedro Alves <pedro@codesourcery.com>
7265
7266 * gdb.base/pending.exp: Test pending breakpoints without symbols
7267 loaded.
7268
7269 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7270
7271 * lib/mi-support.exp (mi_expect_stop): Produce
7272 more details on failures.
7273 * gdb.mi/mi-nonstop.exp: New.
7274 * gdb.mi/non-stop.c: New.
7275
7276 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
7277
7278 * gdb.mi/mi-async.exp: Use 'set target-async'.
7279 * lib/mi-support.exp: Use 'set/show target-async'.
7280
7281 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
7282
7283 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
7284
7285 2008-08-17 Tom Tromey <tromey@redhat.com>
7286
7287 * gdb.base/help.exp (help catch): Rewrite.
7288
7289 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
7290
7291 * gdb.base/define.exp: Test indented command documentation.
7292 * gdb.python/python.exp: Test indented multi-line command.
7293
7294 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
7295
7296 * testsuite/gdb.arch/vsx-regs.c: New source file.
7297 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
7298 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
7299
7300 2008-08-14 Tom Tromey <tromey@redhat.com>
7301
7302 * gdb.base/macscp.exp: Add regression test for "macro define" or
7303 "macro undef" with no arguments.
7304
7305 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7306
7307 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
7308
7309 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7310
7311 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
7312
7313 2008-08-06 Tom Tromey <tromey@redhat.com>
7314
7315 * gdb.python/python.exp: New file.
7316
7317 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7318
7319 Fix for PR gdb/1543.
7320 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
7321 $LOCATION.
7322 (location): New variable.
7323 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
7324 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
7325 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
7326 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
7327 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
7328 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
7329 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
7330 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
7331 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
7332 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
7333 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
7334 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
7335 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
7336 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
7337 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7338 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
7339 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7340 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7341 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7342 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7343 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7344 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7345 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
7346 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
7347 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
7348 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
7349 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
7350 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
7351 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
7352 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
7353 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
7354 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
7355 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
7356 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
7357 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
7358 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
7359 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
7360 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7361 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
7362 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
7363 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
7364 gdb.base/type-opaque.exp, gdb.base/until.exp,
7365 gdb.base/value-double-free.c, gdb.base/varargs.exp,
7366 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
7367 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
7368 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7369 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
7370 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
7371 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7372 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7373 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7374 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
7375 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
7376 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
7377 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
7378 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
7379 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
7380 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
7381 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7382 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
7383 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
7384 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
7385 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7386 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
7387 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
7388 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7389 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7390 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7391 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7392 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7393 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7394 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7395 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7396 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7397 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7398 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7399 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7400 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7401 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7402 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7403 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7404 to bug-gdb@prep.ai.mit.edu .
7405
7406 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7407
7408 * lib/mi-support.exp (mi_load_shlibs): New.
7409 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7410
7411 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7412
7413 * lib/mi-support.exp (get_mi_thread_list)
7414 (check_mi_and_console_threads): New, moved from ...
7415 * gdb.mi/mi-pthread.exp: ...here.
7416 * gdb.mi/gdb669.exp (get_mi_thread_list)
7417 (check_mi_and_console_threads): Delete.
7418 * gdb.mi/mi2-pthread.exp: Likewise.
7419
7420 2008-07-28 Tom Tromey <tromey@redhat.com>
7421
7422 * Makefile.in (just-check): Remove. Move body to...
7423 (check): ... here.
7424
7425 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7426
7427 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7428 Add a test for duplicated SIGINTs.
7429
7430 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7431
7432 * gdb.threads/schedlock.exp (get_args): Update to work for any
7433 value of NUM.
7434 (Top level): Report the number of threads that did not resume.
7435
7436 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7437
7438 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7439
7440 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7441
7442 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7443 non-MI prompt.
7444
7445 2008-07-26 Tom Tromey <tromey@redhat.com>
7446
7447 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7448 (function_struct, function_struct_ptr): New globals.
7449 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7450 function pointer in a struct.
7451
7452 2008-07-26 Tom Tromey <tromey@redhat.com>
7453
7454 * gdb.base/macscp.exp: Add test for macro lexing bug.
7455
7456 2008-07-18 Tom Tromey <tromey@redhat.com>
7457
7458 * gdb.base/macscp.exp: Add macro tests.
7459
7460 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7461
7462 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7463
7464 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7465
7466 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7467
7468 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7469
7470 * gdb.cp/class2.exp: fix for failure on spu-elf
7471
7472 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7473
7474 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
7475
7476 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7477
7478 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7479
7480 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7481
7482 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7483
7484 2008-07-11 Kevin Buettner <kevinb@redhat.com>
7485
7486 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7487 of regexp to account for changes made to GDB in the printing of
7488 byte vectors.
7489
7490 2008-07-11 Tom Tromey <tromey@redhat.com>
7491
7492 * gdb.base/completion.exp: Add 'help' completion test.
7493
7494 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7495
7496 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7497
7498 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7499
7500 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7501
7502 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7503
7504 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7505
7506 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7507
7508 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7509
7510 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7511
7512 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7513
7514 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7515
7516 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7517 previous commit. Add a comment.
7518
7519 2008-06-28 Pedro Alves <pedro@codesourcery.com>
7520
7521 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7522
7523 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7524
7525 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
7526
7527 2008-06-27 Pedro Alves <pedro@codesourcery.com>
7528
7529 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
7530 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
7531 compiling an executable, link in an object that forces unbuffered
7532 output.
7533 * lib/set_unbuffered_mode.c: New file.
7534
7535 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7536
7537 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
7538
7539 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
7540
7541 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
7542 mi_expect_stop.
7543 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
7544 Demand that *running is output.
7545 (detect_async): Perform checking every time.
7546 (mi_send_resuming_command): Extract everything into...
7547 (mi_send_resuming_command_raw): ...this.
7548 (mi_expect_stop): Don't accept any output before *stopped.
7549
7550 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
7551
7552 Robustify mi-simplerun.
7553 * gdb.mi/basics.c (main): Add a call to sleep.
7554 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
7555 * gdb.mi/mi2-cli.exp: Likewise.
7556 * gdb.mi/mi-break.exp: Likewise.
7557
7558 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
7559
7560 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
7561
7562 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7563
7564 * gdb.mi/mi-console.exp: Adjust.
7565 * gdb.mi/mi-syn-frame.exp: Adjust.
7566 * gdb.mi/mi2-console.exp: Adjust.
7567 * gdb.mi/mi2-syn-frame.exp: Adjust.
7568 * lib/mi-support.exp (mi_run_cmd): Adjust.
7569 (mi_send_resuming_command): Adjust.
7570
7571 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7572
7573 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
7574 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
7575 testing of stopped.
7576 * gdb.mi/mi2-syn-frame.exp: Likewise.
7577 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
7578 (async, detect_async): New.
7579 (mi_expect_stop, mi_continue_to_line): Adjust expectation
7580 depending on if we're running in sync or async mode.
7581
7582 2008-06-09 Tom Tromey <tromey@redhat.com>
7583
7584 * gdb.base/completion.exp: New tests for field name completion
7585 with spaces, and field name completion with '->'.
7586
7587 2008-06-06 Tom Tromey <tromey@redhat.com>
7588
7589 * gdb.base/break1.c (struct some_struct): New struct.
7590 (values): New global.
7591 * gdb.base/completion.exp: Add field name completion test.
7592
7593 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7594
7595 * gdb.cp/call-c.exp: Test for incorrect handling of reference
7596 to pointer.
7597 * gdb.cp/call-c.cc: Likewise.
7598
7599 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
7600
7601 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
7602 annotation.
7603
7604 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7605 Pedro Alves <pedro@codesourcery.com>
7606
7607 * gdb.threads/execl.c, gdb.threads/execl1.c,
7608 gdb.threads/execl.exp: New tests.
7609
7610 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
7611 Daniel Jacobowitz <dan@codesourcery.com>
7612
7613 * gdb.cp/exception.exp: Activate test, make it work with pending
7614 catchpoints.
7615
7616 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7617
7618 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
7619
7620 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
7621
7622 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
7623 now printed.
7624 * gdb.mi/mi2-var-cmd.exp: Likewise.
7625
7626 2008-05-27 Andreas Schwab <schwab@suse.de>
7627
7628 * gdb.base/frame-args.exp: Handle arguments that are optimized
7629 out.
7630
7631 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
7632
7633 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
7634 quiet for ppc32 and group options into a single variable.
7635
7636 2008-05-23 Joel Brobecker <brobecker@adacore.com>
7637
7638 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
7639 of zero-size elements.
7640 * gdb.ada/null_array.exp: Test printing this new array.
7641
7642 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7643
7644 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
7645
7646 2008-05-21 Joel Brobecker <brobecker@adacore.com>
7647
7648 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
7649 of the "finish" command.
7650
7651 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
7652
7653 * gdb.base/annota1.exp: Test for new annotation.
7654
7655 2008-05-16 Pedro Alves <pedro@codesourcery.com>
7656
7657 * gdb.base/fixsection.exp: New file.
7658 * gdb.base/fixsection0.c: New file.
7659 * gdb.base/fixsection1.c: New file.
7660
7661 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7662
7663 * gdb.base/annota1.exp: Accept printf@... in place of printf.
7664 * gdb.base/annota3.exp: Likewise.
7665
7666 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
7667
7668 * gdb.base/watch_thread_num.exp: Don't run tests that require
7669 watchpoints if the target doesn't support them.
7670
7671 2008-05-12 Doug Evans <dje@google.com>
7672
7673 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
7674
7675 2008-05-09 Joel Brobecker <brobecker@adacore.com>
7676
7677 * gdb.ada/assign_1.exp: New testcase.
7678
7679 2008-05-09 Doug Evans <dje@google.com>
7680
7681 * gdb.base/find.exp: New file.
7682 * gdb.base/find.c: New file.
7683
7684 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
7685
7686 * gdb.base/commands.exp (watchpoint_command_test): Handle
7687 gdb,no_hardware_watchpoints.
7688 * gdb.base/float.exp: Allow ARM targets without floating point.
7689 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
7690
7691 2008-05-06 Jerome Guitton <guitton@adacore.com>
7692 Joel Brobecker <brobecker@adacore.com>
7693
7694 * gdb.ada/lang_switch: New test program.
7695 * gdb.ada/lang_switch.exp: New testcase.
7696
7697 2008-05-05 Doug Evans <dje@google.com>
7698
7699 * gdb.base/help.exp (disassemble): Update expected help text.
7700
7701 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7702
7703 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
7704
7705 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7706
7707 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
7708 different times.
7709
7710 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7711
7712 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
7713 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
7714 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
7715 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
7716
7717 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
7718
7719 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
7720 notification to appear.
7721
7722 2008-05-04 Daniel Jacobowitz <dan@debian.org>
7723
7724 * gdb.base/fullname.c: New file.
7725 * gdb.base/fullname.exp: New file.
7726 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
7727
7728 2008-05-03 Pedro Alves <pedro@codesourcery.com>
7729
7730 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
7731 expressions with macros.
7732
7733 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7734
7735 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
7736
7737 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
7738
7739 * gdb.base/completion.exp: Handle lack of other symbols beginning
7740 with "a".
7741
7742 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
7743
7744 2008-05-02 Jim Blandy <jimb@codesourcery.com>
7745
7746 * gdb.asm/asmsrc1.s: Add scratch space.
7747
7748 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7749 Daniel Jacobowitz <dan@codesourcery.com>
7750
7751 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
7752 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
7753 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
7754
7755 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
7756
7757 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
7758
7759 2008-05-01 Joel Brobecker <brobecker@adacore.com>
7760
7761 * gdb.base/info-target.exp: New testcase.
7762
7763 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7764
7765 * gdb.cp/hang.exp: Use .cc instead of .C.
7766 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
7767 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
7768
7769 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7770
7771 * gdb.base/gdb1250.exp: Remove perror.
7772 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
7773
7774 2008-04-30 Pedro Alves <pedro@codesourcery.com>
7775
7776 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
7777 .2byte.
7778
7779 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
7780
7781 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
7782 (maybe_kfail): New.
7783
7784 2008-04-25 Pedro Alves <pedro@codesourcery.com>
7785
7786 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
7787
7788 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7789
7790 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
7791 * gdb.mi/mi2-syn-frame.exp: Likewise.
7792 * lib/mi-support.exp: Likewise.
7793
7794 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7795
7796 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
7797 to specify regexp for the location to stop at.
7798 * gdb.base/break-always.c: New.
7799 * gdb.base/break-always.exp: New.
7800
7801 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7802
7803 * lib/mi-support.exp (mi_runto_helper): Adjust
7804 for the original-location field.
7805 (mi_create_breakpoint, mi_list_breakpoints): New.
7806 * gdb.mi/mi-break.exp: Adjust.
7807 * gdb.mi/mi2-break.exp: Adjust.
7808 * gdb.mi/mi-pending.exp: Adjust.
7809 * gdb.mi/mi-simplerun.exp: Adjust.
7810 * gdb.mi/mi2-simplerun.exp: Adjust.
7811 * gdb.mi/mi-syn-frame.exp: Adjust.
7812 * gdb.mi/mi2-syn-frame.exp: Adjust.
7813 * gdb.mi/mi-until.exp: Adjust.
7814 * gdb.mi/mi2-until.exp: Adjust.
7815 * gdb.mi/mi-var-display.exp: Adjust.
7816 * gdb.mi/mi2-var-display.exp: Adjust.
7817 * gdb.mi/mi-watch.exp: Adjust.
7818 * gdb.mi/mi2-watch.exp: Adjust.
7819
7820 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
7821
7822 * aclocal.m4: Add override.m4.
7823 * configure: Regenerate.
7824
7825 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
7826
7827 * gdb.mi/var-cmd.c (do_at_tests): Verify that
7828 '-var-update --all-values' reports new value even the type
7829 of a variable object has changed.
7830
7831 2008-04-18 Craig Silverstein <csilvers@google.com>
7832
7833 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
7834 files.
7835
7836 2008-04-18 Joel Brobecker <brobecker@adacore.com>
7837
7838 * gdb.ada/atomic_enum: New test program.
7839 * gdb.ada/atomic_enum.exp: New testcase.
7840
7841 2008-04-17 Doug Evans <dje@google.com>
7842
7843 * gdb.opt/Makefile.in: Fix whitespace.
7844
7845 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
7846
7847 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
7848
7849 2008-04-17 Doug Evans <dje@google.com>
7850
7851 * gdb.base/hashline1.exp: New testcase.
7852 * gdb.base/hashline2.exp: New testcase.
7853 * gdb.base/hashline2.exp: New testcase.
7854
7855 2008-04-17 Pedro Alves <pedro@codesourcery.com>
7856
7857 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
7858
7859 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
7860
7861 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
7862 temporary breakpoint to match "Temporary breakpoint".
7863 * gdb.base/break.exp (delete_breakpoints): Likewise.
7864 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
7865 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
7866 * gdb.base/display.exp: Likewise.
7867 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
7868 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
7869 * gdb.base/restore.exp (restore_tests): Likewise.
7870 * gdb.base/sepdebug.exp: Likewise.
7871 * gdb.base/watchpoint.exp: Likewise.
7872 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
7873 * gdb.mi/mi-pending.exp: Likewise.
7874 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
7875 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
7876 * gdb.mi/mi-var-cmd.exp: Likewise.
7877 * gdb.mi/mi-var-display.exp: Likewise.
7878 * gdb.mi/mi2-cli.exp: Likewise.
7879 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
7880 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
7881 * gdb.mi/mi2-var-display.exp: Likewise.
7882 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
7883 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
7884 new "disp" field.
7885 (mi_expect_stop): Move after_reason argument to be really after
7886 reason. This is to support fix for PR2424.
7887
7888 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7889
7890 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
7891
7892 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
7893
7894 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
7895 field. Add more floating varobj tests.
7896 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
7897 field.
7898 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
7899 (main): Call do_at_tests.
7900 * lib/mi-support.exp (mi_create_floating_varobj)
7901 (mi_varobj_update_with_type_change): New.
7902
7903 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
7904
7905 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
7906 option of -var-evaluate-expression.
7907 * gdb.mi/mi2-var-display.exp: Likewise.
7908
7909 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
7910
7911 Introduce test setup helpers.
7912 * lib/gdb.exp (build_executable, clean_restart)
7913 (prepare_for_testing): New.
7914 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
7915 * gdb.base/return.exp: Likewise.
7916 * gdb.base/ending-run.exp: Likewise.
7917
7918 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
7919
7920 * gdb.mi/mi-async.exp: New test for asynchronous Machine
7921 Interface (MI) responses.
7922
7923 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
7924
7925 * gdb.cp/breakpoint.cc: New code to test conditions involving
7926 member variables.
7927 * gdb.cp/breakpoint.exp: Test condition involving member
7928 variables.
7929
7930 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
7931
7932 * lib/mi-support.exp (mi_expect_stop): New.
7933 (mi_run_cmd): Change the
7934 token. Use mi_send_resuming_command, use
7935 mi_expect_stop.
7936 (mi_execute_to_helper): Rename to mi_execute_to.
7937 (mi_send_resuming_command): Add more error patterns.
7938 (mi_wait_for_stop): Renamed to...
7939 (mi_get_stop_line): ...this.
7940 (mi_run_inline_test): Adjust.
7941
7942 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
7943 * gdb.mi/mi-console.exp: Likewise.
7944 * gdb.mi/mi-pending.exp: Likewise.
7945 * gdb.mi/mi-simplerun.exp: Likewise.
7946 * gdb.mi/mi-stack.exp: Likewise.
7947 * gdb.mi/mi-stepi.exp: Likewise.
7948 * gdb.mi/mi-syn-frame.exp: Add comment.
7949 * gdb.mi/mi-until.exp: Likewise.
7950 * gdb.mi/mi-var-display.exp: Likewise.
7951 * gdb.mi/mi-watch.exp: Likewise.
7952 * gdb.mi/mi2-cli.exp: Likewise.
7953 * gdb.mi/mi2-console.exp: Likewise.
7954 * gdb.mi/mi2-simplerun.exp: Likewise.
7955 * gdb.mi/mi2-stack.exp: Likewise.
7956 * gdb.mi/mi2-stepi.exp: Likewise.
7957 * gdb.mi/mi2-until.exp: Likewise.
7958 * gdb.mi/mi2-var-display.exp: Likewise.
7959 * gdb.mi/mi2-watch.exp: Likewise.
7960
7961 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7962
7963 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
7964
7965 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
7966
7967 2008-04-04 Pedro Alves <pedro@codesourcery.com>
7968
7969 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
7970 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
7971 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
7972 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
7973 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
7974 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
7975 expect an mi error duplicated in stderr.
7976
7977 2008-04-03 Joel Brobecker <brobecker@adacore.com>
7978
7979 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
7980 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
7981 Add a couple of tests that verify the behavior when the new setting
7982 is set to "cancel" and "all".
7983 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
7984 "ask" before we start the testing.
7985
7986 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
7987
7988 * gdb.cp/casts.cc: Add class reference variables.
7989 * gdb.cp/casts.exp: New test cases for up/down casting references.
7990
7991 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
7992
7993 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
7994 instead of beginning to make an extra test pass.
7995 * gdb.mi/mi2-var-display.exp: Likewise.
7996
7997 2008-03-31 Maciej W. Rozycki <macro@mips.com>
7998
7999 * gdb.base/break.exp: Mark failures as such. Fix formatting.
8000
8001 2008-03-31 Markus Deuling <deuling@de.ibm.com>
8002 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8003
8004 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
8005 value. Add xfail for older kernels.
8006
8007 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
8008
8009 Bring mi-support in line with gdb.exp.
8010 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
8011 (mi_gdb_start): New function.
8012
8013 2008-03-28 Maciej W. Rozycki <macro@mips.com>
8014
8015 * gdb.mi/mi-var-cmd.exp: Fix a typo.
8016
8017 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8018
8019 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
8020 * gdb.mi/mi2-var-display.exp: Likewise.
8021
8022 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
8023
8024 * lib/mi-support.exp (mi_create_varobj_checked): New.
8025 (mi_list_varobj_children): Allow to check for a
8026 value.
8027 (mi_list_array_varobj_children): New.
8028
8029 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
8030 and mi_list_varobj_children, as opposed to hardcoding
8031 expected strings.
8032 * gdb.mi/gdb701.exp: Likewise.
8033 * gdb.mi/gdb792.exp: Likewise.
8034 * gdb.mi/mi-var-block.exp: Likewise.
8035 * gdb.mi/mi-var-cmd.exp: Likewise.
8036 * gdb.mi/mi-var-invalidate.exp: Likewise.
8037 * gdb.mi/mi2-var-block.exp: Likewise.
8038 * gdb.mi/mi2-var-child.exp: Likewise.
8039 * gdb.mi/mi2-var-cmd.exp: Likewise.
8040 * gdb.mi/mi2-var-display.exp: Likewise.
8041
8042 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8043
8044 Fix random false FAILs on i386.
8045 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
8046
8047 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8048
8049 PR gdb/544
8050 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
8051
8052 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
8053
8054 PR gdb/544
8055 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
8056
8057 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8058
8059 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
8060 fixed PR gdb/544.
8061
8062 2008-03-21 Pedro Alves <pedro@codesourcery.com>
8063
8064 * gdb.threads/fork-child-threads.exp: Test next over fork.
8065
8066 2008-03-21 Chris Demetriou <cgd@google.com>
8067
8068 * gdb.base/break.exp (rbreak junk): New test for rbreak
8069 "Junk at end of arguments" issue.
8070
8071 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8072
8073 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
8074 *& to work on created array elements.
8075 (Top level): Test print $pc with a file. Test string operations
8076 without a target.
8077 * gdb.base/ptype.exp: Do not expect *& to work on created array
8078 elements.
8079
8080 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
8081
8082 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8083 gdb.threads/staticthreads.exp: Update exit query.
8084
8085 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
8086
8087 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
8088
8089 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
8090
8091 * gdb.base/watchpoint.c (global_ptr, func4): New.
8092 (main): Call func4.
8093 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
8094 (test_inaccessible_watchpoint): New.
8095
8096 2008-02-29 Maciej W. Rozycki <macro@mips.com>
8097
8098 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
8099 select the largest.
8100
8101 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8102
8103 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
8104 frames-invalid annotations.
8105
8106 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
8107
8108 * gdb.base/assign.exp: avoid same output for different tests.
8109
8110 2008-02-27 Doug Evans <dje@google.com>
8111
8112 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
8113 for bug 1738.
8114 (breakpoint_to_handler_entry): Ditto.
8115
8116 2008-02-27 Joel Brobecker <brobecker@adacore.com>
8117
8118 * gdb.base/ending-run.exp: Use the first line of code inside
8119 function body to test breakpoints.
8120 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
8121 location where the breakpoint is inserted when using the line
8122 where a function is declared. Fix typo in the description of
8123 one of the tests.
8124 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
8125
8126 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8127
8128 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
8129 tests.
8130
8131 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
8132
8133 * gdb.base/args.exp: avoid same output for tests
8134 with single quotes.
8135
8136 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
8137
8138 * gdb.base/annota1.exp: Adjust for 'info break'
8139 format changes.
8140 * gdb.base/annota3.exp: Likewise.
8141 * gdb.base/break.exp: Likewise.
8142 * gdb.base/condbreak.exp: Likewise.
8143 * gdb.base/pending.exp: Likewise.
8144 * gdb.base/sepdebug.exp: Likewise.
8145 * gdb.base/unload.exp: Likewise.
8146 * gdb.cp/ovldbreak.exp: Likewise.
8147 * gdb.mi/mi-pending.exp: Likewise.
8148
8149 2008-02-07 Doug Evans <dje@google.com>
8150
8151 * gdb.cp/mb-inline.exp: New.
8152 * gdb.cp/mb-inline.h: New.
8153 * gdb.cp/mb-inline1.cc: New.
8154 * gdb.cp/mb-inline2.cc: New.
8155
8156 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
8157
8158 * gdb.pascal/floats.pas: New test program.
8159 * gdb.pascal/floats.exp: New testcase.
8160
8161 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8162
8163 * gdb.base/callfuncs.c (t_float_many_args): New function.
8164 (t_double_many_args): New function.
8165 * gdb.base/callfuncs.exp: Add tests for exceeding float
8166 and double parameters passed through the stack.
8167
8168 2008-02-05 Joel Brobecker <brobecker@adacore.com>
8169
8170 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
8171 gdb.ada/complete/foo.adb: New files.
8172 * gdb.ada/complete.exp: New testcase.
8173
8174 2008-02-03 Doug Evans <dje@google.com>
8175
8176 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
8177
8178 * gdb.cp/gdb2384.exp: New file.
8179 * gdb.cp/gdb2384.cc: New file.
8180 * gdb.cp/gdb2384-base.h: New file.
8181 * gdb.cp/gdb2384-base.cc: New file.
8182
8183 2008-02-02 Doug Evans <dje@google.com>
8184
8185 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
8186
8187 2007-02-01 Joel Brobecker <brobecker@adacore.com>
8188
8189 * gdb.ada/sym_print_name: New test program.
8190 * gdb.ada/sym_print_name.exp: New testcase.
8191
8192 2007-02-01 Joel Brobecker <brobecker@adacore.com>
8193
8194 * gdb.ada/nested/hello.adb: New file.
8195 * gdb.ada/nested.exp: New testcase.
8196 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8197
8198 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8199
8200 * gdb.mi/basic.c (return_1): New function.
8201 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
8202 don't cause future evaluations of function to report
8203 creation of internal breakpoints.
8204
8205 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
8206
8207 * gdb.mi/mi-break.exp (test_error): New.
8208 Call it.
8209
8210 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
8211
8212 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
8213 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
8214
8215 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8216
8217 * gdb.pascal/integers.pas: New test program.
8218 * gdb.pascal/integers.exp: New testcase.
8219
8220 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
8221
8222 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
8223
8224 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
8225
8226 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
8227 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
8228
8229 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
8230
8231 * gdb.ada/formatted_ref: New test program.
8232 * gdb.ada/formatted_ref.exp: New testcase.
8233
8234 * gdb.cp/formatted-ref.cc: New file.
8235 * gdb.cp/formatted-ref.exp: New testcase.
8236
8237 2008-01-30 Joel Brobecker <brobecker@adacore.com>
8238
8239 * gdb.base/ptype.exp: Add testing of "ptype $pc".
8240
8241 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
8242
8243 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
8244 (test_file_list_exec_source_file): Update to new macro-info field.
8245
8246 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
8247
8248 * gdb.ada/exprs: New test program.
8249 * gdb.ada/exprs.exp: New testcase.
8250
8251 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8252
8253 * dfp-test.c (DELTA, DELTA_B): New definitions.
8254 (double_val1, double_val2, double_val3, double_val4, double_val5,
8255 double_val6, double_val7, double_val8, double_val9, double_val10,
8256 double_val11, double_val12, double_val13, double_val14, dec32_val1,
8257 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
8258 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
8259 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
8260 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
8261 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
8262 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
8263 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
8264 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
8265 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
8266 dec128_val16): New global variables.
8267 (decimal_dec128_align): New function.
8268 (decimal_mixed): Likewise.
8269 (decimal_many_args_dec32): Likewise.
8270 (decimal_many_args_dec64): Likewise.
8271 (decimal_many_args_dec128): Likewise.
8272 (decimal_many_args_mixed): Likewise.
8273 * dfp-test.exp: Add tests calling new inferior functions.
8274
8275 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8276
8277 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
8278 gdb.server/ext-run.exp: New files.
8279 * lib/gdbserver-support.exp (gdbserver_download): New.
8280 (gdbserver_start): New. Update gdbserver expected
8281 output.
8282 (gdbserver_spawn): Use them.
8283 (gdbserver_start_extended): New.
8284
8285 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8286
8287 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
8288 Run on GNU/Linux.
8289 (do_exec_tests): Check for systems which do not support catchpoints.
8290 Do not match START.
8291 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
8292 Run on GNU/Linux. Enable verbose output.
8293 (check_fork_catchpoints): New.
8294 (explicit_fork_child_follow, catch_fork_child_follow)
8295 (tcatch_fork_parent_follow): Update expected messages.
8296 (do_fork_tests): Use check_fork_catchpoints.
8297 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
8298 Run on GNU/Linux. Enable verbose output.
8299 (check_vfork_catchpoints): New.
8300 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
8301 expected messages.
8302 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
8303
8304 2008-01-29 Jim Blandy <jimb@red-bean.com>
8305
8306 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
8307 host' errors.
8308 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
8309
8310 2008-01-29 Jim Blandy <jimb@red-bean.com>
8311
8312 * gdb.threads/sigthread.c: Use barriers to ensure that
8313 child_thread and child_thread_two are always initialized before we
8314 start to use them.
8315
8316 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
8317
8318 * gdb.base/watchpoint-solib.exp: New.
8319 * gdb.base/watchpoint-solib.c: New.
8320 * gdb.base/watchpoint-solib-shr.c: New.
8321
8322 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
8323
8324 * gdb.base/gdb1056.exp: Add unsigned integer test.
8325
8326 2008-01-28 Doug Evans <dje@google.com>
8327
8328 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
8329
8330 2008-01-27 Jim Blandy <jimb@codesourcery.com>
8331
8332 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
8333
8334 * gdb.base/expand-psymtabs.exp: Doc fix.
8335
8336 2008-01-26 Mark Kettenis <kettenis@gnu.org>
8337
8338 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8339
8340 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
8341
8342 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
8343 -var-set-format.
8344
8345 2008-01-23 Chris Demetriou <cgd@google.com>
8346
8347 * gdb.threads/thread_events.c: New testcase source file.
8348 * gdb.threads/thread_events.exp: New testcase expect file.
8349
8350 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
8351
8352 * lib/gdb.exp: Add the variable octal.
8353
8354 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
8355 -var-set-format.
8356
8357 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8358 Vladimir Prus <vladimir@codesourcery.com>
8359
8360 * gdb.base/float.exp: Allow missing floating point for m68k and
8361 PowerPC.
8362
8363 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
8364
8365 * gdb.mi/basics.c: Setup for testing breakpoints
8366 ignore count.
8367 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
8368 * gdb.mi/mi-cli.exp: Adjust.
8369 * gdb.mi/mi2-cli.exp: Adjust.
8370
8371 2008-01-17 Pedro Alves <pedro@codesourcery.com>
8372
8373 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
8374 and 'dummy_ptr' integer pointer. Initialize struct_declarations
8375 with dummy_ptr's address.
8376 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
8377 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
8378 all targets.
8379 * gdb.mi/mi2-var-child.exp: Likewise.
8380
8381 2008-01-09 Joel Brobecker <brobecker@adacore.com>
8382
8383 * gdb.ada/null_array: New test program.
8384 * gdb.ada/null_array.exp: New testcase.
8385
8386 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
8387
8388 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8389 with required float modifiers.
8390
8391 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8392
8393 * gdb.ada/funcall_param: New test program.
8394 * gdb.ada/funcall_param.exp: New testcase.
8395
8396 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8397
8398 * gdb.ada/arrayparam: New test program.
8399 * gdb.ada/arrayparam.exp: New testcase.
8400
8401 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8402
8403 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8404 landed. Should also fix random failures in the test following it.
8405
8406 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8407
8408 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8409 for expressions with decimal float values.
8410 (test_dfp_conversions): New function to test casts to and from
8411 decimal float types.
8412 Call test_dfp_conversions.
8413 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8414 elements.
8415 (main): Initialize ds.float4 and ds.double8 elements.
8416 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8417 string to new error message.
8418 (d64_set_tests): Likewise.
8419 (d128_set_tests): Likewise.
8420 Add tests for expressions with decimal float variables. Add tests for
8421 conversions to and from decimal float types.
8422
8423 2008-01-05 Joel Brobecker <brobecker@adacore.com>
8424
8425 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8426 * gdb.ada/packed_tagged.exp: New testcase.
8427
8428 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8429
8430 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8431 gdb.ada/homonym/homonym_main.adb: New files.
8432 * gdb.ada/homonym.exp: New testcase.
8433
8434 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8435
8436 * gdb.ada/packed_array.exp: Add testing of references to
8437 a packed array.
8438
8439 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8440
8441 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8442 New files.
8443 * gdb.ada/type_coercion.exp: New testcase.
8444
8445 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8446
8447 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8448 gdb.ada/tagged/foo.adb: New file.
8449 * gdb.ada/tagged.exp: New testcase.
8450
8451 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8452
8453 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8454 gdb.ada/ptype_field/foo.adb: New files.
8455 * gdb.ada/ptype_field.exp: New testcase.
8456
8457 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8458
8459 * gdb.ada/print_pc.exp: New testcase.
8460
8461 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8462
8463 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8464 gdb.ada/taft_type/p.adb: New files.
8465 * gdb.ada/taft_type.exp: New testcase.
8466
8467 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8468
8469 * gdb.ada/array_bounds/bar.adb: New file.
8470 * gdb.ada/array_bounds.exp: New testcase.
8471
8472 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8473
8474 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8475 gdb.ada/arrayptr/foo.adb: New files.
8476 * gdb.ada/arrayptr.exp: New testcase.
8477
8478 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8479
8480 * gdb.base/set-lang-auto.exp: New testcase.
8481
8482 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8483
8484 * gdb.ada/fun_addr/foo.adb: New file.
8485 * gdb.ada/fun_addr.exp: New testcase.
8486
8487 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8488
8489 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8490 New files
8491
8492 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8493
8494 * array_subscript_addr/p.adb: New file.
8495 * array_subscript_addr.exp: New testcase.
8496
8497 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8498
8499 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
8500 New files.
8501 * gdb.ada/str_cmp_ref.exp: New testcase.
8502
8503 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8504
8505 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8506 gdb.ada/fun_in_declare/foo.adb: New files.
8507 * gdb.ada/fun_in_declare.exp: New testcase.
8508
8509 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8510
8511 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8512 gdb.ada/ref_param/pck.ads: New files.
8513 * gdb.ada/ref_param.exp: New testcase.
8514
8515 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8516
8517 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8518 gdb.ada/interface/foo.adb: New files.
8519 * gdb.ada/interface.exp: New testcase.
8520
8521 2007-12-31 Jim Blandy <jimb@codesourcery.com>
8522
8523 * gdb.base/multi-forks.exp: Consume all output from child
8524 processes before proceeding to next test.
8525
8526 2007-12-29 Jim Blandy <jimb@codesourcery.com>
8527
8528 * configure: Regenerated.
8529
8530 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8531
8532 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
8533 gdb.ada/fixed_cmp/fixed.adb: New files.
8534 * gdb.ada/fixed_cmp.exp: New testcase.
8535
8536 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8537
8538 * gdb.ada/boolean_expr.exp: New testcase.
8539
8540 2007-12-26 Jim Blandy <jimb@codesourcery.com>
8541
8542 * gdb.base/multi-forks.exp: Doc fix.
8543
8544 2007-12-26 Joel Brobecker <brobecker@adacore.com>
8545
8546 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8547 * gdb.ada/char_param.exp: Do not compile our test program with
8548 -gnata, this is unnecessary.
8549 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
8550
8551 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8552
8553 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
8554 gdb.ada/print_chars/foo.adb: New files.
8555 * gdb.ada/print_chars.exp: New testcase.
8556
8557 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8558
8559 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
8560 gdb.ada/char_param/foo.adb: New files.
8561 * gdb.ada/char_param.exp: New testcase.
8562
8563 2007-12-22 Jim Blandy <jimb@codesourcery.com>
8564
8565 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
8566 hard-coding source line numbers into the test.
8567 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
8568 gdb_get_line_number to find.
8569
8570 2007-12-22 Joel Brobecker <brobecker@adacore.com>
8571
8572 * gdb.base/ptype.c (highest): New struct type.
8573 (the_highest): New variable of that type.
8574 (main): Add dummy assignment to a field of variable the_highest.
8575 * gdb.base/ptype.exp: Test type printing of our new variable.
8576
8577 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
8578
8579 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
8580 and record first explicitly generated thread number.
8581 Use that thread number for thread specific watchpoint test.
8582 Add iteration number to repetitive tests.
8583
8584 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8585 Jim Blandy <jimb@codesourcery.com>
8586
8587 * gdb.base/expand-psymtabs.c: New testcase
8588 source file.
8589 * gdb.base/expand-psymtabs.exp: New testcase
8590 expect file.
8591
8592 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
8593
8594 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
8595 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
8596
8597 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8598
8599 * gdb.ada/frame_args/foo.adb: New file.
8600 * gdb.ada/frame_args/pck.ads: New file.
8601 * gdb.ada/frame_args/pck.adb: New file.
8602 * gdb.ada/frame_args.exp: New testcase.
8603
8604 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8605
8606 * gdb.base/frame-args.c: New file.
8607 * gdb.base/frame-args.exp: New testcase.
8608
8609 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
8610 Joseph Myers <joseph@codesourcery.com>
8611
8612 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
8613
8614 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
8615
8616 * gdb.mi/mi-pending.exp: New.
8617 * gdb.mi/mi-pending.c: New.
8618 * gdb.mi/mi-pendshr.c: New.
8619
8620 2007-12-06 Jim Blandy <jimb@codesourcery.com>
8621
8622 * gdb.base/default.exp: Update expected output for 'info catch'.
8623
8624 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8625
8626 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
8627 must be set to binary.
8628
8629 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
8630
8631 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
8632
8633 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
8634
8635 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
8636 gdb.mi/mi-file-transfer.exp: New.
8637
8638 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8639
8640 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
8641
8642 2007-11-22 Maciej W. Rozycki <macro@mips.com>
8643
8644 * gdb.trace/backtrace.exp: Fix a typo.
8645 * gdb.trace/circ.exp: Likewise.
8646 * gdb.trace/collection.exp: Likewise.
8647 * gdb.trace/limits.exp: Likewise.
8648 * gdb.trace/report.exp: Likewise.
8649 * gdb.trace/tfind.exp: Likewise.
8650 * gdb.trace/while-dyn.exp: Likewise.
8651
8652 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
8653
8654 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
8655 objects of pointers that can't be dereferenced are now
8656 "noneditable".
8657
8658 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8659
8660 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
8661 (target_cpu): Remove.
8662
8663 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
8664
8665 * gdb.base/ending-run.exp: Expect the list of cleared
8666 breakpoint to come in natural order, not the reversed one.
8667
8668 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
8669
8670 * gdb.mi/mi-var-child.c (do_child_deletion): New.
8671 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
8672
8673 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
8674
8675 * gdb.base/printcmds.exp: New function
8676 test_printf_with_dfp.
8677
8678 2007-11-02 Doug Evans <dje@google.com>
8679
8680 * gdb.disasm/t01_mov.s: Remove carriage returns.
8681 * gdb.disasm/t02_mova.s: Ditto.
8682 * gdb.disasm/t03_add.s: Ditto.
8683 * gdb.disasm/t04_sub.s: Ditto.
8684 * gdb.disasm/t05_cmp.s: Ditto.
8685 * gdb.disasm/t06_ari2.s: Ditto.
8686 * gdb.disasm/t07_ari3.s: Ditto.
8687 * gdb.disasm/t08_or.s: Ditto.
8688 * gdb.disasm/t09_xor.s: Ditto.
8689 * gdb.disasm/t10_and.s: Ditto.
8690 * gdb.disasm/t11_logs.s: Ditto.
8691 * gdb.disasm/t12_bit.s: Ditto.
8692 * gdb.disasm/t13_otr.s: Ditto.
8693
8694 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8695
8696 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
8697
8698 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8699
8700 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
8701 provide DFP support.
8702
8703 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
8704
8705 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
8706 Test "set powerpc vector-abi". Skip auto-detection tests for old
8707 toolchains.
8708
8709 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8710
8711 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
8712 with [string compare].
8713
8714 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8715
8716 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
8717 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
8718
8719 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
8720
8721 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
8722 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
8723 * gdb.opt/Makefile.in: New makefile.
8724 * Makefile.in: Create new directory "gdb.opt".
8725 * configure.ac: Add "gdb.opt" directory.
8726 * configure: Regenerated.
8727
8728 2007-10-25 Doug Evans <dje@google.com>
8729
8730 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
8731 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
8732
8733 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
8734 Thiago Jung Bauermann <bauerman@br.ibm.com>
8735
8736 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
8737 Floating Point expressions.
8738 * gdb.base/dfp-test.exp: new file adding tests for Decimal
8739 Floating Point variables.
8740 * gdb.base/dfp-test.c: new file containing program with Decimal
8741 Floating variables, used by gdb.base/dfp-test.exp.
8742
8743 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
8744
8745 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
8746
8747 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8748
8749 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
8750 compiling test case with GCC.
8751 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
8752
8753 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8754
8755 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8756 format changes.
8757
8758 2007-10-18 Michael Snyder <msnyder@specifix.com>
8759
8760 * gdb.base/dbx.exp: Add missing "-re " operator.
8761
8762 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
8763
8764 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
8765 * configure.ac: Removed trailing spaces after backslash.
8766 * gdb.modula2: New directory.
8767 * gdb.modula2/Makefile.in: New file.
8768 * gdb.modula2/unbounded-array.exp: New file.
8769 * gdb.modula2/unbounded1.c: New file.
8770
8771 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
8772
8773 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
8774
8775 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
8776
8777 * gdb.base/sigstep.c (main): Add checks for
8778 return values for setitimer call.
8779 Call setitimer again with itimer = ITIMER_REAL
8780 if first call to setitimer fails.
8781
8782 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
8783
8784 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
8785 of $timeout.
8786
8787 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8788
8789 * gdb.server/server-run.exp: Test for dynamic linker symbols.
8790
8791 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
8792
8793 * lib/gdb.exp (gdb_run_cmd): Move comment outside
8794 of gdb_expect call, to avoid interruption.
8795
8796 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
8797
8798 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
8799 (v_unsigned_long_long, v_long_long_array)
8800 (v_signed_long_long_array, v_unsigned_long_long_array)
8801 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
8802 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
8803 [!NO_LONG_LONG]: New.
8804 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
8805 v_long_long_member.
8806
8807 (v_long_long_func, v_signed_long_long_func)
8808 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
8809 (main) [!NO_LONG_LONG]: Initialize long long variants.
8810
8811 * gdb.base/whatis.exp: If board file requests no_long_long, build
8812 test with NO_LONG_LONG defined. Test long long, signed long long,
8813 and unsigned long long variants but only if board file doesn't
8814 disable it.
8815
8816 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
8817 Daniel Jacobowitz <dan@codesourcery.com>
8818
8819 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
8820 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
8821 * configure: Regenerated.
8822 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
8823 gdb.pascal/types.exp, lib/pascal.exp: New files.
8824
8825 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
8826
8827 * gdb.cp/classes.exp (do_tests): Always step to the line after the
8828 call.
8829 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
8830 to return to the call.
8831 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
8832 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
8833 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
8834 * gdb.mi/mi-until.exp (test_until): Likewise.
8835 * gdb.mi/mi2-until.exp (test_until): Likewise.
8836
8837 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
8838
8839 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
8840 two-char array.
8841 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
8842
8843 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
8844
8845 * gdb.threads/watchthreads.c (thread_function): Sleep between
8846 iterations.
8847 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
8848 at once for S/390. Generate matching fails and passes.
8849
8850 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
8851
8852 * gdb.mi/var-cmd.c (do_children_tests): Initialize
8853 the 'struct_declarations' variable to zeros.
8854
8855 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
8856
8857 * gdb.cp/mb-ctor.cc: New.
8858 * gdb.cp/mb-ctor.exp: New.
8859 * gdb.cp/mb-templates.cc: New.
8860 * gdb.cp/mb-templates.exp: New.
8861
8862 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
8863
8864 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
8865
8866 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
8867
8868 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
8869 targets.
8870 * configure: Regenerate.
8871
8872 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
8873
8874 * gdb.base/annota1.exp: Adjust for 'info break'
8875 format changes.
8876 * gdb.base/annota3.exp: Likewise.
8877 * gdb.base/break.exp: Likewise.
8878 * gdb.base/condbreak.exp: Likewise.
8879 * gdb.base/pending.exp: Likewise.
8880 * gdb.base/sepdebug.exp: Likewise.
8881 * gdb.base/unload.exp: Likewise.
8882 * gdb.base/ovldbreak.exp: Likewise.
8883
8884 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
8885
8886 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
8887 messages.
8888 * gdb.base/chng-syms.exp: Likewise.
8889 * gdb.base/unload.exp: Likewise.
8890
8891 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
8892
8893 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
8894
8895 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
8896
8897 * schedlock.c (NUM): Change to 1.
8898 (main): Use args[0] for the main thread.
8899 * schedlock.exp: Only expect two threads. Only issue one pass or fail
8900 regardless of the number of threads.
8901
8902 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8903
8904 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
8905 type down.
8906 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8907 test.
8908 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
8909 watchpoint type down.
8910 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8911 test.
8912
8913 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8914
8915 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
8916 Move all the tests here and run them twice, once using software
8917 watchpoints and once using hardware watchpoints.
8918 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
8919
8920 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
8921
8922 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
8923 test.
8924
8925 2007-09-10 Mark Kettenis <kettenis@gnu.org>
8926
8927 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
8928 build-id.
8929
8930 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
8931 know about $ORIGIN. Calculate output dir from $dest instead of
8932 using ${objdir}/{$subdir}.
8933
8934 2007-09-09 Mark Kettenis <kettenis@gnu.org>
8935
8936 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
8937 gcore, before continuing with the test.
8938
8939 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
8940
8941 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
8942 * gdb.mi/mi-watch.exp: Likewise.
8943
8944 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8945 Jim Blandy <jimb@codesourcery.com>
8946
8947 * gdb.arch/i386-sse.exp: Do not expect character constants.
8948 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
8949 * gdb.base/display.exp: Allow print/s.
8950 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
8951 and unsigned char array changes.
8952
8953 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8954
8955 * gdb.base/display.exp: Add tests for printf %p.
8956
8957 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
8958
8959 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
8960 the dll name to unicode.
8961
8962 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8963
8964 * gdb.base/default.exp (show version): Update the version text.
8965 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
8966
8967 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8968
8969 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
8970 New files.
8971
8972 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8973
8974 * lib/gdb.exp (build_id_debug_filename_get): New function.
8975 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
8976 Remove the generate DEBUG file for the future testcase runs.
8977 New testcase for the NT_GNU_BUILD_ID retrieval.
8978 Move the final testing step to ...
8979 (test_different_dir): ... a new function.
8980 New parameter XFAIL to XFAIL all the tests performed.
8981 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
8982 New parameter TYPE to PF_PREFIX all the tests performed.
8983
8984 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
8985
8986 * gdb.mi/mi-var-cp.cc (path_expression): New
8987 function.
8988 * gdb.mi/mi-var-cp.exp: Run path exression tests.
8989
8990 2007-08-27 Markus Deuling <deuling@de.ibm.com>
8991
8992 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
8993 to fit into SPU Local Store memory.
8994
8995 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8996
8997 * gdb.base/default.exp: Adjust the expected output of "info
8998 warranty" after the switch to GPLv3.
8999
9000 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9001
9002 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
9003 to 30000 (from 20000).
9004
9005 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9006
9007 Switch the license of all .exp files to GPLv3.
9008 Switch the license of all .f and .f90 files to GPLv3.
9009 Switch the license of all .s and .S files to GPLv3.
9010
9011 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9012
9013 * configure.ac: Switch license to GPLv3.
9014
9015 2007-08-23 Joel Brobecker <brobecker@adacore.com>
9016
9017 Switch the licensing to GPLv3 for all .ads and .adb files.
9018
9019 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
9020
9021 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
9022 and t_int_double.
9023 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
9024
9025 2007-08-17 Joel Brobecker <brobecker@adacore.com>
9026
9027 * gdb.base/step-line.c: Switch license to GPL version 3, and
9028 update copyright year.
9029 * gdb.base/step-line.inp: Likewise.
9030
9031 2007-08-17 Joel Brobecker <brobecker@adacore.com>
9032
9033 * gdb.base/gdb1555.exp: Make expected output immune to formatting
9034 changes inside gdb1555.c.
9035 * gdb.base/pending.exp: Likewise.
9036
9037 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
9038
9039 * config/default.exp: New file.
9040
9041 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9042
9043 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
9044 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
9045
9046 2007-07-30 Maciej W. Rozycki <macro@mips.com>
9047
9048 * gdb.base/dump.exp: Force the correct endianness for binary
9049 formats not carrying this information.
9050
9051 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9052
9053 * gdb.threads/staticthreads.exp: Match .*sem_post.
9054
9055 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9056
9057 * gdb.base/readline.exp (operate_and_get_next): Match the final
9058 prompt.
9059
9060 2007-07-23 Kevin Buettner <kevinb@redhat.com>
9061
9062 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
9063 to restarting SID.
9064
9065 2007-07-18 Kevin Buettner <kevinb@redhat.com>
9066
9067 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
9068 prior to `gdb_start'.
9069
9070 2007-07-18 Kevin Buettner <kevinb@redhat.com>
9071
9072 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
9073 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
9074 Remove call to gdb_unload.
9075
9076 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
9077 Daniel Jacobowitz <dan@codesourcery.com>
9078
9079 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
9080 for __WIN32__.
9081 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
9082 * gdb.base/unload.exp: Use shared library test routines.
9083
9084 2007-07-03 Markus Deuling <deuling@de.ibm.com>
9085
9086 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
9087 * gdb.base/solib-symbol-lib.c: Likewise.
9088 * gdb.base/solib-symbol-main.c: Likewise.
9089
9090 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
9091
9092 * config/gdbserver.exp (gdb_reconnect): New.
9093 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
9094 gdb.base/solib-disc.exp: New files.
9095 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
9096 remote debugging".
9097 (gdb_compile): Add shlib_load flag.
9098 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
9099 port.
9100 (gdbserver_reconnect): New.
9101
9102 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
9103 Daniel Jacobowitz <dan@codesourcery.com>
9104
9105 * gdb.base/annota3.exp: Test for if construct.
9106
9107 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
9108
9109 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
9110
9111 2007-06-21 Chris Dearman <chris@mips.com>
9112 Maciej W. Rozycki <macro@mips.com>
9113
9114 * gdb.base/display.exp: Allow a newline after display/i.
9115 * gdb.base/pc-fp.exp: Likewise.
9116 * gdb.base/sigbpt.exp: Likewise.
9117
9118 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9119
9120 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
9121 required features to be included.
9122
9123 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9124
9125 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
9126 in info threads output.
9127
9128 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9129 Markus Deuling <deuling@de.ibm.com>
9130
9131 * gdb.arch/spu-info.exp: New testcase.
9132 * gdb.arch/spu-info.c: New file.
9133
9134 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
9135
9136 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
9137 tpcs_offset. Restore lr after the call.
9138 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
9139
9140 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
9141
9142 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
9143 (gdbserver_run): Kill any running gdbserver.
9144 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
9145
9146 2007-05-17 Maciej W. Rozycki <macro@mips.com>
9147
9148 * gdb.base/sigbpt.exp: Preset segv_addr.
9149
9150 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
9151
9152 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
9153 (gdb_compile_shlib): Likewise.
9154 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
9155 (default_gdb_init): Clear cleanfiles.
9156 (gdb_finish): Delete recorded cleanfiles.
9157 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
9158
9159 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
9160 Do not use isnative.
9161 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
9162 gdb.base/so-impl-ld.exp: Likewise.
9163 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
9164 * gdb.base/unload.exp: Likewise. Do not pass empty option to
9165 gdb_compile.
9166
9167 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
9168
9169 * config/unknown.exp: Remove.
9170
9171 2007-05-15 Markus Deuling <deuling@de.ibm.com>
9172
9173 * gdb.base/info-proc.exp: Check is_remote.
9174
9175 2007-05-14 Markus Deuling <deuling@de.ibm.com>
9176
9177 * gdb.base/gcore.exp: Initialize variable core_supported.
9178
9179 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9180
9181 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
9182
9183 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9184
9185 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
9186 * gdb.threads/print-threads.exp (test_all_threads): Allow
9187 negative and hexadecimal thread IDs.
9188
9189 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
9190
9191 * gdb.java/jprint.java (public): Avoid invalid call to static
9192 method.
9193
9194 2007-05-14 Denis Pilat <denis.pilat@st.com>
9195
9196 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
9197 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
9198 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9199 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
9200 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
9201
9202 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9203
9204 * gdb.base/overlays.exp: Add support for targets with only code
9205 overlay support, not data overlay. Support spu-*-* target in
9206 this mode.
9207 * gdb.base/ovlymgr.c: Provide stubs for spu target.
9208 * gdb.base/spu.ld: New file.
9209
9210 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
9211
9212 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
9213
9214 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
9215
9216 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
9217
9218 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9219
9220 * gdb.java/jmain.exp: Handle demangled names with and without method
9221 signatures.
9222
9223 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
9224
9225 * gdb.mi/mi-syn-frame.c (main, foo, bar)
9226 (have_a_very_merry_interrupt): Remove calls to puts.
9227 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
9228 inferior output.
9229 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
9230 test names.
9231
9232 2007-04-29 Markus Deuling <deuling@de.ibm.com>
9233 Daniel Jacobowitz <dan@codesourcery.com>
9234
9235 * gdb.base/auxv.exp (core_works): Also check is_remote.
9236 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
9237
9238 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
9239
9240 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
9241 message, not the undefined 'module' variable.
9242 * gdb.base/siginfo.exp: Likewise.
9243 * gdb.base/sigstep.exp: Likewise.
9244 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
9245 serialport.
9246 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
9247
9248 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
9249
9250 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
9251 target sim fails. Return 0 otherwise.
9252 (gdb_load): Return prematurely if gdb_target_sim fails.
9253
9254 2007-04-16 Denis Pilat <denis.pilat@st.com>
9255
9256 * gdb.base/setshow.exp: Reset height after having set it to 100.
9257
9258 2007-04-16 Denis Pilat <denis.pilat@st.com>
9259
9260 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
9261
9262 2007-04-16 Denis Pilat <denis.pilat@st.com>
9263
9264 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
9265
9266 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
9267
9268 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
9269 tests. Run the frozen varobjs test.
9270 * gdb.mi/var-cmd.c (do_frozen_tests): New.
9271 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
9272
9273 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9274
9275 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
9276 gdb.base/type-opaque.exp: New files.
9277
9278 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
9279
9280 * gdb.mi/mi-var-child.c
9281 (do_children_tests): User char[2] instead of
9282 char so that automatic printing of pointers to char
9283 don't give unpredicable result.
9284 * gdb.mi/var-cmd.c (do_locals_test): Initialize
9285 local variables.
9286 * gdb.mi/mi-var-child.exp: Step to right line
9287 of do_children_tests.
9288 * gdb.mi/mi2-var-child.exp: Likewise.
9289 * gdb.mi/mi-var-cmd.exp: Step to right line of
9290 do_locals_tests.
9291 (do_children_tests): User char[2] instead of
9292 char so that automatic printing of pointers to char
9293 don't give unpredicable result.
9294 * gdb.mi/mi2-var-cmd.exp: Likewise.
9295 * lib/mi-support.exp (mi_continue_to_line):
9296 Pass test name to mi_wait_for_stop.
9297
9298 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9299
9300 * gdb.asm/asm-source.exp: Remove d10v case.
9301 * lib/gdb.exp (skip_cplus_tests): Likewise.
9302 * gdb.asm/d10v.inc: Deleted.
9303
9304 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9305
9306 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
9307
9308 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9309
9310 * config/netware.exp: Delete file.
9311
9312 2007-03-29 Joel Brobecker <brobecker@adacore.com>
9313
9314 * gdb.dwarf2/dw2-noloc.S: New file.
9315 * gdb.dwarf2/dw2-noloc.exp: New file.
9316
9317 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
9318
9319 * gdb.cp/method2.cc: New test.
9320 * gdb.cp/method2.exp: New test.
9321 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
9322
9323 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9324
9325 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
9326
9327 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
9328
9329 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
9330
9331 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9332
9333 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
9334 (gdb_load): Delete, replace with...
9335 (gdb_reload): ...this.
9336 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
9337 * gdb.server/server-mon.exp: Likewise.
9338 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
9339 (gdb_start_cmd): New.
9340 (gdb_file_cmd): Save the last loaded file.
9341 (gdb_reload): New.
9342 (gdb_gnu_strip_debug): Use transform.
9343 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9344 support here. Use new $last_loaded_file. Check mtime.
9345 (gdb_target_cmd): Handle ObjC failure case.
9346 (infer_host_exec): Delete.
9347 (gdbserver_load): Rename to...
9348 (gdbserver_run): ...this. Simplify.
9349 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
9350 (mi_gdb_load): Move most contents to a new function...
9351 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
9352 (mi_run_cmd): Use mi_gdb_target_load.
9353 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
9354 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
9355 Use gdb_run_cmd.
9356 * gdb.base/charsign.exp: Remove incorrect comment.
9357 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
9358 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
9359 gdb.base/start.exp: Use gdb_start_cmd.
9360
9361 2007-03-23 Nigel Stephens <nigel@mips.com>
9362 Maciej W. Rozycki <macro@mips.com>
9363
9364 * gdb.base/sigbpt.exp: Fix the message when skipping test.
9365 * gdb.base/signull.exp: Similarly.
9366
9367 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9368
9369 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
9370 messages available to test cases (like chng-sym.exp).
9371
9372 2007-03-14 Andreas Schwab <schwab@suse.de>
9373
9374 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9375 format changes.
9376
9377 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
9378
9379 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
9380 (optimized_1): New.
9381 (main): Call optimized_1.
9382 (gdb2029): Correct typos. Call gdb2029_marker.
9383 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
9384 for gdb2029.
9385
9386 2007-03-12 Mark Kettenis <kettenis@gnu.org>
9387
9388 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9389 as tabs. Remove redundant test pattern.
9390
9391 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9392
9393 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9394 for /a format output.
9395
9396 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9397
9398 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9399 collect output incrementally.
9400
9401 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9402
9403 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9404 for -var-create lpcharacter test.
9405 * gdb.mi/mi2-var-cmd.exp: Likewise.
9406
9407 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9408
9409 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9410 pass on targets where address zero is readable.
9411
9412 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9413
9414 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9415 just a single architecture.
9416
9417 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9418
9419 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9420 (fetch_all_registers): New function, uses gdb_test_multiple and
9421 exp_continue to fetch inferior output line-by-line.
9422 Replace all uses of do_get_all_registers by fetch_all_registers.
9423
9424 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9425
9426 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9427 in target_info.
9428
9429 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9430
9431 * gdb.threads/manythreads.exp: Use $message string for
9432 consistancy; add a default (timeout) case.
9433
9434 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9435
9436 * gdb.base/watchpoint.exp: Fix truncated comment.
9437
9438 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9439
9440 * Makefile.in: Remove spurious single-quotes from sed command.
9441
9442 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9443
9444 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9445 func.
9446 * gdb.mi/mi2-var-cmd.exp: Likewise.
9447
9448 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9449
9450 * gdb.dwarf2/dw2-producer.S: New file.
9451 * gdb.dwarf2/dw2-producer.exp: New testcase.
9452
9453 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
9454
9455 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9456 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9457 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9458 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9459 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9460 Revert tests to use mi_gdb_test and include value field in output
9461 of -var-create.
9462
9463 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9464
9465 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9466
9467 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9468
9469 * gdb.base/maint.exp: Remove full paths from test names.
9470 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9471 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9472
9473 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9474
9475 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9476
9477 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9478
9479 * gdb.server/server-mon.exp: New test.
9480
9481 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9482
9483 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9484
9485 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9486
9487 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9488 register capitalization.
9489
9490 2007-02-13 Denis Pilat <denis.pilat@st.com>
9491
9492 * gdb.mi/mi-var-invalidate.exp: New file.
9493
9494 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9495
9496 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9497
9498 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9499
9500 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9501
9502 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9503
9504 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9505 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9506
9507 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
9508
9509 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9510 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9511 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9512 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9513 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9514 * gdb.mi/gdb792.exp, lib/mi-support.exp:
9515 Update tests to include value field in output of -var-create.
9516
9517 2007-02-08 Andreas Schwab <schwab@suse.de>
9518
9519 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9520
9521 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9522
9523 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
9524 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
9525
9526 2007-02-02 Denis Pilat <denis.pilat@st.com>
9527
9528 * gdb.threads/threadapply.exp: check that frame is not changed by
9529 the thread apply all command.
9530
9531 2007-01-31 Andreas Schwab <schwab@suse.de>
9532
9533 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9534
9535 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
9536 in the dwarf sections.
9537 * gdb.dwarf2/mac-fileno.S: Likewise.
9538
9539 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
9540 bspstore register on ia64.
9541
9542 2007-01-29 Andreas Schwab <schwab@suse.de>
9543
9544 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
9545 "frame-begin" annotation.
9546
9547 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
9548 number of "frames-invalid" annotations.
9549
9550 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9551
9552 * gdb.base/commands.exp: Call if_commands_test.
9553 (gdb_test_no_prompt, if_commands_test): New.
9554
9555 2007-01-28 Mark Kettenis <kettenis@gnu.org>
9556
9557 * gdb.threads/sigthread.c (NSIGS): Make bigger.
9558
9559 2007-01-27 Andreas Schwab <schwab@suse.de>
9560
9561 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
9562 .short/.int/.quad in the dwarf sections.
9563 * gdb.dwarf2/dw2-intercu.S: Likewise.
9564 * gdb.dwarf2/dw2-intermix.S: Likewise.
9565
9566 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9567
9568 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
9569 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
9570 array.
9571 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
9572 * gdb.base/setvar.exp: Likewise.
9573
9574 2007-01-26 Andreas Schwab <schwab@suse.de>
9575
9576 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
9577 test.
9578
9579 * gdb.base/multi-forks.exp ("restart $i"): Also match
9580 __kernel_syscall_via_break.
9581
9582 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
9583
9584 * lib/mi-support.exp (mi_delete_varobj): New.
9585 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
9586 testcase.
9587 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
9588 (main): Call the above.
9589 (reference_update_test, base_in_reference_test)
9590 (reference_to_pointer): Delete the created varobjs.
9591
9592 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
9593
9594 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
9595 * configure: Regenerated.
9596 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
9597 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
9598 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
9599 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
9600 * lib/gdb.exp (gdb_skip_xml_test): New function.
9601
9602 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
9603
9604 * gdb.base/sigrepeat.exp: Correct error message.
9605
9606 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9607 Daniel Jacobowitz <dan@codesourcery.com>
9608
9609 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
9610 gdb.arch/i386-gnu-cfi-asm.S: New files.
9611
9612 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9613
9614 * lib/gdb.exp: Abort on missing `site.exp'.
9615
9616 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9617 Daniel Jacobowitz <dan@codesourcery.com>
9618
9619 * gdb.base/included.c, gdb.base/included.exp,
9620 gdb.base/included.h: New files.
9621
9622 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9623
9624 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
9625 (maximize_rlimit): Reduce limits on 64-bit systems.
9626
9627 2007-01-19 Mark Kettenis <kettenis@gnu.org>
9628
9629 From Marcus Deuling <deuling@de.ibm.com>:
9630 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
9631 every case.
9632
9633 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
9634
9635 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
9636 (test_path_specification): Use objdir instead of srcdir to always
9637 get an absolute filename.
9638
9639 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
9640
9641 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
9642
9643 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
9644
9645 * gdb.mi/mi-var-cp.cc (reference_update_tests):
9646 Make sure the variable we're using is in scope.
9647 (reference_to_pointer): Likewise.
9648
9649 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9650
9651 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
9652 has no debug information.
9653
9654 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9655
9656 * gdb.base/annota1.exp: Remove extra send_gdb.
9657
9658 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9659
9660 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
9661
9662 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9663
9664 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
9665
9666 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
9667 Daniel Jacobowitz <dan@codesourcery.com>
9668
9669 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
9670 lcharacter or linteger change. Correct duplicated test name.
9671 * gdb.mi/mi2-var-cmd.exp: Likewise.
9672
9673 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9674
9675 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
9676
9677 2007-01-05 Joel Brobecker <brobecker@adacore.com>
9678
9679 * gdb.base/nofield.c: New file.
9680 * gdb.base/nofield.exp: New testcase.
9681
9682 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
9683
9684 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
9685
9686 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
9687 test.
9688
9689 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9690
9691 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
9692
9693 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9694
9695 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
9696 when continuing.
9697
9698 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9699
9700 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
9701 Expect ".exe" extension.
9702
9703 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9704
9705 * gdb.base/charset.exp: Add explicit filename to break.
9706 * gdb.base/dbx.exp: Add explicit filename to breaks.
9707
9708 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9709
9710 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
9711 * gdb.mi/mi2-file.exp: Likewise.
9712
9713 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9714
9715 Implement specification of MI tests as comments
9716 in C and C++ sources.
9717 * lib/mi-support.exp (mi_autotest_data): New variable.
9718 (mi_autotest_source): New variable.
9719 (count_newlines, mi_prepare_inline_tests)
9720 (mi_get_inline_test, mi_continue_to_line)
9721 (mi_run_inline_test, mi_tbreak)
9722 (mi_send_resuming_command, mi_wait_for_stop): New functions.
9723 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
9724 Run inline tests.
9725 * gdb.mi/mi-var-cp.cc: Define tests here.
9726
9727 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9728
9729 Simplify usage of mi_continue_to.
9730 * lib/mi-support.exp (mi_runto_helper): Renamed
9731 from mi_runto, added new parameter 'run_or_continue'.
9732 (mi_runto): Use mi_runto_helper.
9733 (mi_continue_to): Accept just function name as parameter.
9734 Use mi_runto_helper.
9735 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
9736 * gdb.mi/mi2-var-cmd.exp: Likewise.
9737
9738 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9739
9740 Make this testcase a bit more realistic. The current code
9741 is too simplistic, and allows the compiler to optimize out
9742 some of the entities we need for this testcase.
9743 * gdb.ada/null_record/bar.ads (Void_Star): New type.
9744 (Do_Nothing): Add extra parameter.
9745 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
9746 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
9747 by using a variable of type Void_Star.
9748
9749 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9750
9751 * gdb.ada/catch_ex/foo.adb: New file.
9752 * gdb.ada/catch_ex.exp: New testcase.
9753
9754 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
9755
9756 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
9757 pass --image-base to linker.
9758
9759 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9760 Daniel Jacobowitz <dan@codesourcery.com>
9761
9762 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
9763 secondary prompts.
9764
9765 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9766
9767 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
9768 output. Test the types of members and member pointers.
9769 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
9770 gdb/2092.
9771 * gdb.cp/member-ptr.exp: Search for a comment instead of a
9772 statement. Enable for GCC. Update expected output for some tests
9773 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
9774 layout.
9775 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
9776 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
9777 (Diamond::vget_base): New.
9778 (main): Add new tests.
9779 * gdb.cp/printmethod.exp: Update expected output for member functions.
9780 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
9781 print pEe->D::vg().
9782
9783 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9784
9785 * gdb.threads/tls.exp: Allow stops in sem_post.
9786
9787 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
9788
9789 * gdb.base/annota1.exp: Allow .*printf in backtraces.
9790 * gdb.base/annota3.exp: Likewise.
9791 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
9792 again (instead of timing out).
9793 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
9794 GCC bug 26475.
9795 * gdb.java/jmisc.exp: Adjust to work with method signatures including
9796 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
9797 test from jmisc1.exp.
9798 * gdb.java/jmisc1.exp: Delete.
9799 * gdb.java/jprint.exp: Adjust to work with method signatures including
9800 return types.
9801 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
9802 * gdb.threads/linux-dp.exp: Don't be confused by program output.
9803 * lib/java.exp (compile_java_from_source): Pass the correct type
9804 to target_compile.
9805
9806 2006-12-31 Joel Brobecker <brobecker@adacore.com>
9807
9808 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
9809 (stack_align_edx): New function.
9810 (stack_align_eax): New function.
9811 (main): Add calls to stack_align_edx and stack_align_eax.
9812 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
9813 Add testing for the cases where the register used during a stack
9814 realignment is edx. Same for eax.
9815
9816 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
9817
9818 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
9819 and generic PE targets.
9820
9821 2006-12-29 Joel Brobecker <brobecker@adacore.com>
9822
9823 * gdb.ada/array_return.exp: Update copyright date list.
9824
9825 2006-12-27 Joel Brobecker <brobecker@adacore.com>
9826
9827 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
9828 (Create_Small_Float_Vector): New function.
9829 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
9830 function body.
9831 * gdb.ada/array_return/p.adb: Use new type and function from
9832 package Pck.
9833 * gdb.ada/array_return.exp: Add a test verifying that GDB is
9834 able to print the value returned by a function returning an
9835 array of float.
9836
9837 2006-12-20 Joel Brobecker <brobecker@adacore.com>
9838
9839 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
9840 The associated tests should be PASSing.
9841
9842 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9843
9844 Test for base in references.
9845 * gdb.mi/mi-var-cp.cc: Add test code.
9846 * gdb.mi/mi-var-cp.exp: Test for bases in references.
9847 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
9848 * gdb.mi/mi2-watch.exp: Likewise.
9849 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
9850 (mi_list_varobj_children): New function.
9851
9852 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9853
9854 * lib/mi-support.exp
9855 (mi_runto): Accept "()" after function name.
9856 (mi_create_varobj): New function.
9857 (mi_varobj_update): New function.
9858 (mi_Check_varobj_value): New function.
9859 * gdb.mi/mi-var-cp.exp: New file.
9860 * gdb.mi/mi-var-cp.cc: New file.
9861
9862 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
9863
9864 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
9865 gdb.base/weaklib2.c: New files.
9866
9867 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
9868
9869 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
9870 info. Adjust test names.
9871
9872 * gdb.base/break.c (main): Move position of malloc.
9873 * gdb.base/break.exp: Revert mistaken checkin.
9874
9875 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
9876
9877 * gdb.mi/mi-var-cmd.exp: Check -var-update after
9878 assignement of arrays and function pointers.
9879 * gdb.mi/var-cmd.c: Add declaration necessary for above
9880 tests.
9881
9882 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9883
9884 * gdb.base/break.c (main): Call malloc.
9885
9886 * gdb.threads/linux-dp.exp: Read thread table before and after
9887 creating each philosopher and verify it.
9888
9889 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9890 Paul Brook <paul@codesourcery.com>
9891 Daniel Jacobowitz <dan@codesourcery.com>
9892
9893 * gdb.base/ending-run.exp: Flatten expect script stepping out of
9894 main to remove duplication. Add start function of the form
9895 '_*start[1-9]*'. Add RVDS start function.
9896
9897 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9898
9899 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
9900
9901 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9902
9903 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
9904 * gdb.asm/spu.inc: New file.
9905 * gdb.base/term.exp: Disable if [target_info exists noargs].
9906 * gdb.gdb/complaints.exp: Disable if ![isnative].
9907 * gdb.gdb/selftest.exp: Likewise.
9908 * gdb.gdb/observer.exp: Likewise.
9909 * gdb.gdb/xfullpath.exp: Likewise.
9910 * gdb.base/attach.exp: Disable on SPU target.
9911 * gdb.cp/bs145503.exp: Likewise.
9912 * gdb.cp/exception.exp: Likewise.
9913 * gdb.cp/userdef.exp: Likewise.
9914
9915 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9916
9917 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
9918
9919 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
9920
9921 * gdb.base/completion.exp: Fix completion tests for
9922 'info' and 'info '.
9923 * gdb.base/help.exp (help_test_raw, test_class_help)
9924 (test_prefix_command_help): Move...
9925 * lib/gdb.exp: Here.
9926 * gdb.base/main.exp: Adjust.
9927 * gdb.cp/maint.exp: Adjust.
9928 * gdb.trace/tracecmd.exp: Use test_help_class.
9929
9930 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9931
9932 * gdb.stabs/weird.exp (print_weird_var): Use
9933 gdb_test_multiple instead of gdb_expect.
9934
9935 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9936
9937 * gdb.base/help.exp (help_test_raw): New.
9938 (test_class_help): New.
9939 (test_prefix_command_help): New.
9940 Adjust testcases.
9941
9942 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
9943
9944 * gdb.base/constvars.c (main): Write to crass and crips, so that
9945 they are allocated by the compiler.
9946
9947 2006-10-27 Andreas Schwab <schwab@suse.de>
9948
9949 * gdb.base/multi-forks.exp: Use "detach fork" instead of
9950 "detach-fork".
9951
9952 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
9953
9954 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
9955 of patterns.
9956
9957 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9958
9959 * gdb.base/sepdebug.exp: Remove debug format test.
9960 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
9961 Handle no-symtab.
9962 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
9963
9964 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9965
9966 * gdb.threads/manythreads.c (thread_function, main): Don't cast
9967 int to pointer or pointer to int.
9968 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
9969
9970 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
9971
9972 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
9973
9974 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9975
9976 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
9977
9978 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9979
9980 PR c++/2116
9981 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
9982
9983 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9984
9985 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
9986 the corresponding bug has been fixed in GDB (PR/2018).
9987
9988 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9989
9990 * gdb.base/subst.exp: New testcase.
9991
9992 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9993
9994 * gdb.ada/array_return/pck.ads: Add copyright notice.
9995 * gdb.ada/array_return/pck.adb: Likewise.
9996 * gdb.ada/array_return/p.adb: Likewise.
9997 * gdb.ada/exec_changed/first.adb: Likewise.
9998 * gdb.ada/exec_changed/second.adb: Likewise.
9999
10000 2006-10-06 Joel Brobecker <brobecker@adacore.com>
10001
10002 * gdb.ada/watch_arg/watch.adb: New file.
10003 * gdb.ada/watch_arg.exp: New testcase.
10004
10005 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
10006
10007 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
10008 via string_to_regexp.
10009 * gdb.mi/mi2-basics.exp: Likewise.
10010
10011 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
10012
10013 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
10014 Remove unused / obsolete files.
10015
10016 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
10017
10018 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
10019
10020 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
10021
10022 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
10023 HIGH_FRAME argument to -stack-list-arguments can be larger than
10024 the number of frames.
10025
10026 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
10027
10028 * gdb.base/args.c (main): Add breakpoint marker.
10029 * gdb.base/args.exp: Use args_test for tests. Add new tests which
10030 really test empty arguments.
10031 (args_load): Delete.
10032 (args_test): New.
10033
10034 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
10035
10036 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
10037 check for one file.
10038
10039 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
10040
10041 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
10042 HIGH_FRAME argument to -stack-list-locals can be larger than
10043 the number of frames.
10044
10045 2006-08-18 Fred Fish <fnf@specifix.com>
10046
10047 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
10048 '$' in front of skip_vmx_tests_saved when setting that.
10049
10050 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
10051
10052 * gdb.base/trace-commands.exp: New file.
10053
10054 2006-08-10 Joel Brobecker <brobecker@adacore.com>
10055 Daniel Jacobowitz <dan@codesourcery.com>
10056
10057 * gdb.base/step-bt.exp: Make hexadecimal address optional in
10058 expected output of the backtrace commands.
10059
10060 2006-08-09 Joel Brobecker <brobecker@adacore.com>
10061
10062 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
10063 untested followed by return combination.
10064 * gdb.arch/altivec-regs.exp: Likewise.
10065 * gdb.arch/e500-abi.exp: Likewise.
10066 * gdb.arch/e500-regs.exp: Likewise.
10067 * gdb.arch/gdb1291.exp: Likewise.
10068 * gdb.arch/gdb1431.exp: Likewise.
10069 * gdb.arch/gdb1558.exp: Likewise.
10070 * gdb.arch/i386-prologue.exp: Likewise.
10071 * gdb.arch/i386-unwind.exp: Likewise.
10072 * gdb.asm/asm-source.exp: Likewise.
10073 * gdb.base/a2-run.exp: Likewise.
10074 * gdb.base/advance.exp: Likewise.
10075 * gdb.base/all-bin.exp: Likewise.
10076 * gdb.base/annota1.exp: Likewise.
10077 * gdb.base/annota3.exp: Likewise.
10078 * gdb.base/args.exp: Likewise.
10079 * gdb.base/arithmet.exp: Likewise.
10080 * gdb.base/assign.exp: Likewise.
10081 * gdb.base/async.exp: Likewise.
10082 * gdb.base/attach.exp: Likewise.
10083 * gdb.base/bang.exp: Likewise.
10084 * gdb.base/bigcore.exp: Likewise.
10085 * gdb.base/bitfields.exp: Likewise.
10086 * gdb.base/bitfields2.exp: Likewise.
10087 * gdb.base/break.exp: Likewise.
10088 * gdb.base/call-sc.exp: Likewise.
10089 * gdb.base/call-strs.exp: Likewise.
10090 * gdb.base/callfuncs.exp: Likewise.
10091 * gdb.base/checkpoint.exp: Likewise.
10092 * gdb.base/chng-syms.exp: Likewise.
10093 * gdb.base/code-expr.exp: Likewise.
10094 * gdb.base/commands.exp: Likewise.
10095 * gdb.base/completion.exp: Likewise.
10096 * gdb.base/cond-expr.exp: Likewise.
10097 * gdb.base/condbreak.exp: Likewise.
10098 * gdb.base/consecutive.exp: Likewise.
10099 * gdb.base/constvars.exp: Likewise.
10100 * gdb.base/corefile.exp: Likewise.
10101 * gdb.base/cvexpr.exp: Likewise.
10102 * gdb.base/dbx.exp: Likewise.
10103 * gdb.base/define.exp: Likewise.
10104 * gdb.base/detach.exp: Likewise.
10105 * gdb.base/display.exp: Likewise.
10106 * gdb.base/dump.exp: Likewise.
10107 * gdb.base/ena-dis-br.exp: Likewise.
10108 * gdb.base/ending-run.exp: Likewise.
10109 * gdb.base/environ.exp: Likewise.
10110 * gdb.base/eval-skip.exp: Likewise.
10111 * gdb.base/exprs.exp: Likewise.
10112 * gdb.base/fileio.exp: Likewise.
10113 * gdb.base/finish.exp: Likewise.
10114 * gdb.base/float.exp: Likewise.
10115 * gdb.base/foll-exec.exp: Likewise.
10116 * gdb.base/foll-fork.exp: Likewise.
10117 * gdb.base/foll-vfork.exp: Likewise.
10118 * gdb.base/freebpcmd.exp: Likewise.
10119 * gdb.base/funcargs.exp: Likewise.
10120 * gdb.base/gcore.exp: Likewise.
10121 * gdb.base/gdb1090.exp: Likewise.
10122 * gdb.base/gdb1250.exp: Likewise.
10123 * gdb.base/huge.exp: Likewise.
10124 * gdb.base/info-proc.exp: Likewise.
10125 * gdb.base/interrupt.exp: Likewise.
10126 * gdb.base/jump.exp: Likewise.
10127 * gdb.base/langs.exp: Likewise.
10128 * gdb.base/lineinc.exp: Likewise.
10129 * gdb.base/list.exp: Likewise.
10130 * gdb.base/logical.exp: Likewise.
10131 * gdb.base/long_long.exp: Likewise.
10132 * gdb.base/macscp.exp: Likewise.
10133 * gdb.base/maint.exp: Likewise.
10134 * gdb.base/mips_pro.exp: Likewise.
10135 * gdb.base/miscexprs.exp: Likewise.
10136 * gdb.base/multi-forks.exp: Likewise.
10137 * gdb.base/opaque.exp: Likewise.
10138 * gdb.base/overlays.exp: Likewise.
10139 * gdb.base/pc-fp.exp: Likewise.
10140 * gdb.base/pointers.exp: Likewise.
10141 * gdb.base/printcmds.exp: Likewise.
10142 * gdb.base/psymtab.exp: Likewise.
10143 * gdb.base/ptype.exp: Likewise.
10144 * gdb.base/recurse.exp: Likewise.
10145 * gdb.base/relational.exp: Likewise.
10146 * gdb.base/relocate.exp: Likewise.
10147 * gdb.base/remote.exp: Likewise.
10148 * gdb.base/reread.exp: Likewise.
10149 * gdb.base/restore.exp: Likewise.
10150 * gdb.base/return.exp: Likewise.
10151 * gdb.base/return2.exp: Likewise.
10152 * gdb.base/scope.exp: Likewise.
10153 * gdb.base/sect-cmd.exp: Likewise.
10154 * gdb.base/sep.exp: Likewise.
10155 * gdb.base/sepdebug.exp: Likewise.
10156 * gdb.base/setshow.exp: Likewise.
10157 * gdb.base/setvar.exp: Likewise.
10158 * gdb.base/sigall.exp: Likewise.
10159 * gdb.base/sigbpt.exp: Likewise.
10160 * gdb.base/signals.exp: Likewise.
10161 * gdb.base/signull.exp: Likewise.
10162 * gdb.base/sizeof.exp: Likewise.
10163 * gdb.base/solib.exp: Likewise.
10164 * gdb.base/step-line.exp: Likewise.
10165 * gdb.base/step-test.exp: Likewise.
10166 * gdb.base/structs.exp: Likewise.
10167 * gdb.base/structs2.exp: Likewise.
10168 * gdb.base/term.exp: Likewise.
10169 * gdb.base/twice.exp: Likewise.
10170 * gdb.base/until.exp: Likewise.
10171 * gdb.base/varargs.exp: Likewise.
10172 * gdb.base/volatile.exp: Likewise.
10173 * gdb.base/watchpoint.exp: Likewise.
10174 * gdb.base/whatis-exp.exp: Likewise.
10175 * gdb.base/whatis.exp: Likewise.
10176 * gdb.cp/ambiguous.exp: Likewise.
10177 * gdb.cp/annota2.exp: Likewise.
10178 * gdb.cp/annota3.exp: Likewise.
10179 * gdb.cp/bool.exp: Likewise.
10180 * gdb.cp/breakpoint.exp: Likewise.
10181 * gdb.cp/casts.exp: Likewise.
10182 * gdb.cp/class2.exp: Likewise.
10183 * gdb.cp/classes.exp: Likewise.
10184 * gdb.cp/cplusfuncs.exp: Likewise.
10185 * gdb.cp/ctti.exp: Likewise.
10186 * gdb.cp/derivation.exp: Likewise.
10187 * gdb.cp/exception.exp: Likewise.
10188 * gdb.cp/gdb1355.exp: Likewise.
10189 * gdb.cp/hang.exp: Likewise.
10190 * gdb.cp/inherit.exp: Likewise.
10191 * gdb.cp/local.exp: Likewise.
10192 * gdb.cp/m-data.exp: Likewise.
10193 * gdb.cp/m-static.exp: Likewise.
10194 * gdb.cp/member-ptr.exp: Likewise.
10195 * gdb.cp/method.exp: Likewise.
10196 * gdb.cp/misc.exp: Likewise.
10197 * gdb.cp/namespace.exp: Likewise.
10198 * gdb.cp/overload.exp: Likewise.
10199 * gdb.cp/ovldbreak.exp: Likewise.
10200 * gdb.cp/pr-1023.exp: Likewise.
10201 * gdb.cp/pr-1210.exp: Likewise.
10202 * gdb.cp/pr-574.exp: Likewise.
10203 * gdb.cp/printmethod.exp: Likewise.
10204 * gdb.cp/psmang.exp: Likewise.
10205 * gdb.cp/ref-params.exp: Likewise.
10206 * gdb.cp/ref-types.exp: Likewise.
10207 * gdb.cp/rtti.exp: Likewise.
10208 * gdb.cp/templates.exp: Likewise.
10209 * gdb.cp/try_catch.exp: Likewise.
10210 * gdb.cp/userdef.exp: Likewise.
10211 * gdb.cp/virtfunc.exp: Likewise.
10212 * gdb.disasm/am33.exp: Likewise.
10213 * gdb.disasm/h8300s.exp: Likewise.
10214 * gdb.disasm/mn10300.exp: Likewise.
10215 * gdb.disasm/sh3.exp: Likewise.
10216 * gdb.disasm/t01_mov.exp: Likewise.
10217 * gdb.disasm/t02_mova.exp: Likewise.
10218 * gdb.disasm/t03_add.exp: Likewise.
10219 * gdb.disasm/t04_sub.exp: Likewise.
10220 * gdb.disasm/t05_cmp.exp: Likewise.
10221 * gdb.disasm/t06_ari2.exp: Likewise.
10222 * gdb.disasm/t07_ari3.exp: Likewise.
10223 * gdb.disasm/t08_or.exp: Likewise.
10224 * gdb.disasm/t09_xor.exp: Likewise.
10225 * gdb.disasm/t10_and.exp: Likewise.
10226 * gdb.disasm/t11_logs.exp: Likewise.
10227 * gdb.disasm/t12_bit.exp: Likewise.
10228 * gdb.disasm/t13_otr.exp: Likewise.
10229 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
10230 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
10231 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
10232 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
10233 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
10234 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
10235 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
10236 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
10237 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
10238 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
10239 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
10240 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
10241 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
10242 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
10243 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
10244 * gdb.mi/gdb701.exp: Likewise.
10245 * gdb.mi/gdb792.exp: Likewise.
10246 * gdb.mi/mi-basics.exp: Likewise.
10247 * gdb.mi/mi-break.exp: Likewise.
10248 * gdb.mi/mi-cli.exp: Likewise.
10249 * gdb.mi/mi-console.exp: Likewise.
10250 * gdb.mi/mi-disassemble.exp: Likewise.
10251 * gdb.mi/mi-eval.exp: Likewise.
10252 * gdb.mi/mi-file.exp: Likewise.
10253 * gdb.mi/mi-read-memory.exp: Likewise.
10254 * gdb.mi/mi-regs.exp: Likewise.
10255 * gdb.mi/mi-return.exp: Likewise.
10256 * gdb.mi/mi-simplerun.exp: Likewise.
10257 * gdb.mi/mi-stack.exp: Likewise.
10258 * gdb.mi/mi-stepi.exp: Likewise.
10259 * gdb.mi/mi-syn-frame.exp: Likewise.
10260 * gdb.mi/mi-until.exp: Likewise.
10261 * gdb.mi/mi-var-block.exp: Likewise.
10262 * gdb.mi/mi-var-child.exp: Likewise.
10263 * gdb.mi/mi-var-cmd.exp: Likewise.
10264 * gdb.mi/mi-var-display.exp: Likewise.
10265 * gdb.mi/mi-watch.exp: Likewise.
10266 * gdb.mi/mi2-basics.exp: Likewise.
10267 * gdb.mi/mi2-break.exp: Likewise.
10268 * gdb.mi/mi2-cli.exp: Likewise.
10269 * gdb.mi/mi2-console.exp: Likewise.
10270 * gdb.mi/mi2-disassemble.exp: Likewise.
10271 * gdb.mi/mi2-eval.exp: Likewise.
10272 * gdb.mi/mi2-file.exp: Likewise.
10273 * gdb.mi/mi2-read-memory.exp: Likewise.
10274 * gdb.mi/mi2-regs.exp: Likewise.
10275 * gdb.mi/mi2-return.exp: Likewise.
10276 * gdb.mi/mi2-simplerun.exp: Likewise.
10277 * gdb.mi/mi2-stack.exp: Likewise.
10278 * gdb.mi/mi2-stepi.exp: Likewise.
10279 * gdb.mi/mi2-syn-frame.exp: Likewise.
10280 * gdb.mi/mi2-until.exp: Likewise.
10281 * gdb.mi/mi2-var-block.exp: Likewise.
10282 * gdb.mi/mi2-var-child.exp: Likewise.
10283 * gdb.mi/mi2-var-cmd.exp: Likewise.
10284 * gdb.mi/mi2-var-display.exp: Likewise.
10285 * gdb.mi/mi2-watch.exp: Likewise.
10286 * gdb.stabs/exclfwd.exp: Likewise.
10287 * gdb.stabs/weird.exp: Likewise.
10288 * gdb.threads/gcore-thread.exp: Likewise.
10289 * gdb.trace/actions.exp: Likewise.
10290 * gdb.trace/backtrace.exp: Likewise.
10291 * gdb.trace/circ.exp: Likewise.
10292 * gdb.trace/collection.exp: Likewise.
10293 * gdb.trace/deltrace.exp: Likewise.
10294 * gdb.trace/infotrace.exp: Likewise.
10295 * gdb.trace/limits.exp: Likewise.
10296 * gdb.trace/packetlen.exp: Likewise.
10297 * gdb.trace/passc-dyn.exp: Likewise.
10298 * gdb.trace/passcount.exp: Likewise.
10299 * gdb.trace/report.exp: Likewise.
10300 * gdb.trace/save-trace.exp: Likewise.
10301 * gdb.trace/tfind.exp: Likewise.
10302 * gdb.trace/tracecmd.exp: Likewise.
10303 * gdb.trace/while-dyn.exp: Likewise.
10304 * gdb.trace/while-stepping.exp: Likewise.
10305
10306 2006-08-08 Joel Brobecker <brobecker@adacore.com>
10307
10308 * gdb.base/step-bt.c: New file.
10309 * gdb.base/step-bt.exp: New testcase.
10310
10311 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
10312
10313 * config/monitor.exp (gdb_load): Remove support for obsolete
10314 download-write-size.
10315 * gdb.base/remote.exp: Likewise. Update all callers of
10316 gdb_timed_load.
10317
10318 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
10319
10320 * cursal.exp: Pass binfile to gdb_load.
10321
10322 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
10323
10324 * gdb.base/cursal.exp: Add "" to gdb_load call.
10325
10326 2006-07-29 Mark Kettenis <kettenis@gnu.org>
10327
10328 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
10329 NetBSD/ELF targets.
10330
10331 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
10332
10333 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
10334 operator*.
10335
10336 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
10337
10338 * gdb.base/completion.exp: Update for change in "file" behavior.
10339 * gdb.stabs/weird.exp: Likewise.
10340 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10341 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10342
10343 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10344
10345 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
10346 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
10347
10348 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
10349
10350 * gdb.base/default.exp: Update source command error message.
10351 * gdb.base/help.exp: Update 'help source' message.
10352
10353 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
10354
10355 * gdb.cp/bs15503.exp: Update comment for no longer crashing
10356 test.
10357
10358 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
10359
10360 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
10361
10362 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10363
10364 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
10365
10366 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10367
10368 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
10369
10370 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10371
10372 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
10373 *-*-openbsd* from targets for wich we expect ARM FPA floating
10374 point format.
10375
10376 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
10377
10378 * gdb.cp/annota3.exp: Expect frame-begin annotation.
10379
10380 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10381
10382 * gdb.base/annota3.exp: Expect frame-begin annotation.
10383
10384 2006-07-14 Joel Brobecker <brobecker@adacore.com>
10385
10386 * gdb.base/help.exp: Adjust "help unset" test to accept
10387 any list of unset commands.
10388
10389 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10390 Daniel Jacobowitz <dan@codesourcery.com>
10391
10392 * gdb.cp/ref-params.exp: New test.
10393 * gdb.cp/ref-params.cc: New source file.
10394 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10395
10396 2006-07-08 Mark Kettenis <kettenis@gnu.org>
10397
10398 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10399 spaces/tabs in regular expressions since they might not be there.
10400
10401 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10402
10403 * gdb.base/ifelse.exp: New file.
10404
10405 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10406
10407 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10408 line.
10409 * gdb.base/huge.exp: Loop over compilation to find a size that
10410 is acceptable.
10411 * gdb.base/remote.exp: Correct expected strings.
10412 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10413
10414 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10415
10416 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10417
10418 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10419
10420 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10421 native.
10422
10423 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10424
10425 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10426 enable stabs testing.
10427
10428 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10429
10430 * gdb.base/auxv.exp: Intercept undefined command messages before
10431 gdb_test_multiple does.
10432
10433 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10434
10435 * Makefile.in (host_alias): Remove.
10436 (target_alias): Use @target_noncanonical@.
10437 (site.exp): Don't set host_alias.
10438 * aclocal.m4: Remove contents. Include acx.m4.
10439 * configure: Regenerated.
10440 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10441
10442 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10443
10444 * lib/gdb.exp (gdb_load_cmd): New.
10445
10446 * gdb.base/fileio.c: Add system(NULL) test.
10447 * gdb.base/fileio.exp: Check it.
10448
10449 * gdb.base/break.c: Add 10a breakpoint at }
10450 * gdb.base/break.exp: Add test for breakpoint at }
10451 * gdb.cp/anon-union.cc: Add code at end of function.
10452 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10453 * gdb.mi/var-cmd.c: Add code at end of function.
10454 * gdb.mi/mi-var-display.exp: Adjust end of next.
10455 * gdb.mi/mi2-var-display.exp: Likewise.
10456 * gdb.base/fileio.c: Add stop function and insert calls at
10457 stopping places.
10458 * gdb.base/fileio.exp: Breakpoint stop function and remove
10459 explicit line number references.
10460
10461 2006-05-19 Joel Brobecker <brobecker@adacore.com>
10462
10463 * gdb.base/del.exp (test_delete_alias): New function.
10464 Now check that both "del" and "d" work as aliases for "delete".
10465
10466 2006-05-18 Fred Fish <fnf@specifix.com>
10467
10468 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10469 required. Check for spurious output after program exits normally.
10470
10471 2006-05-17 Fred Fish <fnf@specifix.com>
10472
10473 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10474 gdb_load, so it works in the simulator.
10475
10476 2006-05-11 Fred Fish <fnf@specifix.com>
10477
10478 * gdb.base/bang.exp: Ignore unexpected output between the
10479 "program exited normally" and the gdb prompt, as many other
10480 tests do.
10481
10482 2006-05-07 Mark Kettenis <kettenis@gnu.org>
10483
10484 * gdb.base/help.exp: Make "delete checkpoint" part option for
10485 "help d" and "help delete" tests.
10486
10487 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10488
10489 * gdb.mi/mi-basics.exp: Add missing serial number to
10490 expected output in some mi_gdb_test statements.
10491 * gdb.mi/mi2-basics.exp: Likewise.
10492
10493 2006-05-05 Joel Brobecker <brobecker@adacore.com>
10494
10495 * gdb.base/del.c: New file.
10496 * gdb.base/del.exp: New testcase.
10497
10498 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
10499
10500 * gdb.base/break.exp: Do not assume a breakpoint on
10501 main will actually be in $srcfile when optimizing.
10502 * gdb.base/savedregs.exp: Do not require that the dummy
10503 frame location match up to a symbol and source file location.
10504 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10505 will get printed without a mi_cmd_data_list_register_values prefix.
10506 (*-data-list-register-*): Correct regular expressions to expect the new
10507 pseudo d? floating point registers.
10508 * gdb.mi/mi2-regs.exp: Likewise.
10509
10510 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
10511
10512 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10513 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10514 is allocated by the compiler.
10515 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10516 anons, e, anone to force their allocation by the compiler.
10517
10518 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
10519
10520 * gdb.base/help.exp: Update expected text for help d and
10521 help delete.
10522
10523 2006-05-02 Mark Kettenis <kettenis@gnu.org>
10524
10525 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
10526 NetBSD/ELF targets.
10527
10528 2006-04-30 Mark Kettenis <kettenis@gnu.org>
10529
10530 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
10531 single-step breakpoint fails; make this a KFAIL on
10532 sparc*-*-openbsd*.
10533 * gdb.base/siginfo.exp: Likewise.
10534 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10535
10536 2006-04-26 Michael Snyder <msnyder@redhat.com>
10537
10538 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
10539 which may have to consume output from other forks.
10540 Add tests to make sure that "delete fork" succeeded.
10541
10542 2006-04-20 Michael Snyder <msnyder@redhat.com>
10543
10544 * 2006-03-22 Jim Blandy <jimb@redhat.com>
10545 Add support for the Renesas M32C and M16C.
10546
10547 * gdb.asm/asm-source.exp: Add m32c target.
10548 * gdb.asm/m32c.inc: Support for m32c target.
10549
10550 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
10551
10552 * gdb.base/commands.exp (recursive_source_test): New test.
10553
10554 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
10555
10556 * gdb.base/float.exp: Add pattern for sparc targets.
10557
10558 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10559
10560 * gdb.base/commands.exp (stray_arg0_test): New test.
10561
10562 2006-03-30 Paul Brook <paul@codesourcery.com>
10563
10564 * gdb.mi/mi-until.exp: kfail broken until command.
10565 * gdb.mi/mi2-until.exp: Ditto.
10566
10567 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
10568
10569 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
10570
10571 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
10572
10573 * gdb.base/prelink.exp: Anchor tested-for regular expression
10574 on gdb prompt.
10575
10576 2006-03-07 Paul Brook <paul@codesourcery.com>
10577
10578 * gdb.base/assign.exp: Correct fail message.
10579
10580 2006-03-07 Paul Brook <paul@codesourcery.com>
10581
10582 * lib/compiler.c: Extract armcc version number.
10583 * lib/compiler.cc: Ditto.
10584
10585 2006-03-07 Paul Brook <paul@codesourcery.com>
10586
10587 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
10588 additional_flags=-w.
10589 * gdb.arch/altivec-regs.exp: Ditto.
10590 * gdb.arch/e500-abi.exp: Ditto.
10591 * gdb.arch/e500-regs.exp: Ditto.
10592 * gdb.base/all-bin.exp: Ditto.
10593 * gdb.base/annota1.exp: Ditto.
10594 * gdb.base/annota3.exp: Ditto.
10595 * gdb.base/args.exp: Ditto.
10596 * gdb.base/arithmet.exp: Ditto.
10597 * gdb.base/assign.exp: Ditto.
10598 * gdb.base/async.exp: Ditto.
10599 * gdb.base/bang.exp: Ditto.
10600 * gdb.base/break.exp: Ditto.
10601 * gdb.base/call-rt-st.exp: Ditto.
10602 * gdb.base/completion.exp: Ditto.
10603 * gdb.base/cond-expr.exp: Ditto.
10604 * gdb.base/condbreak.exp: Ditto.
10605 * gdb.base/consecutive.exp: Ditto.
10606 * gdb.base/define.exp: Ditto.
10607 * gdb.base/display.exp: Ditto.
10608 * gdb.base/ena-dis-br.exp: Ditto.
10609 * gdb.base/environ.exp: Ditto.
10610 * gdb.base/eval-skip.exp: Ditto.
10611 * gdb.base/info-proc.exp: Ditto.
10612 * gdb.base/jump.exp: Ditto.
10613 * gdb.base/logical.exp: Ditto.
10614 * gdb.base/long_long.exp: Ditto.
10615 * gdb.base/maint.exp: Ditto.
10616 * gdb.base/miscexprs.exp: Ditto.
10617 * gdb.base/pc-fp.exp: Ditto.
10618 * gdb.base/pointers.exp: Ditto.
10619 * gdb.base/relational.exp: Ditto.
10620 * gdb.base/reread.exp: Ditto.
10621 * gdb.base/sect-cmd.exp: Ditto.
10622 * gdb.base/sep.exp: Ditto.
10623 * gdb.base/sepdebug.exp: Ditto.
10624 * gdb.base/until.exp: Ditto.
10625 * gdb.base/whatis-exp.exp: Ditto.
10626 * gdb.cp/annota2.exp: Ditto.
10627 * gdb.cp/annota3.exp: Ditto.
10628 * gdb.trace/actions.exp: Ditto.
10629 * gdb.trace/backtrace.exp: Ditto.
10630 * gdb.trace/circ.exp: Ditto.
10631 * gdb.trace/collection.exp: Ditto.
10632 * gdb.trace/deltrace.exp: Ditto.
10633 * gdb.trace/infotrace.exp: Ditto.
10634 * gdb.trace/limits.exp: Ditto.
10635 * gdb.trace/packetlen.exp: Ditto.
10636 * gdb.trace/passc-dyn.exp: Ditto.
10637 * gdb.trace/passcount.exp: Ditto.
10638 * gdb.trace/report.exp: Ditto.
10639 * gdb.trace/save-trace.exp: Ditto.
10640 * gdb.trace/tfind.exp: Ditto.
10641 * gdb.trace/tracecmd.exp: Ditto.
10642 * gdb.trace/while-dyn.exp: Ditto.
10643 * gdb.trace/while-stepping.exp: Ditto.
10644 * lib/gdb.exp: Ditto.
10645 (gdb_compile): Handle nowarning option.
10646
10647 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
10648
10649 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
10650 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
10651 Rename executable to prelinkt. Don't re-prelink if we didn't
10652 get a core file. Test prelink -u exit status to tell whether
10653 prelinking failed. Use gdb_test_multiple.
10654
10655 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10656
10657 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
10658 (do_tests): Call it.
10659
10660 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
10661
10662 * gdb.base/prelink.exp: New test.
10663 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
10664
10665 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
10666
10667 * gdb.fortran/derived-type.f90: New file.
10668 * gdb.fortran/derived-type.exp: New testcase.
10669
10670 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
10671
10672 * gdb.base/default.exp: Allow ';' as a directory separator.
10673
10674 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10675
10676 * gdb.base/help.exp (help add-symbol-file): Update.
10677
10678 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10679
10680 * gdb.base/help.exp (help load): Update expected results.
10681
10682 2006-02-19 Fred Fish <fnf@specifix.com>
10683
10684 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
10685 specifix hex value as part of results.
10686 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
10687
10688 2006-02-16 Fred Fish <fnf@specifix.com>
10689
10690 * gdb.base/whatis.c: Define variables using typedefs char_addr,
10691 ushort_addr, and slong_addr, so the typedefs are not optimized
10692 away.
10693 * gdb.base/whatis.exp: Add tests using type name for struct type,
10694 union type, enum type, and typedef.
10695
10696 2006-02-13 Mark Kettenis <kettenis@gnu.org>
10697
10698 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
10699
10700 2006-02-13 Jim Blandy <jimb@redhat.com>
10701
10702 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
10703 case where it takes two "next" commands to skip past the init
10704 call.
10705
10706 2006-02-12 Fred Fish <fnf@specifix.com>
10707
10708 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
10709 to handle cases where it takes two "next" commands to skip
10710 past the init call.
10711
10712 2006-02-07 Joel Brobecker <brobecker@adacore.com>
10713
10714 * gdb.ada/array_return.exp: Mark the last test as expected to fail
10715 on hppa32 targets.
10716
10717 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
10718
10719 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
10720 field.
10721
10722 2006-01-29 Mark Kettenis <kettenis@gnu.org>
10723
10724 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
10725
10726 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10727
10728 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
10729 files.
10730
10731 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10732
10733 * gdb.cp/maint.exp: Set complaints to a positive value.
10734
10735 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10736
10737 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
10738 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
10739 function name.
10740
10741 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10742
10743 * gdb.base/checkpoint.c: Update copyright notice. Include
10744 <stdlib.h>.
10745
10746 2006-01-04 Jim Blandy <jimb@redhat.com>
10747
10748 * gdb.asm/asm-source.exp: Independently provide default values for
10749 asm-flags and debug-flags. Use 'string equal' to do the
10750 comparison, not the implicit expr's '==' operator. Remove
10751 now-unneeded assignments to asm-flags. In h8300 case, place
10752 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
10753
10754 2006-01-04 Michael Snyder <msnyder@redhat.com>
10755
10756 * gdb.base/checkpoint.c: New file.
10757 * gdb.base/checkpoint.exp: New file.
10758 * gdb.base/multi-fork.c: New file.
10759 * gdb.base/multi-fork.exp: New file.
10760 * gdb.base/pi.txt: New file (data for checkpoint.c test).
10761
10762 2006-01-04 Fred Fish <fnf@specifix.com>
10763
10764 * gdb.base/ptype.c (foo): Add typedef.
10765 (intfoo): Add function.
10766 * gdb.base/ptype1.c: New file.
10767 * gdb.base/ptype.exp: Handle compilation and linking with two
10768 source files. Test that proper type for "foo" is found based
10769 on source context rather than first match found in symtabs.
10770
10771 2005-12-28 Mark Kettenis <kettenis@gnu.org>
10772
10773 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
10774 * gdb.asm/openbsd.inc: Indent commands.
10775
10776 2005-12-26 Mark Kettenis <kettenis@gnu.org>
10777
10778 * gdb.base/freebpcmd.exp: Increase timeout.
10779
10780 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
10781
10782 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
10783
10784 * gdb.base/default.exp: Update check for "show version".
10785
10786 2005-12-09 Randolph Chung <tausq@debian.org>
10787
10788 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
10789 * gdb.asm/pa64.inc: New file.
10790
10791 2005-12-09 Randolph Chung <tausq@debian.org>
10792
10793 * gdb.asm/common.inc: Indent commands.
10794 * gdb.asm/asmsrc1.s: Likewise.
10795 * gdb.asm/asmsrc2.s: Likewise.
10796
10797 2005-12-09 Randolph Chung <tausq@debian.org>
10798
10799 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
10800 (get_addr_of_sym): Remove duplicate print.
10801 (gen_core): xfail hppa*-*-hpux*, update expected output.
10802 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
10803 * gdb.arch/pa64-nullify.s: New file.
10804
10805 2005-12-09 Randolph Chung <tausq@debian.org>
10806
10807 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
10808
10809 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
10810
10811 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
10812 code generation for these functions.
10813 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
10814 error message.
10815
10816 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
10817
10818 * gdb.base/help.exp (help b, help br, help bre, help brea)
10819 (help break): Update the expected message.
10820
10821 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
10822
10823 * gdb.asm/m68hc11.inc: Setup the data section.
10824 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
10825 script for this test.
10826 (m6812-*-*): Likewise.
10827
10828 2005-11-09 Randolph Chung <tausq@debian.org>
10829
10830 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
10831
10832 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
10833
10834 * gdb.base/break.exp: Fix a comment typo.
10835
10836 2005-11-03 Jim Blandy <jimb@redhat.com>
10837
10838 Checked in by Elena Zannoni <ezannoni@redhat.com>
10839
10840 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
10841
10842 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
10843
10844 * gdb.arch/gdb1558.c: Include stdio.h.
10845
10846 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10847
10848 * gdb.asm/asm-source.exp: Use -e instead of --entry.
10849
10850 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10851
10852 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
10853
10854 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
10855
10856 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10857 vscr" tests to better match output.
10858
10859 2005-10-12 Jim Blandy <jimb@redhat.com>
10860
10861 * gdb.base/structs.exp (any): New function.
10862 (test_struct_returns): Don't make any assumptions at all about
10863 what value the function returns when GDB can't set the return
10864 value.
10865
10866 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10867
10868 * gdb.ada/arrayidx/p.adb: New file.
10869 * gdb.ada/arrayidx.exp: New testcase
10870
10871 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10872
10873 * gdb.ada/array_return/pck.ads: New file.
10874 * gdb.ada/array_return/pck.adb: New file.
10875 * gdb.ada/array_return/p.adb: New file.
10876 * gdb.ada/array_return.exp: New testcase.
10877
10878 2005-10-03 Joel Brobecker <brobecker@adacore.com>
10879
10880 * gdb.base/arrayidx.c: New file.
10881 * gdb.base/arrayidx.exp: New testcase.
10882
10883 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
10884
10885 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
10886 frames-invalid and breakpoints-invalid are no longer generated
10887 with level 3 so don't expect them in the output.
10888
10889 2005-09-27 Bob Rossi <bob@brasko.net>
10890
10891 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
10892 from test. Escape the | in mi_gdb_test call.
10893 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
10894 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
10895 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
10896 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
10897 expected regex's in mi_gdb_test calls.
10898 * lib/mi-support.exp: Remove arbitrary .* from tests.
10899 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
10900 Fully anchor GDB/MI expected results in mi_gdb_test.
10901 * lib/gdb.exp (string_to_regexp): Escape the ] character.
10902 * gdb.base/sizeof.exp: Remove escape character. Correct test.
10903
10904 2005-09-26 Paul Brook <paul@codesourcery.com>
10905
10906 * long_long.exp: Exclude eabi targets from arm FPA float format test.
10907
10908 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10909
10910 * bfp-test.c: New file.
10911 * bfp-test.exp: New testcase.
10912
10913 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10914
10915 * gdb.fortran/subarray.exp: New testcase to test the evaluation
10916 of subarray and substring variable.
10917 * gdb.fortran/subarray.f: New source file for the test of subarray
10918 and substring variable evaluation.
10919 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
10920 of string constant.
10921
10922 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
10923
10924 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
10925 copyright dates.
10926
10927 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
10928
10929 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
10930 powerpc altivec' test with an almost identical 'info vector' test.
10931
10932 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10933
10934 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10935 vscr" tests to match output.
10936
10937 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10938
10939 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
10940 output.
10941
10942 2005-09-11 Bob Rossi <bob@brasko.net>
10943
10944 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
10945 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
10946 commands that return an MI output command and an asyncronous MI output
10947 command.
10948 * gdb.mi/mi-console.exp: Ditto.
10949
10950 2005-09-11 Bob Rossi <bob@brasko.net>
10951
10952 * gdb.mi/mi-var-child.c: Include <string.h>.
10953
10954 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
10955
10956 * killed.exp: Correct gdb_expect syntax.
10957
10958 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
10959
10960 * lib/mi-support.exp (mi_gdb_load): Fix typo.
10961
10962 2005-08-02 Bob Rossi <bob@brasko.net>
10963
10964 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
10965 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
10966 Change tests to inferior-tty-set/show.
10967 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
10968 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
10969 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
10970 inferior. Use mi_gdb_test to get GDB and Inferior output.
10971 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
10972 descriptor.
10973 (mi_inferior_tty_name): Add inferior PTY file name.
10974 (mi_gdb_start): Add INFERIOR_PTY parameter.
10975 (mi_gdb_test): Add IPATTERN parameter.
10976
10977 2005-08-02 Bob Rossi <bob@brasko.net>
10978
10979 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
10980 parameter to mi_gdb_test.
10981 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
10982
10983 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10984
10985 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
10986 struct_declarations.
10987 * gdb.mi/mi-var-child.exp: Step over the initialization of
10988 struct_declarations.
10989
10990 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10991
10992 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
10993 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
10994 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
10995 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
10996 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
10997 file.
10998
10999 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
11000
11001 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
11002 (do_children_tests): Assign values to the extra elements.
11003
11004 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
11005 them for tests for "-var-update --no-values" and
11006 "-var-update --all-values".
11007 Add test for "-var-list-children --simple-values".
11008
11009 * gdb.mi/basics.c (callee4): Add integer array D[3]...
11010
11011 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
11012 "-stack-list-locals --simple-values" Improve doc strings and
11013 comments.
11014
11015 2005-07-18 Mark Kettenis <kettenis@gnu.org>
11016
11017 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
11018 *-*-openbsd*.
11019 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
11020
11021 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
11022 sigaltsatck'.
11023
11024 2005-07-14 Bob Rossi <bob@brasko.net>
11025
11026 * gdb.base/default.exp (tty): Changed output of command.
11027 * gdb.base/help.exp (help tty): Ditto.
11028
11029 2005-07-12 Mark Kettenis <kettenis@gnu.org>
11030
11031 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
11032
11033 2005-07-10 Mark Kettenis <kettenis@gnu.org>
11034
11035 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
11036 -stack-select-frame without arguments.
11037 (test_stack_frame_listing): Add test for newly implemented command
11038 -stack-info-frame.
11039
11040 2005-07-06 Bob Rossi <bob@brasko.net>
11041
11042 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
11043 command.
11044 (Copyright): Update copyright.
11045
11046 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
11047
11048 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
11049 tests to evaluate exponentiation expression.
11050
11051 2005-06-29 Andreas Schwab <schwab@suse.de>
11052
11053 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
11054 main to avoid warnings.
11055
11056 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
11057
11058 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
11059
11060 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
11061 -stack-select-frame without arguments.
11062 (test_stack_frame_listing): Add test for newly implemented command
11063 -stack-info-frame.
11064
11065 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
11066
11067 * gdb.fortran/array-element.f: New file.
11068 * gdb.fortran/array-element.exp: New testcase.
11069
11070 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11071
11072 * gdb.base/bigcore.exp: Correct checks for systems which can
11073 not dump a large core file.
11074
11075 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11076
11077 * gdb.base/relocate.c: Add a copyright notice.
11078 (dummy): Remove.
11079 * gdb.base/relocate.exp: Test printing the values of variables
11080 from a relocatable file.
11081
11082 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11083
11084 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
11085 excess MI output after an error.
11086
11087 2005-05-29 Joel Brobecker <brobecker@adacore.com>
11088
11089 * gdb.arch/alpha-step.c: New file.
11090 * gdb.arch/alpha-step.exp: New testcase.
11091
11092 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
11093 Dennis Brueni <dennis@slickedit.com>
11094
11095 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
11096 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
11097 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
11098 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
11099 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
11100 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
11101 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
11102
11103 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
11104 Wu Zhou <woodzltc@cn.ibm.com>
11105
11106 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
11107 IBM's xlc compiler.
11108 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
11109 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
11110
11111 2005-05-13 Jim Blandy <jimb@redhat.com>
11112
11113 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
11114 calling gdb_suppress_entire_file.
11115 * gdb.base/charset.exp: Same.
11116 * gdb.base/call-rt-st.exp: Same.
11117
11118 2005-05-05 Bob Rossi <bob_rossi@cox.net>
11119
11120 * lib/gdb.exp (fullname_syntax): Added global regex.
11121 (fullname_syntax_POSIX): Ditto.
11122 (fullname_syntax_UNC): Ditto.
11123 (fullname_syntax_DOS_CASE): Ditto.
11124 (fullname_syntax_DOS): Ditto.
11125 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
11126 fullname_syntax variable to scope and use it.
11127 (test_file_list_exec_source_files): Ditto.
11128 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
11129
11130 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
11131
11132 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
11133
11134 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
11135
11136 * lib/gdb.exp (skip_altivec_tests): New function, based on
11137 check_vmx_hw_available from the GCC testsuite.
11138 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
11139 * lib/gdb.arch/altivec-regs.exp: Likewise.
11140
11141 2005-05-02 Jim Blandy <jimb@redhat.com>
11142
11143 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
11144 calling gdb_suppress_entire_file.
11145
11146 2005-04-30 Randolph Chung <tausq@debian.org>
11147
11148 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
11149 Slightly relax "sem_post" name checking.
11150
11151 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11152
11153 * gdb.base/unload.exp: Use new shared library infrastructure.
11154
11155 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
11156
11157 * gdb.base/so-impl-ld.exp: Use new shared library
11158 infrastructure.
11159
11160 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
11161
11162 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
11163 * gdb.asm/h8300.inc: New file.
11164
11165 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11166
11167 * gdb.base/shlib-call.exp: Change to use new shared library
11168 infrastructure.
11169
11170 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11171
11172 * gdb.base/pending.exp: Change to use new shared library
11173 infrastructure.
11174
11175 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
11176
11177 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
11178 use test_compiler_info instead of gcc_compiled, and update copyright.
11179
11180 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
11181
11182 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
11183 shared objects being adjusted and update copyright years.
11184
11185 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
11186
11187 * ChangeLog: Correct some 2003-01-13 dates.
11188 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
11189 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
11190 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
11191 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
11192 gdb.trace/tfind.exp: Update copyright years.
11193
11194 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
11195 Daniel Jacobowitz <dan@codesourcery.com>
11196
11197 * lib/gdb.exp (gdb_compile): Handle shlib=.
11198 (gdb_compile_shlib): New function.
11199
11200 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
11201
11202 * lib/gdb.exp (test_compiler_info): Give argument a default value.
11203
11204 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11205
11206 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
11207 gdb.server.
11208 * configure.ac: Likewise.
11209 * configure: Regenerated.
11210 * gdb.gdbserver/Makefile.in: Moved to...
11211 * gdb.server/Makefile.in: ... here.
11212 * gdb.gdbserver/server.c: Moved to...
11213 * gdb.server/server.c: ... here.
11214 * gdb.gdbserver/server-run.exp: Moved to...
11215 * gdb.server/server-run.exp: ... here.
11216
11217 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
11218
11219 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
11220 * configure.ac: Create gdb.gdbserver/Makefile.
11221 * configure: Regenerated.
11222 * lib/gdbserver-support.exp: New file, derived from
11223 config/gdbserver.exp.
11224 * config/gdbserver.exp: Use gdbserver-support.exp.
11225 * gdb.gdbserver/Makefile.in: New file.
11226 * gdb.gdbserver/server.c: New file.
11227 * gdb.gdbserver/server-run.exp: New file.
11228
11229 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
11230
11231 * lib/gdb.exp (test_compiler_info): Return compiler_info
11232 if no arguments are given.
11233
11234 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
11235
11236 * gdb.arch/altivec-abi.exp: Check for compiler and set
11237 use altivec' flag accordingly.
11238 * gdb.arch/altivec-regs.exp: Likewise.
11239
11240 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
11241
11242 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
11243
11244 2005-03-27 Andreas Schwab <schwab@suse.de>
11245
11246 * gdb.base/bigcore.c (main): Add missing mode argument in open
11247 call.
11248
11249 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
11250
11251 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
11252 downloads.
11253 * config/gdbserver.exp (gdb_load): Likewise.
11254
11255 2005-03-14 Paul Brook <paul@codesourcery.com>
11256
11257 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
11258 targets.
11259
11260 2005-03-09 Joel Brobecker <brobecker@adacore.com>
11261
11262 * gdb.dwarf2/dup-psym.S: New file.
11263 * gdb.dwarf2/dup-psym.exp: New testcase.
11264
11265 2005-03-09 Joel Brobecker <brobecker@adacore.com>
11266
11267 * gdb.ada/exec_changed/first.adb: New file.
11268 * gdb.ada/exec_changed/second.adb: New file.
11269 * gdb.ada/exec_changed.exp: New testcase.
11270
11271 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
11272
11273 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
11274 (A2): New class.
11275 (main): Test operator+.
11276 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
11277 breakpoint test.
11278
11279 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
11280 * gdb.base/signull.exp: Disable if gdb,nosignals.
11281 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
11282 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
11283 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
11284 * gdb.mi/mi2-console.exp: Likewise.
11285 * gdb.trace/collection.exp (run_trace_experiment): Consume the
11286 continue output at start.
11287 (gdb_collect_locals_test): Robustify regexp.
11288 * gdb.trace/passc-dyn.exp: Fix comment typo.
11289 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
11290
11291 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
11292
11293 * gdb.asm/asm-source.exp: Add iq2000 case.
11294 * gdb.asm/iq2000.inc: New file.
11295
11296 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
11297
11298 * gdb.base/command.exp: Change hardcoded value to regular expression.
11299 * gdb.base/float.exp: Add powerpc to the list of targets checked.
11300
11301 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
11302
11303 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
11304 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
11305 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
11306 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
11307 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
11308
11309 2005-03-05 Mark Kettenis <kettenis@gnu.org>
11310
11311 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
11312 changes.
11313
11314 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
11315
11316 * lib/compiler.c: Add test for IBM's xlc compiler.
11317 * lib/compiler.cc: Likewise.
11318
11319 2004-02-24 Joel Brobecker <brobecker@adacore.com>
11320
11321 * gdb.ada/fixed_points.exp: Create compilation object directory
11322 before running the test.
11323 * gdb.ada/null_record.exp: Likewise.
11324 * gdb.ada/packed_array.exp: Likewise.
11325 * gdb.ada/start.exp: Likewise.
11326
11327 2005-02-15 Joel Brobecker <brobecker@adacore.com>
11328
11329 * gdb.ada/packed_array/pa.adb: New file.
11330 * gdb.ada/packed_array.exp: New testcase.
11331
11332 2005-02-10 Mark Kettenis <kettenis@gnu.org>
11333
11334 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
11335 files.
11336
11337 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
11338 on *-*-openbsd*. Correctly match whitespace in regukar
11339 expressions.
11340
11341 2005-02-10 Daniel Jacobowitz <dan@debian.org>
11342
11343 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11344 PR exp/1821
11345 * gdb.base/gdb1821.c: New test file.
11346 * gdb.base/gdb1821.exp: New test file.
11347
11348 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11349
11350 * gdb.base/start.c: New file.
11351 * gdb.base/start.exp: New testcase.
11352
11353 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11354
11355 * gdb.ada/start/dummy.adb: New file.
11356 * gdb.ada/start.exp: New testcase.
11357
11358 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
11359
11360 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
11361 for printing symbols and statistics.
11362 Add test for using relative pathnames in "maint print msymbols" test.
11363 Mark "maint info sections DATA" XFAIL on Cygwin.
11364 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
11365 tests.
11366
11367 2005-02-09 Andreas Schwab <schwab@suse.de>
11368
11369 Committed by Andrew Cagney <cagney@gnu.org>
11370 * gdb.base/remotetimeout.exp: New file.
11371
11372 2005-02-07 Mark Kettenis <kettenis@gnu.org>
11373
11374 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
11375
11376 2005-02-03 Joel Brobecker <brobecker@adacore.com>
11377
11378 * gdb.ada/gnat_ada.gpr: New file.
11379 * gdb.ada/gnat_ada.gin: Delete, no longer used.
11380 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
11381 * configure.ac: No longer generate gnat_ada.gpr.
11382 * configure: Regenerate.
11383 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
11384 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
11385 * gdb.ada/null_record/bar.ads: Likewise.
11386 * gdb.ada/null_record/bar.adb: Likewise.
11387 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
11388 * gdb.ada/null_record.exp (testdir): New variable.
11389 (testfile): executable is now in testdir subdirectory.
11390 (srcfile): Use full path to the main compilation unit.
11391 * gdb.ada/fixed_points.exp: Same changes as above.
11392
11393 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
11394
11395 * gdb.base/interp.exp: New test.
11396
11397 2005-01-24 Andrew Cagney <cagney@gnu.org>
11398
11399 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11400
11401 2005-01-19 Andrew Cagney <cagney@gnu.org>
11402
11403 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11404 configure.ac not configure.in.
11405
11406 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11407 of powerpc*-*-*.
11408 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
11409 * gdb.base/list.exp (test_list_function)
11410 (test_list_filename_and_function): Ditto.
11411 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11412
11413 2005-01-16 Andrew Cagney <cagney@gnu.org>
11414
11415 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11416
11417 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11418
11419 2005-01-14 Andrew Cagney <cagney@gnu.org>
11420
11421 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11422 * gdb.mi/mi2-var-cmd.exp: Ditto.
11423
11424 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
11425
11426 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11427
11428 2005-01-07 Andrew Cagney <cagney@gnu.org>
11429
11430 * configure.ac: Rename configure.in, require autoconf 2.59.
11431 * configure: Re-generate.
11432 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11433 * gdb.stabs/configure: Re-generate.
11434 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11435 * gdb.hp/configure: Re-generate.
11436 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11437 autoconf 2.59.
11438 * gdb.hp/gdb.objdbg/configure: Re-generate.
11439 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11440 autoconf 2.59.
11441 * gdb.hp/gdb.defects/configure: Re-generate.
11442 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11443 autoconf 2.59.
11444 * gdb.hp/gdb.compat/configure: Re-generate.
11445 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11446 autoconf 2.59.
11447 * gdb.hp/gdb.base-hp/configure: Re-generate.
11448 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11449 autoconf 2.59.
11450 * gdb.hp/gdb.aCC/configure: Re-generate.
11451
11452 2004-12-15 Jim Blandy <jimb@redhat.com>
11453
11454 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11455 under NPTL when there is debugging info available for libpthread.
11456
11457 2004-12-13 Jerome Guitton <guitton@gnat.com>
11458
11459 * gdb.ada/fixed_points.c: New file.
11460 * gdb.ada/fixed_points.exp: New file.
11461
11462 2004-12-03 Randolph Chung <tausq@debian.org>
11463
11464 * gdb.arch/pa-nullify.exp: New file.
11465 * gdb.arch/pa-nullify.s: New file.
11466
11467 2004-11-30 Randolph Chung <tausq@debian.org>
11468
11469 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11470 instead of "tbug". Fix regexp to work properly with gdb_test.
11471
11472 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11473
11474 * gdb.base/bitfields2.exp: New test.
11475 * gdb.base/bitfields2.c: New file.
11476
11477 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
11478
11479 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11480
11481 2004-11-16 Randolph Chung <tausq@debian.org>
11482
11483 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11484
11485 2004-11-14 Daniel Jacobowitz <dan@debian.org>
11486
11487 * gdb.threads/threadapply.exp: Correct "macro details" test.
11488
11489 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11490
11491 * gdb.threads/threadapply.exp: New test.
11492 * gdb.threads/threadapply.c: New file.
11493
11494 2004-11-07 Mark Kettenis <kettenis@gnu.org>
11495
11496 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11497 frames.
11498
11499 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
11500
11501 * gdb.base/cursal.exp: New file.
11502 * gdb.base/cursal.c: New file.
11503
11504 2004-11-03 Andrew Cagney <cagney@gnu.org>
11505
11506 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11507
11508 2004-10-30 Mark Kettenis <kettenis@gnu.org>
11509
11510 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11511 NetBSD/ELF targets.
11512
11513 2004-10-29 Joel Brobecker <brobecker@gnat.com>
11514
11515 * gdb.threads/bp_in_thread.c: New file, copied from
11516 pthread_cond_wait.c.
11517 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11518 file, rather than reusing the .c file from another testcase.
11519
11520 2004-10-20 Joel Brobecker <brobecker@gnat.com>
11521
11522 * gdb.ada/null_record.exp: Check where we stopped after
11523 sending the start command, instead of where the associated
11524 temporary breakpoint was inserted.
11525
11526 2004-10-14 Andrew Cagney <cagney@gnu.org>
11527
11528 * gdb.mi/gdb701.c (main): Return 0.
11529
11530 2004-10-13 Daniel Jacobowitz <dan@debian.org>
11531
11532 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
11533
11534 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
11535
11536 * gdb.threads/schedlock.c: Add comment markers to use to find
11537 line numbers.
11538 * gdb.threads/schedlock.exp: Adjust regex to handle the new
11539 comments.
11540 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
11541 breakpoint lines.
11542
11543 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11544
11545 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
11546
11547 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11548
11549 * configure.in: Add gdb.dwarf2.
11550 * configure: Regenerated.
11551 * Makefile.in: Add gdb.dwarf2.
11552 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
11553 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
11554 gdb.dwarf2/file1.txt: New files.
11555
11556 2004-10-11 Orjan Friberg <orjanf@axis.com>
11557
11558 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
11559 of "run", since the latter doesn't work with remote targets. Adjust
11560 the breakpoint numbering accordingly.
11561 * gdb.threads/pthread_cond_wait.exp: Ditto.
11562
11563 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
11564
11565 * gdb.base/overlays.exp: Update copyright years.
11566
11567 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
11568
11569 * gdb.base/overlays.exp: Disable if target is Linux.
11570
11571 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
11572
11573 * config/gdbserver.exp (gdb_load): Use right filename on remote.
11574
11575 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
11576
11577 * gdb.asm/asm-source.exp: Add m32r-linux target.
11578 * gdb.asm/m32r-linux.inc: New file.
11579
11580 2004-09-24 Andrew Cagney <cagney@redhat.com>
11581 David Anderson <anderson@redhat.com>
11582
11583 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
11584 command fails, assume things will work.
11585 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
11586 (_GNU_SOURCE): Define.
11587 (print_unsigned, print_hex): Change parameter to "long long".
11588 (print_byte_count): New function, use to print byte counts.
11589 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
11590 O_LARGEFILE.
11591 (main): Compute an upper bound on a corefile in max_core_size.
11592 Limit memory chunk size to max_core_size. Limit total memory
11593 allocated to max_core_size.
11594
11595 2004-09-23 Andrew Cagney <cagney@gnu.org>
11596
11597 * gdb.base/bigcore.exp: Replace the code that creates a corefile
11598 from a separate process with code that creates a corefile by
11599 making the inferior dump core.
11600
11601 2004-09-23 Mark Kettenis <kettenis@gnu.org>
11602
11603 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
11604 block.
11605
11606 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
11607
11608 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
11609 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
11610 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
11611 Likewise.
11612
11613 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
11614
11615 * gdb.java/jprint.exp: New test case for java inferior call.
11616 * gdb.java/jprint.java: Ditto.
11617
11618 2004-09-15 Joel Brobecker <brobecker@gnat.com>
11619
11620 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
11621
11622 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11623
11624 * gdb.threads/killed.c: Include <stdlib.h>.
11625 * gdb.threads/pthreads.c: Likewise.
11626
11627 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11628
11629 * gdb.threads/killed.c: Add copyright notice.
11630
11631 2004-09-10 Jason Molenda (jmolenda@apple.com)
11632
11633 * gdb.base/define.exp: Two new tests to verify zero space chars
11634 after 'if' and 'while' commands in a user-defined command is correctly
11635 parsed.
11636
11637 2004-09-08 Andrew Cagney <cagney@gnu.org>
11638
11639 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
11640 delivery test with duplicate at end of file.
11641
11642 2004-09-06 Mark Kettenis <kettenis@jive.nl>
11643
11644 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
11645
11646 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11647
11648 * config/hppro.exp: Removed.
11649
11650 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11651
11652 * config/sparclet.exp: Removed.
11653
11654 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11655
11656 * config/udi.exp: Removed.
11657
11658 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
11659
11660 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
11661 of "exp_continue".
11662 (advancei): Likewise.
11663
11664 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11665
11666 * gdb.base/unload.exp: Fix so messages aren't duplicated.
11667
11668 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
11669
11670 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
11671 to check for nodebug in executable.
11672 * gdb.gdb/observer.exp (setup_test): Likewise.
11673 * gdb.gdb/selftest.exp (test_with_self): Likewise.
11674 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
11675
11676 2004-09-01 Andrew Cagney <cagney@gnu.org>
11677
11678 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11679 files.
11680
11681 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11682
11683 * gdb.base/unload.exp: Fix expected warning message to match
11684 latest format.
11685
11686 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
11687
11688 * gdb.base/call-rt-st.exp: Fix typos.
11689
11690 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
11691
11692 * gdb.threads/thread_check.exp: New testcase.
11693 * gdb.threads/thread_check.c: New testcase.
11694
11695 2004-08-31 Andrew Cagney <cagney@gnu.org>
11696
11697 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
11698 (skip_to_handler_entry): New procedures. Test stepping into a
11699 handler when the breakpoint is at the handler's entry point.
11700
11701 2004-08-30 Andrew Cagney <cagney@gnu.org>
11702
11703 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
11704 gdb/1757.
11705
11706 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11707
11708 With code from Manoj Iyer <manjo@austin.ibm.com>:
11709 * lib/gdb.exp (gdb_file_cmd): Return more information in the
11710 return value. Add an arm for "no debugging symbols found".
11711 Change a stray "error" to "perror".
11712 (gdb_run_cmd): Adapt to new return value.
11713 * gdb.base/remote.exp: Adapt to new return value.
11714 * gdb.gdb/complaints.exp: Likewise.
11715 * gdb.gdb/observer.exp: Likewise.
11716 * gdb.gdb/selftest.exp: Likewise.
11717 * gdb.gdb/xfullpath.exp: Likewise.
11718
11719 2004-08-27 Joel Brobecker <brobecker@gnat.com>
11720
11721 * gdb.threads/bp_in_thread.exp: New testcase.
11722
11723 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11724
11725 Fix PR testsuite/1735.
11726 * gdb.threads/schedlock.c (thread_function): Add a cast
11727 to suppress a gcc warning.
11728 * gdb.threads/thread-specific.c (thread_function): Likewise.
11729
11730 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11731
11732 * gdb.base/unload.c: Include <stdlib.h>.
11733
11734 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11735
11736 From Paul Gilliam <pgilliam@us.ibm.com>:
11737 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
11738 synchronized after the "return".
11739
11740 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11741
11742 * gdb.mi/basics.c: Include <stdio.h>.
11743 * gdb.mi/pthreads.c: Include <stdlib.h>.
11744 * gdb.mi/var-cmd.c: Include <stdlib.h>.
11745
11746 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11747
11748 * gdb.threads/schedlock.c: Add copyright notice.
11749
11750 2004-08-25 Andrew Cagney <cagney@gnu.org>
11751
11752 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
11753 (skip_over_handler, breakpoint_over_hander): New test procedures.
11754 (advance, advancei): Add a proper prefix, do not use
11755 rerun_to_main.
11756 * gdb.base/sigstep.c (main): Change to use an infinite loop.
11757
11758 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
11759
11760 * gdb.mi/basics.c: Add copyright notice.
11761 * gdb.mi/var-cmd.c: Add copyright notice.
11762
11763 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11764
11765 * lib/gdb.exp: Remove signed_keyword_not_used.
11766 * lib/compiler.c: Likewise.
11767 * lib/compiler.cc: Likewise.
11768
11769 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11770
11771 * gdb.base/whatis.c: Remove conditional disabling of "signed".
11772 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
11773
11774 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11775
11776 * gdb.base/whatis.c: Add copyright notice.
11777
11778 2004-08-20 Mark Kettenis <kettenis@gnu.org>
11779
11780 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
11781 it to skip the breakpoints encoded in the inline assembly.
11782
11783 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11784
11785 * Makefile.in: Add gdb.fortran.
11786
11787 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11788
11789 * gdb.base/call-sc.exp (test_scalar_returns):
11790 Fix cut-and-paste glitch in "Make fun return now".
11791
11792 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11793
11794 * configure.in: Add gdb.fortran.
11795 * configure: Regenerate.
11796 * gdb.fortran/Makefile.in: New file.
11797 * lib/gdb.exp (skip_fortran_tests): New procedure.
11798
11799 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11800
11801 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
11802 reference to bug-gnu@prep.ai.mit.edu.
11803 * gdb.mi/mi-var-child.exp: Likewise.
11804 * gdb.mi/mi-var-cmd.exp: Likewise.
11805 * gdb.mi/mi-var-display.exp: Likewise.
11806 * gdb.mi/mi2-var-block.exp: Likewise.
11807 * gdb.mi/mi2-var-child.exp: Likewise.
11808 * gdb.mi/mi2-var-cmd.exp: Likewise.
11809 * gdb.mi/mi2-var-display.exp: Likewise.
11810
11811 2004-08-15 Mark Kettenis <kettenis@gnu.org>
11812
11813 * gdb.base/unload.c (main): Make local variable msg const.
11814
11815 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11816
11817 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
11818 to bug-gnu@prep.ai.mit.edu.
11819 * gdb.mi/mi-disassemble.exp: Likewise.
11820 * gdb.mi/mi-eval.exp: Likewise.
11821 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
11822 default line number.
11823 * gdb.mi/mi-return.exp: Likewise.
11824 * gdb.mi/mi-simplerun.exp: Likewise.
11825 * gdb.mi/mi-stack.exp: Likewise.
11826 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
11827 number with explicit range test.
11828 * gdb.mi/mi-watch.exp: Likewise.
11829 * gdb.mi/mi2-break.exp: Likewise.
11830 * gdb.mi/mi2-cli.exp: Likewise.
11831 * gdb.mi/mi2-disassemble.exp: Likewise.
11832 * gdb.mi/mi2-eval.exp: Likewise.
11833 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
11834 default line number.
11835 * gdb.mi/mi2-return.exp: Likewise.
11836 * gdb.mi/mi2-simplerun.exp: Likewise.
11837 * gdb.mi/mi2-stack.exp: Likewise.
11838 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
11839 number with explicit range test.
11840 * gdb.mi/mi2-watch.exp: Likewise.
11841
11842 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11843
11844 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
11845 * gdb.cp/m-static.exp: Likewise.
11846 * gdb.cp/rtti.exp: Likewise.
11847
11848 2004-08-14 Mark Kettenis <kettenis@gnu.org>
11849
11850 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
11851
11852 2004-08-14 Eli Zaretskii <eliz@gnu.org>
11853
11854 * ChangeLog: Prefix Local Variables with semi-colons and indent
11855 the reference to older ChangeLog files, to fix fontification in
11856 Emacs.
11857
11858 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11859
11860 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
11861 * gdb.mi/mi2-break.exp: Likewise.
11862
11863 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11864
11865 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
11866
11867 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11868
11869 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
11870
11871 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11872
11873 * gdb.cp/classes.exp: Remove unused declarations. Just let
11874 test names default instead of providing special names. Remove
11875 extraneous demangler test.
11876
11877 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
11878
11879 * gdb.base/unload.exp: New test for breakpoints in dynamically
11880 loaded libraries.
11881 * gdb.base/unload.c: Ditto.
11882 * gdb.base/unloadshr.c: Ditto.
11883
11884 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
11885
11886 * gdb.cp/classes.exp (test_ptype_class_objects): Call
11887 cp_test_ptype_class.
11888 (test_enums): Likewise.
11889
11890 2004-08-10 Andrew Cagney <cagney@gnu.org>
11891
11892 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11893 files.
11894
11895 2004-08-10 Andrew Cagney <cagney@gnu.org>
11896
11897 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
11898 init_malloc call.
11899
11900 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
11901
11902 * ChangeLog: Add copyright notice. The notice is copied
11903 from emacs 21.3 top level ChangeLog.
11904
11905 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11906
11907 * lib/cp-support.exp: New file.
11908 * lib/cp-support.exp (cp_test_type_class): New function.
11909 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
11910 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
11911 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
11912 cp_test_ptype_class.
11913
11914 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11915
11916 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
11917 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11918 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
11919 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
11920 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11921 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
11922 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
11923 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
11924 gdb.mi/mi2-watch.exp: Update copyright years.
11925
11926 2004-08-09 Mark Kettenis <kettenis@gnu.org>
11927
11928 * gdb.base/sigaltstack.exp: Provide proper anchoring.
11929
11930 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11931
11932 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
11933 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
11934 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
11935 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11936 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
11937 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
11938 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
11939 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
11940 gdb.mi/mi-watch.exp: Update copyright years.
11941
11942 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11943
11944 PR gdb/1738
11945 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
11946 from a breakpoint with a pending signal.
11947
11948 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11949
11950 PR gdb/1736
11951 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
11952 * gdb.base/sigaltstack.exp (finish_test): Consume output until
11953 the prompt.
11954 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
11955
11956 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11957
11958 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
11959
11960 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11961
11962 PR gdb/1736
11963 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
11964 for i?86-*-linux*.
11965
11966 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11967
11968 * gdb.arch/i386-prologue.exp: Compile without debug information.
11969
11970 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
11971
11972 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
11973 rather than asking gdb to search.
11974
11975 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11976
11977 * gdb.base/gcore.c: Include <string.h>.
11978
11979 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11980
11981 * gdb.base/gcore.c: Add copyright notice.
11982
11983 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11984
11985 * gdb.base/freebpcmd.c: Include <stdio.h>.
11986 * gdb.base/long_long.c: Include <string.h>.
11987 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
11988 * gdb.base/siginfo.c: Include <string.h>.
11989 * gdb.base/sigstep.c: Include <string.h>.
11990
11991 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11992
11993 * gdb.base/complex.c: Include <stdlib.h>.
11994
11995 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11996
11997 * gdb.base/complex.c: Add copyright notice.
11998
11999 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12000
12001 * gdb.base/charset.c: Include <stdlib.h>.
12002
12003 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12004
12005 * gdb.base/auxv.c: Include <stdlib.h>.
12006
12007 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12008
12009 * gdb.base/auxv.c: Add copyright notice.
12010
12011 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
12012
12013 * gdb.base/coremaker.c: Add copyright notice.
12014 * gdb.base/coremaker2.c: Add copyright notice.
12015
12016 2004-08-04 Andrew Cagney <cagney@gnu.org>
12017
12018 * gdb.base/store.exp: Update copyright.
12019 (check_set, up_set, check_struct, up_struct): Add a prefix to test
12020 names, do not import gdb_prompt.
12021
12022 2004-08-01 Andrew Cagney <cagney@gnu.org>
12023
12024 Fix PR testsuite/1729.
12025 * gdb.base/dump.exp: Add test name to callers of capture_value, do
12026 not use capture_value with value 4.
12027 (capture_value): Add optional test name parameter.
12028 (test_reload_saved_value, test_restore_saved_value): Use $msg as
12029 the prefix, pass to capture_value.
12030
12031 2004-08-01 Mark Kettenis <kettenis@gnu.org>
12032
12033 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
12034 * gdb.arch/i386-prologue.c (standard): New prototype and function.
12035 (main): Call new function.
12036
12037 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12038
12039 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
12040
12041 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12042
12043 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
12044
12045 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
12046
12047 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
12048 Accept more values of vtbl pointer. Remove some messages
12049 about "obsolete gcc or gdb".
12050
12051 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12052
12053 * gdb.cp/classes.exp: Accept more varieties of ptype output.
12054
12055 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
12056
12057 * gdb.base/asm-source.exp: Properly convert target board
12058 debug flags from gcc format to binutils format.
12059
12060 2004-07-28 Mark Kettenis <kettenis@gnu.org>
12061
12062 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
12063 gdb1718". PR backtrace/1718 partially fixed.
12064
12065 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
12066
12067 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
12068
12069 2004-07-26 Nick Clifton <nickc@redhat.com>
12070
12071 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
12072 good default value for a specific architecture is available then
12073 set it to that value. Otherwise default to the -gstabs switch.
12074 Remove the -g... switches from the asm-flags variable. Allow the
12075 target board info to override the value if it wants to. Pass the
12076 switch on the assembler command line.
12077
12078 2004-07-23 Mark Kettenis <kettenis@gnu.org>
12079
12080 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
12081 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
12082 (main): Call new function.
12083
12084 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
12085
12086 Test for PR exp/1715.
12087 * gdb.base/radix.exp: Refactor common procedures. Make all
12088 test names unique. Change XFAIL to KFAIL.
12089
12090 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
12091
12092 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
12093 * gdb.ada/gnat_ada.gin: ... to here.
12094 * configure.in: Use gnat_ada.gin.
12095 * configure: Regenerate.
12096
12097 2004-07-20 Andrew Cagney <cagney@gnu.org>
12098
12099 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
12100 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
12101 XFAILs. Clean up test messages and comments. Check backtraces.
12102 Delete re-sync code.
12103
12104 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12105
12106 Fix PR cli/740.
12107 * gdb.base/annota1.exp: Honor gdb,nosignals.
12108 * gdb.base/annota3.exp: Likewise.
12109
12110 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
12111
12112 * lib/java.exp: Update copyright notice.
12113
12114 2004-07-19 Andrew Cagney <cagney@gnu.org>
12115
12116 * gdb.base/selftest.exp: Copy file from here ...
12117 * gdb.gdb/selftest.exp: ... to here.
12118
12119 2004-07-16 Andrew Cagney <cagney@redhat.com>
12120
12121 * lib/insight-support.exp: Delete file.
12122 * lib/java.exp (java_init): Fix copyright.
12123
12124 2004-07-16 Andrew Cagney <cagney@gnu.org>
12125
12126 * gdb.base/restore.c: Append "prologue" to comments marking the a
12127 function's prologue.
12128 * gdb.base/restore.exp: Update copyright, re-indent.
12129 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
12130 callerN" prefix where needed. Update patterns that match a
12131 function's prologue.
12132
12133 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
12134
12135 * gdb.base/restore.c: Add copyright notice.
12136
12137 2004-07-16 Andrew Cagney <cagney@gnu.org>
12138
12139 * gdb.base/logical.exp: Update copyright.
12140 (evaluate): New procedure. Use to re-implement tests using
12141 several tables.
12142
12143 2004-07-14 Martin Hunt <hunt@redhat.com>
12144
12145 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
12146 which fixes some problems where init.tcl was not found.
12147
12148 2004-07-13 Andrew Cagney <cagney@gnu.org>
12149
12150 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
12151 (check_sizeof, check_valueof): Do not include the output in the
12152 test name. Use gdb_test.
12153 (get_valueof): Use gdb_test_multiple.
12154
12155 * gdb.base/step-test.exp: Update copyright. Use
12156 gdb_test_multiple. Ensure that test names do not include
12157 architecture dependent output.
12158
12159 * gdb.gdb/observer.exp: Update copyright.
12160 (setup_test): Use gdb_test_multiple.
12161 (attach_first_observer, attach_second_observer)
12162 (attach_third_observer, detach_first_observer)
12163 (detach_second_observer, detach_third_observer)
12164 (reset_counters, check_counters): Make $message a prefix.
12165 (test_normal_stop_notifications): Add "args" parameter - a list of
12166 init functions to be called. Make $message a prefix,
12167 (test_observer_normal_stop): Change the message prefixes so that
12168 they are unique, pass the attach / detach procedures to
12169 test_normal_stop_notifications.
12170
12171 * gdb.base/signull.exp (test_segv): Prefix all tests with
12172 "${name}". Clean up test messages.
12173
12174 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
12175
12176 * gdb.base/ena-dis-br.exp: Update copyright.
12177 (break_at): New function. Replace send_gdb with gdb_test,
12178 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
12179 ignore count, not stopped at bpt", with KFAIL.
12180
12181 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
12182
12183 * gdb.base/attach.exp: Remove cleanupfile handling.
12184
12185 2004-07-12 Andrew Cagney <cagney@gnu.org>
12186
12187 * gdb.base/annota1.exp: Cleanup corefile test name.
12188 * gdb.base/annota3.exp: Ditto.
12189
12190 2004-07-12 Andrew Cagney <cagney@gnu.org>
12191
12192 * gdb.base/signals.exp: Clean up copyright, re-indent.
12193
12194 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
12195 gdb_test and gdb_test_multiple.
12196
12197 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
12198
12199 * gdb.java/jmain.exp: Fix expected line number for main to
12200 break at. Set XFAIL for break at main test since gcj does not
12201 provide line number info for first statement in main.
12202
12203 2004-07-08 Andrew Cagney <cagney@gnu.org>
12204
12205 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
12206
12207 * gdb.base/sigbpt.exp: Make the common part of each test name a
12208 prefix instead of suffix.
12209
12210 2004-07-07 Bob Rossi <bob_rossi@cox.net>
12211
12212 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
12213 test from test_tbreak_creation_and_listing to
12214 test_file_list_exec_source_file
12215 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
12216 Changed name of test from test_tbreak_creation_and_listing to
12217 test_file_list_exec_source_file
12218
12219 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
12220
12221 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
12222 the jmisc() constructor instead of <init>.
12223 * gdb.java/jmisc1.exp: Ditto.
12224
12225 2004-07-07 Andrew Cagney <cagney@gnu.org>
12226
12227 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
12228 corrupting the PC.
12229
12230 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
12231
12232 * gdb.cp/templates.exp: Accept whitespace change in demangler
12233 output.
12234
12235 2004-07-06 Andrew Cagney <cagney@gnu.org>
12236
12237 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
12238
12239 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
12240
12241 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
12242 * lib/compiler.cc: Likewise.
12243
12244 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
12245
12246 * lib/compiler.cc: Work around string preprocessing problem
12247 with old hp c++ compiler.
12248 * lib/compiler.c: Likewise.
12249
12250 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
12251
12252 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
12253 directives to conditionalize symbol prefixing.
12254 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
12255 additional_flags handling. Add underscore prefix for Cygwin.
12256 * gdb.arch/i386-unwind.c: Use preprocessor directives to
12257 conditionalize symbol prefixing.
12258 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
12259 additional_flags handling. Add underscore prefix for Cygwin.
12260
12261 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
12262
12263 * gdb.base/bigcore.exp: Skip test on Cygwin.
12264
12265 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
12266
12267 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
12268 formats for "info register". Use gdb_test_multiple. Fix
12269 the "invalid register" test.
12270
12271 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
12272
12273 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
12274 PID for Cygwin. Add Cygwin specific strings to check for in some
12275 tests.
12276 (do_attach_tests): Add a test for user interaction when attaching
12277 to a process with no matching symbol table already loaded.
12278
12279 2004-06-26 Andrew Cagney <cagney@gnu.org>
12280
12281 Test PR java/1567 and PR java/1565.
12282 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
12283 * gdb.java/jmisc2.exp: Delete file.
12284
12285 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
12286
12287 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
12288
12289 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
12290
12291 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
12292 attach process.
12293
12294 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
12295
12296 * gdb.cp/pr-1553.exp: Remove.
12297
12298 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
12299
12300 * gdb.cp/pr-1553.cc: Remove.
12301 * gdb.cp/pr-1553.exp: Disable this test.
12302
12303 2004-06-20 Jim Blandy <jimb@redhat.com>
12304
12305 Fix PR testsuite/1680.
12306 * gdb.arch/i386-sse.exp: Properly quote curly braces in
12307 regular expressions.
12308
12309 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
12310
12311 Fix PR testsuite/1679.
12312 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
12313 Issue an UNSUPPORTED result instead.
12314
12315 2004-06-18 Jim Blandy <jimb@redhat.com>
12316
12317 * gdb.base/charset.exp: Only send a control-C if we see a new
12318 prompt and incomplete command.
12319
12320 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
12321
12322 * gdb.cp/pr-574.cc: Add copyright notice.
12323
12324 2004-06-17 Jim Blandy <jimb@redhat.com>
12325
12326 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
12327 cases where the regexp has no groups; this grabs random text from
12328 the previous test suite, whatever that was.
12329
12330 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
12331
12332 * gdb.cp/printmethod.cc: Add copyright notice.
12333
12334 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
12335
12336 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
12337
12338 2004-06-16 Andrew Cagney <cagney@gnu.org>
12339
12340 * gdb.base/signull.c: Update copyright. Include <string.h>.
12341 (bowler): Replace data_pointer with data_read
12342 and data_write cases. Add code_descriptor case.
12343 (zero, desc): New array and pointer.
12344 (data, code): Change to simple pointers.
12345 * gdb.base/signull.exp: Fix probe pattern matching a function
12346 descriptor SIGSEGV. Replace data_pointer with data_read and
12347 data_write tests.
12348
12349 2004-06-16 Andrew Cagney <cagney@gnu.org>
12350
12351 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
12352
12353 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12354
12355 * gdb.base/long_long.c: Add copyright notice.
12356
12357 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12358
12359 * gdb.base/long_long.exp: Remove reference to
12360 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
12361 to gdb_breakpoint and gdb_continue_to_breakpoint.
12362
12363 2004-06-14 Jim Blandy <jimb@redhat.com>
12364
12365 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
12366 endian case.
12367
12368 2004-06-14 Andrew Cagney <cagney@gnu.org>
12369
12370 * gdb.base/gcore.exp (capture_command_output): Delete the always
12371 passing tests containing inferior values.
12372 * gdb.base/ending-run.exp: Do not include the breakpoint address
12373 in the test message. Update copyright.
12374 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
12375 size in the test name, use gdb_test_multiple. Update copyright.
12376
12377 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12378
12379 * gdb.cp/ref-types.cc: Add copyright notice.
12380
12381 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12382
12383 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
12384 hp_aCC_compiler.
12385 * lib/compiler.cc: Likewise.
12386 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
12387 'set' commands. Log diagnostics for other lines. Set
12388 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12389
12390 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12391
12392 * gdb.cp/try_catch.cc: Add copyright notice.
12393
12394 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12395
12396 * gdb.cp/userdef.cc: Add copyright notice.
12397
12398 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12399
12400 * gdb.cp/virtfunc.cc: Add copyright notice.
12401
12402 2004-06-11 Randolph Chung <tausq@debian.org>
12403
12404 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12405 problem.
12406
12407 2004-06-10 Andrew Cagney <cagney@gnu.org>
12408
12409 * lib/compiler.cc, lib/compiler.c: Append either
12410 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12411 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12412 instead of gcc-3-3.
12413
12414 2004-06-09 Andrew Cagney <cagney@gnu.org>
12415
12416 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12417 gdb/1455, bug is specific to "long long" and "double".
12418
12419 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12420 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12421 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12422 fixed.
12423
12424 2004-06-09 Andrew Cagney <cagney@gnu.org>
12425
12426 * gdb.base/structs.exp (test_struct_returns): Replace
12427 "return_value_unknown" and "finish_value_unknown" by
12428 "return_value_known" and "finish_value_known". Instead of
12429 "return_value_unknown" iff "finish_value_unknown", check
12430 "return_value_known" implies "finish_value_known".
12431
12432 2004-06-08 Martin Hunt <hunt@redhat.com>
12433
12434 * gdb.base/float.exp: Add pattern for mips targets.
12435
12436 2004-06-08 Randolph Chung <tausq@debian.org>
12437
12438 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12439 message for unknown architectures more clear.
12440
12441 2004-06-08 Joel Brobecker <brobecker@gnat.com>
12442
12443 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12444 start the execution of the program.
12445
12446 2004-06-07 Jim Blandy <jimb@redhat.com>
12447
12448 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12449 * gdb.arch/i386-cpuid.h: New helper file.
12450
12451 2004-06-07 Randolph Chung <tausq@debian.org>
12452
12453 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12454 has started.
12455
12456 2004-06-04 Roland McGrath <roland@redhat.com>
12457
12458 Fix PR gdb/1647.
12459 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12460 differently to be robust to output buffering differences.
12461
12462 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12463
12464 * gdb.threads/pthreads.exp: Update copyright years.
12465 (check_control_c): Change asynchronous 'after' to synchronous.
12466
12467 2004-06-04 Roland McGrath <roland@redhat.com>
12468
12469 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12470 next gdb prompt.
12471
12472 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12473
12474 Fix PR gdb/1636.
12475 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12476 calls to synchronous.
12477
12478 2004-05-26 Jim Blandy <jimb@redhat.com>
12479
12480 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12481
12482 2004-05-24 Randolph Chung <tausq@debian.org>
12483
12484 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12485 * gdb.asm/pa.inc: New file.
12486
12487 2004-05-22 Mark Kettenis <kettenis@gnu.org>
12488
12489 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12490
12491 2004-05-21 Joel Brobecker <brobecker@gnat.com>
12492 Daniel Jacobowitz <drow@mvista.com>
12493
12494 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12495 GDB prompt.
12496
12497 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12498
12499 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
12500 setjmp/longjmp. Use sigaction instead of signal.
12501
12502 2004-05-19 J. Brobecker <brobecker@gnat.com>
12503 Michael Snyder <msnyder@redhat.com>
12504
12505 * gdb.threads/pthread_cond_wait.c: New file.
12506 * gdb.threads/pthread_cond_wait.exp: New testcase.
12507
12508 2004-05-13 Andrew Cagney <cagney@redhat.com>
12509
12510 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12511 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12512
12513 2004-05-11 Andrew Cagney <cagney@redhat.com>
12514
12515 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12516 fixed but revealed gdb/1639.
12517
12518 2004-05-10 Andrew Cagney <cagney@redhat.com>
12519
12520 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12521 func1" and "next to 2nd alarm", kernel bug avoided.
12522
12523 2004-05-10 Daniel Jacobowitz <dan@debian.org>
12524
12525 PR external/1568
12526 * gdb.base/bigcore.exp: Check the size of the dumped core file.
12527 XFAIL if it is smaller than bytes_allocated.
12528 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
12529 (main): Make chunks_allocated unsigned. Correct comment.
12530
12531 2004-05-07 Joel Brobecker <brobecker@gnat.com>
12532
12533 * gdb.arch/powerpc-aix-prologue.c: New file.
12534 * gdb.arch/powerpc-aix-prologue.exp: New file.
12535
12536 2004-05-07 Jim Blandy <jimb@redhat.com>
12537
12538 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
12539 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
12540
12541 2004-05-06 Joel Brobecker <brobecker@gnat.com>
12542
12543 * gdb.base/sep.exp: No longer setup_kfail when the program was
12544 built with dwarf2.
12545
12546 2004-05-05 Jim Ingham <jingham@apple.com>
12547
12548 * gdb.base/pending.exp: Make sure pending breakpoints
12549 preserve the ignore count.
12550
12551 2004-04-27 Jerome Guitton <guitton@gnat.com>
12552
12553 * i386-prologue.exp: Add testcase for jump instruction as first
12554 instruction of the real code.
12555 * i386-prologue.c (jump_at_beginning): New function.
12556
12557 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12558
12559 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
12560 x86_64-*-*.
12561
12562 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12563
12564 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
12565 i*86-*-*.
12566
12567 2004-04-25 Mark Kettenis <kettenis@gnu.org>
12568
12569 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
12570 expression that checks the return type.
12571
12572 2004-04-23 Andrew Cagney <cagney@redhat.com>
12573
12574 * gdb.base/call-sc.exp: New test of scalar call/return values.
12575 * gdb.base/call-sc.c: Ditto.
12576
12577 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12578
12579 * gdb.threads/manythreads.c: Reduce thread stack size.
12580
12581 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
12582
12583 * gdb.threads/manythreads.c: Add copyright notice.
12584
12585 2004-04-23 Andrew Cagney <cagney@redhat.com>
12586
12587 * gdb.base/siginfo.exp: Better handle step out of signal.
12588 * gdb.base/sigstep.exp: Ditto.
12589
12590 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
12591 Daniel Jacobowitz <drow@mvista.com>
12592
12593 * gdb.threads/manythreads.c: New testcase.
12594 * gdb.threads/manythreads.exp: Ditto.
12595
12596 2004-04-22 Jim Blandy <jimb@redhat.com>
12597
12598 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
12599 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
12600
12601 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
12602
12603 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
12604
12605 2004-04-21 Andrew Cagney <cagney@redhat.com>
12606
12607 * gdb.base/sigstep.c: New file.
12608 * gdb.base/sigstep.exp: New file.
12609
12610 2004-04-16 Joel Brobecker <brobecker@gnat.com>
12611
12612 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
12613 call to observer_notify_normal_stop.
12614
12615 2004-04-15 Andrew Cagney <cagney@redhat.com>
12616
12617 * gdb.base/siginfo.c: New file.
12618 * gdb.base/siginfo.exp: New file.
12619
12620 2004-04-12 J. Brobecker <brobecker@gnat.com>
12621
12622 * gdb.base/sep.exp: Fix typo in comment.
12623
12624 2004-04-12 J. Brobecker <brobecker@gnat.com>
12625
12626 * gdb.base/sep.c: New file.
12627 * gdb.base/sep-proc.c: New file.
12628 * gdb.base/sep.exp: New testcase.
12629
12630 2004-04-09 Mark Kettenis <kettenis@gnu.org>
12631
12632 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
12633 support.
12634
12635 2004-04-05 Andrew Cagney <cagney@redhat.com>
12636
12637 * gdb.base/sigaltstack.c: New file.
12638 * gdb.base/sigaltstack.exp: New file.
12639
12640 2004-04-04 Joel Brobecker <brobecker@gnat.com>
12641
12642 * gdb.base/foll-fork.exp: Update the expected output for
12643 "help set follow-fork-mode", to match a change that was made
12644 to the help of this variable on 2004-01-13.
12645
12646 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12647
12648 * lib/ada.exp: Add copyright notice.
12649 * bar.ads: Likewise.
12650 * bar.adb: Likewise.
12651 * null_record.adb: Likewise.
12652 * null_record.exp: Likewise.
12653 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
12654
12655 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12656
12657 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
12658 * configure: Regenerate.
12659
12660 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12661
12662 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
12663 to build the application. Remove the message printed when in
12664 verbose mode, redundant with the UNSUPPORTED message above.
12665
12666 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12667
12668 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
12669 * gdb.ada (null_record.exp): New testcase.
12670
12671 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12672
12673 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
12674
12675 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12676
12677 * gdb.ada: New subdirectory.
12678 * gdb.ada/Makefile.in: New file.
12679 * gdb.ada/gnat_ada.gpr.in: New file.
12680
12681 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12682
12683 * lib/ada.exp: New file.
12684
12685 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
12686
12687 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
12688 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
12689
12690 2004-03-22 Andrew Cagney <cagney@redhat.com>
12691
12692 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
12693 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
12694 Problem identified by Ulrich Weigand.
12695
12696 2004-03-17 David Carlton <carlton@kealia.com>
12697
12698 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
12699 PR c++/826.
12700
12701 2004-03-16 Roland McGrath <roland@redhat.com>
12702
12703 * gdb.base/auxv.exp: New file.
12704 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
12705
12706 2004-03-12 David Carlton <carlton@kealia.com>
12707
12708 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
12709 * gdb.cp/pr-1553.cc: Ditto.
12710 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
12711 pass branch.
12712
12713 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
12714
12715 * gdb.cp/templates.exp: Accept more template types.
12716
12717 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12718
12719 From Corinna Vinschen with modifications.
12720 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
12721 local variable obj_with_enum.
12722 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
12723 results with obj_with_enum.
12724
12725 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12726
12727 * gdb.cp/classes.cc: New file, copied from misc.cc.
12728 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
12729
12730 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12731
12732 * gdb.cp/misc.cc: Add copyright notice.
12733
12734 2004-03-05 David Carlton <carlton@kealia.com>
12735
12736 * gdb.cp/rtti.exp: Add 'print *obj3' test.
12737 * gdb.cp/rtti.h: Update copyright.
12738 (namespace n2::n3): New.
12739 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
12740 (n2::n3::func3): New.
12741 (main): Call n2::n3::func3.
12742 * gdb.cp/rtti2.cc: Update copyright.
12743 (n2::create3): New.
12744
12745 2004-03-04 Mark Kettenis <kettenis@gnu.org>
12746
12747 * gdb.asm/openbsd.inc: Fix typo.
12748
12749 2004-03-03 Fred Fish <fnf@redhat.com>
12750
12751 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
12752 "val" instead of unused "size". Update copyright year.
12753
12754 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12755
12756 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
12757 to use unsigned char.
12758 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
12759 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
12760
12761 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12762
12763 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
12764 line of output.
12765
12766 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12767
12768 * gdb.base/relocate.c (dummy): Initialize.
12769
12770 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12771
12772 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
12773 a breakpoint at exit.
12774
12775 2004-02-27 Fred Fish <fnf@redhat.com>
12776
12777 * gdb.base/chng-syms.exp: Add expect condition to match failing
12778 case that isn't a timeout.
12779
12780 2004-02-27 Andrew Cagney <cagney@redhat.com>
12781
12782 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
12783 support.
12784
12785 2004-02-26 Fred Fish <fnf@redhat.com>
12786
12787 * gdb.arch/gdb1431.c: Remove.
12788 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
12789 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
12790 of "until" incorrectly.
12791
12792 2004-02-26 J. Brobecker <brobecker@gnat.com>
12793
12794 * gdb.cp/class2.cc (empty): New class.
12795 (refer): New function.
12796 (main): Declare an object of type empty and use it.
12797 * gdb.cp/class2.exp: Print the value of an object of type empty.
12798
12799 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
12800
12801 * gdb.base/langs.exp: Update query string to match the
12802 new nquery format used for pending breakpoints.
12803
12804 2004-02-26 Andrew Cagney <cagney@redhat.com>
12805
12806 Fix PR i18n/1570.
12807 * gdb.base/charset.c: Update copyright notice.
12808 (main, init_string): Remove the escape character '\e' tests.
12809 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
12810 * gdb.base/charset.exp (valid_host_charset): Ditto.
12811 * gdb.base/setvar.exp: Ditto.
12812
12813 2004-02-24 Andrew Cagney <cagney@redhat.com>
12814
12815 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
12816 mmapped data in core file" PASS and FAIL messages consistent.
12817
12818 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
12819 setting a breakpoint. Work around PR java/1565.
12820
12821 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
12822
12823 * lib/gdb.exp (gdb_breakpoint): Update query string to match
12824 new nquery format.
12825 * gdb.base/pending.exp: Ditto.
12826
12827 2004-02-22 Mark Kettenis <kettenis@gnu.org>
12828
12829 * configure.in: Run stabs tests on *BSD.
12830 * configure: Regenerated.
12831
12832 2004-02-21 Mark Kettenis <kettenis@gnu.org>
12833
12834 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
12835
12836 2004-02-20 Fred Fish <fnf@redhat.com>
12837
12838 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
12839 blank in test for "returns short", for consistency with other
12840 "returns xxx" tests. Update copyright year.
12841
12842 2004-02-19 Fred Fish <fnf@redhat.com>
12843
12844 New testcase for PR breakpoint/1558.
12845 * gdb.arch/gdb1558.exp: New file.
12846 * gdb.arch/gdb1558.c: New file.
12847
12848 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
12849
12850 * gdb.base/nodebug.exp: Fix typo.
12851
12852 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12853
12854 Committed by Jim Blandy <jimb@redhat.com>.
12855
12856 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
12857
12858 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
12859
12860 * gdb.base/float.exp: Support s390*-*-* targets.
12861
12862 2004-02-17 Adam Fedor <fedor@gnu.org>
12863
12864 * gdb.base/gdb1555.exp: New file.
12865 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
12866
12867 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
12868
12869 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
12870
12871 2004-02-16 Fred Fish <fnf@redhat.com>
12872
12873 * gdb.arch/gdb1291.c: Remove
12874 * gdb.arch/gdb1291.s: New test input file.
12875 * gdb.arch/gdb1291.exp: Expand test to check case that should not
12876 fail. Test for correct result, known incorrect result, other
12877 failures and timeouts.
12878
12879 2004-02-16 Andrew Cagney <cagney@redhat.com>
12880
12881 * gdb.base/bigcore.exp: New file.
12882 * gdb.base/bigcore.c: New file.
12883
12884 2004-02-13 Andrew Cagney <cagney@redhat.com>
12885
12886 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
12887 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
12888 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
12889 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
12890 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
12891 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
12892 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
12893 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
12894 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
12895 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
12896
12897 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
12898
12899 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
12900 executed is an alloc instruction.
12901
12902 2004-02-11 David Carlton <carlton@kealia.com>
12903
12904 * gdb.cp/breakpoint.exp: New.
12905 * gdb.cp/breakpoint.cc: New.
12906
12907 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
12908
12909 Partial fix for PR gdb/1543.
12910 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
12911 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
12912 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
12913 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
12914 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
12915 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
12916 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
12917 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
12918 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
12919 to bug-gdb@prep.ai.mit.edu .
12920 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
12921 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
12922 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
12923 Likewise.
12924
12925 2004-02-10 Andrew Cagney <cagney@redhat.com>
12926
12927 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
12928 using gdb_internal_error_resync.
12929
12930 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
12931
12932 * gdb.threads/thread-specific.exp: Stop early if no threads are
12933 found.
12934
12935 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
12936
12937 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
12938
12939 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
12940
12941 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
12942 breakpoints.
12943
12944 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
12945
12946 * config/sim.exp (gdb_load): Handle $arg == "".
12947 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
12948 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
12949
12950 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
12951
12952 * gdb.base/maint.exp: Update test to reflect
12953 obstack changes.
12954
12955 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
12956
12957 * gdb.base/pendshr.c (pendfunc): New function that calls
12958 pendfunc1.
12959 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
12960
12961 2004-02-04 Fred Fish <fnf@redhat.com>
12962
12963 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
12964 function symbols and update copyright years.
12965 * gdb.arch/gdb1291.c: Ditto.
12966
12967 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12968
12969 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
12970
12971 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12972
12973 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
12974
12975 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12976
12977 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
12978
12979 2004-02-02 Fred Fish <fnf@redhat.com>
12980
12981 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
12982 remote targets. Update copyright years.
12983
12984 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
12985
12986 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
12987 support.
12988 * gdb.base/langs.exp: Fix test which attempts to create
12989 breakpoint on non-existent function to handle new pending
12990 support.
12991 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
12992 a breakpoint.
12993 * gdb.base/pending.exp: New test.
12994 * gdb.base/pending.c: New file.
12995 * gdb.base/pendshr.c: Ditto.
12996
12997 2004-02-02 David Carlton <carlton@kealia.com>
12998
12999 * gdb.cp/overload.exp: Add overloadNamespace tests.
13000 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
13001 (overloadNamespace, XXX): New.
13002 (main): Call XXX::marker2.
13003
13004 2004-02-01 Fred Fish <fnf@redhat.com>
13005
13006 * gdb.base/dump.exp: Use runto_main instead of "runto main".
13007 * gdb.base/finish.exp: Ditto.
13008 * gdb.base/gcore.exp: Ditto.
13009 * gdb.base/huge.exp: Ditto.
13010 * gdb.base/info-proc.exp: Ditto.
13011 * gdb.base/return2.exp: Ditto.
13012 * gdb.threads/gcore-thread.exp: Ditto.
13013
13014 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
13015
13016 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
13017
13018 2004-02-01 Mark Kettenis <kettenis@gnu.org>
13019
13020 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
13021 that opening the file succeeds on OpenBSD.
13022
13023 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
13024
13025 * gdb.threads/thread-specific.c: New file.
13026 * gdb.threads/threads-specific.exp: New test script.
13027 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
13028 to expect_out.
13029
13030 2004-02-01 Mark Kettenis <kettenis@gnu.org>
13031
13032 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
13033 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
13034 only on the "print_small_structs from print_long_arg_list" test.
13035
13036 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
13037
13038 * gdb.base/completion.exp: Kill a stray backslash.
13039
13040 From Jim Ingham <jingham@apple.com>:
13041 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
13042 agrees with the result from sending a tab.
13043
13044 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
13045
13046 * gdb.base/chng-syms.exp: Remove stray newline.
13047
13048 2004-01-31 Mark Kettenis <kettenis@gnu.org>
13049
13050 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
13051 *-*-openbsd*.
13052 * gdb.asm/openbsd.inc: New file.
13053
13054 2004-01-30 Mark Kettenis <kettenis@gnu.org>
13055
13056 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
13057 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
13058 *-*solaris2*. Remove commented out default settings for
13059 asm-flags. Replace gdb_compile with target_link.
13060
13061 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
13062
13063 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
13064 for all tests. Remove old hp-ux and cygnus xfail cases.
13065
13066 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
13067
13068 * gdb.base/chng-syms.exp: New file.
13069 * gdb.base/chng-syms.c: New file.
13070
13071 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13072
13073 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
13074 Provide arms for current output in all my configurations.
13075
13076 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
13077
13078 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
13079 * lib/compiler.cc: Likewise.
13080 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
13081 get the right preprocessor. Eval the output directly. Remove
13082 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
13083 hp_f77_compiler and hp_f90_compiler completely.
13084 (gdb_preprocess): Delete.
13085 (get_compiler): Delete.
13086
13087 2004-01-24 Mark Kettenis <kettenis@gnu.org>
13088
13089 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
13090 <string.h>.
13091
13092 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
13093
13094 * gdb.mi/mi-stack.exp: Update copyright.
13095
13096 2004-01-23 David Carlton <carlton@kealia.com>
13097
13098 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
13099 test for cp_lookup_transparent_type.
13100 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
13101 call them.
13102
13103 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
13104
13105 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
13106 after -var-update.
13107
13108 2004-01-23 David Carlton <carlton@kealia.com>
13109
13110 * gdb.cp/namespace.cc (C::ensureRefs): New.
13111 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
13112
13113 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
13114
13115 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
13116 case "-stack-list-locals 2".
13117 * gdb.mi/mi-var-child.exp: Test for case
13118 "-var-list-children --all-values NAME".
13119
13120 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
13121
13122 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
13123
13124 2004-01-18 Mark Kettenis <kettenis@gnu.org>
13125
13126 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
13127 used with gdb_test_multiple.
13128
13129 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
13130 read at address 0. This fixes PR testsuite/1504.
13131
13132 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
13133
13134 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
13135 Remove downloading, guessing the host executable, the calls to
13136 gdb_file_cmd and gdb_target_cmd, and "load" support.
13137 (infer_host_exec): New function broken out from gdb_load.
13138 (gdb_load): New wrapper for gdbserver_gdb_load.
13139 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
13140 gdb_target_cmd. Use -target-select.
13141 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
13142 Download binaries to the host. Clear last_mi_remote_file when
13143 we load a new binary.
13144 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
13145 call gdbserver_gdb_load and mi_gdb_target_cmd.
13146
13147 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13148
13149 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
13150 type patterns.
13151
13152 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
13153
13154 * gdb.cp/templates.exp: Fix typo in test name of
13155 "print Foo<volatile char*>::foo".
13156
13157 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13158
13159 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
13160
13161 2004-01-16 Ben Elliston <bje@wasabisystems.com>
13162
13163 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
13164 (clean mostlyclean): Remove empty rm.
13165
13166 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
13167
13168 * gdb.base/setvar.exp: Add copyright years.
13169
13170 2004-01-14 David Carlton <carlton@bactrian.org>
13171
13172 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
13173 PR c++/1511 and update coment.
13174 * gdb.cp/templates.exp: Update patterns to match current output.
13175 If changes involve something other than whitespace, KFAIL
13176 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
13177
13178 2004-01-14 David Carlton <carlton@kealia.com>
13179
13180 * gdb.cp/namespace.exp: Add tests involving classes defined within
13181 namespaces.
13182 * gdb.cp/namespace.cc (C::CClass): New.
13183 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
13184
13185 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
13186
13187 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
13188 what debug info we have. Print a better message if something goes
13189 wrong while producing the separate debug info file.
13190
13191 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13192
13193 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
13194
13195 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
13196
13197 * gdb.base/callfuncs.c: Add copyright notice.
13198
13199 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
13200
13201 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
13202 inheritance. PR gdb/1498, PR gcc/13539.
13203
13204 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
13205
13206 * gdb.threads/gcore-thread.exp: Prefix name of binary with
13207 test specific name.
13208 * gdb.mi/gdb669.exp: Ditto.
13209 * gdb.mi/mi-pthreads.exp: Ditto.
13210 * gdb.mi/mi1-pthreads.exp: Ditto.
13211 * gdb.mi/mi2-pthreads.exp: Ditto.
13212
13213 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13214
13215 * gdb.cp/member-ptr.cc: Add copyright notice.
13216
13217 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
13218
13219 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
13220 some patterns for recent versions of gcc and hpacc. Delete
13221 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
13222 Delete tests that access a NULL pointer-to-member-data. This
13223 script is still disabled for gcc.
13224
13225 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
13226
13227 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
13228 escaped correctly.
13229
13230 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
13231
13232 * gdb.base/sepdebug.exp: New file.
13233 * gdb.base/sepdebug.c: New file.
13234 * lib/gdb.exp (separate_debug_filename): New procedure.
13235 (gdb_gnu_strip_debug): New procedure.
13236
13237 2004-01-12 Andrew Cagney <cagney@redhat.com>
13238
13239 * gdb.mi/ChangeLog: Delete file. Renamed to ...
13240 * gdb.mi/ChangeLog-1999-2003: New file.
13241
13242 2004-01-12 Andrew Cagney <cagney@redhat.com>
13243
13244 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
13245 "Renaming a directory to a non-empty directory returns ENOTEMPTY
13246 or EEXIST", treat EBUSY as an XFAIL.
13247
13248 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
13249
13250 * gdb.base/scope.exp: Remove obsolete setup_xfail for
13251 hp_cc_compiler.
13252
13253 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13254
13255 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
13256 decorations.
13257
13258 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
13259
13260 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
13261 and "(aCC)" decorations. Remove obsolete doco about old
13262 test results.
13263
13264 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13265
13266 * gdb.cp/exception.exp: Fix typo in doco.
13267
13268 2004-01-09 Mark Kettenis <kettenis@gnu.org>
13269
13270 * gdb.base/gdb1476.exp: Fix typo.
13271
13272 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13273
13274 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
13275 file.
13276
13277 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
13278
13279 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
13280 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
13281 Use gdb_compile. Remove restriction on gcc. Add some patterns
13282 for recent version of gdb. Delete second half, which was a copy
13283 of the first half with different build flags. This test is
13284 still disabled because it is still not ready for production.
13285
13286 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13287
13288 * gdb.cp/exception.cc: Add copyright notice.
13289 * gdb.cp/exception.exp: Add a notice that this file is broken
13290 because of line number changes caused by addition of copyright
13291 notice.
13292
13293 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13294
13295 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
13296 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
13297
13298 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13299
13300 * gdb.cp/classes.exp: Accept gnu abi 2.
13301 * gdb.cp/derivation.exp: Likewise.
13302 * gdb.cp/overload.exp: Likewise.
13303 * gdb.cp/virtfunc.exp: Likewise.
13304
13305 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
13306
13307 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
13308 semicolon after end of function.
13309
13310 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13311
13312 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
13313 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
13314 boilerplate code for compiling and running the program under
13315 test. Add some string method tests.
13316
13317 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13318
13319 * gdb.cp/bs15503.cc: Add copyright notice.
13320 * gdb.cp/bs15503.exp: Adjust line number.
13321
13322 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13323
13324 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
13325 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
13326
13327 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13328
13329 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
13330 hp_cc_compiler.
13331
13332 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13333
13334 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
13335 * gdb.cp/ctti.exp: Use the marker instead of "next".
13336 With gcc, run further before bailing.
13337
13338 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13339
13340 * gdb.cp/cttiadd.cc: Add copyright notice.
13341 * gdb.cp/cttiadd1.cc: Likewise.
13342 * gdb.cp/cttiadd2.cc: Likewise.
13343 * gdb.cp/cttiadd3.cc: Likewise.
13344
13345 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13346
13347 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
13348 Use gdb_test, gdb_test_multiple. Use floating-point values that
13349 have exact representations in IEEE-ish formats.
13350
13351 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13352
13353 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
13354 compilers. Delete duplicate call to get_compiler_info.
13355 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
13356 * gdb.base/volatile.exp: Likewise.
13357
13358 2004-01-07 Mark Kettenis <kettenis@gnu.org>
13359
13360 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
13361 memory at address 0.
13362
13363 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13364
13365 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
13366 to test for hp-ux assembler. Fix copyright years.
13367
13368 2004-01-07 Andrew Cagney <cagney@redhat.com>
13369
13370 * gdb.base/fileio.c (strerrno): Add "EBUSY".
13371
13372 2004-01-07 Andrew Cagney <cagney@redhat.com>
13373
13374 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
13375 when creating the read-only file. From analysis by Roland McGrath
13376 and Elena Zannoni.
13377
13378 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13379
13380 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
13381
13382 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13383
13384 * gdb.base/cvexpr.c: Be type-safe with function pointers and
13385 data pointers.
13386
13387 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13388
13389 * gdb.cp/m-static.exp: Compile one source file at a time.
13390 Delete unused call to get_compiler_info.
13391
13392 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13393
13394 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13395 * gdb.base/call-rt-st.exp: Likewise.
13396 * gdb.base/nodebug.exp: Likewise.
13397 * gdb.base/volatile.exp: Likewise.
13398 * gdb.cp/ref-types.exp: Likewise.
13399 * gdb.cp/templates.exp: Likewise.
13400
13401 2004-01-05 Mark Kettenis <kettenis@gnu.org>
13402
13403 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13404
13405 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13406
13407 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13408 hppa*-hp-hpux*.
13409
13410 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13411
13412 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13413 x86_64-*-*.
13414
13415 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13416 sparc64-*-* and sparc*-solaris2*.
13417
13418 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13419
13420 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13421 return ${tests}" test. The ${tests} already mentions the
13422 filename.
13423
13424 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13425
13426 * gdb.cp/local.exp: Accept gcc abi 2.
13427
13428 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13429
13430 * gdb.cp/templates.exp: Accept gcc abi 2.
13431
13432 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13433
13434 * lib/compiler.cc: Remove supports_template_debugging.
13435 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13436
13437 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13438
13439 * gdb.cp/namespace.exp: Accept gcc abi 2.
13440
13441 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13442
13443 * gdb.cp/method.exp: Accept gcc abi 2.
13444
13445 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13446
13447 * gdb.cp/classes.exp: Generate identical results as old version.
13448 * gdb.cp/derivation.exp: Likewise.
13449 * gdb.cp/overload.exp: Likewise.
13450 * gdb.cp/virtfunc.exp: Likewise.
13451
13452 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13453
13454 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13455 mysterious bug with sourceware version of expect.
13456
13457 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13458
13459 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13460 current versions of gcc, including gcc abi 2. Remove gratuitous
13461 restart of test program. Use gdb_test_multiple and gdb_test for
13462 all tests. Add patterns to xfail missing "const" in "const char *"
13463 and kfail PR gdb/1155.
13464
13465 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13466
13467 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13468 current versions of gcc, including gcc abi 2. Remove gratuitous
13469 restart of test program. Use gdb_test_multiple and gdb_test for
13470 all tests. Add patterns to kfail PR gdb/1498.
13471
13472 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13473
13474 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13475 current versions of gcc, including gcc abi 2. Use "breakpoint"
13476 and "continue" instead of restarting the target program. Use
13477 gdb_test_multiple and gdb_test for all tests.
13478
13479 2004-01-01 Mark Kettenis <kettenis@gnu.org>
13480
13481 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13482 for *-*-solaris2*.
13483
13484 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13485
13486 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13487 current versions of gcc, including gcc abi 2. Use "breakpoint"
13488 and "continue" instead of restarting the target program several
13489 times. Use gdb_test_multiple and gdb_test for all tests.
13490
13491 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13492
13493 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13494 source files.
13495
13496 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13497
13498 * gdb.base/environ.exp: Handle compiling test case from multiple
13499 source files.
13500
13501 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13502
13503 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13504
13505 2003-12-17 Jim Blandy <jimb@redhat.com>
13506
13507 * gdb.base/freebpcmd.c: Add copyright notice.
13508
13509 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13510
13511 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13512
13513 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13514
13515 2003-12-13 Jim Blandy <jimb@redhat.com>
13516
13517 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13518
13519 2003-12-12 Kevin Buettner <kevinb@redhat.com>
13520
13521 * gdb.asm/frv.inc: New file.
13522 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13523
13524 2003-12-09 Fred Fish <fnf@redhat.com>
13525
13526 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
13527 functions to break1.c and leave prototypes behind. Add more
13528 "set breakpoint NN here" comments.
13529 * gdb.base/break1.c: New file.
13530
13531 * gdb.base/break.exp: Handle compiling test case from multiple
13532 source files and change source file references as needed.
13533 * gdb.base/completion.exp: Ditto.
13534 * gdb.base/condbreak.exp: Ditto.
13535 * gdb.base/define.exp: Ditto.
13536 * gdb.base/ena-dis-br.exp: Ditto.
13537 * gdb.base/info-proc.exp: Ditto.
13538 * gdb.base/maint.exp: Ditto.
13539 * gdb.base/until.exp: Ditto.
13540
13541 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
13542 hardcoded line numbers.
13543 * gdb.base/define.exp: Ditto.
13544 * gdb.base/ena-dis-br.exp: Ditto.
13545 * gdb.base/maint.exp: Ditto.
13546 * gdb.base/until.exp: Ditto.
13547
13548 * gdb.base/completion.exp: Use "break1" for completion tests since
13549 "break" is no longer a unique prefix.
13550
13551 2003-12-06 Andrew Cagney <cagney@redhat.com>
13552
13553 * gdb.base/structs.exp (test_struct_returns): When applicable, set
13554 "return_value_unimplemented". When an unimplemented struct return
13555 architecture, report incorrect values as a KFAIL
13556
13557 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13558
13559 * gdb.cp/rtti.exp: Accept new wording of warning from
13560 cp_lookup_rtti_type.
13561
13562 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13563
13564 Partial fix for PR testsuite/1456.
13565 * gdb.base/scope.exp (test_at_main): Replace references to
13566 gcc_compiled with calls to test_compiler_info.
13567 (test_at_foo): Likewise.
13568 (test_at_bar): Likewise.
13569
13570 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
13571
13572 Partial fix for PR testsuite/1456.
13573 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
13574 to test_compiler_info.
13575
13576 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
13577
13578 * gdb.base/so-impl-ld.exp: Update copyright notice.
13579
13580 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
13581
13582 Partial fix for PR testsuite/1456.
13583 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
13584 to test_compiler_info.
13585
13586 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13587
13588 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
13589 from current versions of gdb. Clean up regular expressions.
13590 Delete redundant timeout case.
13591
13592 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13593
13594 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
13595 from current versions of gdb. Clean up regular expressions.
13596 Delete redundant timeout case.
13597
13598 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
13599
13600 Partial fix for PR testsuite/1456.
13601 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
13602 gcc_compiled with call to test_compiler_info.
13603
13604 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
13605
13606 Partial fix for PR testsuite/1456.
13607 * gdb.base/list.exp (test_list_function): Delete unused declaration
13608 of gcc_compiled.
13609
13610 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
13611
13612 Partial fix for PR testsuite/1456.
13613 * gdb.base/complex.exp: Replace reference to gcc_compiled with
13614 call to test_compiler_info.
13615
13616 2003-11-29 Mark Kettenis <kettenis@gnu.org>
13617
13618 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
13619 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
13620 it to create the appropriate note.inc.
13621 * gdb.asm/asmsrc1.s: Include "note.inc".
13622 * gdb.asm/netbsd.inc: New file.
13623 * gdb.asm/empty.inc: New file.
13624
13625 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13626
13627 Partial fix for PR testsuite/1456.
13628 * gdb.base/constvars.exp: Replace references to gcc_compiled with
13629 calls to test_compiler_info.
13630
13631 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
13632
13633 Partial fix for PR testsuite/1456.
13634 * gdb.base/volatile.exp: Replace references to gcc_compiled with
13635 calls to test_compiler_info.
13636
13637 2003-11-27 Mark Kettenis <kettenis@gnu.org>
13638
13639 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
13640 pattern for the KFAILs.
13641
13642 2003-11-25 Adam Fedor <fedor@gnu.org>
13643
13644 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
13645 * gdb.objc/objcdecode.m: New file.
13646
13647 2003-11-25 Adam Fedor <fedor@gnu.org>
13648
13649 * gdb.objc/nondebug.exp: Test for PR objc/1236.
13650 * gdb.objc/nondebug.m: New file.
13651
13652 2003-11-26 Ben Elliston <bje@wasabisystems.com>
13653
13654 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13655 NetBSD as it does on FreeBSD. Modelled on a similar change by
13656 Mark Kettenis on 2003-05-30.
13657 (link-flags): Set to "--entry _start" regardless of target.
13658 Special linker flags are to be appended to $link-flags.
13659 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
13660
13661 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13662
13663 * gdb.cp/method.exp: Accept output of new demangler.
13664
13665 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13666
13667 * gdb/class2.exp: New file.
13668 * gdb/class2.cc: New file.
13669
13670 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13671
13672 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
13673 of new demangler.
13674
13675 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13676
13677 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
13678 of gdb_test "run".
13679
13680 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13681
13682 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
13683 "continue" into "run".
13684
13685 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13686
13687 Partial fix for PR testsuite/1456.
13688 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
13689 call to test_compiler_info.
13690 * gdb.cp/ctti.exp: Likewise.
13691 * gdb.cp/derivation.exp: Likewise.
13692 * gdb.cp/member-ptr.exp: Likewise.
13693 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
13694 reference to gcc_compiled.
13695
13696 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13697
13698 Fix PR testsuite/1463.
13699 * gdb.base/structs.exp (start_structs_test): Call
13700 get_debug_format before using the debug format.
13701
13702 2003-11-22 Andrew Cagney <cagney@redhat.com>
13703
13704 * lib/gdb.exp (gdb_test_multiple): Add simple example.
13705 * gdb.base/structs.exp: Use gdb_test_multiple.
13706
13707 2003-11-20 Andrew Cagney <cagney@redhat.com>
13708
13709 * gdb.base/structs.exp: Handle and recover from internal errors.
13710 Replace "foo${n}" with "foo<n>" in test messages.
13711
13712 * gdb.base/structs.exp: Update copyright. Rewrite.
13713 * gdb.base/structs.c: Update copyright. Rewrite.
13714
13715 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
13716 resync count exceeded.
13717
13718 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
13719 from the internal error.
13720 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
13721 Original from Jim Blandy.
13722 (gdb_test_multiple): Use gdb_internal_error_resync.
13723
13724 2003-11-19 Andrew Cagney <cagney@redhat.com>
13725
13726 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
13727 KFAIL.
13728
13729 2003-11-17 Mark Kettenis <kettenis@gnu.org>
13730
13731 New testcase for PR backtrace/1435.
13732 * gdb.arch/i386-unwind.exp: New file.
13733 * gdb.arch/i386-unwind.c: New file.
13734
13735 2003-11-17 Andrew Cagney <cagney@redhat.com>
13736
13737 * lib/gdb.exp (compiler_info): New global.
13738 (test_compiler_info): New function.
13739 (get_compiler_info): Set compiler_info.
13740 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
13741 "compiler_info" to gcc-<major>-<minor>.
13742
13743 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
13744
13745 * gdb.trace/configure: Remove.
13746
13747 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
13748
13749 * gdb.base/break.c: Add comments to aid finding line numbers for
13750 breakpoints.
13751 * gdb.base/break.exp: Remove all references to explicit line
13752 numbers.
13753
13754 2003-11-11 Nick Clifton <nickc@redhat.com>
13755
13756 * gdb.base/shreloc.exp: Do not run for targets which do not
13757 support shared objects.
13758
13759 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
13760
13761 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
13762 Don't run tests if nofileio flag is given.
13763
13764 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
13765
13766 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
13767 as well as 'Watchpoint'.
13768
13769 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13770
13771 Reported by Jim Ingham <jingham@apple.com>:
13772 * gdb.base/annota1.exp: Match at least one occurrence of the
13773 signal handler annotation.
13774
13775 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13776
13777 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
13778 as well as 'Watchpoint'.
13779
13780 2003-11-05 Michael Chastain <mec@shout.net>
13781
13782 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
13783
13784 2003-11-03 Kris Warkentin <kewarken@qnx.com>
13785
13786 * gdb.arch/gdb1291.c: New test file.
13787 * gdb.arch/gdb1291.exp: New test script.
13788 * gdb.arch/gdb1431.c: New test file.
13789 * gdb.arch/gdb1431.exp: New test script.
13790
13791 2003-10-22 Michael Chastain <mec@shout.net>
13792
13793 * gdb.mi/pthreads.c: Add copyright notice.
13794
13795 2003-10-22 Michael Chastain <mec@shout.net>
13796
13797 * gdb.threads/pthreads.c: Add copyright notice.
13798
13799 2003-10-20 Michael Chastain <mec@shout.net>
13800
13801 * gdb.base/gdb1056.exp: New test script.
13802
13803 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13804
13805 * gdb.threads/killed.exp: Use gdb_run_cmd.
13806
13807 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13808
13809 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
13810 create a core file.
13811 * gdb.threads/gcore-thread.exp: Likewise.
13812
13813 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
13814
13815 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
13816 type, based on char type.
13817 (struct bit_flags_short_t): New bitfield type, based on short type.
13818 (init_bit_flags_char): New fuction.
13819 (init_bit_flags_short): Ditto.
13820 (print_bit_flags_char): Ditto.
13821 (print_bit_flags_short): Ditto.
13822 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
13823
13824 2003-10-11 Michael Chastain <mec@shout.net>
13825
13826 * gdb.base/call-rt-st.exp: Update copyright year.
13827
13828 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
13829
13830 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
13831 * gdb.disasm/sh3.s: Ditto.
13832
13833 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
13834
13835 * gdb.threads/switch-threads.exp: New test.
13836 * gdb.threads/switch-threads.c: New source file.
13837
13838 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
13839
13840 * gdb.base/ending-run.exp: Add sh specific case.
13841
13842 2003-10-06 Andrew Cagney <cagney@redhat.com>
13843
13844 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
13845 * gdb.disasm/mn10200.exp: Delete obsolete file.
13846
13847 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
13848
13849 * ChangeLog: Correct an entry command.exp -> commands.exp.
13850 * gdb.base/commands.exp (bp_deleted_in_command_test)
13851 (temporary_breakpoint_commands): Check noargs.
13852
13853 2003-09-25 David Carlton <carlton@kealia.com>
13854
13855 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
13856 of some print tests, where appropriate. Add tests for C::D::cd,
13857 E::ce, F::cXfX, G::XgX.
13858 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
13859
13860 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
13861
13862 * lib/java.exp (java_init): Import target_alias before using it.
13863
13864 2003-09-25 David Carlton <carlton@kealia.com>
13865
13866 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
13867
13868 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
13869
13870 * gdb.base/selftest.exp: Accomodate more instruction reordering
13871 weirdness.
13872
13873 2003-09-17 Michael Chastain <mec@shout.net>
13874
13875 * gdb.cp/gdb1355.exp: New file.
13876 * gdb.cp/gdb1355.c: New file.
13877
13878 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
13879
13880 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
13881 * gdb.asm/sh.inc: New file.
13882
13883 2003-09-11 David Carlton <carlton@kealia.com>
13884
13885 * gdb.cp/namespace.exp: Add tests for namespace types.
13886 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
13887 (test_namespace): New.
13888
13889 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
13890
13891 * gdb.base/relocate.exp: Handle new gdb output at startup.
13892 * gdb.stabs/weird.exp: Ditto.
13893
13894 2003-09-08 Michael Chastain <mec@shout.net>
13895
13896 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
13897
13898 2003-09-07 Michael Chastain <mec@shout.net>
13899
13900 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
13901 'parse error'.
13902
13903 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
13904
13905 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
13906
13907 2003-08-30 Michael Chastain <mec@shout.net>
13908
13909 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
13910 * gdb.gdb/observer.exp: Ditto.
13911 * gdb.gdb/xfullpath.exp: Ditto.
13912
13913 2003-08-29 Mark Kettenis <kettenis@gnu.org>
13914
13915 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
13916 *-*-*bsd*.
13917
13918 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
13919
13920 * gdb.base/dump.exp: Skip for ia64.
13921
13922 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
13923
13924 * gdb.asm/asm-source.exp: Add ia64 support.
13925 * gdb.asm/ia64.inc: New file.
13926
13927 2003-08-22 Michael Chastain <mec@shout.net>
13928
13929 * gdb.cp: New directory.
13930 * gdb.cp/*: Copy from gdb.c++/*.
13931 * gdb.c++/*: Remove.
13932 * Makefile.in: Change gdb.c++ to gdb.cp.
13933 * configure.in: Ditto.
13934 * configure: Regnerate.
13935
13936 2003-08-18 Mark Kettenis <kettenis@gnu.org>
13937
13938 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
13939 * gdb.arch/i386-prologue.c (gdb1338): Add function.
13940
13941 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13942
13943 * mi-var-display.exp (-var-list-children weird): Accept function
13944 pointers with argument types.
13945 * mi1-var-display.exp (-var-list-children weird): Likewise.
13946 * mi2-var-display.exp (-var-list-children weird): Likewise.
13947
13948 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13949
13950 * gdb.base/annota3.exp: Add missing newline.
13951
13952 2003-08-06 Michael Chastain <mec@shout.net>
13953
13954 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
13955
13956 2003-08-12 Michael Snyder <msnyder@redhat.com>
13957
13958 * gdb.base/float.exp: Add test for SH.
13959
13960 2003-08-10 Mark Kettenis <kettenis@gnu.org>
13961
13962 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
13963
13964 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13965
13966 * gdb.base/completion.exp: Remove reduntant completion test
13967 on filename.
13968
13969 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13970
13971 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
13972 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
13973 gdb.trace/save-trace.exp: Make sure that full pathnames are
13974 escaped correctly.
13975
13976 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13977
13978 * configure.in: Don't generate config.h from config.hin.
13979 * configure: Regenerate.
13980 * config.hin: Remove file.
13981 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
13982 * gdb.threads/pthreads.c: Ditto.
13983
13984 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
13985
13986 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13987 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
13988 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
13989 Replace ld24 with seth/add3.
13990
13991 2003-08-02 Andrew Cagney <cagney@redhat.com>
13992
13993 * gdb.base/annota3.exp: New file.
13994 * gdb.base/annota3.c: New file.
13995 * gdb.c++/annota3.exp: New file.
13996 * gdb.c++/annota3.cc: New file.
13997
13998 2003-07-29 Michael Chastain <mec@shout.net>
13999
14000 * gdb.threads/tls.c (spin): Check errno only if sem_wait
14001 actually failed.
14002 (do_pass): Likewise.
14003 * gdb.threads/tls.exp: Always initialize no_of_threads.
14004
14005 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
14006
14007 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
14008 pattern.
14009 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
14010 * gdb.threads/tls.exp: Recognize one case of the host library not
14011 supporting TLS.
14012
14013 2003-07-27 Andrew Cagney <cagney@redhat.com>
14014
14015 * gdb.base/fileio.exp: Use SH when running commands using
14016 remote_exec.
14017
14018 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
14019
14020 From Kei Sakamoto <sakamoto.kei@renesas.com>:
14021 * gdb.base/relocate.c (dummy): New padding array.
14022
14023 2003-07-22 Michael Snyder <msnyder@redhat.com>
14024
14025 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
14026
14027 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
14028 patterns to be more general, accepting old and new output.
14029 Some output chars (such as '+') also must be quoted.
14030 Some addresses are displayed numerically instead of
14031 symbolically.
14032
14033 2003-07-23 Michael Snyder <msnyder@redhat.com>
14034
14035 * gdb.base/return2.exp: Don't test long-long return.
14036
14037 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
14038 * gdb.disasm/t01_mov.exp: Ditto.
14039 * gdb.disasm/t02_mova.s: Ditto.
14040 * gdb.disasm/t02_mova.exp: Ditto.
14041 * gdb.disasm/t03_add.s: Ditto.
14042 * gdb.disasm/t03_add.exp: Ditto.
14043 * gdb.disasm/t04_sub.s: Ditto.
14044 * gdb.disasm/t04_sub.exp: Ditto.
14045 * gdb.disasm/t05_cmp.s: Ditto.
14046 * gdb.disasm/t05_cmp.exp: Ditto.
14047 * gdb.disasm/t06_ari2.s: Ditto.
14048 * gdb.disasm/t06_ari2.exp: Ditto.
14049 * gdb.disasm/t07_ari3.s: Ditto.
14050 * gdb.disasm/t07_ari3.exp: Ditto.
14051 * gdb.disasm/t08_or.s: Ditto.
14052 * gdb.disasm/t08_or.exp: Ditto.
14053 * gdb.disasm/t09_xor.s: Ditto.
14054 * gdb.disasm/t09_xor.exp: Ditto.
14055 * gdb.disasm/t10_and.s: Ditto.
14056 * gdb.disasm/t10_and.exp: Ditto.
14057 * gdb.disasm/t11_logs.s: Ditto.
14058 * gdb.disasm/t11_logs.exp: Ditto.
14059 * gdb.disasm/t12_bit.s: Ditto.
14060 * gdb.disasm/t12_bit.exp: Ditto.
14061 * gdb.disasm/t13_otr.s: Ditto.
14062 * gdb.disasm/t13_otr.exp: Ditto.
14063
14064 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
14065
14066 * gdb.threads/tls.exp :Add kfail for 'info address' case.
14067
14068 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
14069
14070 * gdb.threads/tls.c : New file.
14071 * gdb.threads/tls.exp : New file.
14072 * gdb.threads/tls-main.c : New file.
14073 * gdb.threads/tls-shared.c : New file.
14074 * gdb.threads/tls-shared.exp : New file.
14075
14076 2003-07-22 Andreas Schwab <schwab@suse.de>
14077
14078 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
14079
14080 2003-07-20 Andreas Schwab <schwab@suse.de>
14081
14082 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
14083 due to insn reordering.
14084
14085 2003-07-15 Andrew Cagney <cagney@redhat.com>
14086
14087 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
14088
14089 2003-07-15 Michael Chastain <mec@shout.net>
14090
14091 * gdb.base/gdb1250.exp: New file.
14092 * gdb.base/gdb1250.c: New file.
14093
14094 2003-07-09 Michal Ludvig <mludvig@suse.cz>
14095
14096 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
14097 expansion of size_t to 'unsigned long', not only to 'unsigned'.
14098
14099 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
14100
14101 * gdb.threads/tls.c: New file.
14102 * gdb.threads/tls.exp: New file.
14103 * gdb.threads/tls-main.c: New file.
14104 * gdb.threads/tls-shared.c: New file.
14105 * gdb.threads/tls-shared.exp: New file.
14106
14107 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
14108
14109 * gdb.base/annota1.exp: Make sure that we properly escape the
14110 full path of the source file. Xfail more permissive patterns,
14111 due to a compiler debug info problem.
14112
14113 2003-07-07 Andreas Schwab <schwab@suse.de>
14114
14115 * gdb.asm/m68k.inc: New file.
14116 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
14117
14118 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
14119 arguments"): Also match negative number.
14120
14121 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
14122
14123 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
14124
14125 * gdb.base/store.c (charest): New typedef.
14126 (add_char): Rename to add_charest, update.
14127 (wack_char): Rename to wack_charest, update types. Return l + r
14128 to keep r live across the call.
14129 (wack_short, wack_int, wack_long, wack_longest, wack_float)
14130 (wack_double, wack_doublest): Return l + r to keep r live across
14131 the call.
14132 * gdb.base/store.exp: Accomodate store.c changes.
14133
14134 2003-06-30 David Carlton <carlton@kealia.com>
14135
14136 * gdb.c++/maint.exp (test_invalid_name): New.
14137 (test_first_component): Add tests for invalid names.
14138
14139 2003-06-29 Michael Chastain <mec@shout.net>
14140
14141 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
14142 output of '<VTT for class>' for virtual base classes.
14143
14144 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
14145
14146 * gdb.base/completion.exp: Tab-complete "complet" instead of
14147 "compl".
14148 * gdb.base/complex.exp, gdb.base/complex.c: New files.
14149
14150 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
14151
14152 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
14153 * gdb.base/volatile.exp: Likewise.
14154
14155 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
14156
14157 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
14158 gdb/1265.
14159
14160 2003-06-28 Michael Chastain <mec@shout.net>
14161 Daniel Jacobowitz <drow@mvista.com>
14162
14163 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
14164 initial line count of 'captured_main' from 26 to 32.
14165 (test_with_self): Allow xmalloc call to be interleaved with the
14166 preceding two lines.
14167
14168 2003-06-24 Joel Brobecker <brobecker@gnat.com>
14169
14170 * gdb.base/bang.exp: New testcase.
14171
14172 2003-06-23 Joel Brobecker <brobecker@gnat.com>
14173
14174 * gdb.base/langs.exp: Add some tests for the "minimal" language
14175 support.
14176
14177 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
14178
14179 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
14180 the testcase.
14181
14182 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
14183
14184 * gdb.base/relocate.exp: Test add-symbol-file with a variable
14185 offset.
14186
14187 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
14188
14189 * gdb.c++/pr-1210.cc: New file.
14190 * gdb.c++/pr-1210.exp: New file.
14191
14192 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
14193
14194 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
14195 000-exec-continue.
14196
14197 2003-06-15 Mark Kettenis <kettenis@gnu.org>
14198
14199 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
14200 on *-*-*bsd* instead of *-*-freebsd*.
14201
14202 2003-06-14 Andrew Cagney <cagney@redhat.com>
14203
14204 * gdb.base/store.exp: Test longest and doublest. Test all
14205 parameters. Weaken return statement match.
14206 * gdb.base/store.c: Add longest and doublest - aka long long and
14207 long double functions. Put all parameters into local register
14208 variables. Use negative values.
14209
14210 2003-06-14 Andrew Cagney <cagney@redhat.com>
14211
14212 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
14213 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
14214 exit status.
14215 * gdb.base/fileio.exp: Disable target when nointerrupts and
14216 noinferiorio, instead of limiting it to remote. Use remote_exec
14217 instead of system.
14218
14219 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
14220
14221 * gdb.base/float.exp: Add ia64 support.
14222
14223 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
14224
14225 * gdb.base/fileio.exp: Run only on remote targets.
14226
14227 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
14228
14229 * gdb.base/fileio.c: New file, testing File-I/O.
14230 * gdb.base/fileio.exp: Ditto.
14231
14232 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
14233
14234 * gdb.base/shreloc.exp: New file, check symbol values obtained from
14235 shared objects after relocation at load time (gdb PR/1132).
14236 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
14237 as above, part of the shared object relocation test.
14238
14239 2003-06-08 Mark Kettenis <kettenis@gnu.org>
14240
14241 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
14242 fully filled history list.
14243 * gdb.base/gdb_history: New file.
14244
14245 * gdb.base/signals.exp: XFAIL "continue to func1" on
14246 i*86-*-freebsd*.
14247
14248 * gdb.base/attach.exp: When trying to attach to a nonexistent
14249 process, make it possible to specify the PID based on the target,
14250 and do so for *-*-freebsd*.
14251
14252 2003-06-02 Richard Henderson <rth@redhat.com>
14253
14254 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
14255
14256 2003-06-02 Richard Henderson <rth@redhat.com>
14257
14258 * gdb.base/selftest.exp: Next over lim_at_start initialization.
14259
14260 2003-06-02 Richard Henderson <rth@redhat.com>
14261
14262 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
14263
14264 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
14265
14266 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
14267 of globalvar.
14268
14269 2003-06-01 Mark Kettenis <kettenis@gnu.org>
14270
14271 * gdb.asm/asm-source.exp: Check for memory read errors in
14272 disassembler test on *BSD too.
14273
14274 2003-06-01 Richard Henderson <rth@redhat.com>
14275
14276 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
14277 for .frame.
14278 (gdbasm_call): Lose ldgp.
14279 (gdbasm_startup): Add frame information.
14280 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
14281
14282 2003-05-31 Mark Kettenis <kettenis@gnu.org>
14283
14284 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
14285 i?86-*-*.
14286
14287 2003-05-30 Mark Kettenis <kettenis@gnu.org>
14288
14289 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
14290 FreeBSD.
14291
14292 2003-05-29 Richard Henderson <rth@redhat.com>
14293
14294 * gdb.asm/alpha.inc: New file.
14295 * gdb.asm/asm-source.exp: Use it.
14296
14297 2003-05-29 Jim Blandy <jimb@redhat.com>
14298
14299 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
14300 'core.PID'.
14301
14302 2003-05-22 Jim Blandy <jimb@redhat.com>
14303
14304 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
14305 backtrace.
14306
14307 2003-05-20 David Carlton <carlton@math.stanford.edu>
14308
14309 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
14310 this time.
14311
14312 2003-05-19 David Carlton <carlton@bactrian.org>
14313
14314 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
14315 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
14316
14317 2003-05-19 David Carlton <carlton@bactrian.org>
14318
14319 * gdb.c++/namespace.exp: Add namespace scope and anonymous
14320 namespace tests.
14321 Bump copyright date.
14322 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
14323 (main): Call C::D::marker2.
14324 * gdb.c++/namespace1.cc: New file.
14325
14326 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
14327
14328 Roland McGrath <roland@redhat.com>
14329 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
14330 there is no manager thread.
14331
14332 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
14333
14334 * gdb.threads/schedlock.exp: Remove assumption that all threads
14335 will run in a particular small time slice. Also ensure we break
14336 in one of the child threads rather than the main thread.
14337
14338 2003-05-07 Jim Blandy <jimb@redhat.com>
14339
14340 Add support for assembly source testing on the s390x.
14341 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14342 architecture.
14343 * gdb.asm/s390x.inc: New file.
14344
14345 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
14346 succession of 'if' statements.
14347
14348 2003-05-05 Andrew Cagney <cagney@redhat.com>
14349
14350 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
14351
14352 2003-05-05 Andrew Cagney <cagney@redhat.com>
14353
14354 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
14355 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
14356
14357 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
14358
14359 * gdb.base/charset.exp: Update based on new behavior of set/show
14360 charset commands.
14361
14362 2003-05-01 Andrew Cagney <cagney@redhat.com>
14363
14364 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
14365 variable do not give memory errors.
14366
14367 2003-04-30 Adam Fedor <fedor@gnu.org>
14368
14369 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14370 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
14371 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
14372 gdb.objc/basicclass.m: : New files
14373
14374 * lib/gdb.exp (gdb_compile_objc): New procedure.
14375
14376 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
14377
14378 * gdb.base/signals.exp: Make backtrace tests more specific.
14379
14380 2003-04-23 David Carlton <carlton@bactrian.org>
14381
14382 * gdb.c++/maint.exp (test_first_component): Add tests for
14383 'operator' in more locations.
14384
14385 2003-04-16 Kevin Buettner <kevinb@redhat.com>
14386
14387 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
14388
14389 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
14390
14391 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
14392 func marke' instead. Update test name.
14393
14394 2003-04-15 David Carlton <carlton@math.stanford.edu>
14395
14396 * gdb.c++/maint.exp: New file.
14397
14398 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14399
14400 * gdb.threads/schedlock.c: Change type of thread function argument
14401 to long, to avoid warnings on 64-bit platforms.
14402
14403 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14404
14405 * gdb.base/attach.exp: Add new message from ptrace in case of
14406 attaching to nonexistent process.
14407
14408 2003-04-11 Jim Blandy <jimb@redhat.com>
14409
14410 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14411 gdb.c++/userdef.cc: Place comments on the lines to which the
14412 marker function might return.
14413 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14414 gdb.c++/userdef.exp: Look for those comments to check that we've
14415 returned to the right place, instead of checking line numbers.
14416
14417 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
14418
14419 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14420 match on sourcefile name, instead of directory name.
14421
14422 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
14423
14424 * gdb.base/completion.exp: Use string_to_regexp to match the
14425 working directory name.
14426
14427 2003-04-09 Jim Blandy <jimb@redhat.com>
14428
14429 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14430 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14431 after an inferior function call, report the failure, but allow the
14432 test to continue.
14433
14434 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14435
14436 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14437 with -DPROTOTYPES.
14438
14439 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14440
14441 * gdb.base/break.exp: Revert last patch.
14442
14443 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14444
14445 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14446 with -DPROTOTYPES.
14447
14448 2003-04-02 Andrew Cagney <cagney@redhat.com>
14449
14450 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14451 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14452 matching directories by the name breakpoint.
14453 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14454 Make "continue to marker1" consistent.
14455 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14456 message consistent.
14457 * lib/gdb.exp: Put "the program is no longer running", and "the
14458 program exited" in parenthesis.
14459 * lib/mi-support.exp: Ditto.
14460
14461 2003-04-02 Bob Rossi <bob_rossi@cox.net>
14462
14463 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14464
14465 2003-03-29 Andrew Cagney <cagney@redhat.com>
14466
14467 * gdb.base/sizeof.c (main): Print the value of '\377'.
14468 * gdb.base/sizeof.exp: Check the sign of '\377'.
14469
14470 2003-03-27 Michael Chastain <mec@shout.net>
14471
14472 * gdb.base/gdb1090.exp: New file.
14473 * gdb.base/gdb1090.cc: New file.
14474
14475 2003-03-27 J. Brobecker <brobecker@gnat.com>
14476
14477 * gdb.gdb/observer.exp: New regression test.
14478
14479 2003-03-27 Michael Chastain <mec@shout.net>
14480
14481 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14482 * gdb.base/ptype.exp: Likewise.
14483
14484 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
14485
14486 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14487
14488 2003-03-26 Michael Chastain <mec@shout.net>
14489
14490 * gdb.base/ptype.exp: Actually use some typedef'd types.
14491
14492 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14493
14494 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14495 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14496
14497 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14498
14499 * gdb.base/default.exp: Fix regular expression.
14500
14501 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14502
14503 * gdb.base/args.exp: Fix regular expression.
14504
14505 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14506
14507 * gdb.base/help.exp: Allow Win32 child process.
14508
14509 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14510
14511 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14512 when stepping out of main().
14513
14514 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14515
14516 * gdb.base/default.exp: Check for win32 specific message when calling
14517 "run" without executable.
14518
14519 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14520
14521 * gdb.base/args.exp: Expect .exe in output.
14522
14523 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14524
14525 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
14526 Cygwin native.
14527
14528 2003-03-17 Andrew Cagney <cagney@redhat.com>
14529
14530 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
14531 vector registes.
14532 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
14533 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
14534
14535 2003-03-17 David Carlton <carlton@math.stanford.edu>
14536
14537 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
14538 test, for PR breakpoints/38.
14539 Call test_watchpoint_and_breakpoint.
14540 * gdb.base/watchpoint.c (func3): New function.
14541 (main): Call func3.
14542
14543 2003-03-04 David Carlton <carlton@math.stanford.edu>
14544
14545 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
14546 Garply<Garply<char> >:: garply".
14547 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
14548 with respect to PR c++/1111; note also PR c++/1113.
14549 (test_template_breakpoints): KFAIL "constructor breakpoint" with
14550 respect to PR c++/1062.
14551 KFAIL "destructor breakpoint" with respect to PR c++/1112.
14552
14553 2003-03-03 David Carlton <carlton@math.stanford.edu>
14554
14555 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
14556 with respect to PR c++/57.
14557 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
14558 c++/826.
14559 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
14560 respect to PR c++/57.
14561
14562 2003-03-03 David Carlton <carlton@math.stanford.edu>
14563
14564 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
14565 respect to PR c++/33 into FAILs.
14566
14567 2003-03-03 Michael Chastain <mec@shout.net>
14568
14569 * configure.in: Update copyright years.
14570
14571 2003-03-03 Michael Chastain <mec@shout.net>
14572
14573 * Makefile.in: Update copyright years.
14574
14575 2003-02-28 David Carlton <carlton@math.stanford.edu>
14576
14577 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
14578 print class instead of struct and/or superfluous protection
14579 specifiers, as long as the resulting output is equivalent to the
14580 source code.
14581 Delete FIXME from end of messages on tests that don't need
14582 fixing.
14583
14584 2003-02-28 David Carlton <carlton@math.stanford.edu>
14585
14586 * gdb.c++/templates.exp (do_tests): Allow const in the two
14587 Foo<volatile char *>::foo tests.
14588
14589 2003-02-27 Michael Snyder <msnyder@redhat.com>
14590
14591 * gdb.base/restore.c (main): Return zero, so exit code
14592 will be consistant.
14593
14594 2003-02-26 David Carlton <carlton@math.stanford.edu>
14595
14596 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
14597 char *>::foo" test with respect to PR c++/33. Create a new test
14598 which is identical to that one except that it doesn't put the
14599 space between the "char" and the "*"; KFAIL it, too.
14600
14601 2003-02-26 David Carlton <carlton@math.stanford.edu>
14602
14603 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
14604 template types into either PASSes or KFAILs (corresponding to PR
14605 c++/57). Tweak indentation. Update copyright.
14606
14607 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
14608
14609 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
14610
14611 2003-02-13 Michael Chastain <mec@shout.net>
14612
14613 * gdb.base/exprs.exp: Remove i960 remnants.
14614 * gdb.base/funcargs.exp: Likewise.
14615 * gdb.base/list.exp: Likewise.
14616 * gdb.base/ptype.exp: Likewise.
14617
14618 2003-02-14 David Carlton <carlton@math.stanford.edu>
14619
14620 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
14621 pEe->D::vg()" from XFAIL to KFAIL.
14622
14623 2003-02-13 Jason Molenda (jmolenda@apple.com)
14624
14625 * gdb.base/maint.exp: Update maint print statistics regexp to include
14626 new entries.
14627
14628 2003-02-13 Michael Chastain <mec@shout.net>
14629
14630 * gdb.c++/inherit.exp: Remove call to get_debug_format.
14631
14632 2003-02-12 Michael Chastain <mec@shout.net>
14633
14634 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
14635 * gdb.c++/inherit.exp: Likewise.
14636 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
14637 * gdb.c++/templates.exp: Likewise.
14638 * gdb.c++/virtfunc.exp: Likewise.
14639
14640 2003-02-06 Jason Molenda (jason-cl@molenda.com)
14641
14642 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
14643 why the code is written that way.
14644
14645 2003-02-05 Michael Chastain <mec@shout.net>
14646
14647 * gdb.base/dump.exp: Add missing copyright line.
14648
14649 2003-02-05 Jason Molenda (jason-cl@molenda.com)
14650
14651 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
14652 at the beginning so the breakpoint doesn't get set on the loop.
14653
14654 2003-02-05 Michael Chastain <mec@shout.net>
14655
14656 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
14657 output for configurations with gcc 2.95.3.
14658
14659 2003-02-05 Keith Seitz <keiths@redhat.com>
14660 Andrew Cagney <ac131313@redhat.com>
14661
14662 * gdb.mi/mi-cli.exp: New file.
14663
14664 2003-02-04 Michael Chastain <mec@shout.net>
14665
14666 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
14667 Call perror and then continue.
14668
14669 2003-02-03 Michael Chastain <mec@shout.net>
14670
14671 * gdb.c++/pr-1023.cc: New file.
14672 * gdb.c++/pr-1023.exp: New file.
14673
14674 2003-02-05 Jim Blandy <jimb@redhat.com>
14675
14676 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
14677 it's local to foobar. Check for it there, and check that it's not
14678 present in main.
14679 * gdb.c++/local.cc (marker2): New function.
14680 (foobar): Call marker1.
14681 (main): Call marker2 instead of marker1.
14682
14683 2003-02-04 Andrew Cagney <ac131313@redhat.com>
14684
14685 * gdb.disasm/mn10200.exp: Obsolete file.
14686 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
14687 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
14688 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
14689
14690 2003-02-04 David Carlton <carlton@math.stanford.edu>
14691
14692 * gdb.c++/overload.exp: Test intToChar(1).
14693 * gdb.c++/overload.cc (intToChar): New.
14694 (main): Call intToChar.
14695
14696 2003-02-03 David Carlton <carlton@math.stanford.edu>
14697
14698 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
14699 'might_kfail' arg.
14700 KFAIL some of the continue_to_bp_overloaded calls, according to
14701 PR c++/1025.
14702
14703 2003-02-01 Michael Chastain <mec@shout.net>
14704
14705 * gdb.base/advance.c (marker1): New marker function.
14706 * gdb.base/advance.exp: When the 'advance' command lands on the
14707 return breakpoint, it can legitimately stop on either the
14708 current line or the next line. Accommodate both outcomes.
14709 * gdb.base/until.exp: Likewise.
14710
14711 2003-02-02 Andrew Cagney <ac131313@redhat.com>
14712
14713 2002-11-10 Jason Molenda (jason-cl@molenda.com):
14714 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
14715 now a list, not a tuple.
14716 * gdb.mi/mi-var-display.exp: Ditto.
14717 * gdb.mi/gdb792.exp: Ditto.
14718
14719 2003-02-01 Andrew Cagney <ac131313@redhat.com>
14720
14721 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
14722 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
14723 stack backtraces.
14724 * gdb.mi/mi-syn-frame.c: Part of same.
14725
14726 2003-02-01 Mark Kettenis <kettenis@gnu.org>
14727
14728 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14729 gdb.mi/mi1-pthreads.exp: Return instead of calling
14730 gdb_suppress_entire_file.
14731
14732 2003-02-01 Mark Salter <msalter@redhat.com>
14733
14734 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
14735
14736 2003-01-31 Mark Salter <msalter@redhat.com>
14737
14738 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
14739 Support empty arg.
14740
14741 2003-01-30 Michael Chastain <mec@shout.net>
14742
14743 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
14744 This was a workaround for a UTF-8 bug in readline 4.3. The bug
14745 has been fixed in gdb/readline on 2003-01-09.
14746
14747 2003-01-29 Michael Snyder <msnyder@redhat.com>
14748
14749 * gdb.base/maint.exp: Allow for leading underscore in symbol.
14750 * gdb.base/display.exp: Allow for leading underscore in symbol.
14751 * gdb.base/args.exp: Skip if target does not support args passing.
14752
14753 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
14754
14755 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
14756 gdb_test. Accept a list of expect arguments as the third
14757 parameter.
14758 (gdb_test): Use it.
14759
14760 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
14761
14762 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
14763 allow for different test tree configurations. Update some
14764 tescases accordingly.
14765 * gdb.arch/altivec-regs.exp: Ditto.
14766 * gdb.asm/asm-source.exp: Ditto.
14767 * gdb.base/advance.exp: Ditto.
14768 * gdb.base/display.exp: Ditto.
14769 * gdb.base/long_long.exp: Ditto.
14770 * gdb.base/mips_pro.exp: Ditto.
14771 * gdb.base/overlays.exp: Ditto.
14772 * gdb.base/relocate.exp: Ditto.
14773 * gdb.base/setshow.exp: Ditto.
14774 * gdb.base/step-line.exp: Ditto.
14775 * gdb.base/step-test.exp: Ditto.
14776 * gdb.base/until.exp: Ditto.
14777 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
14778
14779 2003-01-17 David Carlton <carlton@math.stanford.edu>
14780
14781 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
14782 corresponding to PR c++/945.
14783 Update copyright.
14784
14785 2003-01-17 David Carlton <carlton@math.stanford.edu>
14786
14787 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
14788 corresponding to PR c++/68.
14789
14790 2003-01-17 David Carlton <carlton@math.stanford.edu>
14791
14792 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
14793 (test_paddr_hairy_functions): Call print_addr_2_kfail for
14794 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
14795
14796 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14797
14798 * gdb.base/break.exp: Fix change of default location, because of
14799 removal of until tests.
14800 * gdb.base/help.exp: Update test for new 'until' help message.
14801 Add test for help on 'advance'.
14802 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
14803
14804 2003-01-15 Mark Kettenis <kettenis@gnu.org>
14805
14806 * gdb.base/default.exp: Adapt "info float" test for recent changes
14807 to that command. Add test for "info vector".
14808 * gdb.base/float.exp: New file. Add test for "info float" that
14809 resembles the old test in gdb.base/default.exp.
14810
14811 2003-01-15 David Carlton <carlton@math.stanford.edu>
14812
14813 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
14814
14815 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14816
14817 * gdb.base/break.exp: Move the tests of until command from here...
14818 * gdb.base/until.exp: ... to here. New file. Add other tests.
14819 * gdb.base/advance.c: New file.
14820 * gdb.base/advance.exp: New file.
14821
14822 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
14823
14824 * gdb.base/args.c: New file.
14825 * gdb.base/args.exp: New file.
14826
14827 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14828
14829 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
14830
14831 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14832
14833 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
14834
14835 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14836
14837 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
14838 dates.
14839
14840 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14841
14842 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
14843
14844 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14845
14846 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
14847 (ptype &*"foo").
14848 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
14849
14850 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14851
14852 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
14853 * gdb.mi/mi1-console.exp: Likewise.
14854
14855 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14856
14857 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
14858 * gdb.mi/mi1-console.exp: Likewise.
14859
14860 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14861
14862 * gdb.c++/overload.exp: Remove some fixed XFAILs.
14863
14864 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14865
14866 * gdb.base/detach.exp: New test.
14867
14868 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14869
14870 * Makefile.in (ALL_SUBDIRS): New variable.
14871 (subdirs, clean, distclean): Use it.
14872 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
14873 regenerating Makefile, since it is generated from the top level.
14874 * gdb.asm/Makefile.in: Likewise.
14875 * gdb.base/Makefile.in: Likewise.
14876 * gdb.c++/Makefile.in: Likewise.
14877 * gdb.disasm/Makefile.in: Likewise.
14878 * gdb.java/Makefile.in: Likewise.
14879 * gdb.mi/Makefile.in: Likewise.
14880 * gdb.threads/Makefile.in: Likewise.
14881 * gdb.trace/Makefile.in: Likewise.
14882
14883 2003-01-09 David Carlton <carlton@math.stanford.edu>
14884
14885 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
14886 Add copyright year 2003.
14887
14888 2003-01-06 Michael Chastain <mec@shout.net>
14889
14890 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
14891 When selecting a thread, 'line' and 'file' are optional.
14892 * gdb.mi/mi1-pthreads.exp: Likewise.
14893
14894 2003-01-06 Andreas Schwab <schwab@suse.de>
14895
14896 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
14897 failures.
14898
14899 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14900
14901 Fix PR gdb/844
14902 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
14903 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
14904
14905 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
14906 instead of calling gdb_suppress_entire_file.
14907 * gdb.threads/print-threads.exp: Likewise.
14908 * gdb.threads/schedlock.exp: Likewise.
14909
14910 * gdb.threads/killed.exp: Return instead of calling
14911 gdb_suppress_entire_file.
14912 * gdb.threads/linux-dp.exp: Likewise.
14913 * gdb.threads/pthreads.exp: Likewise.
14914
14915 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14916
14917 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
14918 stabs.
14919 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
14920 * gdb.base/whatis.exp: Always allow (void) after function names.
14921
14922 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14923
14924 * gdb.c++/casts.exp: Correct regexp.
14925
14926 2003-01-04 Mark Kettenis <kettenis@gnu.org>
14927
14928 * configure.in: Call AC_CONFIG_HEADER. Don't call
14929 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
14930 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
14931 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
14932 aforementioned directories in the AC_OUPUT call.
14933 * config.hin: New file.
14934 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14935 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
14936 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
14937 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
14938 pass -I$objdir instead of -I$objdir/$subdir in compilation.
14939 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
14940 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
14941 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
14942 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
14943 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
14944 gdb.threads/configure.in, gdb.threads/configure,
14945 gdb.threads/config.in, gdb.trace/configure.in,
14946 gdb.trace/configure: Removed.
14947
14948 2003-01-03 Michael Chastain <mec@shout.net>
14949
14950 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
14951 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
14952
14953 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
14954
14955 * gdb.base/store.exp: Fix regular expressions.
14956
14957 2002-12-28 Mark Kettenis <kettenis@gnu.org>
14958
14959 * configure.in: Rewrite.
14960 * configure: Regenerated.
14961
14962 2003-01-03 David Carlton <carlton@math.stanford.edu>
14963
14964 * gdb.base/psymtab.exp: New file.
14965 * gdb.base/psymtab1.c: Ditto.
14966 * gdb.base/psymtab2.c: Ditto.
14967
14968 2002-12-23 Adam Fedor <fedor@gnu.org>
14969
14970 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
14971
14972 2002-12-23 David Carlton <carlton@math.stanford.edu>
14973
14974 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
14975 and current_directory initialization.
14976
14977 2002-12-22 Jim Blandy <jimb@redhat.com>
14978
14979 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
14980 rather than as part of the output file name.
14981
14982 * gdb.base/attach.exp: There's no need to copy the test program to
14983 /tmp; that was only ever necessary on HP/UX, and this test is
14984 entirely disabled there anyway.
14985
14986 2002-12-21 Jim Blandy <jimb@redhat.com>
14987
14988 * gdb.c++/psmang.exp: Doc fix.
14989
14990 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
14991 test.
14992
14993 2002-12-20 David Carlton <carlton@math.stanford.edu>
14994
14995 * gdb.c++/annota2.exp: KFAIL annotate-quit.
14996
14997 2002-12-18 Michael Chastain <mec@shout.net>
14998
14999 * gdb.c++/annota2.exp: Add copyright year 2002.
15000
15001 2002-12-17 David Carlton <carlton@math.stanford.edu>
15002
15003 * gdb.c++/try_catch.cc: Add marker comments.
15004 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
15005 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
15006 * gdb.c++/m-static.cc: Ditto.
15007 * gdb.c++/m-static1.cc: Ditto.
15008 * gdb.c++/try_catch.cc: Ditto.
15009
15010 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
15011
15012 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
15013 to see whether we are using the new -environment-directory
15014 command which resets via -r or the old version of the command
15015 which may prompt the user. Part of fix for gdb/741.
15016
15017 2002-12-13 Andrew Cagney <ac131313@redhat.com>
15018
15019 * gdb.fortran/types.exp: Update obsolete comment.
15020 * gdb.fortran/exprs.exp: Ditto.
15021 * lib/gdb.exp: Delete obsolete code.
15022 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
15023 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
15024 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
15025 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
15026 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
15027 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
15028 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
15029 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
15030 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
15031 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
15032 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
15033 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
15034 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
15035 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
15036 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
15037 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
15038 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
15039 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
15040 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
15041 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
15042 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
15043 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
15044 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
15045 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
15046 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
15047 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
15048 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
15049 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
15050 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
15051 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
15052 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
15053 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
15054 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
15055 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
15056 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
15057 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
15058 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
15059
15060 2002-12-11 David Carlton <carlton@math.stanford.edu>
15061
15062 * gdb.c++/m-data.exp: Add test for members that shadow global
15063 variables: see PR gdb/804.
15064 * gdb.c++/m-data.cc: Ditto.
15065
15066 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
15067
15068 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
15069
15070 2002-12-06 David Carlton <carlton@math.stanford.edu>
15071
15072 * gdb.base/store.c: Don't declare functions static.
15073
15074 2002-12-04 Andrew Cagney <ac131313@redhat.com>
15075
15076 * gdb.base/store.exp, gdb.base/store.c: New files.
15077
15078 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
15079
15080 * gdb.base/selftest.exp: Update for current gdb.
15081
15082 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
15083
15084 * gdb.base/maint.exp: Only dump symbols from one source file
15085 or objfile.
15086
15087 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
15088
15089 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
15090 function call.
15091
15092 2002-11-25 Jim Blandy <jimb@redhat.com>
15093
15094 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
15095 function appearing in error message.
15096
15097 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
15098
15099 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
15100
15101 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
15102
15103 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
15104 for mi1 and current mi is in correct format. New mi startup message
15105 should be in mi console format. This is part of fix for PR gdb/604.
15106
15107 2002-09-18 Fernando Nasser <fnasser@redhat.com>
15108
15109 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
15110 which explicitly prints the zero offset as "+0".
15111
15112 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
15113
15114 * gdb.threads/schedlock.c (args): Make unsigned.
15115
15116 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
15117
15118 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
15119 numbers. Allow "foo2|selected stack frame".
15120 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
15121 * gdb.asm/asmsrc2.s: Likewise.
15122 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
15123 comments.
15124 * gdb.asm/mips.inc: New file.
15125
15126 2002-10-18 Adam Fedor <fedor@gnu.org>
15127
15128 * gdb.base/default.exp: Update expected output to include 'ObjC'.
15129 * gdb.base/help.exp: Likewise.
15130
15131 2002-10-17 Kevin Buettner <kevinb@redhat.com>
15132
15133 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
15134 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
15135
15136 2002-10-02 Jim Blandy <jimb@redhat.com>
15137
15138 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
15139
15140 2002-10-01 Andrew Cagney <ac131313@redhat.com>
15141
15142 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
15143 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
15144 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
15145 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
15146 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
15147 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
15148 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
15149
15150 2002-09-29 Andrew Cagney <ac131313@redhat.com>
15151
15152 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
15153 * mi0-disassemble.exp, mi0-eval.exp: Delete.
15154 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
15155 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
15156 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
15157 * mi0-var-block.exp, mi0-var-child.exp: Delete.
15158 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
15159
15160 2002-09-27 Kevin Buettner <kevinb@redhat.com>
15161
15162 * gdb.base/annota1.exp (info break): Make directory components of
15163 path optional since not all compilers emit this debug information.
15164
15165 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
15166 step ends up stepping out of the function instead of stopping on
15167 the epilogue.
15168
15169 2002-09-26 Keith Seitz <keiths@redhat.com>
15170
15171 * lib/insight-support.exp (gdbtk_start): Figure out where
15172 the insight executable is based on where gdb is. Use this
15173 executable to start insight instead of gdb.
15174
15175 2002-09-25 Andrew Cagney <cagney@redhat.com>
15176
15177 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
15178
15179 2002-09-24 Andrew Cagney <ac131313@redhat.com>
15180
15181 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
15182 test_isolated_complaints.
15183 (test_empty_complaint): New function.
15184 (test_empty_complaints): New function. Check no output when no
15185 complaints.
15186
15187 2002-09-19 Jim Blandy <jimb@redhat.com>
15188
15189 * gdb.base/charset.exp, gdb.base/charset.c: New files.
15190
15191 2002-09-19 Andrew Cagney <ac131313@redhat.com>
15192
15193 * gdb.gdb/complaints.exp: New file.
15194
15195 2002-09-18 Andrew Cagney <ac131313@redhat.com>
15196
15197 * gdb.base/maint.exp: Check `help maint internal-warning'.
15198
15199 2002-09-18 David Carlton <carlton@math.stanford.edu>
15200
15201 * gdb.c++/m-static.exp: Remove breakpoints depending on line
15202 numbers, and replace them by a single breakpoint after the
15203 constructors are all finished.
15204 Add test 4.
15205 * gdb.c++/m-static.cc: Add test 4.
15206 * gdb.c++/m-static.h: New file.
15207 * gdb.c++/m-static1.cc: New file.
15208
15209 * gdb.c++/printmethod.exp: New file.
15210 * gdb.c++/printmethod.cc: New file.
15211
15212 * gdb.c++/pr-574.exp: New file.
15213 * gdb.c++/pr-574.cc: New file.
15214
15215 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
15216
15217 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
15218 embedded targets which never actually exit.
15219
15220 2002-09-18 Fernando Nasser <fnasser@redhat.com>
15221
15222 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
15223 "don't step after run" as unresolved or unsupported, instead of xfail.
15224
15225 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
15226
15227 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
15228 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
15229 Add newline to expected string in "step out of main (status wrapper)"
15230 case.
15231
15232 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
15233
15234 * lib/gdb.exp (rerun_to_main): Allow restarting application.
15235 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
15236
15237 2002-09-17 Tom Tromey <tromey@redhat.com>
15238
15239 * gdb.base/printcmds.exp (test_print_string_constants): Expect
15240 \000, not \0, in double-quoted string.
15241
15242 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
15243
15244 * gdb.base/commands.exp: Don't expect a "Program exited normally"
15245 string after running the commands execution on breakpoint tests.
15246
15247 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
15248
15249 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
15250
15251 2002-09-12 Joel Brobecker <brobecker@gnat.com>
15252
15253 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
15254
15255 2002-09-10 Keith Seitz <keiths@redhat.com>
15256
15257 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
15258 runto proc.
15259 (mi_run_to_main): Use mi_runto.
15260 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
15261
15262 2002-09-10 Keith Seitz <keiths@redhat.com>
15263
15264 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
15265 regexp for stopping at main. Could have multiple event notifications.
15266 Don't assume that main was declared with no parameters.
15267 (mi_next): Use mi_step_to.
15268 (mi_step): Use mi_next_to.
15269
15270 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
15271
15272 * gdb.base/default.exp: Fix expected string in `info float' test.
15273
15274 2002-09-09 Ben Elliston <bje@redhat.com>
15275
15276 * config/mips.exp: Update comments.
15277 * config/mips-idt.exp: Likewise.
15278 * config/nind.exp: Likewise.
15279 * config/slite.exp: Likewise.
15280 * config/sparclet.exp: Likewise.
15281 * config/udi.exp: Likewise.
15282 * config/vx.exp: Likewise.
15283 * config/vxworks29k.exp: Likewise.
15284
15285 2002-09-05 Jim Blandy <jimb@redhat.com>
15286
15287 * gdb.threads/killed.exp: Fix test failure message.
15288
15289 2002-09-04 Keith Seitz <keiths@redhat.com>
15290
15291 * lib/mi-support.exp: Update copyright.
15292 (mi_gdb_test): Increase the priority of the expected pattern
15293 so that it matches gdb_test.
15294
15295 2002-09-03 Keith Seitz <keiths@redhat.com>
15296
15297 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
15298 Use integer comparison instead of string comparison for testing
15299 whether binary was built.
15300
15301 2002-09-03 Jim Blandy <jimb@redhat.com>
15302
15303 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
15304
15305 2002-08-29 Jim Blandy <jimb@redhat.com>
15306
15307 * gdb.threads/pthreads.exp: Move the portable thread compilation
15308 code into a function in lib/gdb.exp, and call that from here.
15309 * lib/gdb.exp (gdb_compile_pthreads): New function.
15310
15311 2002-08-29 Keith Seitz <keiths@redhat.com>
15312
15313 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
15314 expect_out so that callers can get at it.
15315
15316 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
15317
15318 * gdb.threads/print-threads.c: New file.
15319 * gdb.threads/print-threads.exp: New file.
15320 * gdb.threads/schedlock.c: New file.
15321 * gdb.threads/schedlock.exp: New file.
15322
15323 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
15324
15325 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
15326 not altivec.c.
15327
15328 2002-08-17 Mark Kettenis <kettenis@gnu.org>
15329
15330 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
15331 targets. The problem should be fixed now.
15332
15333 2002-08-15 Mark Kettenis <kettenis@gnu.org>
15334
15335 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
15336 2002-07-24 change that removes final dots from error messages.
15337
15338 2002-08-13 Tom Tromey <tromey@redhat.com>
15339
15340 * gdb.base/readline.exp: New file.
15341
15342 2002-08-01 Andrew Cagney <ac131313@redhat.com>
15343
15344 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15345 supress message.
15346
15347 2002-08-01 Andrew Cagney <cagney@redhat.com>
15348
15349 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
15350 CHILL_FOR_TARGET and CHILL_LIB.
15351 * configure.in (configdirs): Remove gdb.chill.
15352 * configure: Regenerate.
15353 * lib/gdb.exp: Obsolete references to chill.
15354 * gdb.fortran/types.exp: Ditto.
15355 * gdb.fortran/exprs.exp: Ditto.
15356
15357 2002-07-30 Kevin Buettner <kevinb@redhat.com>
15358
15359 * gdb.base/shlib-call.exp (additional_flags): Conditionally
15360 set Irix-specific compile and link flags.
15361
15362 2002-07-29 Kevin Buettner <kevinb@redhat.com>
15363
15364 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
15365 source files. The ``-o'' option doesn't work with the ``-E'' option
15366 when using the Irix compiler.
15367
15368 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
15369
15370 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
15371 Improve support for reusing an exec file. Copy exec file
15372 to target, and run gdbserver on the target instead of on the host.
15373
15374 2002-07-18 Jim Blandy <jimb@redhat.com>
15375
15376 * gdb.base/ending-run.exp: Don't expect to see the program end in
15377 some orderly fashion when we're running on a real stand-alone
15378 board.
15379
15380 * gdb.base/interrupt.exp: Correct logic for skipping tests on
15381 targets that don't support interrupts.
15382
15383 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
15384
15385 * gdb.base/attach.exp: Add patterns to match output from /proc-based
15386 systems.
15387 Move comments in expect statements to inside the actions, so that they
15388 don't get matched against.
15389
15390 2002-07-10 Mark Kettenis <kettenis@gnu.org>
15391
15392 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15393 function when asleep" test.
15394
15395 2002-07-10 Andrew Cagney <ac131313@redhat.com>
15396
15397 * gdb.base/page.exp: Rewrite to handle problems with very long
15398 `info set' output. Update copyright.
15399
15400 2002-06-26 Andrew Cagney <ac131313@redhat.com>
15401
15402 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15403 gdb.threads-hp.
15404 * gdb.hp/configure: Regenerate.
15405 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15406 * gdb.hp/gdb.threads-hp/configure: Delete file.
15407 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15408
15409 2002-06-22 Andrew Cagney <ac131313@redhat.com>
15410
15411 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15412 setlocale, bindtextdomain and textdomain.
15413
15414 2002-06-11 Jim Blandy <jimb@redhat.com>
15415
15416 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15417 preprocessor macro information is present.
15418
15419 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15420 tests.
15421
15422 2002-06-06 Michael Snyder <msnyder@redhat.com>
15423
15424 * gdb.base/overlays.exp: Record addresses of overlay
15425 functions in TCL variables rather than in GDB variables,
15426 to avoid having GDB convert them to pointers (with loss
15427 of information).
15428
15429 * gdb.base/d10v.ld: Merge in several years worth of
15430 default linker script changes.
15431 * gdb.base/long_long.exp: Add check for sizeof (long double).
15432
15433 2002-06-06 Michal Ludvig <mludvig@suse.cz>
15434
15435 * gdb.asm/asm-source.exp: Add x86-64 target.
15436 * gdb.asm/x86_64.inc: New.
15437
15438 2002-05-30 Michael Chastain <mec@shout.net>
15439
15440 From Benjamin Kosnik <bkoz@redhat.com>:
15441 * gdb.c++/m-static.cc: New file.
15442 * gdb.c++/m-static.exp: New file.
15443
15444 2002-05-28 Michael Snyder <msnyder@redhat.com>
15445
15446 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15447 precision.
15448
15449 2002-05-27 Michael Chastain <mec@shout.net>
15450
15451 From Benjamin Kosnik <bkoz@redhat.com>:
15452 * gdb.c++/m-data.cc: New file.
15453 * gdb.c++/m-data.exp: New file.
15454
15455 2002-05-27 Michael Chastain <mec@shout.net>
15456
15457 From Benjamin Kosnik <bkoz@redhat.com>:
15458 * gdb.c++/try_catch.cc: New file.
15459 * gdb.c++/try_catch.exp: New file.
15460
15461 2002-05-27 Michael Chastain <mec@shout.net>
15462
15463 * gdb.c++/local.exp: Accept more nested types in output.
15464
15465 2002-05-26 Michael Chastain <mec@shout.net>
15466
15467 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15468
15469 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15470
15471 * lib/gdb.exp (gdb_wrapper_init): Just because
15472 gdb_wrapper_file exists, this does not mean that the file
15473 should not be rebuilt. That is what gdb_wrapper_initialized
15474 is for.
15475 (default_gdb_init): Reset gdb_wrapper_initialized.
15476
15477 2002-05-23 Michael Snyder <msnyder@redhat.com>
15478
15479 * gdb.base/all-bin.exp: Revise previous patch by just reducing
15480 the precision of the floating point test results.
15481 * gdb.base/call-rt-st.exp: Ditto.
15482
15483 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15484 * gdb.base/call-rt-st.exp: Ditto.
15485
15486 2002-05-19 Michael Chastain <mec@shout.net>
15487
15488 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15489
15490 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
15491
15492 * configure.in (configdirs): Add gdb.arch.
15493 * configure: Regenerate.
15494
15495 2002-05-17 Jim Blandy <jimb@redhat.com>
15496
15497 * gdb.base/completion.exp: Recognize the more detailed error
15498 messages produced by the macro expander's lexical analyzer.
15499
15500 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15501
15502 * gdb.arch/altivec-abi.c: New file.
15503 * gdb.arch/altivec-abi.exp: New file.
15504 * gdb.arch/altivec-regs.c: New file.
15505 * gdb.arch/altivec-regs.exp: New file.
15506
15507 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
15508
15509 * gdb.base/maint.exp (maint print type): Update for new type
15510 structure.
15511
15512 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15513
15514 * gdb.arch: New directory.
15515 * gdb.arch/configure.in: New file.
15516 * gdb.arch/configure: New file.
15517 * gdb.arch/Makefile.in: New file.
15518
15519 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
15520
15521 * gdb.asm/asm-source.exp: Add v850 as supported target.
15522 * gdb.asm/v850.inc: New file.
15523
15524 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
15525
15526 * gdb.c++/annota2.exp (annotate-quit): Add comment.
15527
15528 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
15529
15530 * gdb.base/break.exp: Check 'break "marker2"'.
15531
15532 2002-05-10 Michael Snyder <msnyder@redhat.com>
15533
15534 * gdb.base/long_long.exp: Fix typo.
15535
15536 2002-05-10 Jim Blandy <jimb@redhat.com>
15537
15538 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
15539 a bug.
15540
15541 * gdb.base/printcmds.exp (test_integer_literals_rejected):
15542 Recognize more detailed error message produced by the macro
15543 expander's lexical analyzer.
15544 * lib/gdb.exp (test_print_reject): Same.
15545
15546 2002-05-09 Mark Kettenis <kettenis@gnu.org>
15547
15548 * gdb.c++/method.exp: Fix typo.
15549
15550 2002-05-08 Michael Snyder <msnyder@redhat.com>
15551
15552 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
15553 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
15554 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
15555 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
15556 Add iftarget clause for strongarm.
15557
15558 2002-05-06 Michael Snyder <msnyder@redhat.com>
15559
15560 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
15561 (gdb_continue_to_end): Accept output from status wrapper.
15562 * gdb.base/ending-run.exp: Add case for output from status wrapper.
15563 Clean up fail messages to match pass messages.
15564
15565 Enable the "needs_status_wrapper" testsuite feature.
15566 * lib/gdb.exp (gdb_wrapper_init): New procedure.
15567 (gdb_compile): Conditionally call gdb_wrapper_init.
15568 * gdb.base/a2-run.exp: Recognize output from status wrapper.
15569 * gdb.c++/method.exp: Recognize output from status wrapper.
15570
15571 2002-05-06 Ben Elliston <bje@redhat.com>
15572 From Graydon Hoare <graydon@redhat.com>
15573
15574 * config/sid.exp: Include support for "rawsid" protocol.
15575
15576 2002-05-03 Jim Blandy <jimb@redhat.com>
15577
15578 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
15579 * gdb.c++/hang3.C: New file.
15580
15581 2002-05-04 Andrew Cagney <ac131313@redhat.com>
15582
15583 * gdb.base/default.exp: Remove obsolete code.
15584 * gdb.c++/misc.exp: Ditto. Update copyright.
15585 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
15586 * gdb.base/whatis.exp: Ditto. Update copyright.
15587 * gdb.base/scope.exp: Ditto. Update copyright.
15588 * gdb.base/ptype.exp: Ditto. Update copyright.
15589 * gdb.base/printcmds.exp: Ditto. Update copyright.
15590 * gdb.base/opaque.exp: Ditto. Update copyright.
15591 * gdb.base/list.exp: Ditto.
15592 * gdb.base/funcargs.exp: Ditto. Update copyright.
15593 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
15594 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
15595 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
15596 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
15597 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
15598 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
15599
15600 2002-05-02 Michael Snyder <msnyder@redhat.com>
15601
15602 * gdb.base/watchpoint.exp: Add xscale target.
15603 * gdb.base/long_long.exp: Add xscale target.
15604 * gdb.base/default.exp: Add xscale target.
15605
15606 2002-05-01 Jim Blandy <jimb@redhat.com>
15607
15608 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
15609 gdb.c++/hang.exp: New test.
15610
15611 2002-05-01 Fred Fish <fnf@redhat.com>
15612
15613 * gdb.base/completion.exp: Handle completions of "./Make" for
15614 more than one completion possibility, as is the case when we
15615 build and test in the source tree.
15616
15617 2002-04-29 Anthony Green <green@redhat.com>
15618
15619 * gdb.java/jmisc1.exp: New file.
15620 * gdb.java/jmisc2.exp: New file.
15621
15622 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
15623
15624 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
15625
15626 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
15627
15628 * gdb.base/help.exp: Change 'help status' to allow for target
15629 dependent output differences.
15630
15631 2002-04-22 Michael Chastain <mec@shout.net>
15632
15633 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
15634
15635 2002-04-22 Michael Chastain <mec@shout.net>
15636
15637 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
15638
15639 2002-04-17 David S. Miller <davem@redhat.com>
15640
15641 * gdb.asm/sparc64.inc: New file.
15642 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
15643
15644 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
15645
15646 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
15647 instruction file directly into the build tree. Clean up at end of
15648 test.
15649
15650 2002-04-18 David S. Miller <davem@redhat.com>
15651
15652 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
15653 handle 64-bit platforms correctly.
15654 * gdb.base/maint.exp: Likewise.
15655
15656 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15657
15658 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
15659 ``-fpic'' when compiling files comprising a shared library, but
15660 it does need additional linker flags in order to find shared
15661 libraries at run time.
15662
15663 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15664
15665 * gdb.base/cvexpr.c (use): New function.
15666 (main): Invoke use() on all global variables to prevent
15667 some linkers from deleting these otherwise unused symbols.
15668
15669 2002-04-17 Michael Chastain <mec@shout.net>
15670 From David S. Miller <davem@redhat.com>
15671
15672 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
15673 handle 64-bit platforms correctly.
15674
15675 2002-04-12 Michael Snyder <msnyder@redhat.com>
15676 From Jim Blandy <jimb@redhat.com>
15677 * gdb.base/foo.c (foox): Remove section attribute; the linker
15678 script can handle this instead.
15679 * gdb.base/bar.c (barx): Same.
15680 * gdb.base/baz.c (bazx): Same.
15681 * gdb.base/grbx.c (grbxx): Same.
15682
15683 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
15684 manager doesn't automatically unmap overlays unnecessarily.
15685
15686 2002-04-10 Martin M. Hunt <hunt@redhat.com>
15687
15688 * gdb.base/ending-run.exp: Fix pattern for Mips targets
15689 stepping out of main.
15690
15691 2002-04-09 Michael Chastain <mec@shout.net>
15692
15693 * gdb.c++/local.cc (main): Move call to marker1() inside nested
15694 scope so that the nested scope tests will make sense.
15695 * gdb.c++/local.exp: Write patterns that actually work with gcc
15696 (the HP patterns "were never known to work with gcc").
15697 Keep the old aCC patterns too.
15698
15699 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
15700
15701 * gdb.base/attach.exp: Correct target board test.
15702
15703 2002-04-08 Michael Chastain <mec@shout.net>
15704
15705 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
15706 in a const method. Add some xfail and fail cases for configurations
15707 that do not emit the "const ...".
15708
15709 2002-04-07 Michael Chastain <mec@shout.net>
15710
15711 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
15712 Accept "A * const" and "const A * const" as type of "this".
15713 Fix spelling of getFunky throughout. Make messages uniform.
15714
15715 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15716
15717 Work around for PR gdb/285:
15718 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
15719
15720 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15721
15722 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
15723 instructions file at run time instead of configure time.
15724 Sometimes we run the test in a directory that is not the one we
15725 configured in.
15726 * gdb.asm/configure.in: Delete creation of symlink.
15727 * gdb.asm/configure: Regenerate.
15728
15729 2002-04-05 J. Brobecker <brobecker@gnat.com>
15730
15731 * gdb.gdb/xfullpath.exp: New test, to exercise the new
15732 xfullpath () function.
15733
15734 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15735
15736 * gdb.asm/Makefile.in: Correct dependencies.
15737
15738 * gdb.asm/powerpc.inc: New file.
15739 * gdb.asm/asm-source.exp: Add PowerPC.
15740 * gdb.asm/configure.in: Likewise.
15741 * gdb.asm/configure: Regenerated.
15742
15743 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15744
15745 * gdb.base/relocate.exp: New file.
15746 * gdb.base/relocate.c: New file.
15747
15748 2002-04-04 Fred Fish <fnf@redhat.com>
15749
15750 * gdb.base/step-test.exp: Update comment regarding stopping in
15751 memcpy/bcopy calls inserted as part of the compiler runtime.
15752
15753 2002-04-04 Michael Snyder <msnyder@redhat.com>
15754
15755 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
15756
15757 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
15758
15759 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
15760 (gdb_expect): Remove $notransfer hack.
15761
15762 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
15763
15764 * gdb.c++/classes.exp ("calling method for small class"): Match
15765 updated register output.
15766
15767 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15768
15769 Fix PR gdb/452
15770 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
15771 when finished. Make gdb_file_cmd send "exec-file" when
15772 appropriate.
15773
15774 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15775
15776 * gdb.base/attach.exp: Remove extra setup_xfail.
15777
15778 2002-03-26 Michael Snyder <msnyder@redhat.com>
15779
15780 * gdb.base/default.exp: Add tests for dump, append, and restore.
15781 * gdb.base/help.exp: Add tests for dump, append, and restore.
15782 * gdb.base/dump.exp: New file, test dump, append and restore.
15783 * gdb.base/dump.c: New file.
15784
15785 2002-03-27 Michael Snyder <msnyder@redhat.com>
15786
15787 * gdb.base/help.exp: Modify expect strings to reflect
15788 clean-ups in help messages.
15789
15790 2002-03-26 Fred Fish <fnf@redhat.com>
15791
15792 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
15793 have debugging info for those functions and the compiler uses them
15794 internally to copy structs around.
15795
15796 2002-03-26 Fred Fish <fnf@redhat.com>
15797
15798 * gdb.base/list.exp: Revert the change made yesterday and add note
15799 about why we don't list the default lines for remote targets.
15800
15801 2002-03-25 Michael Snyder <msnyder@redhat.com>
15802
15803 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
15804
15805 2002-03-25 Fred Fish <fnf@redhat.com>
15806
15807 * gdb.base/list.exp: This test works on remote targets so remove
15808 the short circuit for remote targets. Update copyright.
15809
15810 2002-03-25 Fred Fish <fnf@redhat.com>
15811
15812 * gdb.base/attach.exp: Fix logic error that was suppressing this
15813 test for all non hppa*-*-hpux* targets, instead of the hp target.
15814 Move comments closer to the suppression point. Also now need to
15815 check that we are running natively.
15816
15817 2002-03-22 Michael Snyder <msnyder@redhat.com>
15818
15819 * gdb.base/default.exp: Add test for gcore. Update copyright.
15820 * gdb.base/help.exp: Add test for gcore. Update copyright.
15821
15822 2002-03-06 Fred Fish <fnf@redhat.com>
15823
15824 * gdb.base/funcargs.c: Remove extraneous ';' character.
15825 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
15826
15827 2002-03-04 Michael Chastain <mec@shout.net>
15828
15829 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
15830 accommodate gcc v3 function signature.
15831 * gdb.mi/mi0-var-cmd-exp: Ditto.
15832
15833 2002-02-24 Andrew Cagney <ac131313@redhat.com>
15834
15835 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
15836 ``GNU/Linux'' or ``Linux kernel''
15837 * testsuite/gdb.threads/pthreads.c: Ditto.
15838
15839 2002-02-24 Michael Chastain <mec@shout.net>
15840
15841 * gdb.threads/pthreads.c (thread1): Add a return statement.
15842 (thread2): Likewise.
15843 (foo): Likewise.
15844
15845 2002-02-23 Michael Chastain <mec@shout.net>
15846
15847 * gdb.threads/linux-dp.c (philosopher): Add a return statement
15848 to placate gcc.
15849
15850 2002-02-23 Michael Chastain <mec@shout.net>
15851
15852 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
15853 test "ptype bint". The test passes on all my stabs configurations.
15854
15855 2002-02-21 Jim Blandy <jimb@redhat.com>
15856
15857 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
15858 filename at a time, and watch for the ones we want to see.
15859
15860 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
15861 types of pointers to prototyped functions.
15862
15863 2002-02-20 Andrew Cagney <ac131313@redhat.com>
15864
15865 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
15866 signed, unsigned and straight char.
15867 (padding_char, padding_short, padding_int, padding_long,
15868 padding_long_long, padding_float, padding_double,
15869 padding_long_double): New global variables.
15870 (fill, fill_structs): New functions.
15871
15872 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
15873 for correctly sized writes. Update copyright.
15874 (get_valueof): New procedure.
15875 (get_sizeof): Call get_valueof.
15876 (check_valueof): New procedure.
15877 (check_padding): New procedure.
15878
15879 2002-02-20 Michael Chastain <mec@shout.net>
15880
15881 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
15882 to setup_xfail. Document some of the remaining calls.
15883
15884 2002-02-18 Michael Chastain <mec@shout.net>
15885
15886 * gdb.c++/userdef.exp: Update copyright year.
15887
15888 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
15889
15890 * gdb.c++/userdef.exp: Test overloaded operators properly.
15891 Remove xfails.
15892
15893 2002-02-14 Michael Snyder <msnyder@redhat.com>
15894
15895 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
15896
15897 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
15898
15899 * gdb.base/a2-run.exp: Check for a remote target properly.
15900 * gdb.base/annota1.exp: Likewise.
15901 * gdb.base/list.exp: Likewise.
15902 * gdb.base/reread.exp: Likewise.
15903 * gdb.base/scope.exp: Likewise.
15904 * gdb.base/shlib-call.exp: Likewise.
15905 * gdb.base/term.exp: Likewise.
15906 * gdb.c++/annota2.exp: Likewise.
15907
15908 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
15909
15910 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
15911
15912 2002-02-10 Michael Chastain <mec@shout.net>
15913
15914 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
15915 (call_after_alloca): Ditto.
15916
15917 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
15918
15919 * gdb.base/ending-run.exp: Guard "cont" test with
15920 gdb_skip_stdio_test.
15921
15922 2002-02-06 Jim Blandy <jimb@redhat.com>
15923
15924 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
15925 from here...
15926 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
15927 To here. Disable this test on non-HP platforms. Add big comment.
15928
15929 2002-02-04 Michael Snyder <msnyder@redhat.com>
15930
15931 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
15932 other than d10v and m32r.
15933
15934 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
15935
15936 * gdb.base/default.exp: Rewrite test patterns to reduce time
15937 taken to match them.
15938
15939 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15940
15941 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
15942 Allow a start function above main.
15943 * gdb.threads/linux-dp.exp: Fix copyright date.
15944
15945 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15946
15947 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
15948 (check_philosopher_stack): Check for manager thread before checking
15949 for a just-starting thread.
15950
15951 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15952
15953 From Neil Booth <neil@daikokuya.demon.co.uk>:
15954 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
15955 warnings.
15956
15957 2002-01-21 Fred Fish <fnf@redhat.com>
15958
15959 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
15960 not caller.
15961
15962 2002-01-21 Jim Blandy <jimb@redhat.com>
15963
15964 * gdb.base/reread.exp: Check that GDB properly re-reads the
15965 executable file when it changes while no inferior is running.
15966
15967 2002-01-21 Fred Fish <fnf@redhat.com>
15968
15969 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
15970 optionally accept the "shlib events" variation.
15971
15972 2002-01-21 Jim Blandy <jimb@redhat.com>
15973
15974 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
15975 call `fflush' after every `printf', so that the output is produced
15976 at predictable points, regardless of whatever buffering does (or
15977 doesn't) take place.
15978 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
15979 at different points.
15980
15981 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15982
15983 * gdb.c++/inherit.exp: Update copyright years.
15984 * gdb.c++/method.exp: Likewise.
15985
15986 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15987
15988 * gdb.c++/classes.exp: Update for improved v3 support and skipping
15989 artificial methods/arguments.
15990 * gdb.c++/derivation.exp: Likewise.
15991 * gdb.c++/inherit.exp: Likewise.
15992 * gdb.c++/method.exp: Likewise.
15993 * gdb.c++/virtfunc.exp: Likewise.
15994
15995 2002-01-18 Andrew Cagney <ac131313@redhat.com>
15996
15997 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
15998 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
15999 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
16000 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
16001 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
16002 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
16003
16004 2002-01-17 Jim Blandy <jimb@redhat.com>
16005
16006 * gdb.asm/asm-source.exp (info symbol): Take another shot at
16007 anchoring the pattern matching the entry point symbol's name.
16008
16009 2002-01-17 Andrew Cagney <ac131313@redhat.com>
16010
16011 * gdb.base/maint.exp: Update ``maint internal-error'' to match
16012 continue/quit query. Update copyright.
16013
16014 2002-01-14 Michael Snyder <msnyder@redhat.com>
16015
16016 * gdb.base/gcore.exp: Remove extra debugging output.
16017
16018 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
16019
16020 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
16021 for slightly dubious v2 mangled string.
16022
16023 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
16024
16025 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
16026
16027 2002-01-10 Jason Merrill <jason@redhat.com>
16028
16029 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
16030
16031 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
16032 constructors.
16033 * gdb.c++/derivation.exp: Likewise.
16034 * gdb.c++/templates.exp: Likewise.
16035 * gdb.c++/virtfunc.exp: Likewise.
16036
16037 2002-01-10 Michael Snyder <msnyder@redhat.com>
16038
16039 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
16040
16041 2002-01-08 Michael Snyder <msnyder@redhat.com>
16042
16043 * gdb.base/gcore.exp: New test for generate-core-file command.
16044 * gdb.base/gcore.c: Testcase for above.
16045 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
16046
16047 2002-01-08 Jason Merrill <jason@redhat.com>
16048
16049 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
16050
16051 2002-01-07 Fred Fish <fnf@redhat.com>
16052
16053 * gdb.c++/overload.exp: Remove unconditional xfails for:
16054 print foo_instance1.overloadargs(1)
16055 print foo_instance1.overloadargs(1, 2)
16056 print foo_instance1.overloadargs(1, 2, 3)
16057 print foo_instance1.overloadargs(1, 2, 3, 4)
16058 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
16059 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
16060 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
16061 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
16062 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
16063 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
16064 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
16065 print foo_instance1.overload1arg()
16066 print foo_instance1.overload1arg((char)arg2)
16067 print foo_instance1.overload1arg((signed char)arg3)
16068 print foo_instance1.overload1arg((unsigned char)arg4)
16069 print foo_instance1.overload1arg((int)arg7)
16070 print foo_instance1.overload1arg((unsigned int)arg8)
16071 print foo_instance1.overload1arg((float)arg11)
16072 print foo_instance1.overload1arg((double)arg12)
16073
16074 2002-01-07 Michael Snyder <msnyder@redhat.com>
16075
16076 * gdb.base/huge.exp: New test. Print a very large target data object.
16077 (skip_huge_test): New test variable. Define if you want to skip this
16078 test. The test reads an 8 megabyte data object from the target, so it
16079 might be very time consuming on remote targets with a slow connection.
16080 * gdb.base/huge.c: New file. Test case for above.
16081
16082 2002-01-07 Fred Fish <fnf@redhat.com>
16083
16084 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
16085 g_instance.bfoo, and g_instance.cfoo.
16086
16087 2002-01-07 Jeffrey A Law <law@redhat.com>
16088
16089 * gdb.base/break.c (multi_line_if_conditional): New function.
16090 (multi_ilne_while_conditional): Likewise.
16091 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
16092 IF or WHILE condition puts the breakpoint at the start of
16093 the condition.
16094
16095 * gdb.base/selftest.exp (backtrace through signal handler): Remove
16096 hppa*-*-hpux* expected failure.
16097 * gdb.base/structs.exp (do_function_calls): Similarly.
16098
16099 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
16100 watchpoints.
16101
16102 2002-01-06 Andrew Cagney <ac131313@redhat.com>
16103
16104 Fix PR gdb/66.
16105 * gdb.base/structs.exp: Replace skip for a29k with skip for
16106 gdb,cannot_call_functions.
16107 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
16108 * gdb.base/callfuncs.exp: Ditto.
16109 * gdb.base/call-rt-st.exp: Ditto.
16110 * gdb.base/call-strs.exp: Ditto.
16111 * gdb.base/callfwmall.exp: Ditto.
16112 * gdb.base/scope.exp: Obsolete xfail a29k.
16113 * gdb.c++/misc.exp: Ditto.
16114 * gdb.c++/cplusfuncs.exp: Ditto.
16115 * gdb.base/ptype.exp: Ditto.
16116 * gdb.base/printcmds.exp: Ditto.
16117 * gdb.base/opaque.exp: Ditto.
16118 * gdb.base/list.exp: Ditto.
16119 * gdb.base/funcargs.exp: Ditto.
16120 * gdb.base/default.exp: Ditto.
16121
16122 2002-01-04 Michael Snyder <msnyder@redhat.com>
16123
16124 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
16125 * gdb.base/maint.exp: Add tests for maint info sections options.
16126
16127 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
16128
16129 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
16130
16131 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
16132
16133 * gdb.asm/arm.inc: New file.
16134 * gdb.asm/asm-source.exp: Add arm targets.
16135 * gdb.asm/configure.in: Ditto.
16136 * gdb.asm/configure: Recreated from configure.in.
16137
16138 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
16139
16140 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
16141 with HP's compiler.
16142 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16143 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16144 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16145 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16146
16147 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
16148 either HP's compilers or GCC.
16149
16150 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
16151 a SIGBUS or SIGSEGV.
16152
16153 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
16154
16155 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
16156 can be compiled with either HP's compiler or GCC.
16157
16158 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
16159 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
16160 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
16161
16162 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
16163 to match current gdb output. Update due to using auto-solib-limit
16164 for limiting instead of overloading auto-solib-add.
16165 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
16166 test program.
16167
16168 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
16169 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
16170 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16171 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16172 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16173 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16174 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
16175 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
16176 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
16177 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
16178 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
16179 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
16180 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
16181
16182 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
16183 a SIGTRAP to the inferior.
16184
16185 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
16186
16187 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
16188 Substitute call to target_link by call to gdb_compile.
16189
16190 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
16191
16192 * gdb.base/break.exp: Fix HP specific search string when testing
16193 backtracing in a called function.
16194
16195 * gdb.base/constvars.exp: Only set lang to C++ if we're
16196 compiling the test with HP's compilers.
16197 * gdb.base/volatile.exp: Similarly.
16198
16199 2001-12-19 Jim Blandy <jimb@redhat.com>
16200
16201 * gdb.base/printcmds.exp: Expect the null character to be printed
16202 as '\0', and the '\013' to be printed as '\v'.
16203 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
16204 * gdb.base/setvar.exp: Same.
16205
16206 2001-12-17 Jim Blandy <jimb@redhat.com>
16207
16208 * gdb.base/completion.exp: Rather than completing very long
16209 filenames, which can make the readline library produce output we
16210 don't recognize, cd to the directory first, and then complete
16211 using nice, short relative paths.
16212
16213 * gdb.base/completion.exp: On some systems, there is, in fact, a
16214 variable named `b' in scope, since GDB treats all static
16215 variables as being in scope. So use `no_var_named_this'
16216 instead of `b'.
16217
16218 * gdb.base/corefile.exp: Recognize the message saying that GDB
16219 can't find the core file's registers as a failure.
16220
16221 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
16222
16223 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
16224 test expect string more specific.
16225
16226 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
16227
16228 * gdb.asm/asm-source.exp: Add support for xstormy16.
16229 * gdb.asm/configure.in: Ditto.
16230 * gdb.asm/configure: Rebuild.
16231 * gdb.asm/xstormy16.inc: New file.
16232
16233 2001-12-10 Fred Fish <fnf@redhat.com>
16234
16235 * gdb.base/maint.exp: Update to match changes in type dumping code.
16236
16237 2001-12-10 Jim Blandy <jimb@redhat.com>
16238
16239 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
16240 matching the entry point symbol's name at the beginning of the
16241 line.
16242
16243 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
16244
16245 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
16246 gdb.c++/inherit.exp, gdb.c++/method.exp,
16247 gdb.c++/namespace.exp, gdb.c++/templates.exp,
16248 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
16249 and class layout support.
16250
16251 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
16252
16253 * gdb.c++/classes.exp: Add test for static member function.
16254 * gdb.c++/misc.cc: Add class with static member function.
16255
16256 2001-12-07 Jim Blandy <jimb@redhat.com>
16257
16258 If GDB says it can't find the struct the function returned, report
16259 those tests as `unsupported'.
16260 * gdb.base/call-rt-st.exp (print_struct_call): New function.
16261 Rewrite subsequent tests to use it.
16262
16263 If GDB says it can't find the struct the function returned, report
16264 those tests as `unsupported'.
16265 * gdb.base/structs.exp (call_struct_func): New function.
16266 (do_function_calls): Use call_struct_func to call the functions
16267 returning structs.
16268
16269 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
16270 whether functions are prototyped or not, so we can't possibly pass
16271 arguments to t_float_values2 properly.
16272
16273 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
16274 value of `timeout' for targets other than the mips*tx39-*.
16275
16276 2001-12-06 Michael Snyder <msnyder@redhat.com>
16277
16278 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
16279 and detect whether the start symbol has a leading underscore.
16280
16281 2001-12-04 Jim Blandy <jimb@redhat.com>
16282
16283 * gdb.base/completion.exp: Clarify indentation.
16284
16285 2001-12-03 Jim Blandy <jimb@redhat.com>
16286
16287 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
16288 variables on the S/390, not `.word'.
16289
16290 2001-11-30 Jim Blandy <jimb@redhat.com>
16291
16292 Add assembly-source tests for s390-ibm-linux.
16293 * gdb.asm/s390.inc: New file.
16294 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
16295 the S/390 architecture.
16296 * gdb.asm/configure: Regenerated.
16297
16298 2001-11-30 Michael Snyder <msnyder@redhat.com>
16299
16300 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
16301 next, info source, info sources, info line, global and static
16302 variables, and static functions.
16303 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
16304 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
16305 * gdb.asm/asmsrc1.s: Add a static function and some variables.
16306 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
16307 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
16308 (gdbasm_leave): Restore frame pointer.
16309 (gdbasm_startup): Copy stack set-up from crt0.S.
16310
16311 2001-11-26 Fernando Nasser <fnasser@redhat.com>
16312
16313 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
16314 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
16315 to a local (non-static) variable. Copy tstruct.a to a static buffer
16316 and return a pointer to that buffer.
16317 * gdb.base/callfwmall.c (t_structs_a): Ditto.
16318
16319 2001-11-24 Mark Kettenis <kettenis@gnu.org>
16320
16321 * gdb.asm/configure.in: Fix recognition of ix86 target.
16322 * gdb.asm/configure: Regenerate.
16323
16324 2001-11-21 Michael Snyder <msnyder@redhat.com>
16325
16326 * gdb.asm/sparc.inc: New file.
16327 * gdb.asm/asm-source.exp: Recognize sparc target.
16328 * gdb.asm/configure.in: Recognize sparc target.
16329 * gdb.asm/configure: Regenerate.
16330
16331 2001-11-21 Michael Snyder <msnyder@redhat.com>
16332
16333 * gdb.asm/m32r.inc: New file.
16334 * gdb.asm/asm-source.exp: Recognize m32r target.
16335 * gdb.asm/configure.in: Recognize m32r target.
16336 * gdb.asm/configure: Regenerate.
16337
16338 2001-11-20 Michael Snyder <msnyder@redhat.com>
16339
16340 * gdb.asm/i386.inc: New file.
16341 * gdb.asm/asm-source.exp: Recognize ix86 target.
16342 * gdb.asm/configure.in: Recognize ix86 target.
16343 * gdb.asm/configure: Regenerate.
16344
16345 * gdb.c++/namespace.exp: Fix quotes in output messages.
16346
16347 2001-11-14 Michael Snyder <msnyder@redhat.com>
16348
16349 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
16350 qualifier in a type cast expression, to designate an address
16351 in the instruction space (Harvard architecture).
16352
16353 2001-11-13 Michael Snyder <msnyder@redhat.com>
16354
16355 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
16356 Tests for expressions using 'const' and 'volatile'.
16357
16358 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
16359
16360 * gdb.asm/asm-sources.exp: Allow defining linker flags.
16361
16362 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
16363
16364 * lib/mi-support.exp (mi_run_to_helper): Move comments
16365 outside of gdb_expect.
16366
16367 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
16368
16369 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
16370 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
16371 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
16372 mi0_run_to): New functions.
16373 * gdb.mi/mi-simplerun.exp: Use them.
16374 * gdb.mi/mi0-simplerun.exp: Likewise.
16375 * gdb.mi/mi-var-cmd.exp: Likewise.
16376 * gdb.mi/mi0-var-cmd.exp: Likewise.
16377
16378 2001-11-10 Andrew Cagney <ac131313@redhat.com>
16379
16380 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
16381 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
16382
16383 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16384
16385 * gdb.base/restore.exp: Include $expected value in restored test
16386 message.
16387
16388 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16389
16390 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16391 implemented.
16392
16393 2001-11-08 Michael Snyder <msnyder@redhat.com>
16394
16395 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16396 Add pass/fail message for stop at breakpoint in call dummy function.
16397
16398 2001-11-07 Michael Snyder <msnyder@redhat.com>
16399
16400 * gdb.c++/templates.exp (test_template_breakpoints):
16401 If we get an overload menu, but it does not match what
16402 we expect, we still need to issue the "cancel" command.
16403 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16404 making the whitespace optional. Argument for "new" may be
16405 "unsigned" as well as "unsigned int/long".
16406 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
16407 making the whitespace optional. Also replace "(void) with
16408 "((void|)), making the keyword "void" optional.
16409 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
16410 making the whitespace optional. Also replace "(void) with
16411 "((void|)), making the keyword "void" optional.
16412 * gdb.base/callfuncs.c (t_float_values): This function must
16413 _not_ be prototyped, and the following function (t_float_values2)
16414 must be prototyped (if the compiler supports it), so that GDB
16415 can be tested against both cases. Usually one case involves
16416 promotion of float to double, while the other does not.
16417 * gdb.base/callfwmall.c: Ditto.
16418 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16419 includes a stack frame for "start".
16420
16421 2001-11-05 Jim Blandy <jimb@redhat.com>
16422
16423 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16424 pointers are 32 bits long, and that offsets of relocs are always
16425 stored in the data (REL-style), and not in the reloc entry itself
16426 (RELA-style).
16427 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16428 stabs.
16429
16430 2001-11-01 Michael Snyder <msnyder@redhat.com>
16431
16432 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16433 and regular expression operators by using quoting.
16434
16435 2001-10-31 Michael Snyder <msnyder@redhat.com>
16436
16437 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16438 depending on what the symbol table contains.
16439 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16440 the output of the ptype command. Similarly, accept both "const &"
16441 and "const&".
16442
16443 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
16444
16445 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16446 symbol `STORAGE' to allow to choose the storage class of
16447 the local datastructures.
16448 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16449 compiler directive.
16450
16451 2001-10-30 Michael Snyder <msnyder@redhat.com>
16452
16453 * gdb.base/jump.exp: Allow it to run for all targets.
16454
16455 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16456
16457 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16458 with new double_array size.
16459 (main): Change storage class of all local variables to static.
16460 Reduce size of double_array to 9.
16461 * gdb.base/call-ar-st.exp: Increase timeout value.
16462 Change expected output for double array to match new size in
16463 call-ar-st.c.
16464
16465 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16466
16467 * gdb.base/ending-run.exp: Create identical output when passing
16468 `step to end of run' case. Add regular expression branch satisfying
16469 Stormy16 target.
16470
16471 2001-10-28 Mark Kettenis <kettenis@gnu.org>
16472
16473 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16474 that we catch the expected failure under Linux/x86.
16475
16476 2001-10-29 Orjan Friberg <orjanf@axis.com>
16477
16478 * gdb.base/setvar.exp: Escape curly braces.
16479 * gdb.stabs/weird.exp: Ditto.
16480
16481 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
16482
16483 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16484 * gdm.mi/mi0-hack-cli.exp: Likewise.
16485
16486 2001-10-25 Andrew Cagney <ac131313@redhat.com>
16487
16488 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16489 messages.
16490
16491 2001-10-21 Andrew Cagney <ac131313@redhat.com>
16492
16493 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16494 checking MI enabled.
16495
16496 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
16497
16498 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16499
16500 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
16501
16502 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16503 if gdb child process crashes, just signal an error.
16504
16505 2001-10-02 Jim Blandy <jimb@redhat.com>
16506
16507 * lib/gdb.exp (test_xfail_format): Simplify.
16508
16509 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16510 front of the variable name `format'. Simplify `if'.
16511
16512 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16513
16514 * gdb.threads/pthreads.exp: Wait for output and delay
16515 before sending ^C.
16516
16517 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16518
16519 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16520 some incorrect output instead of timing out.
16521 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16522
16523 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
16524
16525 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
16526 check to allow additional `int'.
16527
16528 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
16529
16530 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
16531 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
16532
16533 2001-09-27 Michael Snyder <msnyder@redhat.com>
16534
16535 * lib/gdb.exp (test_debug_format): New proc.
16536 (setup_xfail_format): Use new proc test_debug_format.
16537 * gdb.base/constvars.exp (local_compiler_xfail_check): New
16538 proc; use new service proc test_debug_format.
16539 Replace all other "gcc_compiled" tests with this test.
16540 * gdb.base/volatile.exp (local_compiler_xfail_check): New
16541 proc; use new service proc test_debug_format.
16542 Replace all other "gcc_compiled" tests with this test.
16543
16544 2001-09-27 Michael Snyder <msnyder@redhat.com>
16545
16546 * gdb.base/cvexpr.exp: New file.
16547 * gdb.base/cvexpr.c: New file
16548 Test for expressions using const and volatile keywords.
16549
16550 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
16551
16552 * gdb.base/constvars.exp: Check for different orders of keywords
16553 and additional "int" strings in output.
16554
16555 2001-09-22 Andrew Cagney <ac131313@redhat.com>
16556
16557 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
16558 responses from "help maint".
16559
16560 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
16561
16562 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
16563 to localhost:NNN instead of :NNN, in case Xvfb is listening
16564 only on TCP.
16565
16566 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
16567
16568 * gdb.base/recurse.exp: When checking leaving the watchpoint
16569 scope, recognize when gdb is in function's epilogue and pass.
16570
16571 2001-09-18 Keith Seitz <keiths@redhat.com>
16572
16573 * lib/insight-support.exp (_gdbtk_export_target_info): Add
16574 support for running tests against sid targets.
16575 (gdbtk_done): Ditto.
16576
16577 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
16578
16579 * gdb.base/ending-run.c (main): Set stdout buffersize
16580 to the same reasonable value for any target.
16581 * gdb.base/ending-run.exp: Add a regular expression
16582 to make testsuite happy on Sanyo Stormy16 target.
16583
16584 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
16585
16586 * gdb.base/display.c (do_loops): Add float variable `f'.
16587 Increment f in loop.
16588 * gdb.base/display.exp: Increment timeout by 60 seconds.
16589 Change float display test to use variable `f'.
16590
16591 2001-09-17 Jim Blandy <jimb@redhat.com>
16592
16593 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
16594 overflowing the limited breakpoint tables on some ROM monitors
16595 (like the ROM68K).
16596
16597 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
16598
16599 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
16600 the "-ac" (disable access control) flag.
16601
16602 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
16603
16604 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
16605 ints.
16606
16607 2001-08-30 Keith Seitz <keiths@redhat.com>
16608
16609 * lib/gdb.exp: Move all insight-related functionality into
16610 separate file.
16611 * lib/insight-support.exp: New file.
16612
16613 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
16614
16615 * config/sid.exp (sid_start): Never set sid verbosity; disable
16616 expect_background {} that consumed its stdout; tolerate </dev/null.
16617 Attempt to set endianness override in "sid" protocol mode. Cleanup.
16618
16619 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16620
16621 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
16622 CLI jump command to start it.
16623 (mi_run_to_main): Fail immediatly when unexpected output.
16624
16625 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16626
16627 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
16628 beginning of function. Fix PR gdb/191.
16629
16630 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
16631
16632 * config/sid.exp (sid_start): Don't warn if we cannot figure out
16633 what to force sid endianness to.
16634
16635 2001-08-15 Keith Seitz <keiths@redhat.com>
16636
16637 * lib/gdb.exp (gdbtk_start): Don't set environment
16638 variables for TCL_LIBRARY and friends. Insight will
16639 now figure these out for itself.
16640
16641 2001-08-02 Michael Snyder <msnyder@redhat.com>
16642
16643 * gdb.base/completion.exp: Remove the symbol "a64l" from
16644 the expect string; this is target-specific, and not related
16645 to what is being tested.
16646
16647 2001-08-02 Dave Brolley <brolley@redhat.com>
16648
16649 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
16650
16651 2001-07-25 Michael Snyder <msnyder@redhat.com>
16652
16653 * gdb.base/consecutive.exp: New file. Test stepping over
16654 breakpoints on consecutive instructions.
16655 * gdb.base/consecutive.c: New file.
16656
16657 * gdb.base/call-rt-st.exp: Use double-backslash to quote
16658 curly braces in regular expressions.
16659
16660 2001-07-25 Michael Snyder <msnyder@redhat.com>
16661
16662 * gdb.base/ending-run.exp: Accept "Program exited normally" as
16663 legitimate output from stepping out of main.
16664
16665 2001-07-22 Keith Seitz <keiths@redhat.com>
16666
16667 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
16668 the empty string, do not run the tests.
16669
16670 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16671
16672 * gdb.base/long_long.exp: Detect size of pointer. Take into
16673 account 2-byte pointers when testing for p/a results.
16674
16675 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16676
16677 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
16678 and defined to 1K for m68hc11.
16679 (random_data): Reduce table to 1K for embedded platforms (68hc11).
16680 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
16681 (sizeof_random_data): New variable to tell the size of the data table;
16682 don't test past this size; always run to main.
16683
16684 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16685
16686 * gdb.base/return2.exp: return of long long and double fails for
16687 68HC11; don't execute these tests on that platform.
16688 * gdb.base/return.exp: Return of a double fails for 68hc11.
16689
16690 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16691
16692 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
16693 tests that print a float.
16694 * call-rt-st.exp: Likewise.
16695
16696 2001-07-12 Mark Kettenis <kettenis@gnu.org>
16697
16698 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
16699 running this test on Linux.
16700
16701 2001-06-24 Michael Chastain <chastain@redhat.com>
16702
16703 * gdb.base/arithmet.exp: Remove some tests to make all test names
16704 unique.
16705
16706 2001-07-03 Michael Snyder <msnyder@redhat.com>
16707
16708 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
16709 the output of the ptype command.
16710
16711 2001-07-02 Michael Snyder <msnyder@redhat.com>
16712
16713 * gdb.base/completion.exp: Don't assume that break.c is the only
16714 source file that may contain functions named "marker".
16715 * gdb.base/corefile.exp: Quote the curly braces in regexp.
16716
16717 2001-06-28 Andrew Cagney <ac131313@redhat.com>
16718
16719 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
16720 of files to delete.
16721
16722 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
16723 * gdb.disasm/h8300s.exp: New file.
16724 gdb.disasm/h8300s.s: Likewise.
16725
16726 2001-06-27 Andrew Cagney <ac131313@redhat.com>
16727
16728 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
16729 empty breakpoint tables.
16730
16731 2001-06-25 Andrew Cagney <ac131313@redhat.com>
16732
16733 * lib/mi-support.exp: Update args=... part of stop-reason
16734 patterns. Accept either a list or a tuple.
16735
16736 2001-06-23 Andrew Cagney <ac131313@redhat.com>
16737
16738 * lib/mi-support.exp: Remove local emacs variable defining
16739 change-log-default-name.
16740
16741 2001-06-22 Michael Chastain <chastain@redhat.com>
16742
16743 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
16744 This is operationally compatible with the previous version.
16745
16746 2001-06-13 Jim Blandy <jimb@redhat.com>
16747
16748 * lib/gdb.exp (gdb_test): Doc fix.
16749
16750 2001-06-10 Michael Chastain <chastain@redhat.com>
16751
16752 * gdb.base/exprs.exp: Remove a duplicate test.
16753
16754 2001-06-06 Jim Blandy <jimb@redhat.com>
16755
16756 * gdb.base/return2.exp (main): Use values to test float and double
16757 returns that are not NaN's, to avoid being confused by IEEE
16758 comparison rules.
16759
16760 2001-06-04 Michael Snyder <msnyder@redhat.com>
16761
16762 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
16763 non-zero if control_c fails. Terminate the test on failure,
16764 rather than wait for 12 more tests to time out.
16765
16766 2001-06-06 Jim Blandy <jimb@redhat.com>
16767
16768 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
16769 Don't forget to match the GDB prompt.
16770
16771 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
16772
16773 2001-06-04 Jim Blandy <jimb@redhat.com>
16774
16775 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
16776 command.
16777
16778 2001-05-31 Kevin Buettner <kevinb@redhat.com>
16779
16780 * gdb.base/annota1.exp (info break): Match four or more spaces
16781 after "Address".
16782
16783 2001-05-31 Michael Chastain <chastain@redhat.com>
16784
16785 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
16786 (dm_type_int_star): Likewise.
16787 (dm_type_long_star): Likewise.
16788 (dm_type_void_star): Likewise.
16789
16790 2001-05-29 Kevin Buettner <kevinb@redhat.com>
16791
16792 * gdb.base/completion.exp (INPUTRC): Set this environment variable
16793 to a known value in order to get consistent results regardless
16794 of the setting of INPUTRC or the presence or contents of .inputrc.
16795
16796 2001-05-24 Michael Snyder <msnyder@redhat.com>
16797
16798 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
16799 Don't require that the main thread and the manager thread are the
16800 first in the list.
16801
16802 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
16803 debugging. If test fails, issue an "unsupported" not a "fail".
16804
16805 2001-05-24 Jim Blandy <jimb@redhat.com>
16806
16807 Don't assume that short is shorter than int.
16808 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
16809 assume that shorts are smaller than ints. On a 16-bit machine,
16810 this isn't true.
16811 ("print unsigned char == (~0)"): Add test that verifies that ~0,
16812 an int, is not equal to ~0 stored in an unsigned char. This tests
16813 the same thing that the previous test meant to, but works on
16814 16-bit machines, too.
16815 ("print unsigned char != (~0)"): Same test, complemented.
16816
16817 2001-05-24 Michael Snyder <msnyder@redhat.com>
16818
16819 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
16820 test for (full_coverage == 0). This makes the test run faster,
16821 and prevents dejagnu getting out of step.
16822
16823 2001-05-23 Kevin Buettner <kevinb@redhat.com>
16824
16825 * gdb.base/finish.exp (finish_void): Revise pattern for
16826 stopping on the call statement to not permit stopping at
16827 the start of the instructions comprising the call sequence.
16828
16829 2001-05-19 Michael Chastain <chastain@redhat.com>
16830
16831 * gdb.base/callfuncs.exp: Make all test names unique.
16832 * gdb.base/commands.exp: Make all test names unique.
16833 * gdb.base/condbreak.exp: Make all test names unique.
16834 * gdb.base/dbx.exp: Make all test names unique.
16835 * gdb.base/default.exp: Make all test names unique.
16836 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
16837 and TIMEOUT messages to their corresponding PASS message.
16838 * gdb.base/ending-run.exp: Make all test names unique.
16839 * gdb.base/long_long.exp: Remove duplicate test.
16840
16841 2001-05-21 Kevin Buettner <kevinb@redhat.com>
16842
16843 * gdb.base/finish.exp (finish_void): Allow "finish" command to
16844 stop on the call statement as well as the statement after the
16845 call.
16846
16847 2001-05-21 Michael Snyder <msnyder@redhat.com>
16848
16849 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
16850
16851 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16852
16853 * gdb.base/completion.exp: Revamp test. Make it execute on all
16854 platforms.
16855
16856 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16857
16858 * config/gdbserver.exp (gdb_load): Handle the case
16859 in which the arguments to gdbserver are given in the
16860 baseboard configuration file.
16861 Also handle the case in which the server needs to do a
16862 load.
16863
16864 2001-05-07 Keith Seitz <keiths@cygnus.com>
16865
16866 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
16867 set up the display for testing.
16868 (gdbtk_start): Convert all paths to paths that tcl will like.
16869 Export target information to environment.
16870 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
16871 necessary.
16872 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
16873 (to_tcl_path): New proc to convert a given pathname into
16874 a path acceptible as an argument to a tcl command.
16875 (_gdbtk_export_target_info): New proc to export target info
16876 into the environment for gdbtk testing.
16877 (gdbtk_done): New proc to signal end-of-test.
16878
16879 2001-05-06 Jim Blandy <jimb@redhat.com>
16880
16881 * restore.c: Make the code of caller0 correspond to its comment.
16882
16883 2001-05-03 Michael Snyder <msnyder@redhat.com>
16884
16885 * config/sid.exp (gdb_target_sid): Check for error messages.
16886 On error or timeout, don't make expect exit (which will terminate
16887 all subsequent tests); instead just make gdb exit.
16888 (gdb_load): Check for error messages. On error or timeout,
16889 return a negative value.
16890
16891 2001-04-24 Jim Blandy <jimb@redhat.com>
16892
16893 * gdb.c++/templates.exp: If we see the prompt for the overload
16894 list, but we haven't recognized any of the longer patterns,
16895 arrange for this test to fail, not hang.
16896
16897 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
16898 variations.
16899
16900 2001-04-22 Michael Chastain <chastain@redhat.com>
16901
16902 * gdb.c++/local.exp: Use the 'runto' library function.
16903 * gdb.c++/namespace.exp: Likewise.
16904 * gdb.c++/overload.exp: Likewise.
16905
16906 2001-03-26 Kevin Buettner <kevinb@redhat.com>
16907
16908 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
16909 * gdb.base/step-line.exp: New file. Test step/next in presence of
16910 #line directives.
16911 * gdb.base/step-line.c: New file. Test program for the above.
16912 * gdb.base/step-line.inp: New file. We pretend that this file has
16913 been transformed by some other tool into step-line.c.
16914
16915 2001-03-21 Jim Blandy <jimb@redhat.com>
16916
16917 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
16918 unmangled operator names.
16919
16920 2001-03-20 Jim Blandy <jimb@redhat.com>
16921
16922 * gdb.threads/linux-dp.exp: Recognize an additional message
16923 generated by GDB when it doesn't understand how to debug threads
16924 on the target system.
16925
16926 2001-03-19 Andrew Cagney <ac131313@redhat.com>
16927
16928 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
16929
16930 2001-03-12 Michael Chastain <chastain@redhat.com>
16931
16932 * gdb.c++/derivation.exp: Use the 'runto' library function.
16933
16934 2001-03-12 Michael Chastain <chastain@redhat.com>
16935
16936 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
16937
16938 2001-02-24 Michael Chastain <chastain@redhat.com>
16939
16940 * gdb.c++/ref-types.exp: Change handwritten code to library
16941 function 'runto'.
16942
16943 2001-03-16 Orjan Friberg <orjanf@axis.com>
16944
16945 * gdb.base/signals.exp: Set count to 0 explicitly.
16946
16947 2001-03-15 Mark Salter <msalter@redhat.com>
16948
16949 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
16950 (gdb_target_monitor): Add check of gdb_target_cmd return value.
16951 (gdb_load): Add support for additional target_info: gdb_download_size
16952 and gdb_load_timeout.
16953
16954 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
16955
16956 * gdb.base/annota1.exp: Move test of isnative to earlier in the
16957 file -- to prevent failing when the compile fails but we have no
16958 intention of running the tests anyway.
16959
16960 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
16961 tests if set.
16962
16963 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
16964 integers.
16965
16966 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
16967 * gdb.c++/namespace.exp: Ditto.
16968
16969 2001-03-07 Orjan Friberg <orjanf@axis.com>
16970
16971 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
16972 * gdb.base/pointers.exp: Relax pattern match of decimals.
16973
16974 2001-03-06 Kevin Buettner <kevinb@redhat.com>
16975
16976 * Makefile.in, config/abug.exp, config/cfdbug.exp,
16977 config/cpu32bug.exp, config/dve.exp, config/est.exp,
16978 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
16979 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
16980 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
16981 config/sh.exp, config/sid.exp, config/slite.exp,
16982 config/sparclet.exp, config/udi.exp, config/unknown.exp,
16983 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
16984 config/vxworks.exp, config/vxworks29k.exp,
16985 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
16986 gdb.base/all-bin.exp, gdb.base/annota1.exp,
16987 gdb.base/arithmet.exp, gdb.base/assign.exp,
16988 gdb.base/async.exp, gdb.base/attach.exp,
16989 gdb.base/bitfields.exp, gdb.base/bitops.exp,
16990 gdb.base/break.exp, gdb.base/call-ar-st.exp,
16991 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
16992 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
16993 gdb.base/commands.exp, gdb.base/completion.exp,
16994 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16995 gdb.base/constvars.exp, gdb.base/corefile.exp,
16996 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
16997 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
16998 gdb.base/ending-run.exp, gdb.base/environ.exp,
16999 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
17000 gdb.base/finish.exp, gdb.base/foll-exec.exp,
17001 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
17002 gdb.base/funcargs.exp, gdb.base/help.exp,
17003 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
17004 gdb.base/logical.exp, gdb.base/long_long.exp,
17005 gdb.base/maint.exp, gdb.base/mips_pro.exp,
17006 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
17007 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
17008 gdb.base/pointers.exp, gdb.base/printcmds.exp,
17009 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
17010 gdb.base/regs.exp, gdb.base/relational.exp,
17011 gdb.base/remote.exp, gdb.base/reread.exp,
17012 gdb.base/restore.exp, gdb.base/return2.exp,
17013 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
17014 gdb.base/selftest.exp, gdb.base/setshow.exp,
17015 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
17016 gdb.base/sigall.exp, gdb.base/signals.exp,
17017 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
17018 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
17019 gdb.base/step-test.exp, gdb.base/structs.c,
17020 gdb.base/structs.exp, gdb.base/structs2.exp,
17021 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
17022 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
17023 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
17024 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17025 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
17026 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
17027 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
17028 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
17029 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
17030 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
17031 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
17032 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
17033 gdb.fortran/types.exp, gdb.java/jmisc.exp,
17034 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
17035 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
17036 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
17037 gdb.trace/circ.exp, gdb.trace/collection.exp,
17038 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
17039 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
17040 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
17041 gdb.trace/report.exp, gdb.trace/save-trace.exp,
17042 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
17043 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
17044 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
17045 notices.
17046
17047 2001-02-27 Michael Snyder <msnyder@cygnus.com>
17048
17049 * gdb.base/varargs.c (find_max_double): Fix printf format string:
17050 first arg is int not float.
17051
17052 2001-02-22 Michael Snyder <msnyder@cygnus.com>
17053
17054 * gdb.base/reread.exp: Unsupported for non-native targets;
17055 doesn't work for remote debugging.
17056
17057 2001-02-19 Fernando Nasser <fnasser@redhat.com>
17058
17059 From Drew Moseley <dmoseley@redhat.com>
17060 * gdb.base/ending-run.exp: Properly handle the BSP state when
17061 stepping past the end of main.
17062
17063 2001-02-19 John Moore <jmoore@redhat.com>
17064
17065 * gdb.base/commands.exp (infrun_breakpoint_command_test):
17066 Converted HPUX fix for non-expected items following multiple
17067 step commands into general solution for all platforms.
17068
17069 2001-02-18 Michael Chastain <chastain@redhat.com>
17070
17071 * gdb.c++/classes.exp (do_tests): Change runto statements
17072 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17073 statements demangler agnostic.
17074 * gdb.c++/virtfunc.exp (do_tests): Likewise.
17075 (gdb_virtfunc_restart): Likewise.
17076
17077 2001-02-14 Michael Chastain <chastain@redhat.com>
17078
17079 * gdb.c++/inherit.exp (do_tests): Change runto statements
17080 from "runto 'foo(void)'" to "runto 'foo'". This makes the
17081 statements demangler agnostic.
17082
17083 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
17084
17085 * gdb.threads/pthreads.exp: Unify pass/fail messages for
17086 ``continue to bkpt at common_routine in thread 2'' and ``stopped
17087 before calling common_routine 15 times'' tests.
17088
17089 2001-02-11 Michael Chastain <chastain@redhat.com>
17090
17091 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
17092 Helps the test script figure out which demangler is in use.
17093 (dm_type_foo_ref): Ditto.
17094 (dm_type_int_star): Ditto.
17095 (dm_type_long_star): Ditto.
17096 (dm_type_unsigned_int): Ditto.
17097 (dm_type_void): Ditto.
17098 (dm_type_void_star): Ditto.
17099 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
17100 Probe the gdb demangler and set variables to accommodate
17101 formatting differences.
17102 (info_func_regexp): New function. Same as info_func, but
17103 matches against a regexp.
17104 (info_func): Match against a literal string.
17105 (print_addr_2): New function. Match against a literal string,
17106 which can be different from the input to gdb.
17107 (print_addr): Simply call print_addr_2 with the same argument twice.
17108 (test_lookup_operator_functions): Use demangler formatting variables.
17109 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
17110 the tests in the same order as the C++ class declaration.
17111 (test_paddr_operator_functions): Ditto.
17112 (test_paddr_overloaded_functions): Ditto.
17113 (test_paddr_hairy_functions): Use demangler formatting variables.
17114 Add reference to gdb/19 for related tests.
17115 (do_tests): Call probe_demangler.
17116
17117 2001-01-30 Kevin Buettner <kevinb@redhat.com>
17118
17119 * gdb.c++/templates.cc (printf): Remove unused function definition.
17120
17121 2001-01-26 Felix Lee <flee@redhat.com>
17122
17123 * sid.exp (sid_exit): Pass host, not target, to remote_close.
17124
17125 2001-01-25 matthew green <mrg@redhat.com>
17126
17127 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
17128 up sid.
17129 (sid_exit): Call `remote_pop_conn' after GDB is gone.
17130
17131 2001-01-25 matthew green <mrg@redhat.com>
17132
17133 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
17134 Deprecate $sid_spawn_id.
17135 (sid_exit): Remove code necessary only for `spawn.'
17136
17137 2001-01-25 matthew green <mrg@redhat.com>
17138
17139 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
17140
17141 2001-01-28 Michael Chastain <chastain@redhat.com>
17142
17143 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
17144 to call when tests fail. It takes gdb out of the overloaded
17145 function choice menu back to the main prompt, so that the test
17146 program stays synchronized.
17147 (set_bp_overloaded): New proc to collect all the common
17148 code for setting a breakpoint on an overloaded name. Calls
17149 take_gdb_out_of_choice_menu when needed.
17150 (menu_overload1arg): New variable to collect the repeated
17151 instances of the expected menu for an overloaded name. Change
17152 the regular expression to handle changes in g++ type encoding:
17153 "void" can be either "void" or "", and "unsigned int" can be
17154 either "unsigned int" or "unsigned".
17155 (continue_to_bp_overloaded): Change regular expressions to handle
17156 changes in g++ type encoding.
17157 (no proc): Call take_gdb_out_of_choice_menu when needed.
17158 Remove redundant calls to "info break". Accept either "canceled"
17159 or "cancelled". Change regular expressions in "info break"
17160 calls to handle changes in g++ type encoding. Give all tests
17161 unique strings.
17162
17163 2001-01-17 Ben Elliston <bje@redhat.com>
17164
17165 * config/sid.exp: New file.
17166
17167 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
17168
17169 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
17170
17171 2000-12-21 Michael Snyder <msnyder@cygnus.com>
17172
17173 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
17174 Add a RE to accept a non-ascii char if one is ever presented.
17175
17176 2000-12-20 Fernando Nasser <fnasser@redhat.com>
17177
17178 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
17179
17180 2000-12-18 Michael Snyder <msnyder@cygnus.com>
17181
17182 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
17183 in regexp. One '\' does not suffice on Linux.
17184
17185 2000-12-09 Michael Chastain <chastain@redhat.com>
17186
17187 * gdb.base/break.exp (test_clear_command): Use a marker function
17188 rather than 'main' for the test function. Also move this
17189 test to an execution point where the marker function names are
17190 guaranteed to be bound to functions. (Executing tests after a
17191 'finish' from main runs into name conflicts with local names
17192 in __libc_start_main).
17193
17194 2000-12-07 Michael Snyder <msnyder@cygnus.com>
17195
17196 * gdb.base/finish.exp: New test for gdb's "finish" command.
17197 * gdb.base/return2.exp: New test for gdb's "return" command.
17198 * gdb.base/return2.c: New source file for above.
17199
17200 2000-12-05 Michael Snyder <msnyder@cygnus.com>
17201
17202 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
17203 * gdb.base/miscexprs.exp: Ditto.
17204 * gdb.base/pointers.exp: Ditto.
17205 * gdb.c++/derivation.exp: Ditto.
17206 * gdb.c++/local.exp: Ditto.
17207 * gdb.c++/namespace.exp: Ditto.
17208 * gdb.c++/overload.exp: Ditto.
17209 * gdb.c++/ref-types.exp: Ditto.
17210
17211 2000-12-05 Michael Snyder <msnyder@cygnus.com>
17212
17213 * gdb.base/constvars.exp: Test result of "up" command.
17214 * gdb.base/miscexprs.exp: Ditto.
17215 * gdb.base/pointers.exp: Ditto.
17216 * gdb.base/scope.exp: Ditto.
17217 * gdb.c++/derivation.exp: Ditto.
17218 * gdb.c++/local.exp: Ditto.
17219 * gdb.c++/namespace.exp: Ditto.
17220 * gdb.c++/overload.exp: Ditto.
17221 * gdb.c++/ref-types.exp: Ditto.
17222
17223 2000-11-22 Michael Chastain <chastain@redhat.com>
17224
17225 * mips_pro.exp: Accept either "middle -> top -> main" or
17226 "middle -> main" in the backtrace, because gcc can optimize
17227 tail calls to jumps. Remove setup_xfail for the hppa case.
17228 Add a comment with the original warning messages from PR 3016,
17229 which was filed in 1993, to preserve them for posterity.
17230
17231 2000-11-17 Nick Duffek <nsd@redhat.com>
17232
17233 * lib/gdb.exp (gdb_test): Override timeout with board info.
17234
17235 2000-11-17 Nick Duffek <nsd@redhat.com>
17236
17237 * gdb.base/display.exp: Don't kill running stub. Add "again" to
17238 the second kill and detach messages.
17239
17240 2000-11-17 Nick Duffek <nsd@redhat.com>
17241
17242 * configure.in: Add AC_EXEEXT.
17243 * configure: Regenerate.
17244 * Makefile.in (just-check): Export EXEEXT.
17245 * lib/gdb.exp ($EXEEXT): Import from environment.
17246 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
17247 expect "maint dump-me" on Cygwin.
17248 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
17249 $EXEEXT.
17250
17251 2000-11-17 Nick Duffek <nsd@redhat.com>
17252
17253 * gdb.base/break.exp: Test backtrace and finish from called
17254 function on all platforms, not just HP-UX.
17255
17256 2000-11-03 Michael Snyder <msnyder@cygnus.com>
17257
17258 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
17259 code from gdb_target_monitor, so it can be used independantly
17260 for gdbserver. Also comment out an unnecessary PUTS.
17261
17262 2000-11-03 Michael Snyder <msnyder@cygnus.com>
17263
17264 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
17265 * gdb.base/corefile.exp: Expect the message "Program is being
17266 debugged already" when we send the "corefile" command, since
17267 the preceeding gdb_load may have connected gdb to a remote target.
17268 * gdb.base/display.exp: Disable hardware watchpoints if new
17269 board info variable "no_hardware_watchpoints" is true.
17270 Replace single-letter commands with more readable ones.
17271 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
17272 if new board info variable "no_hardware_watchpoints" is true.
17273 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
17274 to see if stdio (printf) testing is possible.
17275 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
17276 board info variable "no_hardware_watchpoints" is true. Use new
17277 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
17278
17279 2000-11-13 Fernando Nasser <fnasser@redhat.com>
17280
17281 From Orjan Friberg <orjanf@axis.com>:
17282 * gdb.base/printcmds.exp: Escape curly braces followed by a number
17283 in array print pattern match.
17284
17285 2000-11-09 Fernando Nasser <fnasser@redhat.com>
17286
17287 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
17288 spelling "cancelled" to U.S. spelling "canceled" to match changes
17289 made to gdb.
17290 * gdb.c++/ovldbreak.exp: Ditto.
17291
17292 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17293
17294 * gdb.base/callfuncs.c (main): Moved to end of file, call
17295 t_double_values to initialize the FPU before inferior calls are made.
17296 * gdb.base/callfuncs.exp: Test for register preservation after calling
17297 inferior functions. Add tests for continuining, finishing and
17298 returning from a stop in a call dummy.
17299
17300 2000-10-24 Michael Snyder <msnyder@cygnus.com>
17301
17302 * gdb.base/commands.exp: Break up long lines, and re-indent.
17303
17304 2000-10-19 Michael Snyder <msnyder@cygnus.com>
17305
17306 * config/gdbserver.exp: Rewritten from the ground up, to make it
17307 compatible with the current dejagnu tree, and to make it work with
17308 the new "gdbserver" in libremote.
17309
17310 2000-10-16 Michael Snyder <msnyder@cygnus.com>
17311
17312 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
17313 * gdb.base/varargs.exp: Skip entire test if no printf support.
17314 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
17315 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
17316
17317 2000-10-13 Michael Snyder <msnyder@cygnus.com>
17318
17319 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
17320 no floating point support.
17321 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
17322 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
17323 * gdb.base/call-rt-st.exp: Ditto.
17324 * gdb.base/call-strs.exp: Ditto.
17325
17326 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
17327
17328 * gdb.base/sizeof.c: include <stdio.h>.
17329
17330 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
17331 'finish', otherwise uncaptured gdb_prompt would potentially
17332 throw remaining test points out of sync.
17333
17334 2000-07-26 Scott Bambrough <scottb@netwinder.org>
17335
17336 * gdb.base/recurse.exp: Run tests for all targets.
17337 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
17338 gnu-oldld case on ARM.
17339 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17340 for ARM targets.
17341
17342 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17343
17344 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17345 * gdb.java/configure: Rebuild.
17346
17347 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
17348
17349 * gdb.java/jv-exp.exp: New file.
17350
17351 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
17352
17353 * configure: Rebuilt.
17354 * configure.in (configdirs): Add gdb.java.
17355 * gdb.java/jmisc.java: New file.
17356 * gdb.java/jmisc.exp: New file.
17357 * gdb.java/Makefile.in: New file.
17358 * gdb.java/configure: Rebuilt.
17359 * gdb.java/configure.in: New file.
17360 * lib/java.exp: New file.
17361
17362 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
17363
17364 * gdb.base/exprs.exp: Test casts to a pointer including over and
17365 underflow.
17366
17367 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
17368
17369 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
17370 and the compilers sizes.
17371
17372 2000-07-09 Nick Duffek <nsd@redhat.com>
17373
17374 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
17375 (use_methods): New function.
17376 (main): Call use_methods().
17377 * gdb.c++/classes.exp (test_method_param_class): New procedure.
17378 (do_tests): Call test_method_param_class.
17379
17380 2000-07-09 Nick Duffek <nsd@redhat.com>
17381
17382 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
17383 spelling.
17384 (test_enums): New procedure. Move enum tests from end of script
17385 to here. Set breakpoint on function name instead of line number.
17386 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
17387 (enums2): New marker function.
17388 (enums1): New function.
17389 (main): Call enums1(). Move enum tests to enums1().
17390
17391 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17392
17393 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
17394 compile/link program. Update line numbers.
17395 * gdb.asm/d10v.inc: Define ``startup''.
17396 * gdb.asm/asmsrc1.s: Add definition of _start.
17397
17398 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17399
17400 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17401
17402 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17403
17404 * gdb.base/maint.exp: Add 'maint print architecture' item to output
17405 of 'help maint print' command.
17406
17407 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17408
17409 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
17410 they use gdb_expect_list.
17411
17412 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17413
17414 * gdb.base/commands.exp: Use ``set remote
17415 memory-read-packet-size'' instead of ``set endian big'' to test
17416 long commands.
17417
17418 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
17419
17420 * gdb.c++/templates.exp (do_tests): Make all of these work under
17421 g++, and stop skipping them.
17422
17423 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17424 work under g++.
17425
17426 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
17427 initialization.
17428
17429 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17430
17431 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17432 the regular expression: accept an (almost) arbitrary sequence of
17433 "frames-invalid" and "breakpoints-invalid" messages both before
17434 and after the "starting" message.
17435
17436 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17437
17438 * gdb.c++/local.exp: This test has never been known to work with g++.
17439
17440 2000-05-18 Michael Snyder <msnyder@cygnus.com>
17441
17442 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17443 Relax the regular expression a little, make it pass on Solaris 8.
17444
17445 2000-05-12 Kevin Buettner <kevinb@redhat.com>
17446
17447 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
17448 a call, do not require that gdb stop on the line after the call.
17449 Instead, it is permissible for gdb to stop on the line of the
17450 call itself.
17451
17452 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
17453
17454 * gdb.base/break.exp (bp on small function, optimized file):
17455 Add a second pass pattern. The behavior differs here between stabs
17456 and dwarf for one-line functions. Stabs preserves two line symbols
17457 (one before the prologue and one after) with the same line number,
17458 but dwarf regards these as duplicates and discards one of them.
17459 Therefore the address after the prologue (where the breakpoint is)
17460 has no exactly matching line symbol, and GDB reports the breakpoint
17461 as if it were in the middle of a line rather than at the beginning.
17462
17463 2000-05-08 Michael Snyder <msnyder@cygnus.com>
17464
17465 * gdb.base/interrupt.exp: Make "pass" message say "send"
17466 rather than "send_gdb" (for consistancy).
17467
17468 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17469
17470 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17471 * gdb.c++/templates.cc: Properly check for GCC version number.
17472 * lib/compiler.cc: Likewise
17473
17474 2000-04-28 Michael Snyder <msnyder@cygnus.com>
17475
17476 * gdb.base/break.exp: When compiled with -O2 optimization,
17477 gdb may not stop at the first line of main, due to code motion.
17478
17479 2000-04-26 Michael Snyder <msnyder@cygnus.com>
17480
17481 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17482 This test depends on parsing the printf output from the target.
17483 Since the sparclet stub doesn't do stdio, this will never work.
17484 * gdb.base/call-rt-st.exp: ditto.
17485 * gdb.base/call-strs: ditto.
17486
17487 2000-04-24 Michael Snyder <msnyder@cygnus.com>
17488
17489 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17490
17491 * gdb.base/ending-run.exp: After connecting to a remote target,
17492 but before running, the target will appear to be in a random
17493 location. Specify both a file and a line for breakpoints.
17494 Also, the function that calls main may be called 'init'
17495 rather than 'start'.
17496
17497 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17498
17499 * gdb.base/help.exp: Update output for add-symbol-file command.
17500
17501 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
17502
17503 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17504 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17505
17506 2000-04-07 J.T. Conklin <jtc@redback.com>
17507
17508 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17509
17510 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17511
17512 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17513
17514 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
17515 values that can be represented exactly.
17516 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17517 above change, and to not check against the directory part of the source
17518 file name.
17519 (step into print_long_arg_list): Likewise.
17520 (print print_small_structs from print_long_arg_list): Likewise.
17521 (print print_long_arg_list): Likewise.
17522
17523 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17524
17525 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
17526
17527 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
17528
17529 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
17530
17531 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
17532
17533 * gdb.base/commands.exp (deprecated_command_test): Add test for
17534 deprecate with no arguments.
17535
17536 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
17537
17538 * gdb.base/break.exp: Add new test for setting breakpoints on
17539 optimized code so we can test breakpoints work even when function
17540 prologues may be optimized away
17541
17542 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
17543
17544 From David Whedon <dwhedon@gordian.com>
17545 * gdb.base/commands.exp : Added command deprecator tests.
17546
17547 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
17548
17549 * gdb.base/help.exp: Added test for new apropos command.
17550
17551 2000-03-21 Kevin Buettner <kevinb@redhat.com>
17552
17553 * gdb.base/pointers.c (usevar): New function.
17554 (main): Make sure that global variables v_int_pointer2, rptr,
17555 and y are all referenced someplace in the program by calling
17556 usevar() on them. [Some linkers delete symbols which are
17557 never referenced. The space remains, but there's no way to
17558 get a (symbolic) handle on the variable from the debugger.]
17559
17560 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17561
17562 * gdb.base/printcmds.c: Add typedeffed arrays.
17563
17564 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
17565 procedure to test arrays that are typedef'd.
17566
17567 2000-03-13 James Ingham <jingham@leda.cygnus.com>
17568
17569 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
17570 the library directories.
17571
17572 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
17573
17574 * configure.in (configdirs): Add sub directory gdb.mi.
17575 * configure: Re-generate.
17576
17577 * gdb.mi: New directory.
17578
17579 2000-02-25 Scott Bambrough <scottb@netwinder.org>
17580
17581 * gdb.base/long_long.exp: Correct test suite failure when printing
17582 a long long value as a double on ARM platforms.
17583
17584 2000-02-16 Jim Blandy <jimb@redhat.com>
17585
17586 * gdb.base/break.exp ("breakpoint line number"): Make sure the
17587 default source file is set properly before running this test.
17588
17589 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17590
17591 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
17592 gdbtk/library directory, not in gdbtcl2.
17593
17594 2000-02-04 Jim Blandy <jimb@redhat.com>
17595
17596 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
17597 backslash from regexp pattern.
17598
17599 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
17600 procedure. Use it to run all the "continue to bp overloaded"
17601 tests. Note that this changes the names of the tests slightly.
17602 If the breakpoint hit message includes a hex PC value, because
17603 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
17604 from the real source code, still consider that a pass.
17605
17606 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
17607 XFAIL here if the breakpoint message contains a hex address. Note
17608 similar change on 1999-11-02.
17609
17610 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
17611
17612 * gdb.base/ptype.exp: Establish a default source file before
17613 calling get_debug_format.
17614
17615 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
17616
17617 * gdb.base/watchpoint.exp: Remove duplication of test messages.
17618
17619 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17620
17621 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
17622 of successive stepi commands -- while in the prologue we should see
17623 the function entry bracket.
17624
17625 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17626
17627 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
17628 reach __change_mode() when stepping through the end of main().
17629
17630 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
17631
17632 * gdb.base/default.exp: Fix expected pattern.
17633 * gdb.base/help.exp: Same.
17634
17635 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17636
17637 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
17638 Don't use xfail's because that affects only the following test.
17639
17640 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
17641 solaris or linux.
17642
17643 * gdb.base/selftest.exp: Update to reflect changes to main.c.
17644
17645 2000-01-07 Michael Snyder <msnyder@cygnus.com>
17646
17647 * gdb.base/display.exp: Some yacc parsers like to say
17648 "A syntax error" rather than "A parse error". Accept both.
17649
17650 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
17651
17652 * gdb.base/default.exp: Remove OS dependent string from "target
17653 remote" test.
17654 * gdb.base/help.exp: Same for "help target remote" test.
17655
17656 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17657
17658 From Jim Kingdon <kingdon@redhat.com>:
17659
17660 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
17661 prompt (cleanup rather than necessity, but still might keep output
17662 from spilling to next test).
17663
17664 2000-01-02 Fred Fish <fnf@cygnus.com>
17665
17666 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
17667 AIX, which defines them in <sys/types.h>.
17668
17669 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
17670
17671 * gdb.base/default.exp: Match arm* etc instead of arm in "info
17672 float" test.
17673
17674 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
17675
17676 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
17677
17678 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
17679 outermost frame disallowed".
17680
17681 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
17682
17683 * gdb.base/setvar.exp: New tests for setting the value of a struct
17684 with a constant list.
17685
17686 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17687
17688 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
17689 require the user to type a cast before setting the value of a struct.
17690
17691 1999-12-06 Jim Blandy <jimb@cygnus.com>
17692
17693 * gdb.base/default.exp: Expect the new 'info float' command on
17694 all i386 platforms.
17695
17696 * gdb.threads/linux-dp.exp: Expand our ability to recognize
17697 LinuxThreads libraries that don't support debugging.
17698
17699 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17700
17701 * gdb.base/remote.c: Fill the buffer with truely random data.
17702 Change the buffer type to ``unsigned char'' to simplify size
17703 arithmetic.
17704
17705 * gdb.base/remote.exp: Reduce download numbers by one. Typical
17706 stub only handles 400-1 byte packets. Verify that the download
17707 worked.
17708
17709 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
17710
17711 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
17712 tests, using UNRESOLVED for the untested cases. Also, does not wait
17713 for a timeout if the prompt was received before a recognizable pattern.
17714
17715 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
17716
17717 * lib/gdb.exp (gdb_expect_list): Fix spelling.
17718
17719 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17720
17721 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
17722 watchpoints.
17723
17724 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
17725
17726 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
17727
17728 * gdb.c++/local.exp: Be more flexible in recognizing local class
17729 name mangling. Don't allow horribly truncated method names.
17730 * gdb.c++/derivation.exp: Expect protected inheritance.
17731 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
17732 * gdb.c++/virtfunc.exp: Likewise.
17733 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
17734 when printing a nested enum.
17735
17736 1999-11-22 Jim Blandy <jimb@cygnus.com>
17737
17738 * gdb.base/step-test.exp: Properly await GDB's response to setting
17739 a breakpoint on the call to large_struct_by_value.
17740
17741 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
17742 just because we have debug info for the `start' function.
17743
17744 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
17745
17746 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
17747 "Unknown signal" messages, which indicate (on LinuxThreads) that
17748 GDB doesn't know how to debug threads on this system. This is
17749 better than hanging while philosopher 0 dumps chatter into gdb.log.
17750
17751 1999-11-18 Tom Tromey <tromey@cygnus.com>
17752
17753 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
17754
17755 1999-11-18 Fred Fish <fnf@cygnus.com>
17756
17757 * gdb.base/coremaker2.c: Add sample program for generating
17758 cores that is more self contained than coremaker.c. Eventually
17759 I'll add more code to this and tie it into the testsuite.
17760
17761 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
17762
17763 * gdb.base/dollar.exp: Remove, now in gdb.hp.
17764
17765 1999-11-10 Jimmy Guo <guo@cup.hp.com>
17766
17767 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
17768 from $srcdir/lib/.
17769 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
17770 and gdb.c++/.
17771
17772 * gdb.c++/derivation.exp: remove redundant get compiler info code.
17773
17774 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
17775 'continue with watch' test point.
17776
17777 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
17778
17779 Merged from p2linux-990323-branch:
17780
17781 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
17782
17783 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
17784
17785 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
17786 {limit,fixed}''. Test ``set download-write-size''.
17787
17788 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
17789
17790 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
17791 gdb_expect_list.
17792
17793 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
17794
17795 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
17796
17797 1999-11-03 Mark Salter <msalter@cygnus.com>
17798
17799 * gdb.base/break.exp: Fix "stub continue" pattern.
17800
17801 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
17802
17803 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
17804
17805 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
17806
17807 * gdb.base/display.exp ("finish"): Add timeout clause.
17808
17809 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
17810 plain prompt clause, so this doesn't have to time out in order to
17811 fail.
17812
17813 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
17814 breakpoint hit messages include an address.
17815
17816 * gdb.base/display.exp: Don't forget to escape parens in regular
17817 expressions. Unix regexp notatation sucks.
17818
17819 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17820
17821 * gdb.base/annota1.exp: Test for annotate-signalled: change output
17822 order for 'signalled' message.
17823
17824 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
17825
17826 From Jimmy Guo <guo@cup.hp.com>:
17827 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
17828 * gdb.base/annota1.c: Add code for tests to work with.
17829
17830 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
17831
17832 * gdb.base/remote.exp: New test for remote downloading settings.
17833 * gdb.base/remote.c: New file with large .data.
17834
17835 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
17836
17837 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
17838 for LinuxThreads support, merged from the Code Fusion branch.
17839
17840 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
17841
17842 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
17843 containing exp_continue into a while within an expect. Don't
17844 attempt a start more than three times. Check return value from
17845 gdb_load.
17846
17847 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
17848
17849 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
17850 a pass case.
17851
17852 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
17853
17854 * gdb.base/break.c (main): Added a statement that we can step
17855 off of.
17856 * gdb.base/break.exp: Added tests for setting a breakpoint
17857 at an offset and stepping onto a breakpoint.
17858
17859 1999-10-01 Fred Fish <fnf@cygnus.com>
17860
17861 * gdb.base/help.exp (help add-symbol-file): Update to match current
17862 gdb output.
17863
17864 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
17865
17866 * gdb.base/break.exp: Code locations are in hex, don't forget!
17867 (For HP-UX.)
17868
17869 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
17870
17871 * condbreak.exp: Use break.c as test program.
17872 * condbreak.c: Remove, redundant with break.c.
17873
17874 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
17875
17876 * config/monitor.exp (gdb_target_monitor): Disable X- and
17877 Z-packets if the target needs it.
17878
17879 1999-09-13 James Ingham <jingham@leda.cygnus.com>
17880
17881 * gdb.c++/overload.exp: Added tests for listing overloaded
17882 functions with function pointers in the arg, explicitly calling
17883 out the version you want.
17884
17885 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
17886
17887 * long_long.exp: Add variations of test cases that work for
17888 targets with 16-bit ints and 32-bit doubles.
17889
17890 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
17891
17892 * break.c (main): Compare a possibly-uninitialized argc with an
17893 unlikely value that fits in 16 bits.
17894
17895 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
17896
17897 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
17898 0xfeeb, don't want negative numbers if ints are 16 bits.
17899
17900 * lib/gdb.exp (skip_cplus_tests): New proc.
17901 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17902 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
17903 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
17904 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
17905 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
17906 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
17907 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
17908 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
17909
17910 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
17911
17912 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
17913
17914 * gdb.base/corefile.exp (up): Allow a parameter to appear
17915 in the frame that we're going up to.
17916
17917 From Jim Blandy <jimb@cygnus.com>:
17918
17919 * gdb.base/default.exp (info float): Expect some output now.
17920
17921 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
17922 returning floating-point values to fail on the x86.
17923 * gdb.base/callfwmall.exp (do_function_calls): Same.
17924
17925 * gdb.base/list.exp (test_listsize): Correct expectations for
17926 listing line 1 with listsize 2. Also, listing a single line
17927 works now, as does listing three lines. [Kevin's note: There
17928 were a number of other cases fixed too where the expectations
17929 differed...]
17930
17931 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
17932
17933 * gdb.base/selftest.exp: Add case for when version prints as
17934 constant string instead of char pointer.
17935
17936 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
17937
17938 * gdb.base/ending-run.exp: Add Solaris case for what happens when
17939 stepping out of main.
17940
17941 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
17942 G++ used.
17943
17944 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
17945 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
17946
17947 * gdb.c++/ovldbreak.exp: Update match string in test that
17948 includes a warning of multiple breakpoints.
17949
17950 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
17951
17952 * gdb.base/display.exp: Improve precision of step-after-finish
17953 added yesterday.
17954
17955 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
17956 test.
17957
17958 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
17959 configs when using G++, not just hppa*.
17960
17961 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17962
17963 * gdb.base/async.c: New file.
17964 * gdb.base/async.exp: New file.
17965
17966 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
17967
17968 * gdb.base/break.exp: Tweak PA specific tests to properly handle
17969 PA64.
17970
17971 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
17972
17973 * gdb.base/display.exp: "finish" can leave us mid-line on many
17974 targets, deal with it. Add a small constant to main, instead of
17975 1000 since main+1000 may not be a valid address in the target.
17976
17977 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
17978 on hpux11.
17979
17980 * gdb.base/attach.exp: Handle another hpux11 error message variant
17981 when attaching to a process that does not exist.
17982
17983 1999-08-19 J.T. Conklin <jtc@redback.com>
17984
17985 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
17986 characters in 'continue to 1241' test.
17987
17988 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
17989
17990 * gdb.base/call-ar-st.exp: Add a shorter match case for the
17991 stop in print_long_arg_list, define and use a whitespace
17992 variable in print_small_structs test, add an XFAIL for Solaris.
17993 * gdb.base/dbx.exp: XFAIL func commands until somebody is
17994 interested enough to fix.
17995
17996 1999-08-13 Keith Seitz <keiths@cygnus.com>
17997
17998 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
17999 (dbx_gdb_load): Remove. Use gdb_load instead, since that
18000 proc knows about targets other than the natives.
18001 (test_assign): Use "gdb_run_cmd" to "run" the target.
18002 Check that we've actually hit the breakpoint at main.
18003 When we attempt to assign a value to a local variable, check
18004 that the variable is in the current scope, i.e., don't use
18005 a test with an empty result.
18006
18007 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
18008
18009 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
18010 command.
18011
18012 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
18013
18014 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18015 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
18016 gdb.compat, gdb.threads-hp.
18017 gdb.hp/configure, gdb.hp/configure.in: New files.
18018 gdb.hp/Makefile.in: Recurse into new subdirs.
18019 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
18020 gdb.hp/gdb.objdbg: New directory, tests for debugging info
18021 in object files.
18022 gdb.hp/tools: New directory, aux tools for HP-specific tests.
18023
18024 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
18025
18026 * gdb.base/display.exp: Help expect by putting a newline in the
18027 funky printf, remove a bogus p/a test.
18028
18029 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18030
18031 * gdb.base/display.exp: Make sure that when we say 'run', we are
18032 connected to the target. This is necessary when running not
18033 natively.
18034
18035 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
18036
18037 * gdb.base/step-test.exp: Removed some extraneous messages.
18038
18039 * gdb.base/long_long.exp: Don't run memory examination tests
18040 on little-endian targets (they will need a different set of
18041 results to match).
18042
18043 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
18044
18045 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
18046 until somebody decides to fix GDB.
18047
18048 * gdb.base/long_long.c: Stop compiler complaint by specifying long
18049 constant as "ULL".
18050 * gdb.base/long_long.exp: Loosen x/c test, add partial result
18051 matches for a couple x/2 commands.
18052
18053 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
18054
18055 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
18056 by merging in ref-types2 tests.
18057 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
18058
18059 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18060 * gdb.c++/Makefile.in: Add standard actions.
18061 (EXECUTABLES): Rename from PROGS, update list.
18062 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
18063 from gdb.hp.
18064 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
18065 foo and bar locals.
18066 * gdb.c++/anon-union.exp: Fix tests to match.
18067 * gdb.c++/classes.exp: Run if HP compiler used, add extra
18068 expect matches to handle output variations.
18069 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
18070 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
18071 output, add HP alternatives for new and delete prints.
18072 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
18073 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
18074 * gdb.c++/demangle.exp: Use $style when reporting failure.
18075 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
18076 * gdb.c++/inherit.exp: Run if HP compiler used, add some
18077 match alternatives.
18078 * gdb.c++/local.exp: Add match alternatives or xfails for HP
18079 compilers.
18080 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
18081 * gdb.c++/method.exp: Add match alternatives.
18082 * gdb.c++/misc.cc: Add bool types.
18083 * gdb.c++/misc.exp: Add tests for bool types.
18084 * gdb.c++/overload.exp: Add xfails.
18085 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
18086 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
18087 add some more template parameter tests (only for HP currently).
18088 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
18089 * gdb.c++/virtfunc.cc: Add return type and value for main.
18090 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
18091 match alternatives.
18092
18093 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18094
18095 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
18096
18097 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
18098
18099 * gdb.base/signals.exp: Don't expect getting a backtrace from
18100 within a signal handler to fail on Linux.
18101
18102 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
18103
18104 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18105 * lib/gdb.exp: Remove some gratuitious semicolons.
18106 (delete_breakpoints): Increase timeout.
18107 (gdb_expect): Add -notransfer option.
18108 (gdb_test): Use -notransfer option.
18109 (get_compiler_info): Add f77 case.
18110 (get_compiler): New proc, split out from gdb_preprocess, add f77
18111 case.
18112 (gdb_preprocess): Call get_compiler.
18113
18114 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
18115 * gdb.base/attach.exp, gdb.base/display.exp,
18116 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
18117 gdb.base/long_long.exp, gdb.base/printcmds.exp,
18118 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
18119 third arg to gdb_test.
18120 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
18121 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
18122 HP-UX xfails, add others.
18123 * gdb.base/completion.exp: Reflect name change of self-test.
18124 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
18125 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
18126 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
18127 HP failure number.
18128 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
18129 useless HP-UX 10.30 references.
18130 * gdb.base/maint.exp: Loosen matches.
18131 * gdb.base/pointers.c (main): Declare more_code.
18132 * gdb.base/pointers.exp: Match on output of a `next'.
18133 * gdb.base/structs.c: Add prototypes.
18134 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
18135 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
18136
18137 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18138
18139 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
18140 command.
18141
18142 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18143
18144 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
18145 Fix run to main failures. Watchpoint can be hardware watchpoint.
18146
18147 * gdb.base/annota1.exp: Clean up some more, in case printf has
18148 debug info. Deal with lack of signal hanlder info in stack.
18149
18150 From Jim Kingdon <kingdon@redhat.com>:
18151 * gdb.base/annota1.exp: If printf has debug info, deal with it.
18152
18153 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
18154
18155 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
18156 gdb.base/foll-vfork.exp: Don't run for crosses.
18157
18158 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
18159
18160 * gdb.base/configure.in: Check for gdbvars.exp instead of
18161 a1-selftest.exp.
18162 * gdb.base/configure: Re-generate.
18163
18164 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
18165
18166 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
18167 in trying to run first and name is too long.
18168
18169 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
18170 pointers2.c and pointers2.exp, respectively.
18171 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
18172 doschk happier.
18173
18174 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
18175
18176 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
18177 callfuncs2.c and callfuncs2.exp.
18178
18179 * gdb.base/list.exp: Remove mistaken xfails.
18180 * gdb.base/list0.h: Add optional prototypes.
18181
18182 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
18183
18184 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
18185 calling malloc.
18186 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
18187 * ptype.exp: Move test for get_debug_format to before its first
18188 use.
18189
18190 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18191
18192 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
18193 * gdb.base/annota2.cc, annota2.exp: Move from here.
18194 * gdb.c++/annota2.cc, annota2.exp: To here.
18195 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
18196
18197 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
18198
18199 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
18200 a consistent format.
18201
18202 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
18203
18204 From Jimmy Guo <guo@cup.hp.com> and others at HP:
18205 * lib/gdb.exp (get_compiler_info): Add detection for assorted
18206 HP compilers, also set the globals $true and $false.
18207
18208 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
18209 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
18210 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
18211 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
18212 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
18213 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
18214 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
18215 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
18216 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
18217 whatis.c} Add C++ compatible function definitions and return
18218 types, add includes for library functions.
18219 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
18220 * gdb.base/step-test.c (myglob): Rename from glob.
18221 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
18222 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
18223 files, move here from gdb.hp.
18224 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
18225 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
18226 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
18227 Adjust line numbers in regexps.
18228
18229 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
18230 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
18231 instead of 0/1.
18232
18233 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
18234 foll-vfork.exp: New files, move here from gdb.hp.
18235 * gdb.base/page.exp: New file, test of pagination command.
18236
18237 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
18238 recursion test.
18239 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
18240
18241 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
18242 gdb.base/solib.exp: Fix compiler invocation process.
18243
18244 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
18245 HP-UX 11, turn off overload resolution explicitly.
18246 * gdb.base/commands.exp: Set argument list explicitly, add
18247 watchpoint test.
18248 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
18249 them work.
18250 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
18251 expressions properly.
18252 * gdb.base/corefile.exp: Loosen the match slightly.
18253 * gdb.base/default.exp: Allow "Error accessing memory" message
18254 also.
18255 * gdb.base/display.exp: Skip over x/0 j if PA64.
18256 * gdb.base/funcargs.exp: Add xfails for HP-UX.
18257 * gdb.base/interrupt.exp: Ditto.
18258 * gdb.base/langs.exp: Add symbolic matches governed by compiler
18259 in use.
18260 * gdb.base/list.exp: Add xfails for HP-UX.
18261 * gdb.base/long_long.exp: Refine some of the numeric matches.
18262 * gdb.base/mips_pro.exp: Xfail on HP-UX.
18263 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
18264 * gdb.base/nodebug.exp: Succeed on more varieties of output.
18265 * gdb.base/opaque.exp: Remove some HP-UX xfails.
18266 * gdb.base/ptype.exp: Succeed on more varieties of output.
18267 * gdb.base/scope.exp: Add xfails for HP-UX.
18268 * gdb.base/sect-cmd.exp: Add more cases.
18269 * gdb.base/setvar.exp: Add xfails for HP-UX.
18270 * gdb.base/shlib-call.exp: Loosen some matches slightly.
18271 * gdb.base/signals.exp: Match on void symbolically.
18272 * gdb.base/step-test.exp: Add case for PA64.
18273 * gdb.base/term.exp: Add exit and restart.
18274 * gdb.base/twice.exp: Clean up after self.
18275 * gdb.base/varargs.exp: Disable overload resolution explicitly.
18276 * gdb.base/whatis.exp: Allow more ways to pass tests.
18277
18278 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
18279 no longer useful.
18280
18281 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
18282
18283 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
18284 list of patterns.
18285 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
18286 print_double_array(double_array)", "continuing to breakpoint
18287 1018", "print print_double_array(array_d)" and "continuing to
18288 1034" tests.
18289
18290 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
18291
18292 * Makefile.in: Add empty html and install-html targets.
18293
18294 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
18295
18296 * config/mt-*: Remove, these haven't been used since 1996.
18297
18298 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
18299
18300 * gdb.base/call-strs.c, gdb.base/ending-run.c,
18301 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
18302 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
18303
18304 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
18305
18306 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
18307 simpler match case for the ptype of the big class.
18308
18309 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18310
18311 * gdb.exp: Fix test for gdb_prompt existence.
18312
18313 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18314
18315 * gdb.exp (gdb_test): Add fail after calls to perror.
18316
18317 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18318
18319 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
18320
18321 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18322
18323 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
18324
18325 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
18326
18327 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
18328 malloc() is linked in.
18329
18330 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18331
18332 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
18333 step at end.
18334
18335 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
18336
18337 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
18338
18339 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18340
18341 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18342
18343 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18344 * gdb.base/mips_pro.exp: Likewise.
18345
18346 1999-06-02 Keith Seitz <keiths@cygnus.com>
18347
18348 * gdb.c++/templates.cc: Change all "new" operators to throw
18349 an exception.
18350 * gdb.c++/cplusfuncs.cc: Likewise.
18351
18352 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
18353
18354 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
18355
18356 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
18357 * gdb.base/ending-run.exp: When stepping out of main, accept a
18358 step into an arbitrary assembler file.
18359
18360 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18361
18362 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
18363 "breakpoint-invalid" to be printed.
18364 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
18365 number of "frames-invalid" and "breakpoint-invalid" to be printed.
18366 * gdb.base/annota2.cc: Initialize a.x to 0.
18367
18368 1999-05-17 Keith Seitz <keiths@cygnus.com>
18369
18370 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
18371 when "skip_float_tests" set.
18372 Ditto for "print print_double_array(array_d)", "print print_small_structs",
18373 "print print_ten_doubles", and "step into print_long_arg_list".
18374 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
18375 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
18376 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
18377 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
18378 "skip_float_tests" is set.
18379 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
18380 when "skip_float_tests" set.
18381
18382 1999-05-06 Keith Seitz <keiths@cygnus.com>
18383
18384 * gdb.base/annota2.cc: Include stdio.h.
18385
18386 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
18387
18388 * gdb.base/crossload.exp: Remove, this has been disabled ever
18389 since BFD stopped including all targets, and cross-GDB gets
18390 plenty of testing anyway.
18391 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
18392 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18393 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
18394 * gdb.base/README: Remove, was doc for this.
18395 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
18396 needed.
18397
18398 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18399
18400 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18401 output.
18402
18403 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18404 * gdb.base/annota2.exp: New file. More annotation tests.
18405 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18406 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18407
18408 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
18409
18410 * config/cfdbug.exp: New file.
18411
18412 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18413
18414 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18415 Marcus Daniel's and Dale Hawkins's demangler crashes.
18416
18417 * gdb.c++/demangle.exp (test_gnu_style_demangling,
18418 test_lucid_style_demangling, test_arm_style_demangling,
18419 test_hp_style_demangling): Try Tom Tromey's core-dumping
18420 identifier under each demangling style.
18421
18422 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18423
18424 * gdb.c++/demangle.exp: Include the current demangling style
18425 in all test names.
18426 (current_demangling_style): New global variable.
18427 (set_demangling_style, test_demangling_core, test_demangling,
18428 test_demangling_exact): New functions.
18429 (test_gnu_style_demangling, test_lucid_style_demangling,
18430 test_arm_style_demangling, test_hp_style_demangling): Use those,
18431 instead of calling gdb_test and gdb_test_exact directly.
18432 (catch_demangling_errors): New function, which reports errors
18433 signalled by the demangling test functions in an orderly way.
18434 (do_tests): Use catch_demangling_errors.
18435
18436 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18437
18438 * gdb.base/signals.exp (test_handle_all_print): Use () for
18439 grouping in expressions, not {}.
18440
18441 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
18442 initialized yet.
18443
18444 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18445
18446 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18447 are listed.
18448
18449 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18450
18451 * gdb.stabs/weird.exp: Test for CC being defined before
18452 looking at its value.
18453
18454 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18455
18456 * gdb.base/call-ar-st.exp: Remove stray '#'.
18457 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18458 "short int" and "long int".
18459 * gdb.c++/overload.cc: Cast the string added in the previous
18460 change, to mollify finicky HP compiler.
18461 * gdb.hp/reg-test.exp (testfile): Fix file name.
18462 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
18463
18464 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18465 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18466 alternate form of enum ptype.
18467
18468 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18469
18470 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18471 * gdb.hp/*.exp: Change all to run compiler probe only after
18472 passing skip_hp_tests, so as not to waste time on guaranteed
18473 failure.
18474
18475 * gdb.c++/overload.cc: Pass string instead of char addr, always
18476 init ccpfoo.
18477 * gdb.c++/templates.cc: Fix syntax error.
18478
18479 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18480
18481 * gdb.base/commands.exp: Add test for correct position of '>'
18482 when issuing the 'commands' command after a 'while' or 'if'
18483 command.
18484
18485 1999-03-18 James Ingham <jingham@cygnus.com>
18486
18487 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18488
18489 * gdb.c++/method.exp: It was testing an uninitialized int on the
18490 stack and assuming it was positive.
18491
18492 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18493
18494 * gdb.base/step-test.exp: Catch a case where finish is broken and
18495 keep it from killing the rest of the tests.
18496 Use gdb_continue_to_end.
18497
18498 * gdb.base/sigall.exp: use gdb_continue_to_end.
18499
18500 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18501
18502 * gdb.base/display.exp: use runto_main, not run.
18503
18504 * gdb.base/default.exp: Check for the current error message in the
18505 r abbreviation test.
18506 Add strongarm to the targets that know info float.
18507
18508 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
18509 run which doesn't work with monitors.
18510
18511 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18512
18513 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18514
18515 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
18516 program. Traps the case (in Cygmon) when the program never really
18517 exits. Same as Mark's continue_to_exit, but I had put it in a lot
18518 more places, so I used my name. Sorry Mark...
18519
18520 * config/monitor.exp (gdb_target_monitor): added another
18521 target_info parameter: remotebinarydownload. This will set the
18522 remotebinarydownload flag if this is causing some boards trouble.
18523
18524 1999-03-18 Mark Salter <msalter@cygnus.com>
18525
18526 * lib/gdb.exp (continue_to_exit): New function.
18527
18528 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
18529 * gdb.base/ending-run.exp: Ditto.
18530 * gdb.base/step-test.exp: Ditto.
18531
18532 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
18533
18534 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
18535 (suggested by Art Haas <ahaas@neosoft.com>).
18536
18537 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
18538
18539 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
18540
18541 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
18542
18543 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
18544 descriptions of types (short unsigned int vs unsigned short, etc).
18545
18546 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
18547
18548 * gdb.base/call-strs.exp: Don't assume that `step' will step over
18549 a call to strlen; sometimes we do have sources.
18550
18551 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18552
18553 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
18554 character, so GDB won't print garbage after its end.
18555
18556 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
18557 breakpoint there instead. Sometimes GCC emits memcpy to handle
18558 the large structures being passed by value, so we step into that
18559 instead of sum_array_print, which obscures what we're really testing.
18560 * gdb.base/step-test.exp: However, we do want a test that notices
18561 the bizarre steps into memcpy, so do that here. Add check for
18562 stepping into function calls that pass large structures by value.
18563 ("Is that a noun clause, or are you just happy to see me?")
18564 Remove all references to specific line numbers.
18565 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
18566 New type and function.
18567 (main): Call large_struct_by_value, passing it a large struct by value.
18568 * lib/gdb.exp (gdb_get_line_number): New function.
18569
18570 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
18571 more portable.
18572
18573 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18574
18575 * lib/gdb.exp: Doc fixes.
18576
18577 1999-03-05 Nick Clifton <nickc@cygnus.com>
18578
18579 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
18580
18581 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
18582
18583 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
18584 commands. They're not germane to this test, and they don't work
18585 that way on remote targets.
18586
18587 1999-03-01 James Ingham <jingham@cygnus.com>
18588
18589 * Changelog entries merged over from gdb development branch.
18590
18591 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
18592
18593 * lib/gdb.exp (gdbtk_analyze_results): Generic function
18594 for outputting results of test run.
18595
18596 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
18597
18598 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
18599
18600 1999-02-25 Felix Lee <flee@cygnus.com>
18601
18602 * lib/gdb.exp (debug_format): initialize
18603
18604 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
18605
18606 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
18607 * gdb.base/call-rt-st.c: Ditto.
18608
18609 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
18610
18611 * gdb.threads/pthreads.exp (horiz): New variable.
18612 (test_startup): Fix regexps that capture thread numbers.
18613
18614 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
18615
18616 * gdb.base/smoke.exp: Disambiguate two test case names (both
18617 called ``print'').
18618
18619 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18620
18621 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
18622 compilation.
18623
18624 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18625
18626 * gdb.base/miscexprs.exp: Change patterns to match GDB's
18627 actual output formatting.
18628 * gdb.base/smoke.exp: GDB removes leading 0's.
18629 * gdb.base/volatile.exp: Don't check type of remuneration;
18630 that variable is no longer defined in constvars.c.
18631 * gdb.base/step-test.c (main): Exit with explicit exit code.
18632 * gdb.base/step-test.exp: Remove two nexti checks--they are
18633 not portable.
18634
18635 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18636
18637 * gdb.base/help.exp ("help delete display"): Fix test to match
18638 gdb's output.
18639
18640 * gdb.base/long_long.c (known_types): Initialize values to zero.
18641 * gdb.base/long_long.exp: Step one more line
18642 so 'dec' is initialized in "get to known place". GDB removes
18643 leading zeros. Explicitly ask for hex formatting. Use
18644 unique test case names.
18645
18646 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18647
18648 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
18649
18650 * gdb.c++/method.exp: Add missing close brace.
18651
18652 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
18653
18654 * gdb.base/maint.exp: Use 'set height 0' to disable page
18655 prompting, not 'set height 400'.
18656
18657 Fix a bunch of timeouts.
18658 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
18659 four separate tests, so expect doesn't take forever to match a ton
18660 of text against a regexp with lots of .* forms.
18661 ("maint print psymbols", "maint print symbols"): Make some of
18662 these greps more selective, so that expect doesn't try to wade
18663 through huge piles of output and time out.
18664
18665 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
18666
18667 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
18668 tests: one which doesn't expect shlib events to be reported, and
18669 another which does, but is XFAIL for all platforms other than
18670 HP/UX.
18671
18672 * gdb.base/break.exp: Teach the test suite that the `catch
18673 fork', `catch vfork', and `catch exec' commands produce error
18674 messages on platforms that don't provide these features.
18675
18676 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18677
18678 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
18679 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
18680 (shortening names from solib_threshold.exp etc), won't run on
18681 anything but HP-UX for the foreseeable future.
18682 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
18683 reflect move.
18684
18685 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
18686
18687 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
18688 gdb.trace/Makefile.in (clean): Remove all test executables.
18689
18690 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
18691
18692 * gdb.base/shlib-call.exp: add test cases to verify that gdb
18693 successfully re-sets breakpoints in shared libraries.
18694 * gdb.base/shmain.c (main): return 0, don't fall off the end.
18695
18696 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18697
18698 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
18699 and compiled w/o GCC.
18700
18701 * gdb.hp/watch-cmd.exp: ditto.
18702
18703 * gdb.hp/watch-hp.exp: ditto.
18704
18705 * gdb.hp/xdb1.exp: ditto.
18706
18707 * gdb.hp/xdb2.exp: ditto.
18708
18709 * gdb.hp/dbx.exp: ditto.
18710
18711 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
18712
18713 * constvars.c: Remove C++-isms.
18714 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
18715 with GCC.
18716
18717 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
18718
18719 The following changes are part of the HP merge.
18720
18721 * gdb.base/break.exp: new tests to verify that catchpoints for
18722 fork, vfork, and exec don't trigger inappropriately.
18723
18724 * gdb.base/opaque.exp: compile one file at a time, then link.
18725
18726 * gdb.base/signals.exp: be more restrictive about which hppa
18727 systems receive a setup_xfail. new tests.
18728
18729 * gdb.base/solib_threshold.build: new file.
18730 * gdb.base/solib_threshold.exp: new file.
18731 * gdb.base/solib_threshold.link_opts: new file.
18732 * gdb.base/solib_threshold.mk: new file.
18733 * gdb.base/gen_solib_threshold.c: new file.
18734
18735 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
18736 tests. New tests for enums inside classes.
18737
18738 * gdb.c++/compiler.cc: indicate support of template debugging.
18739
18740 * gdb.c++/demangle.exp: run hp style demangling tests.
18741
18742 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
18743 tests.
18744
18745 * gdb.c++/misc.cc: changes to support new tests.
18746
18747 * gdb.c++/templates.cc: changes to support HP's compiler; changes
18748 to support new tests.
18749
18750 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
18751 gcc, then skip these tests.
18752
18753 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
18754
18755 The following files are part of the HP merge; some had longer
18756 names at HP, but have been renamed to be no more than 14
18757 characters in length.
18758
18759 * gdb.hp/ambiguous.cc: new file.
18760 * gdb.hp/ambiguous.exp: new file.
18761 * gdb.hp/attach.exp: new file.
18762 * gdb.hp/attach2.exp: new file.
18763 * gdb.hp/classes-hp.exp: new file.
18764 * gdb.hp/ctti.exp: new file.
18765 * gdb.hp/ctti-add.cc: new file.
18766 * gdb.hp/ctti-add1.cc: new file.
18767 * gdb.hp/ctti-add2.cc: new file.
18768 * gdb.hp/ctti-add3.cc: new file.
18769 * gdb.hp/dbx.exp: new file.
18770 * gdb.hp/exception.cc: new file.
18771 * gdb.hp/exception.exp: new file.
18772 * gdb.hp/foll-exec.c: new file.
18773 * gdb.hp/foll-exec.exp: new file.
18774 * gdb.hp/foll-fork.c: new file.
18775 * gdb.hp/foll-fork.exp: new file.
18776 * gdb.hp/foll-vfork.c: new file.
18777 * gdb.hp/foll-vfork.exp: new file.
18778 * gdb.hp/inherit-hp.exp: new file.
18779 * gdb.hp/more-steps.exp: new file.
18780 * gdb.hp/namespace.cc: new file.
18781 * gdb.hp/namespace.exp: new file.
18782 * gdb.hp/optimize.exp: new file.
18783 * gdb.hp/pxdb.c: new file.
18784 * gdb.hp/pxdb.exp: new file.
18785 * gdb.hp/quicksort.exp: new file.
18786 * gdb.hp/reg-test.exp: new file.
18787 * gdb.hp/reg-test.s: new file.
18788 * gdb.hp/sized-enum.c: new file.
18789 * gdb.hp/sized-enum.exp: new file.
18790 * gdb.hp/start-stop.exp: new file.
18791 * gdb.hp/templ-hp.cc: new file.
18792 * gdb.hp/templ-hp.exp: new file.
18793 * gdb.hp/thr-lib.c: new file.
18794 * gdb.hp/thr-lib.exp: new file.
18795 * gdb.hp/thr-lib.h: new file.
18796 * gdb.hp/thr-liblib.c: new file.
18797 * gdb.hp/virtfun-hp.c: new file.
18798 * gdb.hp/virtfun-hp.exp: new file.
18799 * gdb.hp/watch-cmd.exp: new file.
18800 * gdb.hp/watch-hp.exp: new file.
18801 * gdb.hp/xdb1.exp: new file.
18802 * gdb.hp/xdb2.exp: new file.
18803 * gdb.hp/xdb3.exp: new file.
18804
18805 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
18806
18807 The following files are part of the HP merge; some had longer
18808 names at HP, but have been renamed to be no more than 14
18809 characters in length.
18810
18811 * gdb.base/ss.h: new file.
18812 * gdb.base/call-ar-st.c: new file.
18813 * gdb.base/call-ar-st.exp: new file.
18814 * gdb.base/call-rt-st.c: new file.
18815 * gdb.base/call-rt-st-exp: new file.
18816 * gdb.base/call-strs.exp: new file.
18817 * gdb.base/ena-dis-br.exp: new file.
18818 * gdb.base/environ.exp: new file.
18819 * gdb.base/long_long.exp: new file.
18820 * gdb.base/sect-cmd.exp: new file.
18821 * gdb.base/shlib-cl2.exp: new file.
18822 * gdb.base/smoke.exp: new file.
18823 * gdb.base/so-impl-ld.c: new file.
18824 * gdb.base/so-impl-ld.exp: new file.
18825 * gdb.base/so-indr-cl.c: new file.
18826 * gdb.base/so-indr-cl.exp: new file.
18827 * gdb.base/varargs.exp: new file.
18828 * gdb.base/volatile.exp: new file.
18829 * gdb.base/whatis-exp.exp: new file.
18830 * gdb.base/display.exp: new file.
18831 * gdb.c++/derivation.exp: new file.
18832 * gdb.c++/local.exp: new file.
18833 * gdb.c++/member-ptr.exp: new file.
18834 * gdb.c++/overload.exp: new file.
18835 * gdb.c++/ovldbreak.exp: new file.
18836 * gdb.c++/ref-types.exp: new file.
18837 * gdb.c++/ref-types2.exp: new file.
18838 * gdb.c++/userdef.exp: new file.
18839
18840 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
18841
18842 * gdb.base/default.exp: Reflect wording change in remote.c.
18843
18844 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
18845
18846 * gdb.base/help.exp: Update to reflect current text.
18847
18848 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
18849
18850 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
18851 they're stack variables and contain garbage.
18852 * gdb.c++/anon-union.exp: new file.
18853
18854 The following changes were made by David Taylor
18855 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18856 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18857 in changes by HP.
18858
18859 * gdb.base/bitops.exp: new file.
18860 * gdb.base/default.exp: change expected messages for catch and
18861 info catch tests to reflect HP merge changes.
18862 * gdb.base/enable-disable-break.exp
18863 * gdb.base/ending-run.c: new file.
18864 * gdb.base/long_long.c: new file.
18865 * gdb.base/maint.exp: new file.
18866 * gdb.base/pointers2.exp: new file.
18867 * gdb.base/shlib-call2.exp: new file.
18868 * gdb.base/solib.exp: new file.
18869 * gdb.base/step-test.c: new file.
18870 * gdb.c++/anon-union.cc: new file.
18871 * gdb.c++/local.cc: new file.
18872 * gdb.c++/member-pointer.cc: new file.
18873 * gdb.c++/method.cc: new file.
18874 * gdb.c++/ref-types.cc: new file.
18875 * gdb.c++/ref-types2.cc: new file.
18876 * gdb.c++/userdef.cc: new file.
18877
18878 * gdb.base/scope.exp: compile one file at a time, then link.
18879 * gdb.base/langs.exp: ditto.
18880 * gdb.base/list.exp: ditto.
18881
18882 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
18883
18884 The following changes were made by David Taylor
18885 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18886 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18887 in changes by HP.
18888
18889 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
18890 skip tests. When compiling pass c++ flag to gdb_compile.
18891 * gdb.c++/
18892
18893 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
18894 test for on hppa*-*-hpux*; use args to see if c++ was specified.
18895 (skip_hp_tests): new function.
18896 (gdb_preprocess): new function.
18897
18898 * configure.in (hpdir): decide whether to configure gdb.hp.
18899 * configure: regenerated.
18900
18901 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
18902 to delete on clean.
18903 (EXECUTABLES): update to reflect new additions.
18904 * gdb.base/commands.exp: update message expected.
18905 * gdb.base/default.exp: add copyright notice.
18906 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
18907 * gdb.base/help.exp: update messages to reflect current text.
18908 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
18909 targets for recurse tests.
18910 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
18911 skip this file.
18912
18913 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
18914 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
18915 compilation.
18916 * gdb.c++/misc.exp: ditto.
18917 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
18918 run the tests. tell gdb_compile that it's a c++ compilation.
18919
18920 * gdb.threads/pthreads.exp: fix typo in message.
18921
18922 * gdb.base/all-bin.exp: new file.
18923 * gdb.base/arithmet.exp: new file.
18924 * gdb.base/assign.exp: new file.
18925 * gdb.base/completion.exp: new file.
18926 * gdb.base/cond-expr.exp: new file.
18927 * gdb.base/condbreak.exp: new file.
18928 * gdb.base/define.exp: new file.
18929 * gdb.base/dollar.exp: new file.
18930 * gdb.base/environment.exp: new file.
18931 * gdb.base/eval-skip.exp: new file.
18932 * gdb.base/jump.exp: new file.
18933 * gdb.base/logical.exp: new file.
18934 * gdb.base/pointers.exp: new file.
18935 * gdb.base/relational.exp: new file.
18936 * gdb.base/section_command.exp: new file.
18937 * gdb.base/whatis-expr.exp: new file.
18938
18939 * gdb.base/all-types.c: new file.
18940 * gdb.base/call-array-struct.c: new file.
18941 * gdb.base/call-return-struct.c: new file.
18942 * gdb.base/call-strings.c: new file.
18943 * gdb.base/callfuncs2.c: new file.
18944 * gdb.base/condbreak.c: new file.
18945 * gdb.base/constvars.c: new file.
18946 * gdb.base/display.c: new file.
18947 * gdb.base/int-type.c: new file.
18948 * gdb.base/jump.c: new file.
18949 * gdb.base/miscexprs.c: new file.
18950 * gdb.base/pointers.c: new file.
18951 * gdb.base/pointers2.c: new file.
18952 * gdb.base/shmain.c: new file.
18953 * gdb.base/shr1.c: new file.
18954 * gdb.base/shr2.c: new file.
18955 * gdb.base/solib.c: new file.
18956 * gdb.base/solib1.c: new file.
18957 * gdb.base/solib2.c: new file.
18958 * gdb.base/varargs.c: new file.
18959 * gdb.c++/derivation.cc: new file.
18960 * gdb.c++/overload.cc: new file.
18961 * gdb.c++/ovldbreak.cc: new file.
18962 * gdb.hp/attach.c: new file.
18963 * gdb.hp/attach2.c: new file.
18964 * gdb.hp/average.c: new file.
18965 * gdb.hp/compiler.c: new file.
18966 * gdb.hp/compiler.cc: new file.
18967 * gdb.hp/execd-program.c: new file.
18968 * gdb.hp/follow-exec.c: new file.
18969 * gdb.hp/follow-fork.c: new file.
18970 * gdb.hp/follow-vfork-and-exec.c: new file.
18971 * gdb.hp/misc-hp.cc: new file.
18972 * gdb.hp/more-steps.c: new file.
18973 * gdb.hp/optimize.c: new file.
18974 * gdb.hp/quicksort.c: new file.
18975 * gdb.hp/run-hp.c: new file.
18976 * gdb.hp/start-stop.c: new file.
18977 * gdb.hp/sum.c: new file.
18978 * gdb.hp/templates-hp.cc: new file.
18979 * gdb.hp/thread-local-in-lib.c: new file.
18980 * gdb.hp/thread-local-in-lib.h: new file.
18981 * gdb.hp/thread-local-in-lib.lib.c: new file.
18982 * gdb.hp/vforked-program.c: new file.
18983 * gdb.hp/virtfunc-hp.cc: new file.
18984 * gdb.hp/watchpoint-hp.c: new file.
18985 * gdb.hp/xdb.c: new file.
18986 * gdb.hp/xdb0.c: new file.
18987 * gdb.hp/xdb0.h: new file.
18988 * gdb.hp/xdb1.c: new file.
18989
18990 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
18991
18992 The following change was made by Edith Epstein
18993 <eepstein@cygnus.com> as part of a project to merge in changes
18994 originally made by HP; HP did not create ChangeLog entries.
18995
18996 * gdb.c++/demangle.exp: changed the expected output for some
18997 ARM-style mangling -- removed second reference to datatype.
18998 For example, maint demangle __dt__11T1__pt__2_cFv
18999 T1<char>::~T1<char>(void)
19000 becomes,
19001 maint demangle __dt__11T1__pt__2_cFv
19002 T1<char>::~T1(void)
19003
19004 (test_hp_style_demangling): new hp specific demangling test cases.
19005
19006 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
19007
19008 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
19009 * gdb.trace/backtrace.exp: Likewise.
19010 * gdb.trace/circ.exp: Likewise.
19011 * gdb.trace/collection.exp: Likewise.
19012 * gdb.trace/deltrace.exp: Likewise.
19013 * gdb.trace/infotrace.exp: Likewise.
19014 * gdb.trace/limits.exp: Likewise.
19015 * gdb.trace/packetlen.exp: Likewise.
19016 * gdb.trace/passc-dyn.exp: Likewise.
19017 * gdb.trace/passcount.exp: Likewise.
19018 * gdb.trace/report.exp: Likewise.
19019 * gdb.trace/save-trace.exp: Likewise.
19020 * gdb.trace/tfind.exp: Likewise.
19021 * gdb.trace/tracecmd.exp: Likewise.
19022 * gdb.trace/while-dyn.exp: Likewise.
19023 * gdb.trace/while-stepping.exp: Likewise.
19024
19025 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
19026
19027 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
19028
19029 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
19030
19031 From Brendan Kehoe:
19032 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
19033 int return types.
19034
19035 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
19036
19037 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
19038 remote dos host testing right.
19039
19040 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
19041
19042 * gdb.base/corefile.exp: remove some xfails.
19043
19044 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
19045
19046 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
19047 have different timestamps.
19048
19049 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
19050
19051 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
19052 gdb.base/default.exp: Replace "exec" with "executable".
19053
19054 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
19055
19056 * gdb.base/default.exp: Change else if to elseif from previous
19057 delta.
19058
19059 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
19060
19061 * gdb.base/default.exp: Add brace missing from previous delta.
19062
19063 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
19064
19065 * gdb.base/default.exp: Support test for info float for all
19066 varieties of arm toolchain.
19067
19068 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
19069
19070 * gdb.trace/*.exp: remove "remote_download" command.
19071
19072 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
19073
19074 * gdb.trace/*.exp: remove -gdwarf from compile.
19075
19076 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
19077
19078 * gdb.trace/configure.in(AC_INIT): typo
19079 * gdb.trace/configure: regenerated
19080
19081 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
19082
19083 * config/m68k-emc.exp: New file.
19084 * lib/<emc-support.exp trace-support.exp}: New files.
19085 * configure.in: add new test directory gdb.trace.
19086 * gdb.trace/{configure configure.in Makefile.in}: New files.
19087 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
19088 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
19089 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
19090 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
19091 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
19092 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
19093 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
19094
19095 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
19096
19097 * gdb.c++/classes.exp: Change all regular expressions to match
19098 arbitrary combinations of newline/carriage-return, so that they
19099 will work equally well on Unix and Windows.
19100 * gdb.c++/inherit.exp: ditto.
19101 * gdb.c++/virtfunc.exp: ditto.
19102
19103 1998-08-11 Dawn Perchik <dawn@cygnus.com>
19104
19105 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
19106
19107 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
19108
19109 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
19110 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
19111 to use a0-a3/d0-d3 as needed.
19112
19113 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
19114
19115 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
19116 * gdb.disasm/am33.exp: Corresponding changes.
19117
19118 1998-07-11 Felix Lee <flee@cygnus.com>
19119
19120 * gdb.base/callfuncs.exp: add cmp10 test.
19121 * gdb.base/callfuncs.c (cmp10): new function.
19122
19123 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
19124
19125 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
19126 into two parts to get around a synchronization problem in expect.
19127
19128 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
19129
19130 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
19131
19132 * configure.in: Add options for gdbtk testsuite.
19133
19134 * configure: Regenerate.
19135
19136 * gdb.gdbtk: New directory to hold gdbtk tests.
19137
19138 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19139
19140 * gdb.fortran/types.exp: Escape brackets in expect patterns
19141 for test_float_literal_types_accepted tests.
19142 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
19143 before run test.
19144
19145 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
19146
19147 * am33.exp: Just compile, do not link the testcase.
19148 * am33.s: Add ".am33" pseudoop to force am33 mode.
19149
19150 1998-06-25 Felix Lee <flee@cygnus.com>
19151
19152 * gdb.base/setshow.exp: make sure $pc is sane.
19153
19154 * gdb.stabs/weird.exp: split expect patterns properly.
19155
19156 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
19157
19158 * gdb.disasm/am33.s: New disassembler testfile for the am33.
19159 * gdb.disasm/am33.exp: Run it.
19160
19161 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
19162
19163 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
19164 match processing (and eliminate spurious timeouts when running).
19165
19166 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
19167
19168 * gdb.base/signals.exp (test_handle_all_print): put back Mach
19169 exception test, but conditionalize it on target [mach | gnu].
19170
19171 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
19172
19173 * gdb.base/overlays.exp: fixup compile line for linker script.
19174
19175 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
19176
19177 * gdb.fortran/types.exp: don't guess at float size.
19178
19179 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
19180
19181 * gdb.base/exprs.exp: delete test that depends on int size.
19182
19183 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
19184
19185 * config/sim.exp: Removed checks for target triplets.
19186 (gdb_target_sim): Use gdb,target_sim_options.
19187
19188 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
19189
19190 * gdb.base/reread.exp: New file.
19191 * gdb.base/reread1.c: New file.
19192 * gdb.base/reread2.c: New file.
19193
19194 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
19195
19196 * config/sim.exp: Use 'target sim -sparclite' when running
19197 SPARClite programs.
19198
19199 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
19200
19201 * gdb.base/structs2.exp: New file.
19202 * gdb.base/structs2.c: New file.
19203
19204 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
19205
19206 * gdb.asm/common.inc: New file.
19207 * gdb.asm/d10v.inc: New file.
19208 * asm-source.exp: Pass -I's to gas to find .inc files.
19209 Update line numbers in expected output.
19210 * asmsrc1.s: Rewrite.
19211 * asmsrc2.s: Rewrite.
19212 * configure.in: Create arch.inc symlink.
19213 * configure: Regenerate.
19214 * Makefile.in (distclean): Delete arch.inc.
19215
19216 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
19217
19218 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
19219 (t_enum_value2): ditto
19220 (t_enum_value3): ditto
19221 (main): ditto
19222 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19223
19224 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
19225 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
19226 change.
19227 Use gdb_test instead of send_gdb/gdb_expect sequences.
19228
19229 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
19230
19231 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
19232 not void.
19233
19234 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
19235
19236 * gdb.base/branches.c: Code with lots of loops and
19237 subroutines. Used to test gdbs ability to single step through PC
19238 changes, especially to test mips-tdep.c:mips_next_pc
19239
19240 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
19241
19242 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
19243 more rigorous EGCS C++ error checking.
19244
19245 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19246
19247 * gdb.base/help.exp: Clean up `help set args' and `help show args'
19248 tests.
19249 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
19250 function when asleep.
19251 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
19252 for i*86 Linux and SVR4 signal handling problems.
19253 Remove linux xfail for `next to handler in signals_tests_1', fixed
19254 by recent infrun.c change.
19255 Limit backtrace to 10 frames to avoid timeout problems with infinite
19256 stack backtraces.
19257 Adjust expect pattern in `handle all print' test to match Apr 28 1997
19258 target.[ch] change.
19259
19260 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
19261
19262 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
19263 for a newline from gdb before continuing.
19264 (default_gdb_exit): Just look for y or n.
19265 (gdb_test): Detect abnormal exit from GDB running on DOS; if
19266 it does, fail the rests of the tests in the file.
19267
19268 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
19269
19270 * config/cygmon.exp: New file.
19271
19272 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
19273
19274 * gdb.base/list.exp: Fix problem with "list default lines around
19275 main" test on remote targets.
19276
19277 * gdb.base/scope.exp: Fix problem with filelocal_bss before
19278 run test on remote targets.
19279
19280 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
19281
19282 * gdb.asm: New directory.
19283 * configure.in: Configure it.
19284 * configure: Regenerate.
19285 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
19286 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
19287
19288 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
19289
19290 * config/mn10300-eval.exp: New file to support MN10300 eval board.
19291
19292 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
19293
19294 * gdb.base/overlays (several files): Merge the two overlay
19295 managers into one. Change variables (foox, barx, bazx, grbxx)
19296 back into ints but force them to load in their proper sections.
19297
19298 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
19299
19300 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
19301 on-chip insn memory and IMAP1 to upper 128k.
19302 (D10VCopy): Handle memory regions crossing 16k boundaries.
19303 (D10VCopy): Transfer data in 32 bit chunks.
19304
19305 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
19306
19307 * gdb.base/overlays.c (main): Exit normally when result is
19308 correct.
19309
19310 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
19311 map. Include space for printf in .text segment.
19312
19313 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
19314 updated d10v memory VMA/LMA map.
19315 (D10VCopy): Call D10VTranslate.
19316
19317 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
19318
19319 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
19320
19321 * gdb.base/bar.c (barx, bar): Change variable to small array so
19322 that it won't be put into the .sdata - small data -
19323 section. Update reference.
19324 * gdb.base/baz.c (bazx, baz): Ditto.
19325 * gdb.base/foo.c (foox, foo): Ditto.
19326 * gdb.base/grbx.c (grbxx, grbx): Ditto.
19327
19328 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
19329 to be arrays.
19330
19331 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
19332
19333 * gdb.base/overlays.exp: fix up and get working again.
19334 Add tests for backtraces from an overlay function.
19335
19336 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
19337
19338 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
19339 "calling function with watchpoint enabled".
19340
19341 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19342
19343 * gdb.base/break.exp (test_next_with_recursion): Remove
19344 gdb_suppress_tests for d10v-*-*.
19345 * lib/gdb.exp (gdb_suppress_tests): Disable this function
19346 pending review of whether it is useful or not.
19347
19348 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
19349
19350 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
19351
19352 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
19353
19354 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
19355 * config/dve.exp: New file to support Densan boards.
19356
19357 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
19358
19359 * gdb.base/interrupt.exp: Document problem of simulators, signals,
19360 reads and BSD.
19361
19362 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
19363
19364 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
19365 response.
19366
19367 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
19368
19369 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
19370
19371 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
19372 test.
19373
19374 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
19375 target_sizeof_long and target_bigendian_p.
19376 (structs_by_value, structs_by_reference): Check values according
19377 to targets word size and endianess.
19378
19379 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
19380
19381 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
19382 output.
19383
19384 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
19385
19386 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
19387 Update test of set args help to match source change.
19388
19389 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19390
19391 * gdb.base/default.exp: Expect help system output to be in
19392 alphabetical order.
19393 * gdb.base/help.exp: Ditto.
19394
19395 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19396
19397 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19398 "i*86-pc-linux-gnu*".
19399 * gdb.base/interrupt.exp: Ditto.
19400 * gdb.base/corefile.exp: Ditto.
19401
19402 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
19403 define vxworks when building the testcase.
19404
19405 * gdb.base/ptype.exp: Fix testnames to be unique.
19406 * gdb.base/radix.exp: Ditto.
19407 * gdb.base/term.exp: Ditto.
19408 * gdb.base/whatis.exp: Ditto.
19409 * gdb.c++/classes.exp: Ditto.
19410
19411 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19412
19413 * gdb.base/callfuncs.exp: Fix indentation.
19414
19415 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19416 suppress_flag has been set.
19417 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19418 target feature.
19419
19420 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19421
19422 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19423 the testcase.
19424
19425 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
19426 set_debug_traps() and breakpoint().
19427 * gdb.c++/misc.cc (main): Ditto.
19428 * gdb.c++/templates.cc (main): Ditto.
19429 * gdb.c++/virtfunc.cc (main): Ditto.
19430
19431 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19432
19433 * lib/gdb.exp(gdb_step_for_stub): New function.
19434 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19435 exists, reload the executable and do a "continue" instead of
19436 doing a jump.
19437 (runto_main): Use gdb_step_for_stub.
19438
19439 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
19440 tests to have unique names.
19441 * gdb.base/callfuncs.exp: Ditto.
19442 * gdb.base/commands.exp: Ditto.
19443 * gdb.base/default.exp: Ditto.
19444 * gdb.base/help.exp: Ditto.
19445 * gdb.base/list.exp: Ditto.
19446 * gdb.base/opaque.exp: Ditto.
19447 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19448 similar tests.
19449
19450 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19451 * gdb.c++/cplusfuncs.cc: Ditto.
19452 * gdb.c++/virtfunc.cc: Ditto.
19453
19454 * config/monitor.exp: Keep track of the last file we saw, rather
19455 than trying to get the info from gdb.
19456
19457 * gdb.fortran/types.exp: Move comment to previous line.
19458
19459 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19460
19461 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
19462 target mode.
19463
19464 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19465
19466 From Bob Manson:
19467 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
19468 string from GDB when it connects.
19469
19470 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19471
19472 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19473
19474 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
19475 if we can't get a debug format from GDB (we may be testing an
19476 older GDB). Use a 10 second timeout when checking for the format.
19477
19478 * gdb.stabs/weird.exp: Fix quoting.
19479
19480 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19481
19482 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19483
19484 * config/arm-ice.exp: New file.
19485
19486 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19487
19488 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
19489 until it has been modified to work with the new testsuite.
19490
19491 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
19492 testcase won't compile, cause all of the testcases in the file to
19493 fail instead.
19494
19495 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19496 (gdb_clear_suppressed): New procedure.
19497 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19498 it contains a positive value.
19499
19500 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19501
19502 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19503
19504 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19505
19506 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19507
19508 * lib/gdb.exp (setup_xfail_format): New function.
19509 (get_debug_format): New function to get debug format.
19510 (debug_format): New global variable to hold last value set
19511 by get_debug_format.
19512 * gdb.base/list.exp: Call get_debug_format and expect some
19513 tests to fail for DWARF 1 and COFF formats.
19514 * gdb.c++/ptype.exp: Ditto.
19515 * gdb.c++/classes.exp: Ditto.
19516 * gdb.c++/cplusfuncs.exp: Ditto.
19517 * gdb.c++/inherit.exp: Ditto.
19518 * gdb.c++/templates.exp: Ditto.
19519 * gdb.c++/virtfunc.exp: Ditto.
19520
19521 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19522
19523 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
19524 host doesn't have a currently-open connection.
19525
19526 * config/sparclet.exp: Cleanups and fixes to make it generic for
19527 any gdb stub target. Handle cases where gdb doesn't respond when
19528 interrupted in a sane fashion.
19529
19530 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
19531 same thing in a totally different way.
19532
19533 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
19534 setting "timeout".
19535 (gdb_start): We set the global gdb_prompt variable in
19536 default_gdb_init now.
19537
19538 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
19539
19540 * gdb.base/printcmds.exp: Fix "check for floating addition"
19541 regexp to accept results within approx +/- .01 of exact value.
19542 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
19543
19544 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
19545
19546 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
19547 properly.
19548 (gdb_expect): Add optional timeout parameter, and add timeout
19549 value to various calls.
19550 (gdb_suppress_tests): Only give one warning message per group.
19551
19552 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
19553
19554 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
19555 global variables. Handle getting a value for $timeout more
19556 gracefully.
19557
19558 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19559
19560 * lib/gdb.exp: Close connection to remote host if gdb doesn't
19561 initialize.
19562 (default_gdb_init): New procedure; allow gdb_init to be overridden
19563 by a target configuration file.
19564 (gdb_expect): Pass the timeout to remote_expect.
19565
19566 * config/monitor.exp(gdb_load): Fix typo in regexp.
19567
19568 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
19569
19570 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
19571
19572 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
19573
19574 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
19575 here. Call gdb_target_exec before rebooting the target, to make
19576 sure the connection to the target is closed.
19577 (gdb_load): Pass the name of the executable to gdb_target_monitor.
19578 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
19579 Also detect "Timeout reading from remote" error.
19580
19581 * config/gdbserver.exp: Pass the executable being loaded to
19582 gdb_target_monitor. Don't call gdb_file_cmd here; let
19583 gdb_target_monitor do it.
19584
19585 * gdb.disasm/hppa.exp: Don't use exec_output.
19586
19587 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
19588
19589 * gdb.base/list.exp: If we're debugging a non-native target,
19590 try to set the pc register to point to the start of the
19591 program before doing the first list command.
19592
19593 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
19594 test_calls after restarting.
19595
19596 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
19597 reloading.
19598
19599 * gdb.base/watchpoint.exp: Fix typo.
19600
19601 * gdb.base/setshow.exp: Check for use_gdb_stub.
19602
19603 * gdb.base/break.exp: Fix continue until exit test for the gdb
19604 stub case.
19605 * gdb.base/langs.exp: Ditto.
19606
19607 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
19608 gdb_load_offset. If we weren't given a file to load, figure out
19609 what the current file is and use it.
19610
19611 * config/i386-bozo.exp: New file.
19612
19613 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
19614
19615 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
19616 feature.
19617
19618 * config/proelf.exp: New entry.
19619
19620 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
19621
19622 * lib/gdb.exp: Remove spurious .* patterns at the beginning
19623 of regexps.
19624
19625 * gdb.base/watchpoint.exp: Don't run the test_stepping
19626 tests if gdb can't call functions on the target.
19627
19628 * gdb.base/setshow.exp: Don't run the set prompt tests if
19629 the board has gdb_prompt set.
19630
19631 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
19632
19633 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
19634 * gdb.base/commands.exp: Likewise.
19635 * gdb.base/setshow.exp: Likewise.
19636
19637 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
19638
19639 * config/monitor.exp(gdb_start): Look for gdb_prompt target
19640 feature.
19641
19642 * config/i960.exp: New file.
19643
19644 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
19645
19646 * gdb.base/funcargs.exp: Check for gdb,short_int target
19647 feature instead of looking for explicit target triplets.
19648
19649 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
19650
19651 * gdb.base/printcmds.exp: add a couple more tests a la
19652 "p 123DEADBEEF", to check parse_number.
19653 * top.c: change "to enable to enable" to "to enable" in a couple
19654 of help strings.
19655
19656 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
19657
19658 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
19659 on the mn10300.
19660
19661 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
19662
19663 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
19664 where the test executable is run with explicit args.
19665 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
19666
19667 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
19668
19669 * gdb.base/run.c: Use FAKEARGV to build test executable that
19670 does not require a command line arg, since most simulators
19671 don't currently support passing such an arg into the simulated
19672 program.
19673 * gdb.base/commands.exp: Change tests to insert the proper
19674 value as the arg to the first recursive factorial call. Change
19675 compilation line to define FAKEARGV at compile time.
19676
19677 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
19678
19679 * gdb.base/recurse.exp: Enable these tests for the mn10300.
19680 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
19681 function with watchpoint enabled" test.
19682
19683 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
19684
19685 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
19686 Don't call gdb_test when the command doesn't return to a gdb prompt.
19687
19688 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
19689 "Tests restarted" messages.
19690
19691 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
19692
19693 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
19694
19695 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
19696
19697 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
19698 for INFO SYMBOL; add help tests for OVERLAY commands.
19699 * gdb.base/default.exp: add tests for INFO SYMBOL command;
19700 add tests for OVERLAY commands
19701 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
19702 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
19703 * gdb.base/sigall.c: add usestubs code frag
19704 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
19705
19706 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
19707
19708 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
19709 failures.
19710 (gdb_stop_suppressing_tests): Note that tests have restarted.
19711
19712 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
19713
19714 * config/h8300.exp: New file.
19715
19716 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
19717
19718 * gdb.base/setshow.exp: Check for the existence of a
19719 feature, not its value.
19720
19721 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
19722
19723 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
19724
19725 * gdb.base/scope.exp: It's now init0(), not init().
19726
19727 * gdb.base/scope0.c: For now, change init() to be init0().
19728
19729 * config/monitor.exp: Use gdb_serial in preference to serial
19730 or netport.
19731
19732 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
19733 and it's not already set.
19734
19735 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
19736
19737 * gdb.base/setshow.exp: Only test the run command if the target
19738 isn't using a stub and if it supports argument passing.
19739
19740 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
19741
19742 * config/udi.exp(gdb_start): Make sure UDICONF is set
19743 properly before starting gdb.
19744
19745 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
19746
19747 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
19748 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
19749 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
19750
19751 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
19752
19753 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
19754 specialized code to reboot the board, use remote_reboot instead.
19755
19756 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
19757
19758 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
19759
19760 * config/monitor.exp: Make sure we disconnect from the target.
19761 Also, try a reboot/reload cycle instead of failing if the
19762 load fails.
19763
19764 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
19765
19766 * gdb.base/default.exp: Don't set match_max.
19767 * gdb.base/help.exp: Ditto.
19768 * gdb.base/list.exp: Ditto.
19769 * gdb.base/signals.exp: Ditto.
19770
19771 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
19772 set, use remote_ld to download the testcase instead of
19773 the GDB loader.
19774
19775 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
19776
19777 * config/vr5000.exp: New file.
19778
19779 * config/monitor.exp(gdb_target_monitor): Add pattern for
19780 "Ending remote" to detect errors in connecting.
19781
19782 * gdb.base/setshow.exp: Add .* within auto language test.
19783
19784 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
19785 target feature.
19786
19787 * config/monitor.exp(gdb_load): Check for a failure when loading,
19788 and reboot the board if necessary.
19789
19790 * gdb.base/setvar.exp(test_set): Handle multiple prints within
19791 a set of tests. Remove print.* from the patterns being checked.
19792
19793 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
19794
19795 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
19796 refer to gdb_spawn_id.
19797
19798 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
19799 longer used.
19800 * config/sparclet.exp: Ditto.
19801 * config/sparclet-old.exp: Ditto.
19802 * config/slite.exp: Ditto.
19803 * config/sim.exp: Ditto.
19804 * gdb.base/funcargs.exp: Ditto.
19805
19806 * lib/gdb.exp:Remove references to gdb_spawn_id.
19807 (gdb_expect): Move to remote.exp.
19808
19809 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
19810
19811 * config/monitor.exp: Detect the "Couldn't establish connection"
19812 message from GDB.
19813
19814 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
19815
19816 * gdb.base/bitfields.exp: Use runto instead of explicit
19817 gdb_run_cmd/gdb_expect sequences.
19818
19819 * gdb.base/break.exp(text_next_with_recursion): Add match for
19820 gdb_expect call.
19821
19822 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
19823 We also need to handle the "A program is being debugged already"
19824 prompt from gdb. Use gdb_test to set the baud rate.
19825
19826 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
19827 to 20000. Really. I mean it.
19828
19829 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19830
19831 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
19832 fails. If suppress_flag is set, skip perror message about not
19833 being able to send to GDB.
19834 (send_gdb): If suppress_flag is set, don't try to send commands to
19835 GDB.
19836 (gdb_expect): If suppress_flag is set, always fail immediately.
19837 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
19838 (gdb_init): Call gdb_stop_suppressing_tests.
19839 (default_gdb_exit): Ditto.
19840 (default_gdb_start): Ditto.
19841
19842 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
19843 gdb_stop_suppressing_tests as appropriate.
19844 * gdb.base/break.exp: Ditto.
19845 * gdb.base/callfuncs.exp: Ditto.
19846 * gdb.base/commands.exp: Ditto.
19847 * gdb.base/exprs.exp: Ditto.
19848 * gdb.base/funcargs.exp: Ditto.
19849 * gdb.base/list.exp: Ditto.
19850 * gdb.base/recurse.exp: Ditto.
19851 * gdb.base/scope.exp: Ditto.
19852 * gdb.base/structs.exp: Ditto.
19853 * gdb.c++/inherit.exp: Ditto.
19854
19855 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
19856
19857 * config/vr4300.exp: New file.
19858
19859 * gdb.*/*.exp: Call gdb_expect instead of expect.
19860
19861 * lib/gdb.exp(gdb_expect): New function.
19862
19863 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
19864
19865 * lib/gdb.exp(gdb_init): New function.
19866
19867 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
19868 for each individual variable set.
19869
19870 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
19871 name.
19872
19873 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
19874
19875 * gdb.base/scope.exp: Use gdb_test.
19876
19877 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
19878 aborting; the testsuite driver will do that for us (see
19879 gdb_finish). Also, use gdb_test in a few more places.
19880
19881 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
19882
19883 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
19884
19885 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
19886
19887 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
19888 and "add_tests" are not at the same address.
19889
19890 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
19891
19892 * gdb.base/ptype.exp: Use gdb_test.
19893
19894 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
19895
19896 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
19897 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
19898 left in. No longer expect them to fail.
19899
19900 * gdb.stabs/*.mt; Deleted, no longer used.
19901 * gdb.stabs/configure.in: Remove references to target makefile
19902 frags.
19903 * gdb.stabs/configure: Rebuilt.
19904
19905 * gdb.disasm/*.mt: Deleted, no longer used.
19906 * gdb.disasm/configure.in: Remove references to target makefile
19907 frags. Use "sh3.s" as the unique filename for this directory.
19908 * gdb.disasm/configure: Rebuilt.
19909
19910 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
19911 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
19912 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
19913
19914 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
19915
19916 * config/udi.exp: Use mondfe,name instead of remote_host.
19917
19918 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
19919
19920 * gdb.base/watchpoint.exp: Don't expect a failure when calling
19921 a function with a watchpoint enabled on the mn10200.
19922
19923 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
19924 before trying to create it!
19925
19926 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
19927
19928 * config/vx.exp: Use hostname instead of netport.
19929
19930 * config/vxworks.exp: New file.
19931
19932 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
19933
19934 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
19935 gdb before assuming everything worked. Send a ^C if a timeout
19936 occurs.
19937
19938 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
19939 $gdb_spawn_id directly.
19940 (gdb_run_cmd): Try _start as well as start. Use the target feature
19941 gdb,start_symbol as the symbol to start from when jumping.
19942
19943 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
19944
19945 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
19946 redundant) test.
19947
19948 * gdb.base/recurse.exp: Relax final value test for 'b' so that
19949 it doesn't lose for 16bit integer systems.
19950
19951 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
19952
19953 * gdb.fortran/types.exp: If the target doesn't support "double"
19954 data types, then expect "real" types to only be 4 bytes.
19955
19956 * gdb.c++/virtfunc.exp: Expect failure for virtual function
19957 call tests if the target doesn't support inferior function calls.
19958
19959 * gdb.base/printcmds.exp: Allow minor deviation in FP values
19960 in printf tests.
19961
19962 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
19963
19964 * gdb.base/help.exp: Disable "help set", "help show", and
19965 "help support". Simplify regexp for "help stack".
19966
19967 * gdb.base/default.exp: Set match_max to 5000 and the timeout
19968 to 60 seconds. Temporarily set match_max to 15000 around the
19969 "info copying" test.
19970
19971 * gdb.base/nodebug.exp: Don't try to do an inferior function
19972 call if the target doesn't support them.
19973 * gdb.base/printcmds.exp: Likewise.
19974 * gdb.base/setvar.exp: Likewise.
19975 * gdb.base/structs.exp: Likewise.
19976 * gdb.c++/templates.exp: Likewise.
19977 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
19978
19979 * gdb.base/recurse.exp: Enable for the mn10200.
19980
19981 * configure.in: Do configure gdb.stabs directory for *-*-elf
19982 targets.
19983 * configure: Rebuilt.
19984
19985 * gdb.base/break.exp: Check for gdb,noresults before testing
19986 exit status and/or results from the target.
19987 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
19988 * lib/gdb.exp: Remove old (now bogus) initialization of
19989 noinferior, noargs, noresults and nosignals.
19990
19991 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
19992
19993 * config/sh.exp: New file.
19994
19995 * config/slite.exp: Try to connect multiple times to the board
19996 before rebooting. Only send a "monitor run" if need_monitor_run
19997 is set.
19998
19999 * gdb.base/break.exp: Don't do the "stub continue" test if
20000 the target has gdb_stub set.
20001
20002 * gdb.base/callfuncs.exp: Increase the timeout.
20003
20004 * gdb.base/interrupt.exp: Don't even try to compile the testcase
20005 if the target has gdb,noinferiorio set.
20006
20007 * gdb.base/list.exp: Increase match_max to 10000 characters.
20008
20009 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
20010
20011 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
20012 target.
20013
20014 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
20015
20016 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
20017
20018 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
20019 trying to delete the copy of gdb. Catch the file delete so we
20020 don't die if the delete fails; also, the file should be copied to
20021 the host, not to the build.
20022
20023 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
20024
20025 * lib/gdb.exp(gdb_test): Surround the result pattern with
20026 parenthesis in case it contains multiple regexps separated
20027 with |.
20028
20029 * gdb.base/watchpoint.exp: Use gdb_test.
20030 * gdb.base/default.exp: Ditto.
20031
20032 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
20033
20034 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
20035
20036 * gdb.base/scope.exp: Use gdb_test.
20037 * gdb.c++/classes.exp: Ditto.
20038 * gdb.c++/inherit.exp: Ditto.
20039
20040 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
20041
20042 * gdb.base/crossload.exp: Don't use execute_anywhere, use
20043 remote_exec instead.
20044 * gdb.base/corefile.exp: Don't be ridiculous.
20045 * gdb.base/*.c: Add missing stub invocations.
20046
20047 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
20048
20049 * config/slite.exp: Miscellaneous fixes.
20050
20051 * lib/gdb.exp: Fix runto.
20052
20053 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
20054 the target.
20055
20056 * gdb.base/watchpoint.exp: Fix regexp.
20057
20058 * lib/gdb.exp(default_gdb_exit): Add a catch to the
20059 close and wait commands, as the descriptor may now be
20060 invalid. Always call "remote_close host".
20061
20062 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
20063
20064 Major rewrite for testsuite revision.
20065
20066 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
20067 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
20068 instead of relying on spawn_id to always contain a valid
20069 spawn id.
20070 (get_compiler_info): New procedure to build the ${binfile}.ci
20071 file, instead of replicating this in N different places.
20072 (gdb_compile): New procedure.
20073
20074 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
20075 appropriate arguments) instead of compile. Use gdb_test in a lot
20076 more places. Use send_gdb instead of send. Always run gdb_start
20077 at the start of a testcase, as this is no longer done magically.
20078
20079 config/*-gdb.exp: Rename without the -gdb suffix.
20080
20081 config/mips.exp: Use remote_close instead of exit_remote_shell.
20082 config/monitor.exp: Use target_info instead of looking at
20083 baud, timeout, etc.
20084 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
20085
20086 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20087
20088 * gdb.c++/templates.exp (test_ptype_of_templates),
20089 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
20090 Update expect patterns for destructors and assignment operators
20091 to match corresponding c-typeprint.c changes.
20092 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
20093 to destructor breakpoint test, GDB should be able to set the
20094 destructor breakpoint without specifying arguments.
20095
20096 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
20097
20098 * gdb.threads/pthreads.exp: Change result for failure to compile due
20099 to lack of pthreads runtime support from an error to simply an
20100 unsupported test, per dejagnu standards.
20101
20102 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20103
20104 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
20105 where GDB exits to reduce pattern match time.
20106 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
20107
20108 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
20109
20110 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
20111
20112 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
20113 * gdb.base/default.exp: ditto.
20114 * gdb.base/nodebug.exp: ditto.
20115 * gdb.base/printcmds.exp: ditto.
20116 * gdb.base/ptype.exp: ditto.
20117 * gdb.base/setvar.exp: ditto.
20118 * gdb.base/structs.exp: ditto.
20119 * gdb.base/setshow.c: Guard against uninitialized values of argc.
20120
20121 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
20122
20123 * configure, */configure: Rebuild with autoconf 2.12.
20124
20125 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
20126
20127 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
20128 use new i*86-pc-linux*-gnu quads.
20129 * gdb.base/corefile.exp: Ditto.
20130 * gdb.base/signals.exp: Ditto.
20131 * gdb.base/sigall.exp: Ditto.
20132 * gdb.base/interrupt.exp: Ditto.
20133
20134 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
20135 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
20136 RedHat 4.0.
20137
20138 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
20139 linux. This allows the test case to at least compile on latest
20140 linux, but still not run due to missing the threads runtime library.
20141
20142 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20143
20144 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
20145 directory to search gdb directory. Accept and step over conditional
20146 stack alignment code. Consume $prompt in failure cases.
20147 Reset timeout to $oldtimeout instead of some arbitrary value.
20148 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
20149 timeout problems with infinite stack backtraces.
20150 * gdb.base/ptype.exp (ptype struct link, union tu_link):
20151 Accept function parameters for linkfunc member.
20152
20153 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
20154
20155 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
20156 (CXXFLAGS): Remove, unreferenced.
20157 (B_OPTIONS): Add for -B options and add code to initialize with
20158 previous -B options and also add -B option to pick up cross compiled
20159 runtime.
20160 (TARGET_INCLUDES): Add for -I options and add code to initialize when
20161 doing cross compiles.
20162 (target_alias): Declare global.
20163 (xgcc): Set variable to full path of gcc in build tree. Use findfile
20164 to verify that gcc exists in build tree, and if so set CC to that
20165 gcc and to use B_OPTIONS and TARGET_INCLUDES.
20166
20167 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
20168
20169 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
20170 ptype test for anonymous union. Fixup testcase to match
20171 current gcc debug output.
20172
20173 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
20174
20175 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
20176 force argument to an unsigned long type.
20177
20178 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
20179
20180 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
20181 tests and anonymous union print/ptype tests.
20182 * gdb.base/list.exp (test_forward-search): Increase timeout by
20183 5 minutes for the "search extremely long line" case.
20184 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
20185 completely optional and that the pass/fail messages use the command as
20186 the message if that third arg is a null string.
20187 (gdb_test_exact): Arrange that a null string pattern means match a
20188 null string output rather than any output, which might include random
20189 errors.
20190 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
20191 backtrace test.
20192 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
20193 always failing and failure is now exposed by gdb.exp changes.
20194
20195 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
20196
20197 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
20198 weren't being noted.
20199
20200 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20201
20202 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
20203 * gdb.stabs/weird.exp: Remove v_comb xfails.
20204
20205 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
20206
20207 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
20208 list.exp scope.exp watchpoint.exp]
20209 Make all timeout error msgs explicitly say "(timeout)".
20210
20211 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
20212
20213 * config/monitor.exp: Increase download timeout to 1000 seconds.
20214
20215 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
20216
20217 * config/m32r.exp: Increase timeout to 120 seconds.
20218
20219 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
20220
20221 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
20222 and accept older ordering as obsolescent gcc or gdb.
20223 * gdb.c++/templates.exp: Ditto.
20224 * gdb.c++/virtfunc.exp: Ditto.
20225
20226 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
20227
20228 * gdb.base/coremaker.c: Add code to mmap some data so we
20229 can check that it ends up in the core file.
20230 * gdb.base/corefile.exp: Add test to read mmapped data
20231 from core file.
20232
20233 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
20234
20235 * config/m32r.exp: New file.
20236
20237 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
20238
20239 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
20240 that cflags can contains -gstabs, and work correctly for other tests.
20241
20242 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
20243
20244 * gdb.base/setshow.exp: New file, tests show and set.
20245 * gdb.base/setshow.c: New file, tests show and set.
20246 * gdb.base/help.exp: Add test for help set|show annotate.
20247 * gdb.base/default.exp: Add test for set|show annotate.
20248
20249 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
20250
20251 * testsuite/gdb.base/break.exp: Make backtrace from factorial
20252 errors unique.
20253 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
20254 explicitly.
20255
20256 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
20257
20258 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
20259 and width commands. This is done elsewhere.
20260 * (gdb_start): Don't call gdb_start_sim here. That's already
20261 done in gdb_load. This fixes lots of failures in default.exp.
20262
20263 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
20264
20265 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
20266 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
20267 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
20268 in the same we we treat other failures (since it may be an expected
20269 condition), rather than as an error.
20270 * gdb.base/signals.exp (test_handle_all_print): Revert back to
20271 old test format.
20272
20273 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
20274
20275 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
20276 (distclean maintainer-clean realclean): No need to remove files
20277 twice. Nuke the duplicates.
20278 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
20279 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
20280 Remove config.h along with other config files.
20281
20282 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
20283
20284 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
20285 "p func1 ()" and note that rests of tests are skipped.
20286 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
20287 setup_xfails for "print func2::coremaker_local".
20288 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
20289 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
20290 affected by the previous run test.
20291 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
20292 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
20293 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
20294 "pass int powerset tuple" and "pass modeless int powerset tuple".
20295 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
20296 "real write 4" and "real write 8".
20297 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
20298 setup_xfails for "print vs1 after tuple assign 2",
20299 "print \$i after tuple assign 2", and
20300 "print vs2 after tuple assign 2".
20301 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
20302 meaningful error message and return -1 so the caller can
20303 suppress further tests and avoid a cascade of errors.
20304
20305 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
20306
20307 * gdb.base/a1-selftest.exp: Tweak tests to account for new
20308 format for printing version.
20309 * gdb.base/default.exp: Ditto.
20310 * gdb.base/interrupt.exp: Fix problem with cascade of
20311 errors if child process dies while calling a function.
20312
20313 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
20314
20315 * Makefile.in (VPATH): Add
20316 * Makefile.in (Makefile, config.status): Fix rules so things get
20317 remade when necessary.
20318
20319 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
20320
20321 * Makefile.in (just-check): Add path to sibling expect dir
20322 to environment variable specified by RPATH_ENVVAR.
20323
20324 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
20325
20326 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
20327 (just-check): Add shared library paths for libstdc++, tk,
20328 tcl, bfd, and opcodes to the environment variable specified
20329 in RPATH_ENVVAR.
20330 * configure.in: Add support to recognize --enable-shared flag
20331 and generate correct value for RPATH_ENVVAR.
20332 * configure: Regenerated with autoconf.
20333
20334 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
20335
20336 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
20337 include all osf versions.
20338 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
20339 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20340 when target is linux. When failing to build pthreads test
20341 executable, give more meaningful message.
20342 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20343 arg for pthread_create.
20344
20345 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
20346
20347 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
20348 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
20349 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
20350 and -lpthreads (everybody else).
20351 (test_startup): Fail gracefully if threads are not supported.
20352 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
20353 "p/c array_index("abcdef",2)" when not gcc compiled.
20354 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
20355 "print func2::coremaker_local" when not gcc compiled.
20356 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
20357 "ptype on opaque struct tagname (statically)",
20358 "ptype on opaque struct tagname (dynamically) 1", and
20359 "ptype on opaque struct tagname (dynamically) 2"
20360 for not compiled with gcc.
20361 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
20362 backtrace when compiled with gcc.
20363 * lib/gdb.exp (runto_main): Return result of "runto main" rather
20364 than always return success.
20365
20366 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
20367
20368 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
20369
20370 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
20371
20372 * gdb.base/structs.exp: Undo last change.
20373
20374 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
20375
20376 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
20377 encapsulate all the steps/nexts done during self test, starting
20378 at main, and makes them less sensitive to optimization issues.
20379 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
20380 signal handler" test.
20381 * gdb.threads/pthreads.exp: Only run this for native configs.
20382 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
20383 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
20384 tests.
20385 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
20386 for "runto test_calls(void)" test.
20387
20388 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20389
20390 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20391 and don't expect address info in breakpoint confirmations.
20392
20393 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20394
20395 * gdb.base/list.exp (test_forward_search): Increase timeout
20396 temporarily by 60 seconds for searching extremely long line,
20397 and then reset to old value when done. Increase expect input
20398 buffer to 10000.
20399
20400 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20401
20402 * gdb.base/list.exp (test_forward_search): Fix to handle very
20403 long source line without overflowing expect's input buffer.
20404
20405 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20406
20407 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20408 "buffer_full".
20409
20410 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20411 "buffer_full".
20412
20413 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20414 "buffer_full".
20415
20416 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20417 "buffer_full".
20418
20419 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20420
20421 * configure.in (configdirs): Add gdb.threads.
20422 * configure: Regenerated with autoconf.
20423 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20424 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20425 * gdb.threads/configure: New, generated with autoconf.
20426
20427 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20428
20429 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20430
20431 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20432
20433 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20434 each signal's status in the output of "handle all print".
20435 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20436 the \r\n sequence that immediately precedes the gdb prompt.
20437 * gdb.base/a1-selftest.exp: Save original timeout and restore
20438 after test.
20439
20440 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20441
20442 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20443 symbol.
20444
20445 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20446
20447 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20448
20449 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20450
20451 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20452 timeout by 60 seconds.
20453
20454 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20455
20456 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20457 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20458 error return.
20459
20460 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20461
20462 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20463 gdb initialization, also report how long dejagnu waited. Restore
20464 old timeout before doing error return. Temporarily increase timeout
20465 by 3 minutes to allow for slow startups over heavy NFS use.
20466
20467 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20468
20469 * lib/gdb.exp: Report timeout value for verbosity level 2.
20470 * config/gdbserver.exp: Ditto.
20471 * config/hppro.exp: Ditto.
20472 * config/mips-gdb.exp: Ditto.
20473 * config/monitor.exp: Ditto.
20474 * config/netware.exp: Ditto.
20475 * config/sim-gdb.exp: Ditto.
20476 * config/slite-gdb.exp: Ditto.
20477 * config/udi-gdb.exp: Ditto.
20478 * config/unix-gdb.exp: Ditto.
20479 * config/vx-gdb.exp: Ditto.
20480 * gdb.base/a1-selftest.exp: Ditto.
20481 * gdb.base/a2-run.exp: Ditto.
20482 * gdb.base/break.exp: Ditto.
20483 * gdb.base/corefile.exp: Ditto.
20484 * gdb.base/list.exp: Ditto.
20485 * gdb.base/recurse.exp: Ditto.
20486 * gdb.base/scope.exp: Ditto.
20487 * gdb.base/signals.exp: Ditto.
20488
20489 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20490
20491 * gdb.threads/Makefile.in (docdir): Removed.
20492
20493 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20494
20495 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
20496 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
20497 @srcdir@.
20498 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
20499 autoconf 2.5 or higher.
20500 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20501
20502 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20503
20504 * configure: Regenerated.
20505 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20506 avoid name clashes with SunOS headers.
20507
20508 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20509
20510 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20511
20512 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20513
20514 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20515 prototype information ends up in the compiler info file.
20516
20517 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20518
20519 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20520 attempting to regenerate it. Eliminate use of a temporary file
20521 and just generate the info file directly. Source it immediately,
20522 for consistency of use.
20523 * gdb.base/corefile.exp: Ditto
20524 * gdb.base/exprs.exp: Ditto.
20525 * gdb.base/funcargs.exp: Ditto.
20526 * gdb.base/langs.exp: Ditto.
20527 * gdb.base/list.exp: Ditto.
20528 * gdb.base/mips_pro.exp: Ditto.
20529 * gdb.base/nodebug.exp: Ditto.
20530 * gdb.base/opaque.exp: Ditto.
20531 * gdb.base/ptype.exp: Ditto.
20532 * gdb.base/scope.exp: Ditto.
20533 * gdb.base/setvar.exp: Ditto.
20534 * gdb.base/signals.exp: Ditto.
20535 * gdb.base/whatis.exp: Ditto.
20536 * gdb.c++/templates.exp: Ditto.
20537 * gdb.c++/virtfunc.exp: Ditto.
20538 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
20539 whether or not to add -lstdc++ to the compile command line args.
20540
20541 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20542
20543 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
20544 it got fixed by the recent lookup_minimal_symbol_by_pc change.
20545 Increase timeout, a lot of single stepping might be needed if the
20546 target has no hardware watchpoints.
20547
20548 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
20549
20550 * gdb.base/break.exp: Ignore compiler warnings when compiling
20551 break.c.
20552 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
20553 * gdb.base/default.exp: Add h8300 xfails. Handle messages
20554 from remote-sim.
20555 * gdb.base/exprs.exp: Add h8300 xfails.
20556 * gdb.base/funcargs.exp: Likewise.
20557 * gdb.base/nodebug.exp: Likewise.
20558 * gdb.base/printcmds.exp: Likewise.
20559 * gdb.base/ptype.exp: Likewise.
20560 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
20561 h8300 xfails.
20562 * gdb.base/return.exp: Handle float/double precision problems
20563 on the h8300.
20564 * gdb.base/funcargs.c: Explicitly make last constant argument to
20565 call_after_alloca_subr an unsigned long type.
20566 * gdb.base/return.c: Include stdio.h.
20567
20568 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
20569
20570 * config/abug.exp: New file for the older Motorola Bug monitor
20571 that runs on the mvme13x series VME boards.
20572 * config/monitor.exp: Use the new config array for target settings
20573 if they exist.
20574
20575 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
20576
20577 * sim-gdb.exp: Make the SH simulator allocate less space when
20578 it is targeted.
20579
20580 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
20581
20582 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
20583 test.
20584
20585 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
20586
20587 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
20588 "rs6000-*-*" for "list function in include file" when gcc compiled.
20589 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
20590 for "p ctable1[120]".
20591 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
20592 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
20593 Remove setup_xfail for "rs6000-*-*" for
20594 "print 'scope0.c'::filelocal before run".
20595 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
20596 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
20597 since some compilers don't allow both options to be given
20598 on the same command line. Create object file and move it.
20599
20600 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
20601
20602 * gdb.base/corefile.exp: Always regenerate the core file, since
20603 we always regenerate the coremaker program. Detect special case
20604 where registers cannot be read from core file.
20605
20606 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
20607
20608 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
20609 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
20610 * gdb.c++/templates.exp: Only match on basename of file since
20611 some formats like xcoff don't encode directory information.
20612 * gdb.stabs/weird.exp: Use the right sed script for powerpc
20613 and rs6000 AIX xcoff targets.
20614 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
20615 * configure: Regenerate.
20616 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
20617 here, rather than in distclean.
20618
20619 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
20620
20621 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
20622 defined, and use it to compile the test case with -O2. The
20623 native compilation still uses no optimization.
20624 * gdb.base/mips_pro.c: Remove inline assembly code since
20625 it is compiled PIC by default, which results in assembler
20626 warnings that make the testsuite think the compilation
20627 was unsuccessful.
20628
20629 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
20630
20631 * gdb.c++/misc.exp: Add note to message for
20632 "print s.a for foo struct" that this is a known gcc 2.7.2
20633 and earlier bug.
20634
20635 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
20636
20637 * gdb.base/break.exp: Fix pattern for matching "Delete all
20638 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
20639 setup_xfail for deleting all breakpoints test. Fix various
20640 timeout messages to include "(timeout)".
20641 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
20642 for "p t_float_values2(3.14159,float_val2)".
20643 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
20644 for "continue to call2g" when gcc compiled.
20645 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
20646 "up to foo in langs.exp", "show language at foo in langs.exp",
20647 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
20648 and "show language at fsub in langs.exp".
20649 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
20650 "list line 1 in include file", "list message for lines past EOF",
20651 "list function in include file", "list list0.h:foo", and
20652 "list filename:function; nonexistant function".
20653 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
20654 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
20655 and "ptype t_char_array" to be for native cc only.
20656
20657 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
20658
20659 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
20660 setup_xfail for "print coremaker_bss", "print coremaker_ro",
20661 "print func2::coremaker_local", and "backtrace in corefile.exp".
20662
20663 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
20664
20665 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
20666 "bt in signals.exp". This problem only appears when running
20667 the testsuite, and then only intermittently.
20668
20669 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
20670
20671 * gdb.base/return.exp (return_tests): Differentiate between
20672 two tests of continuing.
20673
20674 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
20675
20676 * */Makefile.in (maintainer-clean): Remove config.log.
20677 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
20678 * gdb.c++/Makefile.in (PROGS): Add inherit.
20679 (clean): Remove *.ci.
20680
20681 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
20682
20683 * gdb.c++/misc.cc: Add test code from Mike Stump.
20684 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
20685
20686 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
20687
20688 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
20689 to "alpha-*-osf2*" and add comment.
20690 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
20691 setup_xfail for "step over execarg initialization" and
20692 "step over corearg initialization".
20693 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
20694 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
20695 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
20696 gcc compiled for "print coremaker_bss", "print coremaker_ro",
20697 "print func2::coremaker_local", and "backtrace in corefile.exp".
20698 * gdb.base/signals.exp: Build and source signals.ci.
20699 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
20700 to be for gcc only.
20701 * lib/gdb.exp: Move verbose statements outside conditionals.
20702
20703 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20704
20705 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
20706 Feb 3 procfs.c change.
20707
20708 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
20709
20710 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
20711
20712 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
20713
20714 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
20715 from dejagnu's apparent default of 10 seconds, which gives random
20716 results when running the tests over NFS on moderately loaded systems.
20717 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
20718
20719 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
20720
20721 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
20722 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
20723 result reports.
20724
20725 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
20726
20727 * configure.in (CY_AC_PATH_TCLH): Remove.
20728 * configure: Regenerate.
20729
20730 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
20731
20732 * gdb.c++/Makefile.in (clean): Add missing '{'.
20733
20734 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
20735
20736 * lib/gdb.exp: Provide a default value for noinferior.
20737
20738 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
20739 Load libgloss.exp.
20740
20741 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
20742
20743 * gdb.disasm/hppa.exp: Compile directly into an executable, use
20744 the executable, not the .o to run the tests from.
20745
20746 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
20747
20748 * gdb.base/break.exp: Don't test for program exit or exit status
20749 if $noresults if nonzero.
20750 * gdb.base/langs.exp: Likewise.
20751 * gdb.base/watchpoint.exp: Likewise.
20752
20753 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
20754 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
20755 trying to compile the testcase.
20756
20757 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
20758
20759 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
20760 * gdb.base/signals.exp (continue to handler): Likewise.
20761
20762 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
20763
20764 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
20765
20766 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
20767
20768 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
20769
20770 * gdb.base/corefile.exp: Recognize "not found" as failure
20771 when trying to determine if a core file was generated.
20772 If no core file was generate the first time, try again without
20773 the ulimit -c to work around braindamaged shells.
20774
20775 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
20776
20777 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
20778 [] tests with "test" and enclose string in quotes.
20779 * gdb.stabs/configure: Rebuild
20780
20781 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
20782
20783 Changes in sync with expect:
20784 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
20785 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
20786 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
20787 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
20788 argument to AC_REQUIRE.
20789 * configure: Regenerated.
20790
20791 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
20792
20793 * gdb.base/corefile.exp: When generating a core, discard any
20794 error messages about ulimit not found and the "core dumped"
20795 message from the shell that runs the coredumper.
20796
20797 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
20798
20799 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
20800
20801 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
20802 which sed script to run. Expect failure for v_comb test
20803 on PA targets too.
20804
20805 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
20806
20807 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
20808 "print func2::coremaker_local" and for "backtrace in corefile.exp"
20809
20810 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
20811
20812 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
20813 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
20814 "sparc-sun-solaris*" xfails for "p v_comb".
20815 * lib/gdb.exp (default_gdb_start): Fix typo.
20816 * gdb.base/corefile.exp: Allow "Core was generated by ..."
20817 messages to not include the full program name that caused
20818 the core dump since some systems (such as solaris) apparently
20819 truncate this path to about 80 characters.
20820 When generating a core file first try increasing the core file
20821 size limit to unlimited since some systems may default it to
20822 zero, and it is harmless to try it. Move the test for failing
20823 to generate a core file to where it will actually get executed.
20824 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
20825 new gdb result from g++ debug info improvements and make old
20826 pattern obsolescent. Also account for size_t differences
20827 (may be int or long).
20828 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
20829 initialization before function call is placed in the delay slot
20830 and thus appears to be skipped over by commands such as "next".
20831
20832 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
20833
20834 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
20835
20836 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
20837
20838 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
20839 input source file; fix code to compile test to deal with this
20840 convention.
20841 * gdb.c++/*.exp: Likewise.
20842
20843 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
20844
20845 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
20846 "bt in signals.exp".
20847
20848 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
20849
20850 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
20851 "step over execarg initialization" and
20852 "step over corearg initialization".
20853
20854 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
20855
20856 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
20857 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
20858
20859 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
20860
20861 From Rob Savoye (rob@poseidon.cygnus.com)
20862 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
20863 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
20864 configure.in}, gdb.disasm/{Makefile.in, configure.in},
20865 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
20866 configure.in}: Major reworking for autoconfig.
20867 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
20868 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
20869 New files.
20870 * config/unix-gdb.exp: Make GDB global.
20871 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
20872 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
20873 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
20874 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
20875 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
20876 term.exp, twice.exp, watchpoint.exp, whatis.exp},
20877 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
20878 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
20879 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
20880 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
20881 pr-8136.exp, result.exp, string.exp, tuples.exp},
20882 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
20883 to returns as necessary, arrange for test to compile own testcase
20884 executable.
20885 * lib/gdb.exp: Changes for testsuite to compile own test cases.
20886
20887 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
20888
20889 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
20890 clear_xfail at end of test which might not call either pass or fail.
20891 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
20892 "backtrace through signal handler".
20893
20894 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20895
20896 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
20897 continuing from a job control stop signal.
20898 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
20899
20900 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
20901
20902 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
20903 * gdb.base/corefile.exp: Likewise.
20904 * gdb.base/funcargs.exp: Likewise.
20905
20906 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
20907
20908 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
20909 * config/monitor.exp: Add support for setting baud rate.
20910
20911 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
20912
20913 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
20914 i*86-*-linux* xfails for "backtrace through signal handler".
20915 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
20916 "print func2::coremaker_local".
20917 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
20918 alpha-dec-osf2* xfail for
20919 "delete all breakpoints when none".
20920
20921 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
20922
20923 * gdb.base/break.exp: Change test that deletes all breakpoints
20924 when no user breakpoints are installed. A post 4.15 change
20925 causes gdb to no longer prompt in this case.
20926
20927 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
20928
20929 * gdb.base/return.exp (return_tests): Change xfail for test
20930 "correct value returned double test" to stop xfailing at
20931 Solaris 2.5. Apparently the bug has been fixed.
20932
20933 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
20934
20935 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
20936 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
20937
20938 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
20939
20940 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
20941 * gdb.disasm/hppa.s: Corresponding changes.
20942
20943 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
20944
20945 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
20946 makefile fragment.
20947 * config/mt-hpux: Deleted.
20948
20949 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
20950
20951 * Many files: When warning about suppressed tests due to a
20952 nonexistant test binary, avoid incrementing the warning count.
20953
20954 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
20955
20956 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
20957
20958 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20959
20960 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
20961 "sparc-*-solaris2*".
20962
20963 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20964
20965 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
20966 Add global and local variables and initialize them.
20967 * gdb.base/corefile.exp: Test correct mapping of corefile sections
20968 by printing variables. Remove rs6000 and powerpc xfails, BFD now
20969 extracts the file name and terminating signal from the core file.
20970 * TODO: Remove note about tests for correct mapping of corefile.
20971 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
20972 from optimizing it away.
20973 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
20974 handles common blocks.
20975
20976 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
20977
20978 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
20979 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
20980
20981 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
20982
20983 * Makefile.in (maintainer-clean): New target, synonym for
20984 realclean.
20985 * gdb.base/Makefile.in (maintainer-clean): Likewise.
20986 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
20987 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
20988 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
20989 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
20990 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
20991
20992 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
20993
20994 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
20995 xfails when not gcc compiled for "print foo::funclocal".
20996 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
20997 "print foo::funclocal at foo",
20998 "print 'scope1.c'::foo::funclocal at foo",
20999 "print foo::funclocal_bss at foo",
21000 "print 'scope1.c'::foo::funclocal_bss at foo",
21001 "print foo::funclocal_ro at foo",
21002 "print 'scope1.c'::foo::funclocal_ro at foo",
21003 "print bar::funclocal at foo" and
21004 "print 'scope1.c'::bar::funclocal at foo".
21005 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
21006 gcc compiled for "print foo::funclocal at bar".
21007 Expand all messages to ensure that they identify that
21008 the test is at bar().
21009 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
21010 gcc compiled for:
21011 "ptype on opaque struct pointer (statically)",
21012 "ptype on opaque struct tagname (statically)",
21013 "ptype on opaque struct pointer (dynamically) 1",
21014 "ptype on opaque struct tagname (dynamically) 1",
21015 "ptype on opaque struct pointer (dynamically) 2" and
21016 "ptype on opaque struct tagname (dynamically) 2
21017 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
21018 gcc compiled for:
21019 "p datalocal"
21020 "whatis datalocal",
21021 "ptype datalocal",
21022 "p bsslocal",
21023 "whatis bsslocal", and
21024 "ptype bsslocal".
21025 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
21026 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
21027 when not gcc compiled.
21028 * gdb.base/funcargs.exp (float_and_integral_args): Add
21029 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
21030 compiled.
21031 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
21032 "backtrace from call6a" when not gcc compiled.
21033 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
21034 "backtrace from call7a" when not gcc compiled.
21035 * gdb.base/callfuncs.exp (do_function_calls):
21036 Add "hppa*-*-hpux*" xfail when not gcc compiled for
21037 "p t_char_array_values(char_array_val2,char_array_val1)",
21038 "p t_char_array_values(char_array_val1,char_array_val2)",
21039 "p t_char_array_values("carray 1","carray 2")",
21040 "p t_char_array_values("carray 1",char_array_val2)",
21041 "p t_char_array_values(char_array_val1,"carray 2")",
21042 "p sum_args(1,{2})",
21043 "p sum_args(2,{2,3})",
21044 "p sum_args(3,{2,3,4})",
21045 "p sum_args(4,{2,3,4,5})"
21046 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
21047 "backtrace in corefile.exp" when not gcc compiled.
21048
21049 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21050
21051 * gdb.base/signals.exp: Rewrite `handle all print' test as
21052 a procedure. Accept blanks or TABs as whitespace, increase
21053 timeout and expect input buffer size for the large output
21054 from the command. Remove "i*86-*-bsdi2.0" xfail.
21055
21056 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21057
21058 * gdb.base/setvar.exp: Add new testcases for truncation when
21059 assigning invalid values to bitfields.
21060
21061 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
21062
21063 * gdb.base/callfuncs.exp (do_function_calls): Remove
21064 mips-sgi-irix* xfail for
21065 "call inferior func with struct - returns char *"
21066 and fix test so that an optional (unsigned char *) cast is
21067 accepted in the result.
21068
21069 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
21070
21071 * gdb.base/funcargs.exp (float_and_integral_args): Remove
21072 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21073 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
21074 * gdb.base/signals.exp: Remove duplicate "handle all print" test
21075 that accidentally got checked in.
21076
21077 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
21078
21079 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
21080 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
21081 compiled test.
21082 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
21083 Add mips-sgi-irix5* xfail for not gcc compiled.
21084 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
21085 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
21086 "p top", "whatis top", "p middle", and "whatis middle".
21087 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
21088 "whatis signed char" for not gcc compiled.
21089 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
21090 "set variable signed char=-1 (-1)" and
21091 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
21092 * gdb.base/funcargs.exp (float_and_integral_args):
21093 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
21094 Add mips-sgi-irix* xfail when not gcc compiled for
21095 "continue to call2b".
21096 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
21097 "continue to call2g".
21098 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
21099 "backtrace from call6a"
21100 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
21101 "backtrace from call7k".
21102 Add mips-sgi-irix5* xfail when not gcc compiled for
21103 "backtrace from call7a".
21104 (localvars_after_alloca): Fix gdb_test cmds for
21105 "print * after runto ...".
21106 Remove rs6000-*-* xfails for
21107 "print i after runto localvars_after_alloca" and
21108 "print l after runto localvars_after_alloca"
21109 for all compilers.
21110 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
21111 when not compiled with gcc, for:
21112 "print signed char == (minus)",
21113 "print signed char != (minus)",
21114 "print signed char < (minus)",
21115 "print signed char > (minus)".
21116 * gdb.base/callfuncs.exp (do_function_calls):
21117 Add mips-sgi-irix* xfail, when compiled with native compiler, for
21118 "call inferior func with struct - returns char *".
21119 * gdb.base/return.exp (return_tests): Change xfail for
21120 "correct value returned double test" to include Solaris 2.4.
21121 * gdb.base/funcargs.exp (float_and_integral_args):
21122 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
21123
21124 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21125
21126 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
21127 enumeration bitfields if compiling with GNU C.
21128 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
21129 to empty' prompt.
21130
21131 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
21132
21133 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
21134 test for PRO targets.
21135
21136 * gdb.base/funcargs.exp: Avoid ever setting more than 8
21137 breakpoints in the inferior at any given time by making
21138 two groups of breakpoints for call2*, call6* and call7*
21139 tests.
21140
21141 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21142
21143 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
21144 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
21145 from optimizing it away.
21146 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
21147 "call inferior func with struct".
21148
21149 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
21150
21151 * configure.in: Only configure gdb.chill for particular targets.
21152
21153 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
21154
21155 * gdb.base/Makefile.in: Add action to .c.o transformation
21156 rule that generates a .ci file for each .o file and remove
21157 explicit .c.o rules except for callfuncs.o.
21158 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
21159 generates a .ci file for each .o file and remove explicit
21160 .cc.o rules.
21161 (clean): Remove *.tmp *.ci files.
21162 (EXECUTABLES): Remove templ-info.exp.
21163 * gdb.base/compiler.c: New file.
21164 * gdb.c++/compiler.cc: New file
21165 * gdb.base/scope.exp: Source gdb.base/scope.ci.
21166 Change rs6000-*-* xfail for
21167 "print 'scope0.c'::filelocal_ro" and
21168 "print 'scope1.c'::filelocal" and
21169 "print 'scope1.c'::filelocal_bss" and
21170 "print 'scope1.c'::filelocal_ro" and
21171 "print 'scope1.c'::foo::funclocal" and
21172 "print 'scope1.c'::foo::funclocal_ro" and
21173 "print 'scope1.c'::bar::funclocal" and
21174 "print 'scope0.c'::filelocal_ro" and
21175 "print 'scope1.c'::filelocal at foo" and
21176 "print 'scope1.c'::filelocal_bss at foo" and
21177 "print 'scope1.c'::filelocal_ro at foo" and
21178 "print 'scope1.c'::foo::funclocal at foo" and
21179 "print 'scope1.c'::foo::funclocal_bss at foo" and
21180 "print 'scope1.c'::foo::funclocal_ro at foo" and
21181 "print 'scope1.c'::bar::funclocal at foo" and
21182 "print 'scope0.c'::filelocal_ro" and
21183 "print 'scope1.c'::filelocal" and
21184 "print 'scope1.c'::filelocal_bss" and
21185 "print 'scope1.c'::filelocal_ro" and
21186 "print 'scope1.c'::foo::funclocal" and
21187 "print 'scope1.c'::foo::funclocal_bss" and
21188 "print 'scope1.c'::foo::funclocal_ro" and
21189 "print 'scope1.c'::bar::funclocal" and
21190 "print 'scope1.c'::bar::funclocal_bss"
21191 to only be xfail'd when not compiled with gcc.
21192 Add rs6000-*-* xfail for
21193 "print 'scope0.c'::filelocal_bss before run"
21194 when compiled with gcc.
21195 (test_at_main): Add rs6000-*-* xfail for
21196 "print filelocal_ro in test_at_main"
21197 when compiled with gcc.
21198 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
21199 Add rs6000-*-aix* xfail for
21200 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
21201 "ptype t_char_array", not compiled with gcc.
21202 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
21203 xfail for "list foo (in include file)" when gcc compiled.
21204 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
21205 (integral_args): Add rs6000-*-* xfail for
21206 "run to call0a" if not compiled with gcc.
21207 (unsigned_integral_args): Add rs6000-*-* xfail for
21208 "run to call1a" if not compiled with gcc.
21209 (float_and_integral_args): Add rs6000-*-* xfail for
21210 "run to call2a" if not compiled with gcc and for
21211 "continue to call2b" for any compiler.
21212 Add rs6000-*-* xfail to
21213 "print f1 after run to call2a" for gcc compiled.
21214 (discard_and_shuffle): Add rs6000-*-* xfail for
21215 "run to call6a".
21216 (shuffle_round_robin): Add rs6000-*-* xfail for
21217 "backtrace from call7a" if not compiled with gcc.
21218 Add rs6000-*-* xfail for
21219 "backtrace from call7b" if compiled with gcc.
21220 (call_after_alloca): Add rs6000-*-* xfail for
21221 "print c in call_after_alloca" and
21222 "print s in call_after_alloca" and
21223 "backtrace from call_after_alloca_subr"
21224 if not compiled with gcc.
21225 (localvars_in_indirect_call): Add rs6000-*-* xfail for
21226 "print c in localvars_in_indirect_call" and
21227 "print c in localvars_in_indirect_call" and
21228 "backtrace in indirectly called function" and
21229 "stepping into indirectly called function"
21230 if not compiled with gcc.
21231 (localvars_after_alloca): Add rs6000-*-* xfail for
21232 "print c after runto localvars_after_alloca" and
21233 "print s after runto localvars_after_alloca" and
21234 "print i after runto localvars_after_alloca" and
21235 "print l after runto localvars_after_alloca"
21236 for all compilers.
21237 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
21238 than whatis-info.exp.
21239 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
21240 than opaque-info.exp.
21241 Setup rs6000-*-* xfail for
21242 "ptype on opaque struct pointer (statically)" and
21243 "ptype on opaque struct pointer (dynamically)" when
21244 not compiled with gcc.
21245 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
21246 rather than callf-info.exp.
21247 (do_function_calls): Add clear_xfail for rs6000-*-* for
21248 "p t_float_values2(3.14159,float_val2)". Seems to work
21249 fine there, both with xlc and gcc. Need to find out what
21250 it is doing right and fix other platforms.
21251 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
21252 "call inferior func with struct - returns int",
21253 "call inferior func with struct - returns long",
21254 "call inferior func with struct - returns float",
21255 "call inferior func with struct - returns double",
21256 "call inferior func with struct - returns char *",
21257 but only if not gcc compiled (presumes xlc compiled).
21258 Change rs6000-*-* xfails for
21259 "call inferior func with struct - returns char" and
21260 " call inferior func with struct - returns short" to only
21261 xfail if not using gcc.
21262 (clean mostlyclean): Remove *.ci and *.tmp files.
21263 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
21264 than templ-info.exp.
21265 * gdb.base/langs.exp: Source gdb.base/langs.ci.
21266 Add rs6000-*-* xfail for "up to foo in langs.exp"
21267 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
21268 when not gcc compiled.
21269
21270 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21271
21272 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
21273 * gdb.base/corefile.exp: Likewise.
21274 * gdb.base/list.exp: Likewise.
21275 * gdb.base/scope.exp: Likewise.
21276 * gdb.base/siganls.exp: Likewise.
21277
21278 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
21279 compiler output.
21280 * gdb.base/whatis.exp: Likewise.
21281
21282 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
21283
21284 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
21285 failure (opcode table has been fixed to match reality).
21286
21287 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
21288
21289 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
21290 "call inferior func with struct - returns char",
21291 "call inferior func with struct - returns short"
21292
21293 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
21294 "print 'scope0.c'::filelocal at main",
21295 "print 'scope0.c'::filelocal_bss in test_at_main",
21296 "print 'scope0.c'::filelocal at foo",
21297 "print 'scope0.c'::filelocal_bss in test_at_foo",
21298 "print 'scope0.c'::filelocal at bar",
21299 "print 'scope0.c'::filelocal_bss in test_at_bar"
21300
21301 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
21302 in source file 1". This bug seems to have been fixed with both
21303 gcc and native cc (was native assembler bug?).
21304
21305 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
21306
21307 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
21308 "backtrace through signal handler" to "i*86-*-sysv4*".
21309 * gdb.base/signals.exp: Add xfail for "'next' behaved as
21310 continue" case. Add "known SVR4 bug" to fail message.
21311 Add "i*86-*-bsdi2.0" xfail for "handle all print".
21312 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
21313 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
21314 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
21315 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
21316 "up to foo in langs.exp", "show language at foo in
21317 langs.exp", "up to cppsub_ in langs.exp", "show
21318 language at cppsub_ in langs.exp", "up to fsub in
21319 langs.exp", and "show language at fsub in langs.exp".
21320 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
21321 "bactrace in corefile.exp".
21322 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
21323 "call inferior function with struct - returns float" and
21324 "call inferior function with struct - returns double".
21325
21326 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
21327
21328 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
21329 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
21330 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
21331 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
21332
21333 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
21334
21335 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
21336 (or overriden) "CHILL" macro rather then bare "gcc".
21337 Also look for ../../gcc/xgcc since that is what we will
21338 actually need, not "Makefile". Remove following assignment
21339 of CHILL to CHILL_FOR_TARGET because that results in
21340 recursive definition.
21341
21342 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21343
21344 * gdb.base/corefile.exp: Change xfail for backtrace in
21345 corefile.exp from linuxaout to all linux.
21346 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
21347 cases where we miss the breakpoint at the signal handler
21348 for some reason. Setup xfail for linuxoldld/linuxaout and
21349 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
21350 hitting SIGURG breakpoint.
21351 * gdb.base/signals.exp: Setup xfail for "next" acting like
21352 continue to add linuxoldld. Setup xfail for all linux for
21353 "next to handler in signals_tests_1", "backtrace in
21354 signals_tests_1", "continue to func1", "pass SIGUSR1",
21355 and continue to handler".
21356
21357 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
21358
21359 * Update all FSF addresses except those in COPYING* files.
21360
21361 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
21362
21363 * gdb.base/a2-run.exp: Change messages to be more explicit about
21364 the status of args, and quote binfile in results.
21365
21366 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
21367
21368 * gdb.base/callfuncs.exp: Add tests for passing structs to
21369 inferior functions and return various types.
21370 * gdb.base/callfuncs.c: Add functions to receive a struct
21371 and return a member of the struct, in various types.
21372
21373 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21374
21375 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
21376
21377 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
21378
21379 * config/vxworks29k.exp: New file, sources vxworks.exp.
21380
21381 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21382
21383 * config/gdbremote.exp: New file. Testing framework using
21384 gdbserver.
21385
21386 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
21387
21388 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21389 "call function when asleep" and "send end of file".
21390 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21391 for "backtrace in corefile.exp".
21392 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21393 for "backtrace through signal handler".
21394 * gdb.base/corefile.exp: Make sure we actually generate a core file
21395 before trying the core tests. Some systems allow the user to suppress
21396 generation of core files and default to that (linux for example).
21397 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21398 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21399
21400 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21401
21402 * gdb.threads: New directory with some crude multi-threaded
21403 gdb tests (step.exp and step2.exp).
21404 * config/mt-lynx (STEP_EXECUTABLE): Define.
21405 (THREADFLAGS): Define.
21406
21407 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21408
21409 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21410
21411 * gdb.base/signals.exp: Disable whole file for lynx until
21412 further notice.
21413
21414 * gdb.base/signals.exp: xfail test where "next" acts like
21415 "continue" for lynx.
21416
21417 * gdb.base/interrupt.exp: xfail test for calling function while
21418 inferior is asleep for lynx.
21419
21420 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21421 than one cr-lf after each command.
21422
21423 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21424
21425 * configure.in: Reinstate setting of stabsdirs variable, fix
21426 typo in setting up configdirs for native builds.
21427
21428 * gdb.base/return.exp: Fix typo in return double test.
21429 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21430 compiler from optimizing them away.
21431
21432 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21433
21434 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21435 sequences to be echo'd by gdb when using gdb_test.
21436 * gdb.chill/chexp.exp: Likewise.
21437 * gdb.fortran/exprs.exp: Likewise
21438
21439 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21440
21441 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21442 after the inferior gdb has started.
21443
21444 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21445 after each command.
21446 * gdb.base/funcargs.exp: Likewise.
21447 * gdb.base/gdbvars.exp: Likewise.
21448 * gdb.base/interrupt.exp: Likewise.
21449 * gdb.base/list.exp: Likewise.
21450 * gdb.base/watchpoint.exp: Likewise.
21451 * gdb.c++/demangle.exp: Likewise.
21452 * gdb.c++/inherit.exp: Likewise.
21453 * gdb.chill/chexp.exp: Likewise.
21454 * gdb.fortran/exprs.exp: Likewise.
21455
21456 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21457 test if we can't handle IO to/from the inferior.
21458
21459 * gdb.c++/misc.exp: Always check for a program already being
21460 started after sending a "run" command to gdb.
21461
21462 * gdb.base/twice.exp: Start with a fresh gdb.
21463
21464 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21465 only depend on gdb's expression code, not the chill runtime.
21466
21467 * gdb.base/return.c: Put return values into variables so we
21468 can have gdb print them rather than depending on the program
21469 to print them.
21470 * gdb.base/return.exp: Corresponding changes.
21471
21472 * lib/gdb.exp: Provide default value for noinferiorio.
21473 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21474 the inferior.
21475
21476 * gdb.base/break.exp: Always check for a program already being
21477 started after sending a "run" command to gdb.
21478 (text_next_with_recursion): Don't check the output from the
21479 program's printf statement. Instead just make sure the program
21480 exited.
21481
21482 * gdb.base/commands.exp: Protect tests which need arguments with
21483 $noargs conditionals.
21484
21485 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21486
21487 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21488 of structure member arrays to match gdb/valops.c:value_addr change.
21489
21490 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21491
21492 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21493 cases.
21494
21495 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21496
21497 * configure.in (configdirs): Remove gdb.chill from default list
21498 of subdirs and then add it back in only if doing a native build.
21499 The current chill compiler does not yet work in any cross build.
21500 * Revert all signal changes from Jul 6.
21501 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21502 for sh-hms targets, allowing these tests to link, with no other
21503 changes. Testing is suppressed by setting "nosignals" in site.exp.
21504
21505 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21506
21507 * configure.in (signaldirs): Define and add to configdirs for all
21508 targets except some specific ones that are known to not support signals.
21509 Also clean up formatting.
21510 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21511 (signals, sigall): Remove rules to build.
21512 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21513 Moved to new gdb.signals directory.
21514 * gdb.signals: New test directory.
21515 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21516 signals.c signals.exp}: New or moved files.
21517
21518 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21519
21520 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21521
21522 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21523
21524 * gdb.base/return.exp: Xfail `return double' test failure
21525 on at least Solaris 2.3 and handle future/past versions on
21526 a case by case basis as appropriate. Also update message
21527 to include i*86 failures.
21528
21529 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21530
21531 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
21532
21533 * lib/gdb.exp: Fix comment which erroneously identified
21534 gdb_file_cmd as gdb_load (the 19 May change was in fact to
21535 gdb_file_cmd not gdb_load).
21536 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
21537
21538 * gdb.base/setvar.exp: Make test names consistent between pass and
21539 fail cases. Use gdb_test more.
21540
21541 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21542
21543 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
21544
21545 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21546
21547 * gdb.base/help.exp: Fix expected help string for `show commands'.
21548
21549 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
21550
21551 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
21552
21553 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
21554 of a text section.
21555
21556 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
21557
21558 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
21559 that loop eventually terminates. Fix Connection refused logic so
21560 that testsuite will expire nicely.
21561
21562 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
21563
21564 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
21565 config/rom68k.exp: New tcl glue for the appropriate monitors.
21566 These all just end up calling monitor.exp.
21567 * config/monitor.exp (gdb_target_monitor): Handle `Connection
21568 refused' by retrying. Cleanup some timeout issues.
21569 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
21570 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
21571 callers don't have to set/restore global timeout variable.
21572
21573 * The following set of changes centralizes management of the global
21574 timeout variable. This way, it can be set in one target dependent
21575 place instead of dozens of places scattered throughout the test suite.
21576 If you need to lengthen a timeout, then you should either set timeout
21577 in one of the config/{target}.exp files, or multiply it by a factor.
21578 Setting it to an absolute value is always going to lose for some
21579 targets.
21580 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
21581 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
21582 * gdb.base/funcargs.exp: Don't set timeout.
21583 * gdb.base/list.exp (test_forward_search): Only use local timeout.
21584 * gdb.base/printcmds.exp (test_print_string_constants
21585 test_print_array_constants): Don't set timeout.
21586 * gdb.base/ptype.exp: Don't set timeout.
21587 * gdb.base/recurse.exp: Don't set timeout.
21588 * gdb.base/return.exp: Don't set timeout.
21589 * gdb.base/watchpoint.exp: Don't set timeout.
21590 * gdb.c++/classes.exp (do_tests): Don't set timeout.
21591 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
21592
21593 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
21594
21595 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
21596
21597 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21598
21599 * lib/gdb.exp: Disable chill tests for irix5.
21600
21601 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21602
21603 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
21604 each test pass or fail.
21605
21606 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21607
21608 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
21609 xlc not gcc.
21610
21611 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
21612
21613 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
21614
21615 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
21616
21617 * config/est.exp: Fix copyright and comments. Remove dead code.
21618 Use targetname, serialport and baud variables instead of fixed
21619 constants.
21620 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
21621 * config/cpu32bug.exp: New file to support cpu32bug monitors.
21622
21623 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21624
21625 * gdb.base/watchpoint.exp: Don't run
21626 test_watchpoint_triggered_in_syscall for sunos.
21627
21628 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21629
21630 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
21631 they don't seem to exist. Do include stdio.h.
21632
21633 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21634
21635 * gdb.base/a1-selftest.exp: Add alpha xfail.
21636
21637 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21638
21639 * gdb.base/watchpoint.c (main): Prompt before calling read().
21640 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21641 Revise accordingly. Remove cruft about sending "123" several
21642 times, until it gets noticed. Clean up the "print buf[0]" stuff
21643 so that it passes or fails, and waits for prompts in the usual way.
21644
21645 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21646
21647 * gdb.base/recurse.exp: Fix comment.
21648
21649 * TODO: Remove item about printing variables in nodebug.exp. Add
21650 item about enabling tests which are only run on some targets.
21651
21652 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
21653 fail, make test names unique, use new gdb_test convention
21654 regarding pattern, use gdb_test more, etc.).
21655
21656 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
21657 fail, make test names unique, etc.).
21658
21659 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21660
21661 * gdb.base/nodebug.c: Change return type of top and middle to
21662 short.
21663 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
21664 are fixed by the recent mdebugread.c changes. Allow `short ()'
21665 as type for top and middle.
21666
21667 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21668
21669 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
21670 nearly as I can tell, the whole thing was an accident in Stu's
21671 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
21672 to replace a send/expect pair with gdb_test, but ended up only
21673 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
21674 of 30 Mar 1995 took care of it, but left this vestigial comment
21675 which I am now nuking.
21676
21677 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21678
21679 * gdb.base/break.exp: Look for different line number for
21680 breakpoint at main depending on usestubs.
21681
21682 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21683
21684 * gdb.base/list.exp: Adjust some alternate expect patterns to
21685 match recent list0.c change. Add alternate expect pattern for
21686 output from `list default lines around main' for optimizing
21687 compilers.
21688
21689 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21690
21691 * lib/gdb.exp: If nosignals is not set, set it to 0.
21692
21693 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
21694
21695 * config/slite-gdb.exp: Responds to load symbol table prompt.
21696 * gdb.base/break.exp: Adjust line number, fix rerun.
21697 * gdb.base/langs0.c: Add #ifdef usestubs.
21698
21699 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
21700
21701 * gdb.base/list.exp: Adjust line contents after adding new lines in
21702 list0.c. Also fix a syntax error.
21703
21704 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
21705 * gdb.base/break.exp: ditto.
21706 * gdb.base/list.exp: ditto.
21707 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
21708 * gdb.base/run.c: ditto.
21709 * gdb.base/list0.c: ditto.
21710 * gdb.base/funcargs.c: ditto.
21711
21712 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
21713
21714 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
21715 $targetname, $serialport and $baud instead of hardwired variables.
21716 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
21717 target doesn't support signals.
21718
21719 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
21720
21721 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
21722
21723 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21724
21725 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
21726 Don't rely on the value of an auto variable before it has been
21727 initialized. Use gdb_test more.
21728
21729 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21730
21731 * lib/gdb.exp (default_gdb_version): A version number must start
21732 with a digit, but other than that contains all characters up to
21733 the first whitespace character.
21734
21735 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21736
21737 * gdb.base/commands.exp (breakpoint_command_test): New tests.
21738
21739 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21740
21741 * gdb.c++/*.exp: Warn if executable does not exist. The original
21742 reason for skipping the warning was that configure.in sometimes
21743 intentionally skipped building the executables but the tcl code
21744 had no way of knowing. That (a) was always bogus with respect to
21745 error handling, (b) is no longer true (right now there is no way
21746 to skip C++ tests).
21747
21748 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
21749
21750 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21751
21752 * gdb.base/list.exp: Add expect patterns for output from
21753 SunPRO compiled executables.
21754 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
21755 types.
21756
21757 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21758
21759 * gdb.base/break.exp (test_next_with_recursion): Accept any line
21760 number (we are already testing that the correct source line text
21761 gets printed).
21762
21763 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
21764 that is what is intended, but something needed to be done to get
21765 sunos4 native working again.
21766
21767 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
21768
21769 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
21770 apparently went with a (very) old xfail.
21771
21772 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
21773
21774 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
21775 runto_main is a proc in gdb.exp that will do 'step' for target use
21776 stubs.
21777 * gdb.base/exprs.exp: ditto.
21778 * gdb.base/interrupt.exp: ditto.
21779 * gdb.base/opaque.exp: ditto.
21780 * gdb.base/printcmds.exp: ditto.
21781 * gdb.base/ptype.exp: ditto.
21782 * gdb.base/scope.exp: ditto.
21783 * gdb.base/setvar.exp: ditto.
21784 * gdb.base/signals.exp: ditto.
21785 * gdb.base/twice.exp: ditto.
21786 * gdb.c++/classes.exp: ditto.
21787 * gdb.c++/inherit.exp: ditto.
21788 * gdb.c++/templates.exp: ditto.
21789 * gdb.base/break.exp: no run and hit main for stubs. Change line
21790 numbers for breakpoints and info breakpoint.
21791 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
21792 breakpoint().
21793 * gdb.base/callfuncs.c: ditto.
21794 * gdb.base/exprs: ditto.
21795 * gdb.base/interrupt.c: ditto.
21796 * gdb.base/opaque0.c: ditto.
21797 * gdb.base/printcmds.c: ditto.
21798 * gdb.base/ptype.c: ditto.
21799 * gdb.base/scope0.c: ditto.
21800 * gdb.base/setvar.c: ditto.
21801 * gdb.base/signals.c: ditto.
21802 * gdb.base/twice.c: ditto.
21803 * gdb.c++/misc.cc: ditto.
21804 * gdb.c++/templates.cc: ditto.
21805
21806 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21807
21808 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
21809
21810 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
21811 somewhere between `read' and `main.c'. I'm pretty sure the
21812 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
21813 and it isn't particularly useful.
21814
21815 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
21816
21817 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21818
21819 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
21820
21821 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
21822
21823 * config/mt-slite: add LIBS and -nostdlib.
21824 * config/slite-gdb.exp: add this new file to support sparclite target.
21825
21826 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
21827
21828 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
21829
21830 * gdb.base/a2-run.exp: Change argument to istarget from
21831 "*-*-vxworks" to "*-*-vxworks*".
21832 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
21833
21834 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
21835
21836 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
21837 will not runto main but do a 'step' to step out of breakpoint().
21838 * config/mt-slite: add -Dusestubs.
21839
21840 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21841
21842 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
21843 instead of just @.
21844
21845 * gdb.base/signals.exp: Add test for "handle all print".
21846 * TODO: Remove "handle all print". Also remove item about
21847 checking copyright date (I don't like the idea of a spurious FAIL
21848 based on when we run the tests).
21849
21850 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
21851 for SunOS4 (reason for failure not investigated). Remove
21852 redundant test for $binfile.
21853
21854 * gdb.base/nodebug.c (array_index): Call malloc.
21855
21856 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
21857
21858 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
21859
21860 * gdb.base/recurse.exp: Update gdb_test invocation to use new
21861 conventions and slightly simplify the matching regexp.
21862
21863 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21864
21865 * gdb.base/break.exp: Update gdb_test invocation to use new
21866 convention.
21867
21868 * lib/gdb.exp: If noargs is not set, set it to 0.
21869
21870 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
21871 tests unique.
21872
21873 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
21874
21875 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21876
21877 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
21878 one argument of type "<non-float parameter>".
21879
21880 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
21881
21882 * config/rom68k.exp: New file to support Motorola IDP board.
21883 * gdb.base/a2-run.exp: Skip this file if noargs is set.
21884 * gdb.base/break.c: Change things around so that this program
21885 doesn't depend upon args. This is necessary to make remote
21886 targets work (in general, they can't take args).
21887 * gdb.base/break.exp: Don't try to send args to program. Don't
21888 expect output. Also, replace lots of code with gdb_test.
21889
21890 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21891
21892 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
21893 printing of '\'' (which is what the comment says we are testing,
21894 even though we were not), not '''.
21895 (test_integer_literals_rejected): Test that printing ''' is an error.
21896
21897 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21898 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
21899 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
21900 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
21901 Use gdb_test not test_print_accept.
21902 * lib/gdb.exp: Remove test_print_accept.
21903
21904 * gdb.base/signals.exp (signal_tests_1): Make pass message
21905 consistent with fail message.
21906
21907 * gdb.base/whatis.exp: Remove xfails for printing char vs.
21908 unsigned char; the bug (PR 1821) is fixed.
21909
21910 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
21911
21912 * gdb.base/scope.exp (test_at_localscopes): Call pass for
21913 successful tests--makes xfailing them work right.
21914
21915 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21916
21917 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
21918 only \r\n, not .*. The test can pass .* as the last thing in
21919 $pattern if that is what it wants. In addition to providing this
21920 flexibility, this change should speed up pattern matching in cases
21921 where the pattern already ended with .* (there were a number of
21922 them). This change also helps catch bad patterns--in the old
21923 scheme the typo "char \*" instead of "char \\*" would pass. Now
21924 it is caught.
21925 * Many .exp files: Update callers.
21926
21927 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
21928 clearer and does not spuriously match multiple ('s. Likewise for
21929 ) and *.
21930
21931 * gdb.base/nodebug.exp: Test ability to call a function and pass
21932 it a string (even with no debugging info).
21933
21934 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
21935 "p '\'", which is the same as "p ''" once tcl gets done with
21936 quoting, to "p '\\'", which I suspect is what is intended (one
21937 backslash gets sent to GDB).
21938
21939 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
21940
21941 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21942
21943 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
21944 1817) was fixed literally years ago.
21945
21946 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21947
21948 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
21949 test, it causes stepping out of call_after_alloca_subr with
21950 optimizing compilers.
21951 (localvars_in_indirect_call): Consume GDB prompt if `finish'
21952 fails.
21953
21954 * gdb.c++/templates.exp: Source templ-info.exp only if
21955 the templates executable exists.
21956
21957 * gdb.c++/misc.cc (class Contains_static_instance,
21958 class Contains_nested_static_instance),
21959 gdb.c++/classes.exp (test_static_members): Test printing of
21960 a class that contains a static instance of the class.
21961
21962 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21963
21964 * gdb.base/langs2.c (cppsub_): Don't prototype.
21965 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
21966 only, I believe).
21967
21968 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21969
21970 * lib/gdb.exp (skip_chill_tests): New procedure.
21971
21972 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
21973
21974 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
21975
21976 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
21977 each expect pattern. Cuts runtime from 12 to about 4 seconds.
21978
21979 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21980
21981 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
21982
21983 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
21984 disassemble 8, not 16, instructions for part 4.
21985
21986 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
21987 support the latter anymore.
21988
21989 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
21990 -DNO_PROTOTYPES.
21991 * gdb.base/callfuncs.c: Control use of prototypes based on
21992 NO_PROTOTYPES, not __STDC__.
21993 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
21994 t_float_values2 tests if prototypes in use.
21995
21996 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
21997 t_double_values): When checking differences against DELTA, check
21998 that difference is within the range (-DELTA,DELTA), not just
21999 (-infinity,DELTA).
22000
22001 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
22002
22003 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
22004 'file' command firts, then 'target', then 'load', this is due to gdb
22005 target set up.
22006 * config/mips-gdb.exp: Fix a couple regular exp bugs.
22007
22008 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
22009
22010 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
22011 FP load/store variants.
22012 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
22013
22014 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22015
22016 * gdb.base/term.exp: Do not give a warning if not native, it is
22017 not an abnormal condition.
22018
22019 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
22020
22021 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
22022 t_char_array".
22023
22024 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
22025
22026 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
22027 are getting the version number.
22028
22029 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
22030 if not native, it is not an abnormal condition.
22031
22032 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22033
22034 * lib/gdb.exp: Just use "file exists", rather than undocumented
22035 dejagnu procedure "findfile".
22036
22037 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22038
22039 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
22040 (LDFLAGS): Set to -Xlinker -Ur.
22041
22042 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
22043 Removed, these values are set by lib/gdb.exp.
22044
22045 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
22046
22047 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
22048
22049 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
22050 of replicating gdb startup code.
22051
22052 * config/mt-vxworks (LDFLAGS): Set to -r.
22053 (CFLAGS_FOR_TARGET): Removed.
22054
22055 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
22056 (gdb) and gdb for vxworks uses (vxgdb).
22057
22058 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
22059 executable is not in the tree and host != target, use sed and
22060 program_transform_name to determine the gdb name used by the
22061 target.
22062
22063 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
22064 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
22065
22066 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22067
22068 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
22069 floats, chars, and shorts where there are ANSI-style function
22070 definitions.
22071
22072 * gdb.base/langs.exp, gdb.base/langs*: New test.
22073 * gdb.base/Makefile.in: Build it.
22074 * TODO: Remove item about checking that C names don't get C++
22075 demangling applied; this test tests it.
22076
22077 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22078
22079 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
22080 went with the const70 xfail. The xfail went away a year ago.
22081
22082 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
22083
22084 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
22085 for hp300.
22086
22087 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
22088
22089 * gdb.base/a1-selftest.exp: Don't run on hp300.
22090
22091 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22092
22093 * Makefile.in (site.exp): Set host_alias and target_alias as well
22094 as host_triplet and target_triplet.
22095
22096 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22097
22098 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
22099
22100 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
22101 places as other ecoff systems).
22102
22103 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
22104 ultrix.
22105
22106 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22107
22108 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
22109 remove them.
22110 * gdb.base/nodebug.exp: Accept "function" in addition to "text
22111 variable and "variable" in addition to "data variable".
22112 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
22113
22114 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
22115 2.
22116 * gdb.base/list1.c (long_line): Add additional statement at start
22117 of function.
22118 * gdb.base/list.exp (test_forward_search): Update line number to
22119 reflect new statement.
22120
22121 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22122
22123 * gdb.base/signals.exp: Reinitialize searched source directories
22124 after gdb_start call.
22125
22126 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
22127
22128 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
22129 * gdb.stabs/Makefile.in: Likewise.
22130
22131 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
22132 change. Instead split the tests into smaller pieces.
22133 * gdb.disasm/hppa.s: Corresponding changes.
22134
22135 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22136
22137 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22138 Quote ^C when passing it to stty. For some shells ^ is a pipe.
22139
22140 * gdb.base/funcargs.exp: Modify many tests so that every test
22141 either passes or fails. Make some test names unique.
22142
22143 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22144
22145 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
22146 Call stty to set interrupt character.
22147
22148 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
22149 for HP assembler versus GNU assembler based on actual behavior of
22150 $(CC), rather than assuming that $(AS) is always the GNU assembler.
22151
22152 * TODO: Suggest a few more stepping tests.
22153
22154 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
22155
22156 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
22157 restart GDB for h8300 after a continue.
22158 (return): Add pattern to match a29k-udi behavior.
22159 * gdb.base/nodebug.exp: Remove obsolete comment.
22160 * gdb.base/regs.exp: New file, testing of register displays.
22161 * gdb.base/return.exp: Fix typo in reference to $objdir.
22162 * gdb.base/whatis.exp: Always start with a fresh GDB.
22163
22164 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22165
22166 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
22167 higher, these tests generate a lot of output.
22168
22169 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22170
22171 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
22172 code following the catch silently ignored some errors; without the
22173 catch they should be thrown like any other tcl error. Also, the
22174 catch used "" instead of {} which meant all the callers who wanted
22175 to include one of the characters "[]$ had to quote it an extra time.
22176 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
22177 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
22178 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
22179 Remove extra quoting.
22180
22181 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
22182
22183 * gdb.base/commands.exp: Make test names unique; every test either
22184 passes or fails. Update some comments.
22185
22186 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
22187
22188 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22189
22190 The following fixes a FAIL caused by the fact that the alpha stabs
22191 configuration didn't use the ".if alpha" code in weird.def.
22192 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
22193 bit pointer, so the 32 bit version works even on the alpha.
22194 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
22195 Remove the stuff which allowed us to have separate versions for
22196 alpha and everything else.
22197
22198 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
22199 regexp which "info func operator\[\](" is supposed to match. Fix
22200 string to send to GDB. Note that GDB still doesn't work right. Add a
22201 new test for "info func .perator\[\](" which GDB does handle correctly.
22202
22203 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
22204
22205 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22206
22207 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
22208 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
22209 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
22210 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
22211 it makes the tests harder to understand and confuses test-o-matic.
22212 The preferred style is that each test provides a PASS or a FAIL,
22213 and has a unique message (e.g. "continue #54" not just "continue")
22214 which is the same for the pass and the fail.
22215 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
22216 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
22217 to lib/gdb.exp.
22218 * gdb.base/printcmds.exp: Use test_print_accept. Remove
22219 prt_accept which was basically the same thing. Likewise for
22220 test_print_reject and prt_reject.
22221 * lib/gdb.exp (test_print_reject): Add some more error message
22222 patterns to match from the former printcmds.exp (prt_reject).
22223 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
22224 One defect of the passcount stuff is that some of it failed to
22225 report XPASS where appropriate.
22226 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
22227 stuff before and after arg in expected pattern.
22228 (test_paddr_operator_functions): Re-do test without print_addr_of;
22229 this is the only test which seems to want extra stuff there.
22230
22231 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22232
22233 * gdb.base/nodebug.exp: Update new tests to reflect improved
22234 wording of gdb output.
22235
22236 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
22237 and "ptype" work on variables in files compiled without -g.
22238 Replaces commented out "maint print msymbol" tests.
22239
22240 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22241
22242 * gdb.base/setvar.c (dummy): Call malloc.
22243
22244 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
22245 losing with the irix4 sed.
22246
22247 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
22248 ALRM" on irix4.
22249
22250 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22251
22252 * TODO: Remove items about corefile.exp testing new exec-file and
22253 backtrace; both are now done. Add items about printing enums.
22254
22255 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22256
22257 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
22258 "get signal $thissig" test fails.
22259
22260 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
22261
22262 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22263
22264 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
22265 compiler warning with dec alpha compiler.
22266
22267 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
22268 extra \n from gdb_test call (this explains why the prompt test
22269 that I removed yesterday was there).
22270 (user_defined_command_test): Remove extra \n and prompt test.
22271
22272 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
22273 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
22274 doesn't exist.
22275 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
22276 Also remove alpha workaround, which turns out to be because
22277 SIGABRT == SIGLOST.
22278
22279 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
22280
22281 * gdb.base/help.exp: Don't test "help show".
22282
22283 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22284
22285 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
22286 "set print address" is on.
22287 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
22288 pass prompt to gdb_test; gdb_test already looks for the prompt.
22289
22290 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
22291
22292 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
22293 was a vestige of the manual TESTSTRATEGY, and the purpose of it
22294 was to make sure that gdb can read a core file. But (a) the "read
22295 the corefile" part didn't make it to a1-selftest.exp, we just
22296 delete the corefile after creating it, and (b) we test reading
22297 corefiles in corefile.exp anyway. Also, this test left around a
22298 xgdb process on Solaris.
22299
22300 * gdb.base/corefile.exp: Also test backtrace.
22301
22302 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
22303
22304 * gdb.base/commands.exp: Test a simple user defined command with
22305 arguments and if/while statements; verify the full user command is
22306 printed by "show user".
22307
22308 * gdb.base/commands.exp: Test if/while commands as part of a
22309 breakpoint command list; verify they appear in breakpoint
22310 information.
22311
22312 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22313
22314 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
22315 than by dividing by zero.
22316
22317 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
22318
22319 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
22320 performing an inferior call with watchpoints enabled.
22321 * gdb.base/watchpoint.c (main): Delete second unnecessary read
22322 call.
22323
22324 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22325
22326 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
22327 of "file" command.
22328
22329 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
22330 Add additional pattern for when "int operator int(void);" appears
22331 in a different order.
22332
22333 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22334
22335 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
22336
22337 * gdb.base/help.exp: Replace most of docstrings for "info signals"
22338 and "signal" with ".*".
22339
22340 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22341
22342 * TODO: Add note about "handle all nostop".
22343
22344 * gdb.base/{sigall.c, sigall.exp}: New test.
22345 * gdb.base/Makefile.in: Add it.
22346
22347 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
22348
22349 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
22350 when invoking GDB, suppresses any windowing interface.
22351
22352 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
22353
22354 * config/sim-gdb: New file, simulator testing support.
22355
22356 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
22357
22358 * gdb.base/interrupt.exp: Test calling func1 twice.
22359
22360 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
22361
22362 * gdb.base/list.exp (test_forward_search): Set timeout higher
22363 when we'll be getting lots of output from gdb.
22364
22365 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
22366 "init_malloc" to after the expect statement. Run it if that
22367 regexp is taken, but also for two others which happen if source
22368 cannot be found.
22369
22370 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22371
22372 * gdb.base/printcmds.exp: New test, for printing register before
22373 program is running.
22374
22375 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22376
22377 * gdb.base/list.exp: Correct some alternate expect patterns
22378 to reflect changes in list1.c.
22379
22380 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22381
22382 * TODO: Add item regarding large frames.
22383
22384 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
22385
22386 * TODO: Remove item about enabling return.exp; it
22387 is enabled. Suggest a few more "return" tests.
22388
22389 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22390
22391 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22392 anonymous unions.
22393
22394 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22395
22396 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22397 and pr-5646.o, so "make" is the same as "make all", not "make
22398 pr-4975.o".
22399
22400 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22401
22402 * gdb.base/list.exp: Adjust expectations to reflect changes in
22403 list1.c.
22404 (test_forward_search): New test proc.
22405 * gdb.base/list1.c (long_line): New function, has long source line.
22406
22407 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22408
22409 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22410 additional line of code that was added.
22411
22412 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22413
22414 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22415 tests so as not to overflow expect's input buffers.
22416 * gdb.disasm/hppa.exp: Corresponding changes.
22417
22418 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22419
22420 Beginnings of template debugging tests.
22421 * gdb.c++/templ-info.cc: New file to test for template
22422 debugging capability of the compiler.
22423 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22424 templ-info.cc.
22425 * gdb.c++/templates.cc: Add explicit template instantiations
22426 to enable compiling with -fno-implicit-templates. Add destructor
22427 and 'value' method to T5 class for template tests.
22428 * gdb.c++/templates.exp: Add testcases for printing of template
22429 types, setting breakpoints on template methods and calling a
22430 template method.
22431
22432 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22433
22434 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22435 branch target since some assemblers (gas-2.5) may emit a
22436 relocation for the branch instead of resolving it in the
22437 assembler.
22438
22439 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22440
22441 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22442 through signal handler.
22443
22444 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22445
22446 * configure.in (*-*-netware): Use config/mt-netware.
22447
22448 * config/mt-netware: New file.
22449 * config/mt-i386-netware: Removed, separate configs for different
22450 netware architectures are no longer needed now that we have
22451 --with-headers.
22452
22453 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22454
22455 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22456 by the recent changes to use ANSI C arithmetic conversions.
22457
22458 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22459
22460 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22461 bug involving using inferior_pid to figure out whether to select a
22462 frame.
22463
22464 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22465
22466 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22467 match the current disassembler output.
22468
22469 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22470
22471 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22472 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22473 types, expect "int" as type of integer values (for now).
22474
22475 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22476
22477 * gdb.base/commands.exp: New tests for if/while commands.
22478
22479 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22480
22481 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22482 by .*, since hex values have different syntax in Chill mode.
22483
22484 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22485
22486 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22487 linefeed from expect pattern for repeated types with indices > 9.
22488
22489 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22490
22491 First part of Fortran test suite.
22492 * gdb.fortran: New directory.
22493 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22494
22495 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22496
22497 * gdb.base/default.exp: Update expect pattern for load command
22498 without arguments.
22499
22500 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22501
22502 * configure.in: Change i386 to i[345]86.
22503 * gdb.base/configure.in: Likewise.
22504 * gdb.c++/configure.in: Likewise.
22505 * gdb.chill/configure.in: Likewise.
22506
22507 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22508
22509 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22510 patterns, since that is not a valid context for comments.
22511
22512 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22513
22514 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22515 repeated types and repeated types with indices > 9.
22516
22517 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22518
22519 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22520 2417; old bug has been fixed.
22521
22522 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22523
22524 * gdb.base/interrupt.exp: When trying to wake up the inferior,
22525 send the newline ourselves instead of assuming gdb_test will do
22526 so when passed an empty input string.
22527
22528 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
22529 stabs testcode.
22530
22531 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22532
22533 * lib/gdb.exp (gdb_test): Don't send anything if the first
22534 argument is an empty string. This makes cases where we want to
22535 match output that is already in expect's buffers (for example,
22536 matching a breakpoint after gdb_run_cmd has been called) work
22537 reliably.
22538
22539 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22540
22541 * config/netware.exp: New file.
22542
22543 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22544
22545 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
22546 the -B and -L prefixes so we can find the debugging stub.
22547
22548 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
22549 there and we are using the gcc from the tree.
22550
22551 * gdb.base/types.c: Removed.
22552
22553 * gdb.base/configure.in: Look for makefile fragments in ../config.
22554 Recognize i386-*-netware.
22555 * gdb.c++/configure.in: Likewise.
22556
22557 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22558
22559 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
22560 the correct TCL syntax.
22561
22562 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22563
22564 * gdb.base/opaque.exp: use runto instead of messing around with
22565 breakpoints. Simplify by using gdb_test.
22566
22567 * gdb.base/bitfields.exp: restart between tests on netware targets
22568 because breakpoints aren't relocated after target death. Run
22569 processes to completion.
22570
22571 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
22572
22573 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
22574
22575 * Makefile.in: Remove extra tabs that confuse some versions
22576 of "make". Use the newly built gdb to test with by default,
22577 rather than the first one in the tester's search path.
22578
22579 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
22580
22581 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
22582
22583 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
22584 condition help.
22585
22586 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22587
22588 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
22589
22590 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
22591 running.
22592 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
22593 * gdb.base/funcargs.exp: Likewise.
22594
22595 * gdb.base/bitfields.exp: Simplify by using gdb_test.
22596 * gdb.base/funcargs.exp: Likewise.
22597
22598 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
22599 message is "".
22600
22601 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22602
22603 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
22604 return,signals,twice}.exp: Handle non-existant binaries
22605 consistantly.
22606
22607 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
22608 * gdb.base/Makefile.in: Don't try to generate a core dump, we
22609 might testing a cross development system.
22610
22611 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22612
22613 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
22614 runtest script is relative to ${srcdir}, not ${rootdir}.
22615
22616 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
22617
22618 * gdb.base/signals.exp: Allow for optionality of breakpoint
22619 address.
22620
22621 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22622
22623 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
22624
22625 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22626
22627 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
22628 for size_t definition.
22629 * gdb.c++/templates.cc: Likewise
22630
22631 * config/mt-i386-netware: New file.
22632
22633 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
22634 defined.
22635
22636 * gdb.base/Makefile.in: Added support for systems that name core
22637 files by appending "core" to the program name.
22638 * gdb.base/a1-selftest.exp: Likewise.
22639
22640 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22641
22642 * gdb.base/return.exp: Add comment and message for `return double'
22643 test failure on Sparc Solaris.
22644
22645 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
22646
22647 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
22648
22649 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22650
22651 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
22652 from optimizing them away.
22653 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
22654 patterns to include default constructors and assignment operators,
22655 to match gcc versions beyond 2.5.8. Accept any cplus demangling
22656 character in the output of the virtual base pointer.
22657
22658 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22659
22660 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
22661 expression match in print_addr_of to avoid unintented matches.
22662 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
22663 versions up to 2.5.8.
22664
22665 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22666
22667 * gdb.base/list.exp: Tweak alternate pattern for listing of an
22668 included file to run under newer versions of expect.
22669 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
22670 consecutive >'s in templates to accomodate recent cplus-dem.c change.
22671 Remove xfail for the virtual table of BDDHookV.
22672
22673 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
22674
22675 * lib/gdb.exp (string_to_regexp): Set a default result.
22676 (default_gdb_start): Fix misleading message.
22677
22678 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
22679
22680 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
22681 Remove all CC, etc definitions.
22682 * config/mt-hpux: New file.
22683 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
22684 (CFLAGS, LDFLAGS): Define.
22685 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
22686
22687 * Makefile.in (site.exp): Don't insert host_os, etc.
22688 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
22689 (distclean): Check existence of subdir.
22690 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
22691 * gdb.base/Makefile.in: General cleanup and simplification.
22692 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22693 to build executables. Use default rule to build .o files.
22694 (EXPECT, RUNTEST, CC): Fix relative pathname.
22695 (site.exp): Don't insert host_os, etc.
22696 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
22697 and/or SIGUSR1 defined.
22698 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
22699 * gdb.c++/Makefile.in: General cleanup and simplification.
22700 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22701 (CFLAGS): Remove.
22702 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
22703
22704 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
22705
22706 * gdb.base/recurse.exp: Misc changes to get tests running again
22707 after Kung's changes to the watchpoint code.
22708 * gdb.base/watchpoint.exp: Likewise.
22709
22710 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
22711
22712 * lib/gdb.exp (string_to_regexp): Convert {\} also.
22713
22714 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
22715
22716 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
22717 * lib/gdb.exp (default_gdb_start): Define.
22718 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
22719 gdb.base/funcargs.exp, gdb.base/opaque.exp,
22720 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
22721 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
22722 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
22723 Don't call gdb_target_udi in between tests.
22724
22725 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22726
22727 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
22728 (which was basically just a local version of the same thing). In
22729 addition to avoiding duplication, gdb_test_exact is faster.
22730 * lib/gdb.exp (gdb_test_exact): Fix typo.
22731
22732 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
22733 don't give an error.
22734
22735 * gdb.base/term.exp: Call delete_breakpoints before starting.
22736
22737 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
22738 (t10): Add comment.
22739
22740 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22741
22742 Reorganization of the GDB Test Suite.
22743
22744 * gdb.base: New directory, contains all the basic tests.
22745 * gdb.c++: New directory, tests specific to C++.
22746 * gdb.chill: New directory, tests specific to Chill.
22747 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
22748 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
22749 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
22750 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
22751 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
22752 t30-31 to chill).
22753 * */gdbme.*: Rename to match appropriate expect scripts.
22754 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
22755 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
22756 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
22757 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
22758 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
22759 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
22760 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
22761 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
22762 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
22763 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
22764 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
22765 gdb.c++/virtfunc.cc: New names of C++ files.
22766 * gdb.chill/chillvars.ch: New name of Chill file.
22767 * gdb.base/configure.in, gdb.c++/configure.in,
22768 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
22769 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
22770 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
22771 * configure.in (configdirs): Update to reflect directory changes.
22772 (target_abbrev): No longer define for any configuration.
22773 * Makefile.in: Cosmetic improvements to header comments.
22774
22775 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
22776
22777 Various changes to gdb.t31:
22778
22779 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
22780 * gdbme.ch: Make all key-words and predefineds be upper-case.
22781 * chillvars.exp: Expect key-words and predefinds in upper-case.
22782
22783 * chillvars.exp: Use gdb_test_exact many places.
22784 Change expected output for arrays (which now includes index labels).
22785
22786 * pr-5020.exp, gdme.ch (module PR_5020):
22787 New test, for PR-5020.
22788
22789 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
22790
22791 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
22792 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
22793
22794 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
22795
22796 * Makefile.in: Fix bit-rot in definitions of CHILL,
22797 CHILL_FOR_TARGET and Chill_LIB.
22798 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
22799 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
22800 CHILL, and CHILL_LIB.
22801
22802 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
22803
22804 * Revert the previous changes. Please see Rob's directory
22805 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
22806
22807 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
22808
22809 * Makefile.in, configure.in, config/mips-gdb.exp,
22810 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
22811 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
22812 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
22813 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
22814 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
22815 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
22816 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
22817 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
22818 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
22819 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
22820 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
22821 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
22822 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
22823 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
22824 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
22825 changes from 94Q1.
22826
22827 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
22828
22829 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
22830 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
22831 Rob's new testing fragments.
22832
22833 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
22834
22835 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
22836 lib/gdb.exp: Replace error proc calls with perror.
22837
22838 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22839
22840 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
22841 version also, match on casted version strings, and match on
22842 gdb startup case where the line numbers might be messed up.
22843
22844 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
22845
22846 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
22847 (CFLAGS): Delete it from here.
22848
22849 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
22850
22851 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
22852
22853 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
22854
22855 * Makefile.in (RUNTEST): Default to just "runtest".
22856
22857 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22858
22859 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
22860 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
22861 the code has been restructured.
22862
22863 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22864
22865 * gdb.t00/default.exp (set write): Allow any number of \r and/or
22866 \n, not just one of each.
22867
22868 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
22869 /bin/cc gives a warning if you do.
22870
22871 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
22872
22873 * gdb.t24/demangle.exp: change expect pattern of
22874 __t10ListS_link1ZUiRCUiPT0
22875
22876 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22877
22878 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
22879 on local variables in recursive functions.
22880
22881 * gdb.t07/Makefile.in: Build the new test.
22882
22883 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22884
22885 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
22886 directly. Instead compare the return values from actual calls.
22887
22888 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
22889
22890 * Makefile.in (check): Set TCL_LIBRARY for runtest.
22891
22892 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22893
22894 * From Peter Schauer with minor modifications.
22895 * gdb.t15/return.exp (return_tests): Handle targets where "return"
22896 stops in mid-line in the caller. Add xfail for returning a float
22897 value on X86 targets.
22898
22899 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22900
22901 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
22902 to avoid expect lossage.
22903 (fmem_LRbug_tests): Likewise.
22904 * gdb.disasm/hppa.s: Corresponding changes.
22905
22906 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
22907 conditions to work with latest dejagnu/expect.
22908
22909 * gdb.t15/funcargs.exp (finish from indirect call): No longer
22910 expected to fail on the PA.
22911 (backtrace in call with trampolines): Explicitly require main
22912 to be frame #1 (no trampolines should show up in backtrace).
22913
22914 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
22915 "continue -expect".
22916 * gdb.t06/break.exp: Likewise.
22917 * gdb.t07/watchpoint.exp: Likewise.
22918 * gdb.t13/bitfields.exp: Likewise.
22919 * gdb.t15/{funcargs,return}.exp: Likewise.
22920 * gdb.stabs/weird.exp: Likewise.
22921 * config/{mips,udi}-gdb.exp: Likewise.
22922
22923 * hppa.sed: Enclose comments within a sed command to avoid
22924 losing with the old OSF1 sed.
22925
22926 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22927
22928 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
22929 sequent dynix.
22930 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
22931 * gdb.t15/funcargs.exp: Conditionally step again to really
22932 finish from marker_call_with_trampolines. Handle the case where
22933 the first step from within call_with_trampolines already steps
22934 us back to main.
22935 * gdb.t15/gdbme.c: Add comment to closing brace of
22936 call_with_trampolines for funcargs.exp.
22937
22938 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22939
22940 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22941 Fix typo(s).
22942
22943 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22944
22945 * gdb.t07/gdbme.c: More code for watchpoint testing.
22946
22947 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
22948 "Hardware watchpoint" throughout file.
22949 (test_watchpoint_triggered_in_syscall): New test.
22950 (test_complex_watchpoint): New test.
22951
22952 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22953
22954 * gdbme.c (call_with_trampolines): New function to try and step
22955 into. Tests trampoline problems on the PA.
22956
22957 * funcargs.exp (localvars_in_indirect_call): No longer expect
22958 stepping into indirect call to fail on PAs.
22959 (test_stepping_over_trampolines): New test.
22960
22961 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22962
22963 * TODO: Add suggestions for static member function tests, and
22964 completion tests.
22965
22966 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22967
22968 * TODO: Add suggestions for "p/a" tests.
22969
22970 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
22971 (default_gdb_exit): Replace all the hair with sending "quit" to
22972 the process with a simple close.
22973
22974 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22975
22976 * TODO: Add suggestions for shared library tests.
22977
22978 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22979
22980 * TODO: Add suggestions for x/s tests.
22981
22982 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22983
22984 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
22985 "enable once", and "enable breakpoints once" with ".*".
22986
22987 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22988
22989 * TODO: Add suggestions about structure passing tests.
22990
22991 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22992
22993 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
22994 the primary1 test, use work around if __GNUC__ < 2.
22995 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
22996 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
22997 Test for bad output rather than waiting for timeout. Issue
22998 second continue only if first continue failed.
22999
23000 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23001
23002 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
23003 operator[] test with gdb_test because the old code didn't seem to
23004 be getting the quoting right with the new dejagnu.
23005
23006 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
23007
23008 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
23009 one from the path.
23010 * Makefile.in: Use a fresh expect if there is one, use runtest
23011 from the src tree if there is one.
23012
23013 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23014
23015 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
23016 next over recursive call. Revise the tests from that point on
23017 (which had been skipped) to match GDB's actual (correct) output.
23018
23019 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
23020 with next over a breakpoint whose condition is false.
23021
23022 * gdb.t00/help.exp: Comment out "help set print" tests just like
23023 (and for same reason as) "help set" test.
23024
23025 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23026
23027 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
23028 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
23029
23030 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23031
23032 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
23033 necessary gdb_target_udi.
23034
23035 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
23036
23037 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
23038 1838 and 2417; they are fixed.
23039
23040 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
23041 gdb.t03/ptype.exp (ptype structure, ptype union):
23042 Remove xfails; the test is looser than when the xfails were added.
23043
23044 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
23045 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
23046
23047 * gdb.t01/run.exp: Only run shell test if isnative.
23048
23049 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
23050 since "run" automatically loads if necessary. Call gdb_target_udi
23051 after the "file" since "file" kills any execution target.
23052
23053 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
23054 GDB. GDB doesn't work that way (not anymore at least) on UDI.
23055 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
23056 argument for UDI.
23057
23058 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
23059
23060 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
23061
23062 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
23063
23064 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23065
23066 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
23067 properly quoting regexps. This makes the second argument to
23068 demangle a fixed string, which matches the callers, instead of a
23069 shell-style pattern which is what the previous implementation
23070 used. Update some of the callers.
23071
23072 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23073
23074 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
23075 (comib_nullified_tests): Fix typo.
23076 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
23077 strings. No longer expected to fail.
23078
23079 * gdb.disasm/hppa.s (addib_tests): Fix typo.
23080 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
23081 strings. No longer expected to fail.
23082
23083 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
23084 string. No longer expected to fail.
23085
23086 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23087
23088 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
23089 No longer expected to fail.
23090
23091 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
23092 string. No longer expected to fail.
23093
23094 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23095
23096 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
23097 only in the names (I probably got most of them). I was even
23098 generous with some which differed in underscores in names, and
23099 probably missed a few, and I *still* was able to remove almost a
23100 third of the file with almost no impact on testsuite coverage.
23101
23102 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23103
23104 * gdb.t00/default.exp: Match udi_attach error message as well as
23105 the one from child_attach.
23106
23107 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
23108
23109 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
23110
23111 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
23112 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
23113
23114 * Move test with enums and partial symbols back to
23115 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
23116 Reverts the change of 26 May 93. Per today's change to
23117 stabs.texinfo, the behavior that weird.exp was expecting was
23118 unreasonable; what is important is that the compiler+gdb get
23119 things right, which happens with a recent gcc. Also fix the test
23120 to deal with native compilers which put out the stab gdb can't
23121 deal with.
23122
23123 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23124
23125 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
23126 in the names. The main thing these accomplish is to slow things down.
23127 Many more such duplicates surely remain.
23128
23129 * gdb.t00/help.exp: Comment out "help support" test just like
23130 (and for same reason as) "help set" test.
23131
23132 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
23133
23134 * gdb.t06/break.exp: Remove setup_xfails for
23135 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
23136 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
23137 about known bug in gcc to include up through 2.5.8.
23138 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
23139 well as "_vb$".
23140 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
23141 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
23142 with latest gcc and gdb.
23143 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
23144 well as "_vb$".
23145
23146 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23147
23148 * configure.in (hppa*-*-*): Also configure and build stabs-only
23149 tests.
23150
23151 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23152
23153 * gdb.t10/hppa.mt: A makefile fragment for the PA.
23154 * gdb.t10/configure.in (hppa*-*-*): Use it.
23155
23156 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23157
23158 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
23159
23160 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23161
23162 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
23163 versions prior to 1.13.5.
23164
23165 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23166
23167 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
23168 the prompt is at the start of a line.
23169
23170 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
23171
23172 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
23173 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
23174 in the copr tests now.
23175 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
23176 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
23177 expected to fail.
23178
23179 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
23180
23181 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
23182 gdb.t31/chillvars.exp, lib/gdb.exp:
23183 Tweak to run under either version of expect.
23184 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
23185 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
23186 * gdb.t11/list.exp: Remove extraneous whitespace.
23187
23188 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23189
23190 * gdb.t16/printcmds.exp (test_print_strings): Accept
23191 "(unsigned char *) " before the string.
23192
23193 * TODO: Add notes about printing of fancy types and GDB expressions.
23194
23195 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
23196
23197 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
23198 * gdb.t06/configure.in: Don't try to compile signals test program
23199 if doing mips-idt-ecoff.
23200
23201 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
23202
23203 * Most .exp files: Tweak to run under either version of expect.
23204
23205 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23206
23207 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
23208 xfails; I'm not sure why they are failing, but not because of PR 1806.
23209
23210 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
23211
23212 * config/unix-gdb.exp: Remove gdb_unload cause it's already
23213 defined in lib/gdb.exp.
23214
23215 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23216
23217 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
23218 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
23219 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
23220 have to be typeless.
23221
23222 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23223
23224 * TODO: Add suggestion for copyright year test.
23225
23226 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
23227
23228 * configure.in (*-*-lynxos*): Add stabs tests.
23229
23230 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23231
23232 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
23233 so insert a tab before any assembler directive in column zero.
23234
23235 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
23236 stores.
23237 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
23238 stores.
23239 (fpu_short_memory_tests): Likewise.
23240
23241 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23242
23243 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
23244 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
23245 .stabs directives in comments.
23246
23247 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23248
23249 * TODO: New file, describing tests we could write.
23250 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
23251
23252 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23253
23254 * gdb.t06/signals.exp: Add kludge to force re-sync.
23255
23256 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
23257 to xgdb instead of gdb, get out of gdb.
23258
23259 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
23260
23261 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
23262 for info.
23263
23264 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
23265
23266 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
23267 * gdb.stabs/configure.in (hppa*-*-*): Use it.
23268 * gdb.stabs/hppa.sed: New sed script for the PA.
23269
23270 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23271
23272 * gdb.stabs: Re-write weird.def and configuration to use sed
23273 instead of cpp. sed is portable and POSIX; cpp is neither.
23274
23275 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23276
23277 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
23278
23279 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23280
23281 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
23282
23283 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23284
23285 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
23286 "_vb$".
23287 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
23288 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
23289
23290 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23291
23292 * lib/gdb.exp: Comment out code which depends on non-existent
23293 `transform' procedure.
23294
23295 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
23296
23297 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
23298 * lib/gdb.exp: Transform tool name.
23299 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
23300 1.1's new error handling system.
23301
23302 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23303
23304 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
23305
23306 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23307
23308 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
23309 They made pattern matching so slow that timeouts happened on
23310 heavily loaded systems. Now any output from "show print" which
23311 gets us back to the GDB prompt is a PASS.
23312
23313 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
23314
23315 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
23316
23317 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23318
23319 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
23320
23321 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
23322 It is not from PR 3220.
23323
23324 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23325
23326 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
23327 just started failing because they depended on the order the
23328 subcommands are presented, or exact docstring text. This kind of
23329 test is a pain and has minimal benefit.
23330
23331 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23332
23333 * gdb.t09/corefile.exp: At end of test, use "core" command with
23334 no arguments.
23335
23336 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
23337
23338 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
23339 17}/Makefile.in: Make it possible to run the testsuite with Sun
23340 make and CC = cross gcc by adding explicit build rules for .o
23341 files.
23342
23343 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23344
23345 * gdb.t15/funcargs.exp: Don't put comments on same line as
23346 setup_xfail (@#$*%& tcl braindamage!).
23347
23348 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23349
23350 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
23351
23352 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
23353
23354 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
23355 * gdb.t20/inherit.exp: remove three dumplicate entries.
23356
23357 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23358
23359 * gdb.t06/break.exp: For "next over recursive call", fail on any
23360 incorrect output, not just on "factorial (value=2)".
23361
23362 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23363
23364 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
23365 working now. Add an xfail if accesing a bss variable causes
23366 a memory error if the target is not yet run.
23367
23368 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23369
23370 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
23371 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
23372 name of __st* demangling (2 strings). Did Kung really get the
23373 more than 95 others right without testing them?
23374
23375 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
23376
23377 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
23378
23379 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
23380
23381 * configure.in (configdirs): Add gdb.disasm
23382 * gdb.disasm: New directory for GDB disassembler tests.
23383 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
23384
23385 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23386
23387 * gdb.t00/help.exp: Don't test "help set".
23388
23389 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23390 from within expect statements. None of these happen anymore and
23391 they cause regressions to be silently unnoticed.
23392
23393 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23394 messages) about known failures with gcc cygnus-2.4.5-930417.
23395
23396 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23397 comp-info.exp so it gets built if it doesn't exist.
23398
23399 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23400 it is no longer used.
23401 * gdb.t13/comp-info.c: Removed.
23402
23403 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23404
23405 * gdb.t06/signals.exp: Add xfail for sun3.
23406
23407 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23408
23409 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23410 relevant because ^C doesn't get sent but failure can be reproduced
23411 interactively).
23412
23413 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23414
23415 * gdb.stabs/alpha.mt: New configuration file for alpha.
23416 * gdb.stabs/configure.in: Use it.
23417 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23418 sharing with alpha.mt, redefine long to word via preprocessor.
23419 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23420 for alpha.
23421 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23422 native cc.
23423 * gdb.t00/teststrategy.exp: Change expect string so that we
23424 consume the `(xgdb)' from the command echo and from the gdb prompt.
23425 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23426 gdb currently compares all values as long, so this failure probably
23427 applies to any configuration where LONGEST is bigger than a target int.
23428 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23429 with gcc.
23430 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23431 to handle opaque pointers, gcc is.
23432 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23433 as first argument. Include <sys/types.h> and change all operator
23434 new definitions to use size_t.
23435 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23436 now that we use size_t.
23437
23438 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23439
23440 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
23441 a long or float array cast all array members to the same type.
23442 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
23443 with 64 bit longs.
23444 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
23445 on alpha.
23446 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
23447
23448 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23449
23450 * gdb.t24 (demangle.exp): Constructors of templates have names like
23451 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23452 section 14.6 of the ARM.
23453
23454 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23455 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23456 accomplish little and slow down the testsuite.
23457
23458 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23459 Accept spaces various places.
23460
23461 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23462
23463 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23464 with watchpoint enabled.
23465
23466 * Makefile.in: Remove definition of CC and remove the second
23467 definition of CXX (the "CXX = gcc" one remains). These definitions
23468 were causing backquotes to be expanded within backquotes, which
23469 doesn't work.
23470
23471 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23472
23473 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23474
23475 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23476
23477 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23478 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
23479 by mips cc and contains no stabs entries.
23480
23481 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23482
23483 * config/vx-gdb.exp: Use fake device to load files rather than
23484 NFS.
23485 * lib/gdb.exp: New proc to do "file" command.
23486 * config/unix-gdb.exp: Use new "file" proc.
23487
23488 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23489
23490 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23491 Rework board rebooting slightly.
23492 (gdb_exit): Don't exit from the remote shell; there isn't one.
23493 * gdb.stabs/weird.exp: If a program is being debugged already,
23494 kill it.
23495 * gdb.t04/setvar.exp: Stop and restart gdb.
23496 * gdb.t05/expr.exp: Likewise.
23497 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23498 restart gdb and reload the program.
23499 * gdb.t08/opaque.exp: Likewise.
23500 * gdb.t12/scope.exp: Likewise.
23501 * gdb.t13/bitfields.exp: Likewise.
23502 * gdb.t15/funcargs.exp: Likewise.
23503 * gdb.t20/classes.exp: Likewise.
23504 * gdb.t03/ptype.exp: Increase timeout.
23505 * gdb.t16/printcmds.exp (test_print_string_constants,
23506 test_print_array_constants): Likewise.
23507 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23508 * gdb.t20/classes.exp (do_tests): Likewise.
23509 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23510
23511 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23512
23513 * gdb.stabs: Renamed *wierd* to *weird*.
23514
23515 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23516
23517 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23518 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23519
23520 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23521
23522 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23523 (do_tests): Remove xfail for whatis on one_var and two_var.
23524
23525 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
23526
23527 * Makefile.in: Made cross building work better by adding
23528 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
23529
23530 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23531
23532 * gdb.t15/{return.c,return.exp,Makefile.in}:
23533 New test, currently commented out.
23534
23535 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
23536
23537 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
23538 still running and removes the leftover named socket so GDb can do
23539 clean restarts.
23540
23541 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
23542
23543 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
23544 console, not GDB.
23545 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
23546 cross testing works better with "make check"
23547 * config/unix-gdb: Use default procedures for exit and version.
23548 * config/vx-gdb.exp: Cleaned up and massaged back to working order
23549 with the newest VxWorks.
23550
23551 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23552
23553 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
23554 old form.
23555
23556 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
23557 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
23558
23559 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
23560
23561 * config/unix-gdb.exp: Remove this version of gdb_exit
23562 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
23563 Rob says he'll look at it when he gets back to testing boards.
23564
23565 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
23566
23567 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
23568 an expected fail for certain ptype commands.
23569
23570 * gdb.t20/classes.exp: Update expected results of "ptype class
23571 Base1" to account for the constructor that now appears in the type.
23572
23573 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
23574
23575 * configure.in (configdirs): Restore gdb.t04, which mysteriously
23576 disappeared from list.
23577 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
23578 "alldone" proc with call to cleanup and exit.
23579 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
23580 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
23581 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
23582 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
23583 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
23584 "alldone" proc with simple returns that suppress remaining
23585 tests. The alldone proc went away many months ago.
23586
23587 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23588
23589 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
23590
23591 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
23592
23593 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23594
23595 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
23596 as vax gdb will display them.
23597
23598 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23599
23600 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
23601 optimizers.
23602
23603 * scope.exp: Change "bad value for localval" messages so each one
23604 is unique.
23605
23606 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
23607 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
23608
23609 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
23610
23611 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23612
23613 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
23614 doesn't exist (due to optimization).
23615
23616 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23617
23618 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
23619 contains \r because the filename is long.
23620
23621 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
23622 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
23623
23624 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23625
23626 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
23627 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
23628 Ultrix.
23629 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
23630 int tests.
23631 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
23632
23633 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
23634
23635 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
23636
23637 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
23638 to match does not match the passing case but still matches the
23639 failing case.
23640
23641 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23642
23643 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
23644
23645 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
23646
23647 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
23648 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
23649 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
23650 Remove various versions of gdb_exit.
23651 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
23652 gdb_exit.
23653 * config/unix-gdb.exp: gdb_exit remains here, and should override
23654 the generic version, since it's doing a lot of wierd stuff that
23655 the other versions aren't. FIXME, fold it in, or abandon this
23656 version.
23657
23658 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23659
23660 * gdb.t24/demangle.exp: Add tests for PR 3220.
23661
23662 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23663
23664 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
23665
23666 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
23667
23668 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
23669 "i386-*-*". Works for i486 as well.
23670
23671 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
23672 bug, and expand domain of xfail to all SVR4 systems, since the
23673 actual problem is likely to be in generic SVR4 /proc support.
23674
23675 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23676
23677 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
23678
23679 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
23680
23681 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
23682 xfails for other systems. Match a missing 'Continuing.' as an
23683 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
23684
23685 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
23686 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
23687 Only issue warning for missing executables if -all option is used.
23688
23689 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
23690 file if -all option is used. It's like an unpredictable XFAIL.
23691
23692 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23693
23694 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
23695 for dynamically linked binaries.
23696
23697 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
23698
23699 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23700
23701 * gdb.t20/inherit.exp: Change message for "print tagless struct"
23702 to state that this is a known bug in old versions of g++.
23703
23704 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23705
23706 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
23707 while waiting for `Continuing'.
23708
23709 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
23710
23711 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
23712 in text, data, and bss.
23713 * gdb.t10/nodebug.c: Add local and global test variables for
23714 initialized and uninitialized data.
23715
23716 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23717
23718 * config/unix-gdb.exp (gdb_exit): Add "wait".
23719
23720 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23721
23722 * gdb.t06/signals.exp: xfail the continue from the handler for all
23723 targets.
23724
23725 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
23726 function with watchpoints enabled, the i386 call dummy starts with
23727 a call.
23728
23729 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
23730 386 bsd names its corefiles.
23731
23732 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
23733
23734 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
23735 compilers don't grok it.
23736 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
23737 with small octal ints rather than character constants, which
23738 are signed and might not fit if first promoted to int.
23739
23740 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
23741
23742 * gdb.t09/Makefile.in (clean): Remove corefile.
23743
23744 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23745
23746 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
23747
23748 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23749 and Jim Kingdon (kingdon@cygnus.com)
23750
23751 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
23752 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
23753 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
23754
23755 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23756
23757 * gdb.t17/interrupt.exp: Add xfail for hppa.
23758
23759 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23760
23761 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
23762 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
23763 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
23764 to determine signed-ness of bitfields and use the result to setup
23765 the xfail.
23766 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
23767 * gdb.t15/funcargs.exp: Use them to step until the second indirect
23768 call line is reached if necessary.
23769
23770 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23771
23772 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
23773
23774 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23775
23776 * gdb.t06/break.exp: Also test `clear' command.
23777
23778 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23779
23780 * gdb.t00/teststrategy.exp: Remove extra quote.
23781
23782 * gdb.t07/watchpoint.exp: Change xfail for calling function with
23783 watchpoint enabled to be for all non-68k machines.
23784
23785 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
23786
23787 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23788
23789 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
23790 targets use aout.mt instead of ecoff.mt as gas understands
23791 standard aout format.
23792
23793 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23794
23795 * lib/gdb.exp (runto): Don't insist that function we are running to
23796 was compiled with -g.
23797
23798 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
23799
23800 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
23801 to get back into the read system call.
23802 Accept leading newline in case where we woke it up.
23803
23804 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23805
23806 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
23807 to make the stabs test work on ecoff systems using gcc and -with-stabs.
23808 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
23809 enable ecoff configuration.
23810
23811 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23812
23813 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
23814
23815 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23816
23817 * gdb.t16/printcmds.exp: Add another printf test.
23818
23819 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
23820
23821 * configure.in: If configured -with-stabs on any target, add
23822 stabsdirs to configdirs.
23823
23824 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23825
23826 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
23827 fun" so pattern does not match the command itself.
23828
23829 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23830
23831 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
23832
23833 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23834
23835 * gdb.t17/interrupt.exp: Test for more things.
23836
23837 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23838
23839 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
23840 compiler arranges the code and line numbers.
23841
23842 * gdb.t17/interrupt.exp: Don't send \n after ^C.
23843
23844 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23845
23846 * gdb.t00/help.exp: Increase expect input buffer size.
23847
23848 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23849
23850 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
23851
23852 * gdb.t07/watchpoint.exp: Add xfail for hppa.
23853
23854 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
23855
23856 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
23857 [0-9]*, not just [0-9].
23858
23859 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23860
23861 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
23862
23863 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
23864
23865 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23866
23867 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
23868
23869 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23870
23871 * gdb.t06/signals.c: Add xfails for sun3.
23872
23873 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
23874
23875 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
23876 test_stepping tests.
23877
23878 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23879
23880 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
23881
23882 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
23883
23884 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
23885 rather than actually putting it through cpp twice.
23886
23887 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
23888
23889 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
23890
23891 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
23892 no longer needed.
23893
23894 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23895
23896 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
23897
23898 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
23899 C++ features prints as "struct", make it a pass, not an xfail.
23900
23901 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23902
23903 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
23904 Don't require VA to print as "class" rather than "struct".
23905
23906 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
23907
23908 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
23909
23910 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23911
23912 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
23913
23914 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23915
23916 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
23917 order.
23918
23919 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23920
23921 * gdb.t16/printcmds.exp: Add printf tests.
23922
23923 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
23924
23925 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
23926
23927 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
23928
23929 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
23930 pass counts, to counteract any existing or future setup_xfails.
23931
23932 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23933
23934 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
23935 {BEGIN,END}_COMMON for common block instead of STAB.
23936 * gdb.stabs/wierd.exp: Add xfail for rs6000.
23937
23938 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
23939 intp_var should be N_GSYM not N_LSYM.
23940 wierd-aout.S: Use a label for the value of the N_SO.
23941 wierd.def: Remove all backslashes.
23942 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
23943
23944 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23945
23946 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
23947 get the expected next to inheritance3.
23948
23949 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23950
23951 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
23952 now that gcc-2.4 gets it right.
23953
23954 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23955
23956 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
23957
23958 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
23959 generating comp-info.exp which works for cross-compilation.
23960
23961 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
23962
23963 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
23964 "*-*-sysv4.*".
23965
23966 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
23967
23968 * gdb.t01/run.exp: Start with a fresh gdb.
23969 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
23970 SVR4.x.
23971
23972 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
23973
23974 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
23975 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
23976 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
23977 Makefile.in (distclean, realclean): Remove gdbme.c from list of
23978 things to remove.
23979
23980 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
23981
23982 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
23983 test cases from bug reports.
23984
23985 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
23986
23987 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
23988 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
23989 avoid spurious xfails.
23990 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
23991 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
23992 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
23993
23994 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
23995
23996 * gdb.t00/teststrategy.exp: Rework to provide more useful
23997 description of each test, fix problem with systems that define
23998 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
23999 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
24000 results for "next over recursive call" so timeouts aren't taken
24001 by error.
24002
24003 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
24004
24005 * gdb.t12/scope.exp: Test printing of variables before run.
24006
24007 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
24008 printed in wrong order due to sorting.
24009
24010 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
24011
24012 * gdb.t00/teststrategy.exp: Fix expected results for printing
24013 user entered string constant. Is array of char, prints with no
24014 address.
24015
24016 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
24017 commands.
24018 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
24019 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
24020 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
24021 of struct of char arrays.
24022 * gdb.t00/radix.exp: New tests for radix commands.
24023
24024 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
24025
24026 * gdb.t16/printcmd.exp: Print a variable before running program
24027 (with xfail for AIX).
24028
24029 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
24030
24031 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
24032
24033 * gdb.t16/printcmd.exp: Don't print variables before running program.
24034
24035 * gdb.t06/break.exp: Don't require envp argument to main.
24036
24037 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
24038
24039 * gdb.t02/whatis.exp, gdb.t11/list.exp:
24040 Add xfails for rs6000.
24041
24042 * gdb.t02/whatis.exp: Change other tests not to re-test something
24043 we already tested.
24044
24045 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
24046 each type used has a variable of that type.
24047
24048 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
24049
24050 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
24051
24052 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
24053
24054 * configure.in: change srctrigger to be a file, not a directory
24055
24056 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
24057
24058 * configure.in (mips-idt-ecoff*): Added trailing '*'.
24059
24060 * gdb.t11/list.exp: Fixed a couple of typos.
24061
24062 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
24063
24064 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
24065 is fixed and PR is closed.
24066 * gdb.t16 (gdbme.c): Add simple test string variable.
24067 * gdb.t16 (printcmds.exp): Add tests with simple test string
24068 variable, primarily for boundaries on "set print elements".
24069
24070 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
24071
24072 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
24073 Make leading 0's optional and don't expect a tab in the middle
24074 of the number.
24075
24076 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
24077
24078 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
24079 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
24080 don't end command passed to gdb_test with newline.
24081
24082 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
24083 signed keyword away, don't expect signed bitfields to be signed.
24084
24085 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
24086 printing with only as many 1's as are in the field as well as printing
24087 with 32 1's (see comment).
24088
24089 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
24090
24091 * gdb.t00/default.exp: Start with a fresh gdb.
24092 * configure.in (configdirs): Remove gdb.t31 until the chill
24093 compiler works again. It no longer is able to find chillrt0
24094 since it isn't in libchill.a anymore.
24095 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
24096 wierd.o, make more modular.
24097 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
24098 spurious newlines that caused problems.
24099
24100 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24101
24102 * Move test with enums and partial symbols from gdb.t03/ptype.exp
24103 to gdb.stabs/wierd.exp since GCC has worked around the bug.
24104 gdb.stabs/wierd.{exp,def}: Many new tests.
24105
24106 * gdb.t00/default.exp: update info line for new message.
24107
24108 * gdb.t02/{whatis.exp,gdbme.c}:
24109 Test that "char *" doesn't print as "caddr_t".
24110
24111 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24112
24113 * gdb.t00/help.exp: Use .* in place of some help messages which
24114 just changed.
24115 gdb.t00/default.exp: Update "info frame" test for new message.
24116 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
24117 Remove some xfails
24118
24119 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24120
24121 * gdb.t03/{gdbme.c,ptype.exp}:
24122 Add tests for typedef'd struct and union without tags.
24123 Also check "whatis" on a variable of a typedef'd enum without a tag.
24124
24125 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
24126 PRMS 1823; the bug still exists but isn't reproduced by this test
24127 anymore), and remove rs6000 XFAIL (the bug is fixed).
24128
24129 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
24130 duplicated from whatis.exp. For those that are left, accept
24131 "long", "long int", or "int" for long variables (whatis.exp already
24132 has an XFAIL for "int", so no need to fail it here).
24133
24134 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
24135 Deal with GCC's names for types now that GDB uses the compiler's names.
24136
24137 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
24138 setup_xfail's for sunos4. If we #defined the signed keyword away,
24139 don't expect GDB to know that char it is signed.
24140
24141 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
24142
24143 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
24144
24145 * configure.in (configdirs): Add gdb.t24 for C++ tests that
24146 should work on any system, regardless of debugging format.
24147 * gdb.t21/demangle.exp: Move to gdb.t24.
24148 * gdb.t24/demangle.exp: Move from gdb.t21.
24149 * gdb.t24/{Makefile.in, configure.in}: New files.
24150
24151 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24152
24153 * configure.in: Do gdb.stabs and C++ tests only for stabs.
24154 * gdb.stabs: New directory.
24155
24156 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24157
24158 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
24159 not just "Quit anyway?".
24160
24161 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
24162
24163 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
24164 that all setup_xfails are immediately followed by clear_xfails.
24165
24166 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
24167
24168 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
24169 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
24170 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
24171 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
24172 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
24173 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24174 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24175 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
24176 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
24177 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
24178 gdb.t31/chillvars.exp, lib/gdb.exp:
24179 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
24180 bug-gdb@prep.ai.mit.edu.
24181
24182 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
24183
24184 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
24185 with 0.0, not integer 0.
24186
24187 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
24188
24189 * gdb.t06/break.exp: Update for "Kill the program" message change.
24190
24191 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
24192
24193 * Makefile.in (GDBFLAGS): Set to -nx.
24194 * Makefile.in (site.exp): Use GDBFLAGS.
24195
24196 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24197
24198 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
24199 Makefiles.
24200 (check): depend on just-check.
24201 (just-check): added so that tests can be run without a noop
24202 build pass.
24203
24204 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
24205
24206 Switch to using configure's configdirs.
24207 * Makefile.in (Makefile): add configure.in dependency.
24208 (SUBDIRS): removed redundant assignment.
24209 * configure.in: switch subdirs assignment to configdirs.
24210 * gdb.t*/configure.in: new files.
24211
24212 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
24213
24214 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
24215 works.
24216
24217 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
24218
24219 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
24220 in explicit rules. Apparently this is not supported by some makes.
24221
24222 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
24223
24224 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
24225
24226 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24227
24228 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
24229 disappeared.
24230
24231 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
24232
24233 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
24234
24235 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
24236
24237 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
24238 watchpoint problem that is now fixed.
24239 * gdb.t30/chexp.exp: Remove setup_xfail for printing
24240 uninitialized convenience variables.
24241 * gdb.t31/chillvars.exp: Fix expected patterns for printing
24242 structures.
24243
24244 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24245
24246 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
24247 which causes expect to get out of sync with gdb on long output
24248 from help set.
24249 * gdb.t09/corefile.exp: Make expected pattern for core file
24250 failing signal and frame output format less sun specific.
24251
24252 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
24253
24254 * gdb.t31/chillvars.exp: Add and remove initial dummy
24255 breakpoint, so that symbol table is forced in.
24256 (Needed at least on Sunos4, though it seems not SVR4.)
24257 * gdb.t31/chillvars.exp: Update for changed output format.
24258
24259 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
24260
24261 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
24262
24263 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
24264
24265 * Makefile.in: Added --srcdir when invoking runtest, removed the
24266 need for a local config file. (optional now)
24267
24268 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
24269
24270 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
24271 failure count used to force early termination. Add some more
24272 expected failures for gnu style demangling.
24273
24274 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24275
24276 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
24277 pmi variable from gdb.t20/gdbme to get optimized away.
24278 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
24279 Check for written corefile upon timeout _and_ eof.
24280
24281 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24282
24283 * config/unix-gdb.exp: Add missing return 0.
24284
24285 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24286
24287 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
24288 test termination.
24289
24290 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
24291
24292 * configure.in (subdirs): Put back gdb.t17 which mysteriously
24293 disappeared.
24294
24295 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
24296
24297 * gdb.t10/crossload.exp: Disable the i860-elf test until such
24298 time as i860 support works.
24299
24300 * gdb.t15/funcargs.exp: Fix expected outputs to include
24301 "backtrace 100\r" rather than just "backtrace\r", to match last
24302 change.
24303
24304 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
24305
24306 * config/udi-gdb.exp (gdb_exit): Remove close command.
24307 (gdb_target_udi): New procedure to set the UDI target.
24308 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
24309 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
24310 Added waits for prompts after several question responses. Added
24311 some more responses used by a29k-amd-udi-gdb.
24312 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
24313 pass different arguments, restart UDI connection after program
24314 completion.
24315 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
24316 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
24317 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
24318 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
24319 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
24320 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
24321 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24322 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
24323 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
24324 after program completion.
24325 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
24326 compiled with a SELECT_VECS setting.
24327 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
24328 infinite recursion.
24329
24330 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
24331 Added checks for COFF results, and made them expected failures for
24332 all targets. It would be better to make them expected failures
24333 for COFF targets only.
24334
24335 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
24336
24337 * Makefile.in: add null dvi target, don't bother to recurse
24338 through test directories for info and install-info; rename
24339 $(datadir) to be dejagnu instead of deja-gnu
24340
24341 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24342
24343 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24344 compiler to coredump.
24345 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
24346 code.
24347
24348 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
24349
24350 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
24351 coredump.
24352 * gdb.t31/chillvars.exp: Comment out tests that depend on that
24353 code.
24354
24355 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
24356
24357 * gdb.t03/ptype.exp: tests for return code from gdb_test.
24358 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
24359 which in a shell. Deletes xgdb when done.
24360 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
24361 Tests the return from the "set height" or "set width" commands.
24362 Added a few return codes where needed.
24363
24364 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
24365
24366 * Makefile.in (SUBDIRS): Add gdb.t17.
24367 * configure.in (subdirs): Add gdb.t17.
24368 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
24369 files to test gdb's calling of functions in the inferior with
24370 the correct arguments and gdb's ability to retrieve any
24371 result returned.
24372
24373 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
24374
24375 * config/unix-gdb.exp (gdb_exit): Remove close commands that
24376 may be called after gdb goes away. Previous versions of expect
24377 needed these to avoid file descriptor leaks, but they cause
24378 errors with the current revision of expect.
24379 * gdb.t00/gdbvars.exp: Use -re on expected output after
24380 setting sevenbit-strings.
24381 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
24382 to set sevenbit-strings consistent across tests.
24383 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
24384 set sevenbit-strings consistent across tests.
24385
24386 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
24387
24388 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24389 expected output to match current "expect" expectations.
24390
24391 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24392
24393 * gdb.t00/default.exp: Change expected output for default "source"
24394 command, to match new gdb behavior which requires a filename to
24395 source.
24396
24397 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24398
24399 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24400 expected fail for i486-*-* that misses the marker2 function.
24401 * gdb.t10/crossload.exp (bfddefault): Allow successful
24402 recognition of a format to pass even if no symbols are found.
24403 Explicitly catch failures where the format is not recognized
24404 or is ambiguous, and add the reason to the fail message.
24405 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24406 the cause is and invalid target and add reason to failure message.
24407 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24408 elf32-i386, elf32-sparc, and elf32-i860.
24409 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24410 Set up expected failure for 'filename'::variable scope resolution,
24411 which is now apparently broken on all targets.
24412 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24413 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24414 gdb.t23/templates.exp: Change failure for missing binfile into
24415 just a warning.
24416 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24417 references.
24418
24419 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24420
24421 * gdb.t00/default.exp: Add expected output for default "source"
24422 command, to match new gdb behavior.
24423 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24424
24425 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24426
24427 * config/*-gdb.exp: returns an error, rather than exiting on
24428 internal errors.
24429
24430 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24431
24432 * gdb.t03/gdbme.c: Add pointer to struct variable.
24433 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24434 referencing struct members.
24435
24436 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24437
24438 * configure.in (mips-idt-ecoff): New target.
24439 * config/mips-gdb.exp: New file for remote board using MIPS remote
24440 debugging protocol.
24441
24442 * Redid configuration scheme. Removed gdb.t*/configure.in.
24443 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24444 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24445 distclean targets. Built executables via .o files. Adjusted
24446 tests to account for source files in $(srcdir) rather than
24447 $(objdir).
24448 * lib/gdb.exp (runto): Don't expect () after the function name,
24449 because it may have arguments.
24450
24451 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24452
24453 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24454 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24455 expected failures for mips-idt-* and mips-sgi-*.
24456 * gdb.t00/default.exp (attach): Kill process if requested.
24457 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24458 that does not read core files.
24459 * gdb.t01/run.exp: Removed checks for exit status code.
24460 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24461 it is linked in.
24462 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24463 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24464 appropriate, rather than doing it by hand.
24465 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24466 execution.
24467 * gdb.t10/crossload.exp: Kill existing program if needed.
24468 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24469 appropriate, rather than doing it by hand. Always increase
24470 timeout for this test, not just for VxWorks.
24471
24472 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24473
24474 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24475 of Chill STRUCT types and STRUCT values.
24476 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24477 than "char".
24478 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
24479 struct2): New struct definitions and initializations to test
24480 simple Chill STRUCT types.
24481
24482 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24483
24484 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24485 the null byte at the end of strings.
24486 * gdb.t00/default.exp: Make show version insensitive to copyright
24487 date.
24488 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24489 to avoid dependencies on target char signedness.
24490 * gdb.t16/printcmds.exp: Update expected results for explicitly
24491 unsigned char.
24492 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24493 now work.
24494 * gdb.t21/demangle.exp: Add many more patterns for template
24495 demangling, most of them being expected failures.
24496 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24497 string we are matching for, to match on the whole string.
24498 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24499 and fix a whole bunch that had incorrect expected output but were
24500 passing anyway because of the bug in "proc demangle".
24501 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24502 type.
24503 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24504
24505 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24506
24507 * gdb/testsuite: made modifications to testcases, etc., to allow
24508 them to work properly given the reorganization of deja-gnu and the
24509 relocation of the testcases from deja-gnu to a "tool" subdirectory.
24510
24511 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24512
24513 * gdb/testsuite: Initial creation of gdb/testsuite.
24514 Migrated dejagnu testcases and support files for testing nm to
24515 gdb/testsuite from deja-gnu. These files were moved "as is"
24516 with no modifications. This migration is part of a major overhaul
24517 of dejagnu. The modifications to these testcases, etc., which
24518 will allow them to work with the new version of dejagnu will be
24519 made in a future update.
24520
24521 For additional changes see gdb.mi/ChangeLog-1999-2003.
24522 \f
24523 ;; Local Variables:
24524 ;; mode: change-log
24525 ;; left-margin: 8
24526 ;; fill-column: 74
24527 ;; version-control: never
24528 ;; End:
24529
24530 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
24531 2003, 2004, 2005 Free Software Foundation, Inc.
24532 Copying and distribution of this file, with or without modification,
24533 are permitted provided the copyright notice and this notice are preserved.