* gdb.base/charset.exp: If UTF-16 is not available, skip char16_t, String16 tests.
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2011-05-13 Doug Evans <dje@google.com>
2
3 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t, String16 tests.
4
5 2011-05-13 Tom Tromey <tromey@redhat.com>
6
7 * lib/gdb.exp (is_x86_like_target): New proc.
8 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
9 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
10 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
11 -nostdlib to compiler.
12 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
13 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
14 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
15 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
16 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
17
18 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
19
20 * gdb.python/py-function.exp: Test setting a value from a function
21 which executes a command.
22
23 2011-05-12 Tom Tromey <tromey@redhat.com>
24
25 * gdb.dwarf2/typeddwarf.S: New file.
26 * gdb.dwarf2/typeddwarf.c: New file.
27 * gdb.dwarf2/typeddwarf.exp: New file.
28
29 2011-05-12 Marek Polacek <mpolacek@redhat.com>
30
31 * gdb.mi/mi-basics.exp: Fix races. Honour the
32 `test_exec_and_symbol_mi_operatons' return value.
33 (test_mi_interpreter_selection): Use mi_gdb_test instead of
34 gdb_test_multiple.
35 (test_exec_and_symbol_mi_operatons): Likewise.
36 (test_path_specification): Likewise.
37
38 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
39
40 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
41 (gdb_touch_execfile): Remove catch wrappers. New variable time.
42 Replace `file copy' and `file rename' by `file mtime'. Twice.
43
44 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
45
46 * gdb.base/readline-ask.c: New file.
47 * gdb.base/readline-ask.exp: New file.
48 * gdb.base/readline-ask.inputrc: New file.
49
50 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
51
52 * gdb.cell/bt.exp: Delete breakpoints before running to signal
53 to avoid race condition.
54 * gdb.cell/coremaker.c: Use small stack size.
55 * gdb.cell/ea-standalone.exp: Use file name without path as
56 argument to c_to.
57 * gdb.cell/fork.exp: Allow other output when continuing to end.
58
59 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
60
61 * gdb.threads/corethreads.c: New file.
62 * gdb.threads/corethreads.exp: New file.
63
64 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
65
66 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
67 Try to compile the test using -Wl,-z,norelro first.
68 (load_core): New variable libthread_db_seen, initialize it.
69 (zeroed-threads cannot be listed): Protect it by XFAIL on
70 !$libthread_db_seen.
71
72 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
73
74 PR 12573
75 * gdb.dwarf2/dw2-skip-prologue.S: New file.
76 * gdb.dwarf2/dw2-skip-prologue.c: New file.
77 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
78
79 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
80
81 * gdb.cp/psymtab-parameter.cc: New file.
82 * gdb.cp/psymtab-parameter.exp: New file.
83
84 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
85
86 Fix a race.
87 * gdb.cp/static-print-quit.exp (print c): Split to ...
88 (print c - <return>, print c - q <return>, print c - to quit):
89 ... these. Make the testfile untested on gdb-7.1.
90
91 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
92
93 * lib/gdb.exp (exec_target_file, exec_symbol_file,
94 gdb_rename_execfile, gdb_touch_execfile): New.
95 * gdb.base/reread.exp: Use new procs to handle multiple
96 exec files.
97
98 2011-05-05 Yao Qi <yao@codesourcery.com>
99
100 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
101 (test_adr_32bit, test_pop_pc): New.
102 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
103 (test_adr_32bit, test_pop_pc): New.
104
105 2011-05-04 Joseph Myers <joseph@codesourcery.com>
106
107 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
108 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
109 targets.
110 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
111 handle targets.
112
113 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
114
115 * gdb.base/completion.exp (complete help info wat): Rename to ...
116 (complete 'help info wat'): ... here.
117 Remove all `-re ".*' and `-re "^.*' redundant regexes.
118 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
119
120 2011-05-04 Pedro Alves <pedro@codesourcery.com>
121
122 * gdb.base/completion.exp: Use gdb_test_multiple instead of
123 gdb_test and explicit $gdb_prompt/timeout matches.
124
125 2011-05-04 Yao Qi <yao@codesourcery.com>
126
127 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
128 and __thumb2__.
129
130 2011-05-03 Marek Polacek <mpolacek@redhat.com>
131
132 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
133 in place of `gdb_test "delete breakpoints"'. This eliminates two
134 testcases.
135
136 2011-05-02 Pedro Alves <pedro@codesourcery.com>
137
138 PR testsuite/12649
139 Fix races.
140
141 * gdb.base/completion.exp: Remove all sleep calls. Remove
142 unnecessary regexs. Don't explicitly expect anything after the
143 prompt. Eat the prompt if necessary.
144
145 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
146
147 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
148 accept to show the caller line again as well as the line after.
149
150 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
151
152 PR mi/12531
153
154 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
155 compile target.
156 * gdb.python/py-prettyprint.exp: Add C++ object for
157 CPLUS_FAKE_CHILD test.
158
159 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
160
161 * gdb.base/signest.exp: New file.
162 * gdb.base/signest.c: Likewise.
163
164 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
165
166 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
167 thread and breakpoint notifications.
168
169 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
170
171 * gdb.base/fortran-sym-case.c: New file.
172 * gdb.base/fortran-sym-case.exp: New file.
173 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
174 * gdb.dwarf2/dw2-case-insensitive.c: New file.
175 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
176
177 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
178
179 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
180 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
181 false #1', `if true else false #2' and `if true else false #3'.
182
183 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
184
185 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
186 while delivering signal.
187
188 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
189
190 MI breakpoint notifications.
191
192 * testsuite/gdb.mi/mi-cli.exp: Adust.
193 * testsuite/gdb.mi/mi2-cli.exp: Adust.
194 * testsuite/gdb.mi/mi-watch.exp: Adust.
195 * testsuite/gdb.mi/mi2-watch.exp: Adust.
196 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
197 notifications.
198
199 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
200
201 * gdb.base/gdbindex-stabs-dwarf.c: New file.
202 * gdb.base/gdbindex-stabs.c: New file.
203 * gdb.base/gdbindex-stabs.exp: New file.
204
205 2011-04-25 Yao Qi <yao@codesourcery.com>
206
207 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
208 with /*...*/.
209 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
210
211 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
212
213 * gdb.python/py-value.exp (test_objfiles): Name the first test
214 `py-value in file.filename'.
215
216 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
217
218 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
219 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
220 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
221 !gdbserver_reconnect_p..
222 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
223
224 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
225
226 * gdb.cp/cpcompletion.exp (complete class methods)
227 (complete class methods beginning with F): Move them above runto. New
228 comment about the runto delimiter.
229
230 2011-04-20 Pedro Alves <pedro@codesourcery.com>
231
232 * gdb.base/maint.exp: Test that "maint print registers" works
233 without a running program.
234
235 2011-04-20 Marek Polacek <mpolacek@redhat.com>
236
237 * gdb.base/setshow.exp: Fix racy tests.
238 ($old_gdb_prompt): New variable.
239
240 2011-04-19 Tom Tromey <tromey@redhat.com>
241
242 * gdb.mi/mi-nsmoribund.exp:
243 * gdb.hp/gdb.objdbg/objdbg01.exp:
244 * gdb.base/structs.exp (test_struct_returns):
245 * gdb.base/call-sc.exp (test_scalar_returns):
246 * gdb.base/bigcore.exp: Remove duplicate words.
247
248 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
249
250 * gdb.base/break-interp-lib.c (v, vptr): New variables.
251 * gdb.base/break-interp.exp (test_attach): New comment.
252
253 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
254
255 * gdb.threads/gcore-thread.exp ($core0file): New variable.
256 (clear __stack_user.next, clear stack_used.next)
257 (save a zeroed-threads corefile): New test.
258 Call core_load for $core0file.
259 (zeroed-threads cannot be listed): New test.
260
261 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
262
263 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
264 filename.
265 ($srcfile): Preserve the original value.
266 ($testfile): Match it the .exp filename.
267 ($corefile): New variable. Substitute it around.
268 Use clean_restart.
269 ($prev_timeout): Remove.
270 (load_core): Move core loading into this proc.
271 Fix restore of $timeout if load_core fails.
272
273 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
274
275 * gdb.base/eu-strip-infcall.c: New file.
276 * gdb.base/eu-strip-infcall.exp: New file.
277
278 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
279
280 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
281 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
282
283 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
284
285 Fix Python access to inlined frames.
286 * gdb.python/py-frame-inline.c: New file.
287 * gdb.python/py-frame-inline.exp: New file.
288
289 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
290
291 * gdb.base/gdb1090.exp: Change breakpoint location to read the
292 content of 's24' correctly (avoiding "optimized out").
293 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
294
295 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
296
297 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
298
299 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
300
301 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
302 expect a colon in watch -location output.
303
304 2011-04-13 Marek Polacek <mpolacek@redhat.com>
305
306 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
307 New testcase `expect response to define backtrace'. Also remove
308 redundant `default' block.
309
310 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
311
312 * gdb.python/py-prettyprint.c (struct hint_error): New.
313 (main): New variable hint_error.
314 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
315 "print hint_error".
316 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
317 (register_pretty_printers): Register it.
318
319 2011-04-04 Tom Tromey <tromey@redhat.com>
320
321 * gdb.cp/maint.exp (test_help): Update.
322 (test_namespace): Likewise.
323
324 2011-04-01 Joel Brobecker <brobecker@adacore.com>
325
326 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
327 * gdb.ada/arrayptr.exp: Add new tests.
328
329 2011-04-01 Joel Brobecker <brobecker@adacore.com>
330
331 * gdb.ada/mi_catch_ex: New testcase.
332
333 2011-04-01 Pedro Alves <pedro@codesourcery.com>
334
335 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
336 base::overload(void) method without specifying "const".
337
338 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
339
340 * gdb.arch/thumb-singlestep.S: New file.
341 * gdb.arch/thumb-singlestep.exp: Likewise.
342
343 2011-03-31 Tom Tromey <tromey@redhat.com>
344
345 * gdb.python/py-prettyprint.py (exception_flag): New global.
346 (NoStringContainerPrinter._iterator.next): Check it.
347 * gdb.python/py-prettyprint.c (main): New variable nstype2.
348 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
349
350 2011-03-29 Tom Tromey <tromey@redhat.com>
351
352 * gdb.cp/anon-struct.cc: New file.
353 * gdb.cp/anon-struct.exp: New file.
354
355 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
356
357 Test STT_GNU_IFUNC support.
358 * gdb.base/gnu-ifunc-lib.c: New file.
359 * gdb.base/gnu-ifunc.c: New file.
360 * gdb.base/gnu-ifunc.exp: New file.
361
362 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
363
364 Support a ring of related breakpoints.
365 * gdb.base/watchpoint-delete.c: New file.
366 * gdb.base/watchpoint-delete.exp: New file.
367
368 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
369
370 * gdb.ada/arrayparam.exp (print first after function call): Use
371 explicit package name. Add a comment
372 (print lasta after function call): Rename ...
373 (print last after function call): ... it and use explicit package
374 name.
375 (print length after function call): Use explicit package name.
376 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
377 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
378 (multiple matches for symbol i): Rename ...
379 (multiple matches for symbol integervar): ... it.
380 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
381 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
382
383 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
384
385 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
386 environment variable to make grep output more predictable. Move
387 all the environment setup into gdb_init so it's done once per test
388 case rather than each time we start gdb.
389
390 2011-03-24 Tom Tromey <tromey@redhat.com>
391
392 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
393 test.
394
395 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
396
397 * gdb.dwarf2/dw2-entry-value-main.c: New file.
398 * gdb.dwarf2/dw2-entry-value.S: New file.
399 * gdb.dwarf2/dw2-entry-value.exp: New file.
400
401 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
402
403 PR python/12183
404
405 * gdb.python/py-function.exp: Add GdbError tests.
406
407 2011-03-18 Pedro Alves <pedro@codesourcery.com>
408
409 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
410 (reglocal_test_func, statlocal_test_func): New functions.
411 (globals_test_func): Call new functions.
412 * gdb.trace/unavailable.exp (gdb_collect_args_test)
413 (gdb_collect_locals_test): New procedure.
414 (gdb_trace_collection_test): Call new procedures.
415
416 2011-03-18 Pedro Alves <pedro@codesourcery.com>
417
418 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
419 (test_register, test_register_unavailable): New procedures.
420 (gdb_unavailable_registers_test): New procedure.
421 (gdb_trace_collection_test): Call it.
422
423 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
424
425 PR python/12149
426
427 * gdb.python/python.exp: Add gdb.write tests.
428
429 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
430
431 * gdb.python/Makefile.in: Add py-objfile.
432 * gdb.python/py-objfile.exp: New file.
433 * gdb.python/py-objfile.c: New file.
434 * gdb.python/py-block.exp: Add is_valid tests.
435 * gdb.python/py-inferior.exp: Ditto.
436 * gdb.python/py-infthread.exp: Ditto.
437 * gdb.python/py-symbol.exp: Ditto.
438 * gdb.python/py-symtab.exp: Ditto.
439
440 2011-03-16 Keith Seitz <keiths@redhat.com>
441
442 PR c++/12273
443 * gdb.cp/cmpd-minsyms.exp: New test.
444 * gdb.cp/cmpd-minsyms.cc: New file.
445
446 PR c++/11734
447 * gdb.cp/ovsrch.exp: New test.
448 * gdb.cp/ovsrch.h: New file.
449 * gdb.cp/ovsrch1.cc: New file.
450 * gdb.cp/ovsrch2.cc: New file.
451 * gdb.cp/ovsrch3.cc: New file.
452 * gdb.cp/ovsrch4.cc: New file.
453
454 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
455
456 PR gdb/12528
457 * gdb.base/Makefile.in: Adjust EXECUTABLES.
458 * gdb.base/break-on-linker-gcd-function.exp: New test.
459 * gdb.base/break-on-linker-gcd-function.cc: New file.
460
461 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
462
463 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
464
465 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
466
467 * lib/gdb.exp (gdb_unload): Add another termination case.
468
469 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
470
471 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
472 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
473 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
474 Provide a stub byte there.
475 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
476 DW_AT_entry_pc.
477 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
478
479 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
480
481 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
482 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
483 "generic ABI, auto".
484 (altivec_abi_tests): Accept vectors returned by reference.
485
486 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
487
488 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
489
490 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
491
492 * gdb.python/py-section-script.exp: Skip test if no Python support.
493
494 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
495
496 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
497
498 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
499
500 * gdb.python/py-parameter.exp: Update tests to the new Python
501 parameter API. Add "no documentation" test. Add deprecated API
502 backward compatibility test.
503
504 2011-03-09 Tom Tromey <tromey@redhat.com>
505
506 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
507 gdb_continue_to_end.
508
509 2011-03-09 Mark Kettenis <kettenis@gnu.org>
510
511 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
512 tabs.
513
514 2011-03-09 Tom Tromey <tromey@redhat.com>
515
516 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
517 parentheses.
518 (gdb_continue_to_end): Add "allow_extra" parameter. Use
519 $command.
520 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
521 argument to gdb_continue_to_end.
522 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
523 argument to gdb_continue_to_end.
524 * gdb.cp/annota3.exp: Fix regex.
525 * gdb.cp/annota2.exp: Fix regex.
526 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
527 gdb_continue_to_end.
528 * gdb.base/call-signal-resume.exp: Revert earlier patch.
529 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
530 gdb_continue_to_end.
531
532 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
533
534 * gdb.server/ext-run.exp
535 (load new file without any gdbserver inferior): New test.
536
537 2011-03-07 Tom Tromey <tromey@redhat.com>
538
539 * Makefile.in (TAGS): Rewrite.
540
541 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
542
543 * gdb.trace/report.exp (12.1: trace report #1): New match for the
544 initial commands echo. New match for `Found trace'. Anchor all the
545 other matches. Anchor and match for `No trace frame found' the final
546 match.
547
548 2011-03-07 Tom Tromey <tromey@redhat.com>
549
550 * Makefile.in (TAGS): New target.
551
552 2011-03-07 Tom Tromey <tromey@redhat.com>
553
554 * lib/opencl.exp (skip_opencl_tests): Update for exit message
555 change.
556 * lib/mi-support.exp (mi_gdb_test): Update for exit message
557 change.
558 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
559 exit message change.
560 (skip_altivec_tests): Update for exit message change.
561 (skip_vsx_tests): Likewise.
562 (gdb_continue_to_end): Likewise. Add 'command' argument.
563 * lib/cell.exp (skip_cell_tests): Update for exit message change.
564 * gdb.threads/tls.exp: Update for exit message change.
565 * gdb.threads/thread-unwindonsignal.exp: Use
566 gdb_continue_to_end.
567 * gdb.threads/step.exp (step_it): Update for exit message change.
568 (continue_all): Likewise.
569 * gdb.threads/print-threads.exp (test_all_threads): Update for
570 exit message change.
571 * gdb.threads/interrupted-hand-call.exp: Use
572 gdb_continue_to_end.
573 * gdb.threads/execl.exp: Use gdb_continue_to_end.
574 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
575 gdb_continue_to_end.
576 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
577 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
578 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
579 * gdb.cp/method.exp: Update for exit message change.
580 * gdb.cp/mb-templates.exp: Update for exit message change.
581 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
582 * gdb.cp/annota3.exp: Update for exit message change.
583 * gdb.cp/annota2.exp: Update for exit message change.
584 * gdb.cell/fork.exp: Use gdb_continue_to_end.
585 * gdb.base/term.exp: Update for exit message change.
586 * gdb.base/step-test.exp (test_i): Update for exit message change.
587 * gdb.base/sigstep.exp (advance): Update for exit message change.
588 (advancei): Likewise.
589 * gdb.base/siginfo.exp: Update for exit message change.
590 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
591 * gdb.base/reread.exp: Use gdb_continue_to_end.
592 * gdb.base/langs.exp: Use gdb_continue_to_end.
593 * gdb.base/interrupt.exp: Update for exit message change.
594 * gdb.base/gdb1555.exp: Update for exit message change.
595 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
596 * gdb.base/ending-run.exp: Update for exit message change.
597 * gdb.base/chng-syms.exp: Update for exit message change.
598 * gdb.base/checkpoint.exp: Update for exit message change.
599 * gdb.base/catch-syscall.exp (check_for_program_end): Use
600 gdb_continue_to_end.
601 (test_catch_syscall_with_wrong_args): Likewise.
602 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
603 * gdb.base/break-interp.exp (test_ld): Update for exit message
604 change.
605 * gdb.base/bang.exp: Update for exit message change.
606 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
607 (do_call_attach_tests): Likewise.
608 * gdb.base/a2-run.exp: Update for exit message change.
609 * gdb.arch/ppc-dfp.exp: Update for exit message change.
610 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
611 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
612
613 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
614
615 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
616
617 2011-03-03 Tom Tromey <tromey@redhat.com>
618
619 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
620 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
621 * gdb.hp/gdb.aCC/configure.ac: Remove.
622 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
623 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
624 * gdb.hp/gdb.base-hp/configure.ac: Remove.
625 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
626 * gdb.hp/gdb.compat/configure (Makefile): Remove.
627 * gdb.hp/gdb.compat/configure.ac: Remove.
628 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
629 * gdb.hp/gdb.defects/configure (Makefile): Remove.
630 * gdb.hp/gdb.defects/configure.ac: Remove.
631 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
632 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
633 * gdb.hp/gdb.objdbg/configure.ac: Remove.
634 * gdb.hp/configure.ac: Remove.
635 * gdb.hp/configure: Remove.
636 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
637 substitution.
638 (Makefile): Remove rule.
639 * gdb.cell/configure.ac: Remove.
640 * gdb.cell/configure: Remove.
641 * gdb.stabs/Makefile.in (Makefile): Remove.
642 (distclean): Don't remove config.status or config.log.
643 * gdb.stabs/configure (Makefile): Remove.
644 * gdb.stabs/configure.ac: Remove.
645 * configure: Rebuild.
646 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
647 Remove stabs- and cell-specific logic. Test for existence of
648 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
649 subdirectories, gdb.cell, and and gdb.stabs.
650 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
651
652 2011-03-03 Joel Brobecker <brobecker@adacore.com>
653
654 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
655 end of buffer.
656
657 2011-03-02 Joel Brobecker <brobecker@adacore.com>
658
659 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
660 gdb_test when running a test where we expected no output back.
661
662 2011-02-28 Michael Snyder <msnyder@vmware.com>
663
664 * gdb.cp/overload.cc: Change initializer value to integer.
665
666 2011-02-27 Michael Snyder <msnyder@vmware.com>
667
668 * gdb.multi/base.exp: Add test for remove-inferiors.
669
670 2011-02-26 Joel Brobecker <brobecker@adacore.com>
671
672 * gdb.python/py-frame.exp: Simplify the initialization phase
673 using prepare_for_testing.
674
675 2011-02-25 Michael Snyder <msnyder@vmware.com>
676
677 * gdb.multi/base.exp: Add tests for info inferiors with args.
678
679 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
680
681 * gdb.dwarf2/dw2-ranges.S: Rename to ...
682 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
683 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
684 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
685 asmfile3. Comment the STABS (#3) file compilation. Compile
686 everything through assembler. Provide KFAIL for symtab/12497.
687 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
688 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
689 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
690 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
691
692 2011-02-24 Michael Snyder <msnyder@vmware.com>
693
694 * gdb.base/break.exp: Add tests for delete breakpoints using
695 convenience variables and value history references.
696
697 2011-02-24 Michael Snyder <msnyder@vmware.com>
698
699 * gdb.base/break.exp: Remove debugging 'printf' accidentally
700 left behind in previous check-in.
701
702 2011-02-23 Michael Snyder <msnyder@vmware.com>
703
704 * gdb.base/break.exp: Add tests for "info break" with arguments.
705 * gdb.trace/infotrace.exp: Update patterns for error and help.
706 * gdb.base/completion.exp: Update pattern.
707 * gdb.base/ena-dis-br.exp: Update pattern.
708 * gdb.base/help.exp: Update patterns.
709
710 2011-02-23 Michael Snyder <msnyder@vmware.com>
711
712 * gdb.base/memattr.exp: New test.
713 * gdb.base/memattr.c: Test load for memattr.exp.
714
715 2011-02-22 Doug Evans <dje@google.com>
716
717 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
718
719 2011-02-22 Michael Snyder <msnyder@vmware.com>
720
721 * Makefile.in: Make more clean.
722 * gdb.ada/Makefile.in: Ditto.
723 * gdb.arch/Makefile.in: Ditto.
724 * gdb.asm/Makefile.in: Ditto.
725 * gdb.base/Makefile.in: Ditto.
726 * gdb.cp/Makefile.in: Ditto.
727 * gdb.dwarf2/Makefile.in: Ditto.
728 * gdb.java/Makefile.in: Ditto.
729 * gdb.mi/Makefile.in: Ditto.
730 * gdb.modula2/Makefile.in: Ditto.
731 * gdb.python/Makefile.in: Ditto.
732 * gdb.server/Makefile.in: Ditto.
733 * gdb.stabs/Makefile.in: Ditto.
734 * gdb.threads/Makefile.in: Ditto.
735 * gdb.trace/Makefile.in: Ditto.
736
737 2011-02-22 Michael Snyder <msnyder@vmware.com>
738
739 * gdb.threads/thread-find.exp: Add tests for bad input to
740 info threads.
741
742 2011-02-22 Joel Brobecker <brobecker@adacore.com>
743
744 * gdb.python/py-breakpoint.exp: Fix the expected output of
745 one of the "maint info breakpoints" tests to accept the output
746 generated on platforms that do not have hardware watchpoints.
747
748 2011-02-22 Joel Brobecker <brobecker@adacore.com>
749
750 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
751 clean_restart. Be a little stricter in the expected output
752 for one of the tests. Fix a typo in one of the comments.
753
754 2011-02-22 Joel Brobecker <brobecker@adacore.com>
755
756 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
757 Delete variable binfile, no longer use. Add or modify test
758 comments to make them unique.
759
760 2011-02-21 Michael Snyder <msnyder@vmware.com>
761
762 * Makefile.in: Update for make clean.
763 * gdb.ada/Makefile.in: Ditto.
764 * gdb.arch/Makefile.in: Ditto.
765 * gdb.asm/Makefile.in: Ditto.
766 * gdb.base/Makefile.in: Ditto.
767 * gdb.cp/Makefile.in: Ditto.
768 * gdb.dwarf2/Makefile.in: Ditto.
769 * gdb.java/Makefile.in: Ditto.
770 * gdb.mi/Makefile.in: Ditto.
771 * gdb.modula2/Makefile.in: Ditto.
772 * gdb.python/Makefile.in: Ditto.
773 * gdb.server/Makefile.in: Ditto.
774 * gdb.stabs/Makefile.in: Ditto.
775 * gdb.threads/Makefile.in: Ditto.
776 * gdb.trace/Makefile.in: Ditto.
777
778 2011-02-21 Michael Snyder <msnyder@vmware.com>
779
780 * gdb.threads/thread-find.exp: Update patterns for changes in
781 output of "info threads" command.
782
783 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
784 Ulrich Weigand <uweigand@de.ibm.com>
785
786 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
787 (skip_hw_watchpoint_tests): Likewise.
788 (skip_hw_watchpoint_multi_tests): Likewise.
789
790 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
791
792 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
793 (skip_hw_watchpoint_tests): Likewise.
794 (skip_hw_watchpoint_multi_tests): Likewise.
795 (skip_hw_watchpoint_access_tests): Likewise.
796
797 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
798 * gdb.base/pr11022.exp: Likewise.
799 * gdb.base/watch-read.exp: Likewise.
800 * gdb.base/watch_thread_num.exp: Likewise.
801 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
802 * gdb.base/watchpoint-hw.exp: Likewise.
803 * gdb.base/watchpoint.exp: Likewise.
804 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
805 * gdb.threads/watchthreads-reorder.exp: Likewise.
806 * gdb.threads/watchthreads.exp: Likewise.
807 * gdb.threads/watchthreads2.exp: Likewise.
808
809 2011-02-21 Joel Brobecker <brobecker@adacore.com>
810
811 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
812 the debugger is unable to find the array bounds.
813
814 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
815
816 * gdb.cp/typedef-operator.exp: New file.
817 * gdb.cp/typedef-operator.cc: New file.
818
819 2011-02-17 Michael Snyder <msnyder@vmware.com>
820
821 * gdb.threads/thread-find.exp: Fix regular expressions.
822
823 2011-02-17 Joel Brobecker <brobecker@adacore.com>
824
825 * gdb.ada/packed_array: Expand testcase to test printing of
826 unconstrained packed array.
827
828 2011-02-17 Joel Brobecker <brobecker@adacore.com>
829
830 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
831
832 2011-02-16 Pedro Alves <pedro@codesourcery.com>
833
834 * gdb.trace/collection.c (globalarr3): New global.
835 (main): Initialize it before collecting, and and clear it
836 afterwards.
837 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
838 collecting with '{type} addr', where the addr expression is not an
839 rvalue.
840
841 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
842
843 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
844 a bool variable. Expect correct OpenCL names for vector types. Use the
845 uc3 variable name instead of referring to the uchar3 built-in type.
846 Escape the asterisk at the half pointer test.
847
848 2011-02-16 Pedro Alves <pedro@codesourcery.com>
849
850 * gdb.trace/collection.c (globalarr2): New global.
851 (main): Initialize it before collecting, and and clear it
852 afterwards.
853 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
854 collecting overlapping memory ranges.
855
856 2011-02-15 Michael Snyder <msnyder@vmware.com>
857
858 * gdb.base/default.exp: Add tests for thread commands.
859 * gdb.base/help.exp: Add tests for thread commands.
860 * gdb.threads/thread-find.exp: New test for thread find command.
861
862 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
863
864 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
865
866 2011-02-15 Yao Qi <yao@codesourcery.com>
867
868 PR tdep/12352
869 * gdb.arch/arm-disp-step.S : New test for str instruction.
870 * gdb.arch/arm-disp-step.exp : Likewise.
871
872 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
873
874 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
875 "vector_register2_vr" test strings. Test the extended floating
876 point registers (F32~F63).
877 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
878 IBM XL C compiler. Make the test program use a register provided
879 by the compiler for the lxvd2x instruction.
880
881 2011-02-14 Pedro Alves <pedro@codesourcery.com>
882
883 * gdb.trace/unavailable.cc (class Base, class Middle, class
884 Derived): New types.
885 (derived_unavail, derived_partial, derived_whole): New globals.
886 (virtual_partial): New global.
887 (virtualp): Point at virtual_partial.
888 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
889 related to unavailable vptr.
890
891 2011-02-14 Pedro Alves <pedro@codesourcery.com>
892
893 * gdb.trace/unavailable.cc (a, b, c): New globals.
894 (main): Set and clear them.
895 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
896 `a' and `c', and check that `b' isn't collected, although `a' and
897 `c' are.
898
899 2011-02-14 Pedro Alves <pedro@codesourcery.com>
900
901 * gdb.trace/unavailable.cc (struct Virtual): New.
902 (virtualp): New global pointer.
903 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
904 printing a pointer to an object whose type has a vtable, with
905 print object on.
906
907 2011-02-14 Pedro Alves <pedro@codesourcery.com>
908
909 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
910 value repeat handles unavailableness.
911
912 2011-02-14 Pedro Alves <pedro@codesourcery.com>
913
914 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
915 tests for building arrays from unavailable values, subscripting
916 non-memory rvalue unvailable arrays, and accessing fields or
917 baseclasses of non-lazy unavailable values,
918 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
919 struct types.
920 (g_smallstruct, g_smallstruct_b): New globals.
921
922 2011-02-14 Pedro Alves <pedro@codesourcery.com>
923
924 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
925
926 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
927
928 Fix const/volatile qualifiers of C++ types, PR c++/12328.
929 * gdb.cp/overload-const.exp: New file.
930 * gdb.cp/overload-const.cc: New file.
931
932 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
933
934 * gdb.opencl/callfuncs.cl: New file.
935 * gdb.opencl/callfuncs.exp: New test.
936 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
937
938 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
939
940 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
941 when computing result.
942 * gdb.arch/altivec-abi.exp: Update expected results.
943
944 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
945
946 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
947 * gdb.base/jit.exp: Likewise.
948 * gdb.base/pie-execl.exp: Likewise.
949 * gdb.base/solib-nodir.exp: Likewise.
950 * gdb.base/solib-overlap.exp: Likewise.
951
952 2011-02-07 Pedro Alves <pedro@codesourcery.com>
953
954 * gdb.trace/collection.c (global_pieces): New.
955 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
956 New procedure.
957 (gdb_trace_collection_test): Call it.
958
959 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
960
961 * gdb.python/py-evthreads.c: New file.
962 * gdb.python/py-evthreads.exp: New file.
963 * gdb.python/py-events.py: New file.
964 * gdb.python/py-events.exp: New file.
965 * gdb.python/py-events.c: New file.
966
967 2011-02-04 David Daney <ddaney@caviumnetworks.com>
968
969 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
970
971 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
972
973 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
974 gdb.base/disasm-end-cu.exp: New test for disassembling over the
975 boundary between two compilation units.
976
977 2011-02-02 Pedro Alves <pedro@codesourcery.com>
978
979 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
980 (Virtual): New structs.
981 (virtual_o, virtual_middle_b): New globals.
982 * gdb.cp/virtbase.exp: New tests.
983
984 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
985
986 * gdb.base/jit.exp: New file.
987 * gdb.base/jit-main.c: New file.
988 * gdb.base/jit-solib.c: New file.
989
990 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
991
992 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
993 proceed to initial kernel entry point.
994 * gdb.opencl/datatypes.exp: Likewise.
995 * gdb.opencl/operators.exp: Likewise.
996 * gdb.opencl/vec_comps.exp: Likewise.
997
998 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
999
1000 * gdb.cp/nsnested.cc: New.
1001 * gdb.cp/nsnested.exp: New.
1002 * gdb.cp/nsnoimports.exp: New.
1003 * gdb.cp/nsnoimports.cc: New.
1004
1005 2011-01-31 Joel Brobecker <brobecker@adacore.com>
1006
1007 * gdb.base/interact.exp: Add extra tests that verify that
1008 the value of the interactive-mode setting does not change
1009 after the script is sourced.
1010
1011 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1012
1013 * gdb.cp/noparam.exp: New file.
1014 * gdb.cp/noparam.cc: New file.
1015
1016 2011-01-28 Pedro Alves <pedro@codesourcery.com>
1017
1018 * gdb.trace/tfile.exp: Test that with no traceframe selected,
1019 there's no stack or registers.
1020
1021 2011-01-26 Tom Tromey <tromey@redhat.com>
1022
1023 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
1024 space before string output. Add test for "set print pretty off"
1025 case.
1026
1027 2011-01-25 Pedro Alves <pedro@codesourcery.com>
1028
1029 * gdb.base/frame-args.exp: Adjust.
1030 * gdb.dwarf2/dw2-noloc.exp: Adjust.
1031 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
1032 * gdb.dwarf2/pieces.exp: Adjust.
1033 * gdb.opt/clobbered-registers-O2.exp: Adjust.
1034 * gdb.opt/inline-locals.exp: Adjust.
1035 * gdb.threads/fork-child-threads.exp: Adjust.
1036
1037 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
1038
1039 * gdb.opencl/convs_casts.cl: Move program scope variables into the
1040 OpenCL kernel function. Add a comment as marker. Add address space
1041 qualifiers for the remaining program scope variables.
1042 * gdb.opencl/datatypes.cl: Likewise.
1043 * gdb.opencl/operators.cl: Likewise.
1044 * gdb.opencl/vec_comps.cl: Likewise.
1045 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
1046 Add breakpoint at the marker comment.
1047 * gdb.opencl/datatypes.exp: Likewise.
1048 * gdb.opencl/operators.exp: Likewise.
1049 * gdb.opencl/vec_comps.exp: Likewise.
1050
1051 2011-01-24 Pedro Alves <pedro@codesourcery.com>
1052
1053 * gdb.base/printcmds.c (some_struct): New struct and instance.
1054 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
1055 procedure.
1056 <global scope>: Call it.
1057
1058 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
1059
1060 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
1061 argument to the gdb_compile_opencl_hostapp call.
1062
1063 2011-01-19 Yao Qi <yao@codesourcery.com>
1064
1065 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
1066 positve list.
1067
1068 2011-01-19 Yao Qi <yao@codesourcery.com>
1069
1070 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
1071 canonical form.
1072 Remove "xscale-*-*"
1073 * gdb.xml/tdesc-regs.exp: Likewise.
1074 * gdb.python/py-section-script.exp: Replace ARM target triplet
1075 with canonical form.
1076 Match arm*-*-symbianelf*.
1077 * gdb.base/dup-sect.exp: Likewise.
1078 * lib/dwarf.exp: New.
1079 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
1080 dwarf2_support.
1081 * gdb.dwarf2/dup-psym.exp: Likewise.
1082 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
1083 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
1084 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
1085 * gdb.dwarf2/dw2-basic.exp: Likewise.
1086 * gdb.dwarf2/dw2-compressed.exp: Likewise.
1087 * gdb.dwarf2/dw2-const.exp: Likewise.
1088 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
1089 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
1090 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
1091 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
1092 * gdb.dwarf2/dw2-filename.exp: Likewise.
1093 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
1094 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
1095 * gdb.dwarf2/dw2-intercu.exp: Likewise.
1096 * gdb.dwarf2/dw2-intermix.exp: Likewise.
1097 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
1098 * gdb.dwarf2/dw2-noloc.exp: Likewise.
1099 * gdb.dwarf2/dw2-op-call.exp: Likewise.
1100 * gdb.dwarf2/dw2-producer.exp: Likewise.
1101 * gdb.dwarf2/dw2-ranges.exp: Likewise.
1102 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
1103 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
1104 * gdb.dwarf2/dw2-strp.exp: Likewise.
1105 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
1106 * gdb.dwarf2/implptr.exp: Likewise.
1107 * gdb.dwarf2/mac-fileno.exp: Likewise.
1108 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
1109 * gdb.dwarf2/pieces.exp: Likewise.
1110 * gdb.dwarf2/pr11465.exp: Likewise.
1111 * gdb.dwarf2/valop.exp: Likewise.
1112 * gdb.dwarf2/watch-notconst.exp: Likewise.
1113 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
1114
1115 2011-01-19 Tom Tromey <tromey@redhat.com>
1116
1117 * gdb.python/py-infthread.exp: Add thread tests.
1118
1119 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1120
1121 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
1122
1123 2011-01-14 Joel Brobecker <brobecker@adacore.com>
1124
1125 * gdb.ada/widewide: New testcase.
1126
1127 2011-01-13 Joel Brobecker <brobecker@adacore.com>
1128
1129 * gdb.base/interact.exp: New testcase.
1130
1131 2011-01-12 Tom Tromey <tromey@redhat.com>
1132
1133 * gdb.mi/gdb2549.exp: Update for error message changes.
1134 * gdb.mi/mi-cli.exp: Likewise.
1135 * gdb.mi/mi-disassemble.exp: Likewise.
1136 * gdb.mi/mi-pthreads.exp: Likewise.
1137 * gdb.mi/mi-regs.exp: Likewise.
1138 * gdb.mi/mi-stack.exp: Likewise.
1139 * gdb.mi/mi-var-block.exp: Likewise.
1140 * gdb.mi/mi-var-cmd.exp: Likewise.
1141 * gdb.mi/mi2-cli.exp: Likewise.
1142 * gdb.mi/mi2-disassemble.exp: Likewise.
1143 * gdb.mi/mi2-pthreads.exp: Likewise.
1144 * gdb.mi/mi2-regs.exp: Likewise.
1145 * gdb.mi/mi2-stack.exp: Likewise.
1146 * gdb.mi/mi2-var-block.exp: Likewise.
1147 * gdb.mi/mi2-var-cmd.exp: Likewise.
1148
1149 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1150 Jan Kratochvil <jan.kratochvil@redhat.com>
1151
1152 PR fortran/11104 and DWARF unbound arrays detection.
1153 * gdb.fortran/multi-dim.exp: New file.
1154 * gdb.fortran/multi-dim.f90: New file.
1155
1156 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
1157
1158 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1159 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1160 add new tests for opcode dumping.
1161
1162 2011-01-11 Tom Tromey <tromey@redhat.com>
1163
1164 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1165
1166 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1167
1168 Convert hardware watchpoints to use breakpoint_ops.
1169 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1170 type is not supported.
1171 * gdb.base/foll-fork.exp: Likewise.
1172 * gdb.base/foll-vfork.exp: Likewise.
1173
1174 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1175
1176 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1177 Use load_lib gdb-python.exp.
1178 * gdb.python/python.exp: Ditto.
1179 * gdb.python/py-function.exp: Ditto.
1180
1181 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1182
1183 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1184
1185 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1186
1187 * configure: Regenerate.
1188
1189 2011-01-06 Tom Tromey <tromey@redhat.com>
1190
1191 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1192
1193 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1194
1195 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1196 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1197 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1198 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1199 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1200 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1201 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1202 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1203 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1204 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1205 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
1206 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
1207 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
1208 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
1209 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
1210 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
1211 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
1212 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
1213 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
1214 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
1215 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
1216 gdb.ada/uninitialized_vars.exp,
1217 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
1218 Simplify by using clean_restart.
1219
1220 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1221
1222 Add marker to be used as anchor for inserting breakpoints.
1223 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
1224 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
1225 Likewise.
1226
1227 Remove uses of gdb_start_cmd.
1228 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
1229 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
1230
1231 Do not run testcase if testing with GDBserver.
1232 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
1233 if testing with GDBserver.
1234
1235 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1236
1237 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
1238 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
1239 copyright header.
1240
1241 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1242
1243 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
1244 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
1245 testsuite/gdb.fortran/complex.f,
1246 testsuite/gdb.fortran/derived-type.f90,
1247 testsuite/gdb.fortran/library-module-lib.f90,
1248 testsuite/gdb.fortran/library-module-main.f90,
1249 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
1250 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
1251 Copyright year update.
1252
1253 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1254
1255 * gdb.base/langs1.f: Add copyright header.
1256
1257 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1258
1259 * gdb.base/morestack.exp: New file.
1260 * gdb.base/morestack.c: New file.
1261
1262 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1263
1264 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
1265
1266 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1267
1268 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
1269 * gdb.ada/arrayptr.exp: Add test printing that new variable.
1270
1271 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1272
1273 * gdb.ada/lang_switch.exp: Correct expected parameter value.
1274
1275 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
1276
1277 * gdb.threads/tls.exp: Fix typo.
1278
1279 * gdb.threads/thread-specific.exp (get_thread_list): Update.
1280 * gdb.threads/execl.exp: Update.
1281
1282 2010-12-23 Yao Qi <yao@codesourcery.com>
1283
1284 * gdb.arch/arm-disp-step.exp: New.
1285 * gdb.arch/arm-disp-step.S: New.
1286
1287 2010-12-21 Tom Tromey <tromey@redhat.com>
1288
1289 * gdb.threads/execl.exp: Update.
1290 * gdb.threads/linux-dp.exp: Update.
1291 * gdb.threads/manythreads.exp: Update.
1292 * gdb.threads/tls.exp: Update.
1293
1294 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1295
1296 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
1297 (NextOverThrowDerivates) <resumebpt>: New.
1298 (resumebpt_test): New.
1299 (main): Call resumebpt_test.
1300 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
1301
1302 2010-12-12 Stan Shebs <stan@codesourcery.com>
1303
1304 * gdb.trace/tsv.exp: Test print command on trace state variables.
1305
1306 2010-12-09 Tom Tromey <tromey@redhat.com>
1307
1308 * gdb.base/interp.exp: Add regression test.
1309
1310 2010-12-09 Tom Tromey <tromey@redhat.com>
1311
1312 * gdb.java/jnpe.java: New file.
1313 * gdb.java/jnpe.exp: New file.
1314 * gdb.cp/nextoverthrow.exp: New file.
1315 * gdb.cp/nextoverthrow.cc: New file.
1316
1317 2010-12-07 Doug Evans <dje@google.com>
1318
1319 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
1320 of data-directory.
1321 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
1322 updated.
1323 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
1324
1325 2010-11-29 Michael Snyder <msnyder@vmware.com>
1326
1327 * gdb.base/callfuncs.exp: Test for skip_float_tests.
1328 * gdb.base/call-sc.exp: Ditto.
1329 * gdb.base/finish.exp: Ditto.
1330 * gdb.base/return.exp: Ditto.
1331 * gdb.base/return2.exp: Ditto.
1332
1333 2010-11-30 Doug Evans <dje@google.com>
1334
1335 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
1336 (gdb_expect_list): Fix spelling errors in comments.
1337 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
1338 send_gdb/gdb_expect_list where applicable.
1339 * gdb.base/call-ar-st.exp: Ditto.
1340 * gdb.base/funcargs.exp: Ditto.
1341 * gdb.base/gcore.exp: Ditto.
1342 * gdb.base/page.exp: Ditto.
1343 * gdb.base/sigaltstack.exp: Ditto.
1344 * gdb.base/siginfo.exp: Ditto.
1345 * gdb.base/sigstep.exp: Ditto.
1346 * gdb.base/trace-commands.exp: Ditto.
1347
1348 2010-11-29 Doug Evans <dje@google.com>
1349
1350 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
1351 printer-name;subprinter-name.
1352
1353 2010-11-29 Tom Tromey <tromey@redhat.com>
1354
1355 * gdb.dwarf2/implptr.exp: New file.
1356 * gdb.dwarf2/implptr.c: New file.
1357 * gdb.dwarf2/implptr.S: New file.
1358
1359 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
1360
1361 PR python/12199
1362
1363 * gdb.python/py-breakpoint.exp: Test the delete method.
1364
1365 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1366
1367 Fix step_resume_breakpoint unsaved during an infcall.
1368 * gdb.base/step-resume-infcall.exp: New file.
1369 * gdb.base/step-resume-infcall.c: New file.
1370
1371 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1372
1373 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
1374
1375 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1376
1377 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
1378 on ppc64's symbols; "finish" and "return" commands must accept to
1379 show the caller line again as well as the line after.
1380 * gdb.asm/powerpc64.inc: New file.
1381
1382 2010-11-23 Doug Evans <dje@google.com>
1383
1384 * lib/gdb.exp (gdb_test_sequence): New function.
1385 (gdb_expect_list): Add verbose -log call for each pattern.
1386 * gdb.base/signals.exp (test_handle_all_print): Call it.
1387 Reduce timeout increment from 6 minutes to 1 minute.
1388 * gdb.server/ext-run.exp: Call it.
1389
1390 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
1391
1392 PR python/12212
1393
1394 * gdb.python/python.exp: Check that selected_thread raises an
1395 error when no inferior is loaded.
1396
1397 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1398
1399 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
1400 * gdb.dwarf2/dw2-stack-boundary.S: New file.
1401
1402 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1403
1404 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
1405 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
1406
1407 2010-11-18 Doug Evans <dje@google.com>
1408
1409 * gdb.server/ext-run.exp: Fix intermittent failures.
1410
1411 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1412
1413 * gdb.stabs/gdb11479.exp: Use runto_main.
1414
1415 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1416
1417 * gdb.base/break-entry.exp: Skip if using a stub.
1418
1419 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1420
1421 * gdb.python/py-inferior.exp: Pack values in target endianness.
1422
1423 2010-11-12 Tom Tromey <tromey@redhat.com>
1424
1425 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
1426 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
1427 MemoryError.
1428 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
1429 type.
1430 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
1431 MemoryError.
1432 (test_subscript_regression): Update exception type.
1433
1434 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
1435
1436 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
1437 breakpoint tests.
1438
1439 2010-11-09 Pedro Alves <pedro@codesourcery.com>
1440
1441 * gdb.base/watchpoint.exp: Test "watch -location" with an
1442 innacessible location.
1443
1444 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
1445 Luis Machado <luisgpm@br.ibm.com>
1446
1447 * gdb.base/maint.exp: Expect "." prefix.
1448 * gdb.base/nodebug.exp: Expect "." Likewise.
1449 * gdb.base/sepsymtab.exp: Expect "." Likewise.
1450 * gdb.base/watchpoint-cond-gone.exp: Likewise.
1451 * gdb.base/watchpoint.exp: Expect a software watch to be created for
1452 POWER server processors.
1453
1454 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
1455 Luis Machado <luisgpm@br.ibm.com>
1456
1457 * gdb.base/break-entry.exp: convert entry point for
1458 ppc64 and expect leading `.' on ppc64's symbols
1459
1460 2010-11-05 Doug Evans <dje@google.com>
1461
1462 * gdb.base/help.exp: Update expected output.
1463 * gdb.python/py-param.exp: Delete, contents moved to ...
1464 * gdb.python/py-parameter.exp: ... here. New file.
1465 Add test for gdb.parameter ("directories").
1466
1467 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
1468
1469 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
1470 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
1471 * configure: Regenerate.
1472 * gdb.opencl/Makefile.in: New File.
1473 * gdb.opencl/datatypes.exp: Likewise.
1474 * gdb.opencl/datatypes.cl: Likewise.
1475 * gdb.opencl/operators.exp: Likewise.
1476 * gdb.opencl/operators.cl: Likewise.
1477 * gdb.opencl/vec_comps.exp: Likewise.
1478 * gdb.opencl/vec_comps.cl: Likewise.
1479 * gdb.opencl/convs_casts.exp: Likewise.
1480 * gdb.opencl/convs_casts.cl: Likewise.
1481 * lib/opencl.exp: Likewise.
1482 * lib/opencl_hostapp.c: Likewise.
1483 * lib/opencl_kernel.cl: Likewise.
1484 * lib/cl_util.c: Likewise.
1485 * lib/cl_util.c: Likewise.
1486 * gdb.base/default.exp (set language): Add "opencl" to the list of
1487 languages.
1488
1489 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
1490
1491 * gdb.cp/overload.exp: Added test for inheritance overload.
1492 * gdb.cp/overload.cc: Ditto.
1493 * gdb.cp/oranking.exp: Removed releveant kfails.
1494
1495 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1496 Joel Brobecker <brobecker@adacore.com>
1497
1498 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
1499 check test_compiler_info.
1500
1501 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1502
1503 * gdb.base/gnu_vector.exp: Adjust expect messages.
1504
1505 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1506
1507 * gdb.base/gnu_vector.exp: Add unary operator tests.
1508
1509 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1510
1511 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
1512
1513 2010-11-02 Doug Evans <dje@google.com>
1514
1515 * gdb.python/py-pp-maint.c: New file.
1516 * gdb.python/py-pp-maint.exp: New file.
1517 * gdb.python/py-pp-maint.py: New file.
1518
1519 2010-11-02 Tom Tromey <tromey@redhat.com>
1520
1521 * gdb.base/default.exp: Remove "scheme" from language list.
1522
1523 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1524
1525 Revert:
1526 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1527 * gdb.threads/sigstep-threads.exp: New file.
1528 * gdb.threads/sigstep-threads.c: New file.
1529
1530 2010-10-20 Michael Snyder <msnyder@vmware.com>
1531
1532 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
1533
1534 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1535
1536 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
1537 Skip test completely if gdb,no_hardware_watchpoints.
1538
1539 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1540
1541 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
1542 strict, but do not check for any particular function name within libc.
1543
1544 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1545
1546 * gdb.cp/smartp.exp: New test.
1547 * gdb.cp/smartp.cc : New test.
1548
1549 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1550
1551 * gdb.cp/converts.exp: Test pointer to bool conversion.
1552 Test pointer to long conversion.
1553 * gdb.cp/oranking.exp: Removed relevant kfail.
1554
1555 2010-10-18 Tom Tromey <tromey@redhat.com>
1556
1557 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
1558 argument to lazy_string.
1559 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
1560 (pp_ls.to_string): Use it.
1561 * gdb.python/py-prettyprint.c (main): Move declarations to top.
1562 Add "estring2" local.
1563
1564 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1565
1566 Fix s390x compatibility.
1567 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
1568 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
1569
1570 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1571
1572 * gdb.threads/sigstep-threads.exp: New file.
1573 * gdb.threads/sigstep-threads.c: New file.
1574
1575 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1576
1577 * gdb.base/pie-execl.exp: New file.
1578 * gdb.base/pie-execl.c: New file.
1579
1580 2010-10-13 Doug Evans <dje@google.com>
1581 Jan Kratochvil <jan.kratochvil@redhat.com>
1582
1583 PR exp/12117
1584 * gdb.cp/ptype-cv-cp.cc: New file.
1585 * gdb.cp/ptype-cv-cp.exp: New file.
1586
1587 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
1588
1589 * gdb.cp/converts.cc: New test program.
1590 * gdb.cp/converts.exp: New test.
1591 * gdb.cp/overload.exp: Added test for void* vs int*.
1592 * gdb.cp/overload.exp: Ditto.
1593 * gdb.cp/oranking.exp: Removed related kfail.
1594
1595 2010-10-13 Doug Evans <dje@google.com>
1596
1597 * lib/gdb-python.exp (gdb_check_python_config): New function.
1598 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
1599 * gdb.python/lib-types.cc: New file.
1600 * gdb.python/lib-types.exp: New file.
1601
1602 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1603
1604 * gdb.python/py-error.exp: New file.
1605 * gdb.python/py-error.py: New file.
1606
1607 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1608
1609 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
1610 gdb_test_multiple.
1611
1612 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1613
1614 * gdb.base/break-interp.exp: Use ldlags for linking flags.
1615 * gdb.base/prelink.exp: Likewise.
1616 * gdb.base/solib-nodir.exp: Likewise.
1617 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
1618 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
1619 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
1620
1621 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
1622
1623 * break-interp.exp (test_ld): Use two separate gdb_expect statements
1624 for the "info files" test to avoid timeouts on slow machines.
1625
1626 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1627
1628 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
1629 (main): Make openlib dummy call.
1630
1631 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1632
1633 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
1634 * break-interp.exp (reach): Move the core body ...
1635 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
1636 (test_ld): Provide always real argument, even to the linker. Replace
1637 dl_main by _dl_debug_state.
1638
1639 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1640
1641 Fix results of prelinked PIEs on ppc*.
1642 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
1643 Accept also DISPLACEMENT "PRESENT".
1644 (main): Replace "ZERO" displacements by "PRESENT".
1645
1646 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
1647
1648 * gdb.cp/oranking.exp: New test.
1649 * gdb.cp/oranking.cc: New test program.
1650
1651 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
1652
1653 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
1654 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
1655
1656 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1657
1658 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
1659 lush, lynx) New constant.
1660 * gdb.base/constvars.exp: Test const array types.
1661 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
1662
1663 2010-10-06 Doug Evans <dje@google.com>
1664
1665 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
1666 of syscall staging area.
1667
1668 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1669
1670 * gdb.base/gnu_vector.c: Add variable c4.
1671 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
1672 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1673
1674 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1675
1676 * gdb.arch/altivec-abi.exp: Fix a typo.
1677
1678 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
1679
1680 * lib/mi-support.exp (thread_selected_re): Correct pattern used
1681 to match a thread ID.
1682
1683 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1684
1685 Fix s390x testcase compatibility.
1686 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
1687
1688 2010-10-01 Doug Evans <dje@google.com>
1689
1690 * lib/gdb-python.exp: New file.
1691 * gdb.python/py-block.exp: Use it.
1692 * gdb.python/py-breakpoint.exp: Ditto.
1693 * gdb.python/py-frame.exp: Ditto.
1694 * gdb.python/py-inferior.exp: Ditto.
1695 * gdb.python/py-param.exp: Ditto.
1696 * gdb.python/py-prettyprint.exp: Ditto.
1697 * gdb.python/py-shared.exp: Ditto.
1698 * gdb.python/py-symbol.exp: Ditto.
1699 * gdb.python/py-symtab.exp: Ditto.
1700 * gdb.python/py-type.exp: Ditto.
1701 * gdb.python/py-value.exp: Ditto.
1702 * gdb.python/python.exp: Ditto.
1703
1704 2010-09-30 Tom Tromey <tromey@redhat.com>
1705
1706 * gdb.base/anon.exp: New file.
1707 * gdb.base/anon.c: New file.
1708
1709 2010-09-30 Tom Tromey <tromey@redhat.com>
1710
1711 * gdb.base/completion.exp: Test completion through anonymous
1712 union.
1713 * gdb.base/break1.c (struct some_struct): Add anonymous union.
1714
1715 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1716
1717 Fix printing parameters of inlined functions.
1718 * gdb.dwarf2/dw2-inline-param.exp: New file.
1719 * gdb.dwarf2/dw2-inline-param-main.c: New file.
1720 * gdb.dwarf2/dw2-inline-param.S: New file.
1721
1722 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1723
1724 PR corefiles/12071.
1725 * gdb.base/corefile.exp (quit with a process, no question: load core)
1726 (quit with a core file): New tests.
1727
1728 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1729
1730 Fix GDB crash on inferior calls with self-referencing classes.
1731 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
1732 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
1733 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
1734
1735 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1736
1737 Fix lost siginfo_t for inferior calls.
1738 * gdb.base/siginfo-infcall.exp: New file.
1739 * gdb.base/siginfo-infcall.c: New file.
1740
1741 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1742
1743 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
1744
1745 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1746
1747 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
1748 New test.
1749 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
1750
1751 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1752
1753 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
1754 type of our const type.
1755
1756 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
1757
1758 * gdb.cp/pr12028.cc: New.
1759 * gdb.cp/pr12028.exp: New.
1760
1761 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1762
1763 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
1764
1765 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
1766 Jan Kratochvil <jan.kratochvil@redhat.com>
1767
1768 PR mi/11407
1769 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
1770 * gdb.mi/dw2-ref-missing-frame-main.c New File.
1771 * gdb.mi/dw2-ref-missing-frame.S New File.
1772 * gdb.mi/dw2-ref-missing-frame.exp New File.
1773
1774 2010-09-14 Tom Tromey <tromey@redhat.com>
1775
1776 PR symtab/8399:
1777 * gdb.threads/tls.exp: Remove kfail. Update expected output.
1778
1779 2010-09-14 Tom Tromey <tromey@redhat.com>
1780
1781 PR exp/11803:
1782 * gdb.threads/tls.exp: Use C++.
1783 (check_thread_local): Use K::another_thread_local.
1784 * gdb.threads/tls.c (class K): New.
1785 (another_thread_local): Now a member of K.
1786 (spin): Update. No longer K&R C.
1787
1788 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1789
1790 * gdb.cp/koenig.cc: created class for testing member lookup.
1791 * gdb.cp/koenig.exp: Added test for member lookup.
1792
1793 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1794
1795 Fix false FAILs on sourcetree topdir directory containing "kill".
1796 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
1797 source line matching regexp.
1798
1799 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1800
1801 * gdb.python/python.exp (set height 0, collect help from uiout)
1802 (verify help to uiout): New tests.
1803
1804 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1805
1806 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
1807 is_lp64_target to check 64bit target.
1808
1809 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1810
1811 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
1812 (test_ld) <powerpc64-*>: New.
1813
1814 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1815
1816 * gdb.cp/templates.exp (test_template_args): Allow "struct".
1817
1818 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1819
1820 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
1821 (FunctionArg::method): New function.
1822 (empty, arg): New variables.
1823 (main): Call arg.method.
1824 * gdb.cp/templates.exp (test_template_args): New function.
1825 (do_tests): Call it.
1826
1827 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1828
1829 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
1830 of "next" to proceed over pthread_exit call.
1831
1832 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1833
1834 * gdb.base/maint.exp: Avoid wildcards against potentially very long
1835 "maint print statistics" output to prevent expect timeouts.
1836
1837 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1838
1839 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
1840 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1841 (test_float_rejected): ... here.
1842 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
1843 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1844 (test_float_rejected): ... here.
1845 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
1846 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1847 (test_float_rejected): ... here.
1848 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
1849 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1850 (test_float_rejected): ... here.
1851
1852 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
1853
1854 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
1855 before disabling hardware watchpoints.
1856 (test_inaccessible_watchpoint): Check that hardware watchpoints
1857 are used. Test for watchpoints on a constant address.
1858
1859 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1860
1861 * gdb.base/ui-redirect.exp: New file.
1862
1863 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1864 Joel Brobecker <brobecker@adacore.com>
1865
1866 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
1867
1868 2010-08-31 Doug Evans <dje@google.com>
1869
1870 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
1871
1872 2010-08-30 Tom Tromey <tromey@redhat.com>
1873
1874 PR python/11792:
1875 * gdb.python/py-value.exp (test_subscript_regression): Add
1876 dynamic_type test.
1877
1878 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
1879
1880 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
1881 instead of running to main. Do not test the main function.
1882 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
1883 Add new main.
1884
1885 2010-08-26 Pedro Alves <pedro@codesourcery.com>
1886
1887 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
1888 one test.
1889
1890 2010-08-24 Doug Evans <dje@google.com>
1891
1892 PR symtab/11942
1893 * gdb.dwarf2/dw4-sig-types.cc: New file.
1894 * gdb.dwarf2/dw4-sig-types.h: New file.
1895 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
1896 * gdb.dwarf2/dw4-sig-types.exp: New file.
1897
1898 2010-08-23 Tom Tromey <tromey@redhat.com>
1899
1900 PR python/11145:
1901 * gdb.python/py-value.c (Base, Derived): New types.
1902 (base): New global.
1903 * gdb.python/py-value.exp (test_subscript_regression): Add
1904 dynamic_cast test.
1905
1906 2010-08-23 Tom Tromey <tromey@redhat.com>
1907
1908 PR python/10676:
1909 * gdb.python/py-type.exp (test_fields): Add tests for type
1910 equality.
1911
1912 2010-08-23 Tom Tromey <tromey@redhat.com>
1913
1914 PR python/11915:
1915 * gdb.python/py-type.exp (test_fields): Add tests for array.
1916
1917 2010-08-23 Keith Seitz <keiths@redhat.com>
1918
1919 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
1920 have any children. Create a new abbrev for it.
1921 Add missing terminal sequence to .debug_abbrev.
1922
1923 2010-08-20 Keith Seitz <keiths@redhat.com>
1924
1925 PR symtab/11465:
1926 * gdb.dwarf2/pr11465.exp: New test.
1927 * gdb.dwarf2/pr11465.S: New file.
1928 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
1929 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
1930
1931 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
1932
1933 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
1934 registers. Update data sets with the new v2_double element in the
1935 VSX register union. Add vector_register3_vr data set for the AltiVec
1936 registers. Use gdb_test_no_output instead of send_gdb.
1937
1938 2010-08-19 Pedro Alves <pedro@codesourcery.com>
1939
1940 * gdb.python/py-shared.exp: New file, factored out from
1941 python.exp.
1942 * gdb.python/py-shared.c: New file.
1943 * gdb.python/py-shared-sl.c: New file.
1944 * gdb.python/python-1.c: New file.
1945 * gdb.python/python-sl.c: Delete.
1946 * gdb.python/python.c: Mention python-1.c.
1947 * gdb.python/python.exp: Move shared library tests to
1948 py-shared.exp.
1949 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
1950 (MISCELLANEOUS): New.
1951 (clean mostlyclean): Also remove $MISCELLANEOUS.
1952
1953 2010-08-19 Doug Evans <dje@google.com>
1954
1955 PR exp/11926
1956 * gdb.base/printcmds.exp (test_float_accepted): New function.
1957 Move existing float tests there. Add tests for floats with suffixes.
1958 (test_float_rejected): New function.
1959 * gdb.java/jv-print.exp (test_float_accepted): New function.
1960 (test_float_rejected): New function.
1961 * gdb.objc/print.exp: New file.
1962 * gdb.pascal/print.exp: New file.
1963 * lib/objc.exp: New file.
1964
1965 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
1966
1967 * gdb.base/default.exp (info set): Avoid full buffer error and force
1968 reading up to final gdb prompt.
1969 (show): Likewise.
1970
1971 2010-08-18 Tom Tromey <tromey@redhat.com>
1972
1973 PR symtab/11919:
1974 * gdb.base/completion.exp: Add test.
1975
1976 2010-08-18 Doug Evans <dje@google.com>
1977
1978 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
1979 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
1980 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
1981 Simplify, early exit if runto_main fails.
1982 * gdb.fortran/exprs.exp: load_lib fortran.exp.
1983 (set_lang_fortran): Moved to lib/fortran.exp.
1984 * gdb.fortran/types.exp: load_lib fortran.exp.
1985 (set_lang_fortran): Moved to lib/fortran.exp.
1986 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
1987 * gdb.java/jprint.exp (set_lang_java): Ditto.
1988 * gdb.java/jv-exp.exp: load_lib java.exp.
1989 If set_lang_java fails, issue a warning instead of failure to be
1990 consistent with other set_lang_foo uses.
1991 (set_lang_java): Moved to lib/java.exp.
1992 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
1993 If set_lang_java fails, issue a warning instead of failure to be
1994 consistent with other set_lang_foo uses.
1995 * gdb.pascal/types.exp: load_lib pascal.exp.
1996 (set_lang_pascal): Moved to lib/pascal.exp.
1997 * lib/fortran.exp: New file.
1998 * lib/java.exp (set_lang_java): New function.
1999 * lib/pascal.exp (set_lang_pascal): New function.
2000
2001 2010-08-18 Yao Qi <yao@codesourcery.com
2002
2003 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
2004 func_nofb_start and func_loopfb_start, so that address of functions
2005 is equal to these labels on Thumb.
2006
2007 2010-08-18 Yao Qi <yao@codesourcery.com>
2008
2009 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
2010 to reflect latest c source file.
2011
2012 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2013
2014 * gdb.cp/infcall-dlopen.exp: New file.
2015 * gdb.cp/infcall-dlopen.cc: New file.
2016 * gdb.cp/infcall-dlopen-lib.cc: New file.
2017
2018 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2019 Pedro Alves <pedro@codesourcery.com>
2020
2021 PR breakpoints/11371
2022
2023 * gdb.base/watch-cond-infcall.exp: New file.
2024 * gdb.base/watch-cond-infcall.c: New file.
2025
2026 2010-08-16 Tom Tromey <tromey@redhat.com>
2027
2028 * gdb.base/help.exp: Update.
2029 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
2030 watchpoint.
2031 (test_watch_location): New proc.
2032 (test_watchpoint_in_big_blob): Delete watchpoint.
2033 * gdb.base/watchpoint.c (func5): New function.
2034 (main): Call it.
2035
2036 2010-08-16 Doug Evans <dje@google.com>
2037
2038 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
2039
2040 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2041
2042 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
2043 tests.
2044
2045 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
2046
2047 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
2048 * gdb.base/gnu_vector.c: New File.
2049 * gdb.base/gnu_vector.exp: Likewise.
2050
2051 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
2052
2053 * gdb.python/python.c: New File.
2054 * gdb.python/python-sl.c: New File.
2055 * gdb.python/python.exp: Test solib_address and decode_line
2056 * functions.
2057
2058 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2059
2060 * gdb.python/python.exp (show height, set height 10)
2061 (verify pagination beforehand, verify pagination beforehand: q)
2062 (gdb.execute does not page, verify pagination afterwards)
2063 (verify pagination afterwards: q): New.
2064
2065 2010-08-02 Doug Evans <dje@google.com>
2066
2067 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
2068 because of an older gcc, change test2
2069 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
2070 to unsupported.
2071
2072 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
2073
2074 * gdb.base/break-always.exp: Do not expect full paths to file
2075 names.
2076 * gdb.base/commands.exp: Likewise.
2077
2078 2010-07-30 Doug Evans <dje@google.com>
2079
2080 * gdb.cp/temargs.exp: For new tests that require newer gccs,
2081 xfail them when run with older gccs.
2082
2083 * lib/gdb.exp (build_executable): Forward "c++" option to
2084 get_compiler_info.
2085
2086 * gdb.python/py-type.exp (test_template): Mark as xfail tests
2087 "python print ttype.template_argument(1)" and
2088 "python print isinstance(ttype.template_argument(1), gdb.Value)"
2089 if using gcc 4.4 or earlier.
2090
2091 * gdb.base/valgrind-db-attach.exp: Use unique test name for
2092 attach-to-debugger handling.
2093
2094 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2095
2096 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
2097 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
2098 (main): Use copyreloc.
2099 * gdb.base/prelink.exp (split debug of executable)
2100 (.dynbss vs. .bss address shift): New tests.
2101
2102 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2103
2104 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
2105 in gdb_test_multiple.
2106
2107 2010-07-29 Pedro Alves <pedro@codesourcery.com>
2108
2109 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
2110 environment.
2111
2112 2010-07-28 Tom Tromey <tromey@redhat.com>
2113
2114 PR python/11060:
2115 * gdb.python/py-type.c (Temargs): New template.
2116 (temvar): New variable.
2117 * gdb.python/py-type.exp (test_template): New proc.
2118
2119 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
2120
2121 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
2122 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
2123
2124 2010-07-28 Tom Tromey <tromey@redhat.com>
2125
2126 PR c++/9946:
2127 * gdb.cp/temargs.exp: New file.
2128 * gdb.cp/temargs.cc: New file.
2129
2130 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2131
2132 * gdb.base/help.exp (help disassemble): Update the content.
2133
2134 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2135
2136 * gdb.threads/ia64-sigill.exp: New file.
2137 * gdb.threads/ia64-sigill.c: New file.
2138
2139 2010-07-27 Tom Tromey <tromey@redhat.com>
2140
2141 * gdb.opt/inline-cmds.c (ATTR): New define.
2142 (func1): Use it.
2143 (func2): Likewise.
2144 (func3): Likewise.
2145 (outer_inline1): Likewise.
2146 (outer_inline2): Likewise.
2147 * gdb.opt/inline-bt.c (ATTR): New define.
2148 (func1): Use it.
2149 (func2): Likewise.
2150 * gdb.opt/inline-locals.c (ATTR): New define.
2151 (func1): Use it.
2152 (func2): Likewise.
2153
2154 2010-07-27 Tom Tromey <tromey@redhat.com>
2155
2156 * gdb.stabs/gdb11479.c (hack): New function.
2157 (test): Use it.
2158 (test2): Use it.
2159 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2160 (int32_search_buf, int64_search_buf): No longer static.
2161 (x): Remove.
2162 * gdb.base/relocate.c (hack): New function.
2163
2164 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2165
2166 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2167 * gdb.python/py-value.c (func1): New function.
2168 (func2): Likewise.
2169
2170 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
2171
2172 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2173 as not to clash with .data section.
2174
2175 2010-07-26 Jerome Guitton <guitton@adacore.com>
2176
2177 * gdb.base/code_elim.exp: New file.
2178 * gdb.base/code_elim1.c: New file.
2179 * gdb.base/code_elim2.c: New file.
2180
2181 2010-07-21 Pedro Alves <pedro@codesourcery.com>
2182
2183 PR symtab/11827
2184
2185 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2186 (some_volatile_enum): New variable.
2187 * gdb.base/printcmds.exp (test_print_enums): New.
2188 <top level>: Call it.
2189
2190 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2191
2192 * gdb.cp/fpointer.cc: New test.
2193 * gdb.cp/fpointer.exp: New test.
2194
2195 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2196
2197 * gdb.base/solib-nodir.exp: New file.
2198 * lib/gdb.exp (runto): New case for a GDB internal error.
2199
2200 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2201 Ulrich Weigand <uweigand@de.ibm.com>
2202 Tom Tromey <tromey@redhat.com>
2203
2204 * gdb.base/charset-malloc.c: New file.
2205 * gdb.base/charset.c (malloc_stub): New prototype.
2206 (main): Call it instead of malloc itself.
2207 * gdb.base/charset.exp: Use only prepare_for_testing.
2208 (binfile): Remove the variable.
2209
2210 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2211
2212 Make core files the process_stratum.
2213 * gdb.base/corefile.exp (run: load core again)
2214 (run: sanity check we see the core file, run: with core)
2215 (run: core file is cleared, attach: load core again)
2216 (attach: sanity check we see the core file, attach: with core)
2217 (attach: core file is cleared): New tests.
2218 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2219
2220 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
2221
2222 * gdb.arch/altivec-abi.exp: New tests.
2223
2224 2010-07-13 Tom Tromey <tromey@redhat.com>
2225
2226 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
2227 (main): Use it.
2228 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2229
2230 2010-07-13 Tom Tromey <tromey@redhat.com>
2231
2232 * gdb.base/label.exp: New file.
2233 * gdb.base/label.c: New file.
2234
2235 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
2236 H.J. Lu <hongjiu.lu@intel.com>
2237
2238 * lib/gdb.exp (is_ilp32_target): New.
2239 (is_lp64_target): Likewise.
2240
2241 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
2242 target.
2243 * gdb.arch/amd64-disp-step.exp: Likewise.
2244 * gdb.arch/amd64-dword.exp: Likewise.
2245 * gdb.arch/amd64-i386-address.exp: Likewise.
2246 * gdb.arch/amd64-word.exp: Likewise.
2247
2248 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
2249 target.
2250 * gdb.arch/i386-bp_permanent.exp: Likewise.
2251 * gdb.arch/i386-byte.exp: Likewise.
2252 * gdb.arch/i386-disp-step.exp: Likewise.
2253 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2254 * gdb.arch/i386-prologue.exp: Likewise.
2255 * gdb.arch/i386-size-overlap.exp: Likewise.
2256 * gdb.arch/i386-size.exp: Likewise.
2257 * gdb.arch/i386-sse.exp: Likewise.
2258 * gdb.arch/i386-unwind.exp: Likewise.
2259 * gdb.arch/i386-word.exp: Likewise.
2260
2261 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
2262 test only when building 64-bit executables. Do not hard-code
2263 -m64 option.
2264
2265 2010-07-07 Doug Evans <dje@google.com>
2266
2267 * lib/gdb.exp (gdb_test_list_exact): New function.
2268 * gdb.base/default.exp (show convenience): Call it, add tests for
2269 $_sdata = void, $_thread = 0.
2270
2271 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2272 Joel Brobecker <brobecker@adacore.com>
2273
2274 Fix re-run of PIE executable, PR shlibs/11776.
2275 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
2276 Remove $displacement_main to match the solib-svr4.c change. New "kill"
2277 and re-"run" of the inferior.
2278
2279 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2280 Joel Brobecker <brobecker@adacore.com>
2281
2282 Cope with missing /usr/sbin/prelink.
2283 * lib/prelink-support.exp (prelink_no):
2284 <result == 1 && $output is "no such file or directory">: New.
2285 (prelink_yes): Likewise. Return on failed prelink_no.
2286
2287 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2288 Joel Brobecker <brobecker@adacore.com>
2289
2290 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
2291 build_executable by build_executable_own_libs. Replace "prelink -R"
2292 execution by a call of prelink_yes. Comment why "prelink -r" needs no
2293 change.
2294 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
2295 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
2296 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
2297 Replace build_executable by build_executable_own_libs's function
2298 build_executable_own_libs.
2299 (prelinkNO): Create new stub to call prelink_no.
2300 (prelinkYES): Create new stub to call prelink_yes.
2301 (test_attach): Rename calls of copy to file_copy.
2302 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
2303 (copy): Move to ...
2304 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
2305 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
2306 * gdb.base/prelink.exp: Disable testcase also for is_remote and
2307 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
2308 special flags by gdb_compile_shlib. Replace second gdb_compile by
2309 build_executable_own_libs. Replace "prelink -R" execution by a call of
2310 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
2311 a second call of prelink_yes. Replace restart commands by
2312 clean_restart.
2313 (prelink): Rename to ...
2314 (seen displacement message): ... this test. Extend its expectation
2315 strictness.
2316
2317 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2318
2319 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
2320 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
2321 displacement message exactly once.
2322
2323 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2324 Joel Brobecker <brobecker@adacore.com>
2325
2326 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
2327 its restore after the <$relink_args != ""> loop. new comment.
2328
2329 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2330 Joel Brobecker <brobecker@adacore.com>
2331
2332 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
2333 code for it. New variable relink_args.
2334 (prelinkYES): Call prelinkNO.
2335 (test_attach): Accept new parameter relink_args. Re-prelink the binary
2336 in such case. Move the core code to ...
2337 (test_attach_gdb): ... a new function. Send GDB command "file".
2338 Extend expected "Attaching to " string.
2339
2340 2010-07-02 Tom Tromey <tromey@redhat.com>
2341
2342 * gdb.base/bitops.exp: Remove extraneous "pass".
2343
2344 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
2345
2346 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2347
2348 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2349
2350 * gdb.base/help.exp: Adjust expected output.
2351
2352 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2353
2354 * gdb.base/help.exp: Adjust expected output.
2355
2356 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2357
2358 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
2359 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
2360 c++/11702.
2361
2362 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2363 Doug Evans <dje@google.com>
2364
2365 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
2366 add .dynamic entry'.
2367
2368 2010-06-29 Doug Evans <dje@google.com>
2369
2370 Test PR c++/11702.
2371 * gdb.cp/m-static.exp: Add testcase.
2372 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
2373
2374 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
2375 Tom Tromey <tromey@redhat.com>
2376 Thiago Jung Bauermann <bauerman@br.ibm.com>
2377
2378 * gdb.python/py-inferior.c: New File.
2379 * gdb.python/py-infthread.c: New File.
2380 * gdb.python/py-inferior.exp: New File.
2381 * gdb.python/py-infthread.exp: New File.
2382
2383 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2384
2385 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
2386 (ptype ::C::OtherFileClass typedefs): New.
2387 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
2388 (C::OtherFileClass::cOtherFileClassVar2): New.
2389 (C::OtherFileClass::cOtherFileClassVar_use): Use also
2390 cOtherFileClassVar2.
2391 (C::cOtherFileType2, C::cOtherFileVar2): New.
2392 (C::cOtherFileVar_use): use also cOtherFileVar2.
2393 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
2394
2395 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2396
2397 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
2398 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
2399 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
2400 (print ::C::cOtherFileVar)
2401 (whatis C::OtherFileClass::cOtherFileClassType)
2402 (whatis ::C::OtherFileClass::cOtherFileClassType)
2403 (print C::OtherFileClass::cOtherFileClassVar)
2404 (print ::cOtherFileClassVar)
2405 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
2406 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
2407 trailing content.
2408 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
2409 (C::OtherFileClass::cOtherFileClassVar)
2410 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
2411 (C::cOtherFileVar, C::cOtherFileVar_use): New.
2412
2413 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2414
2415 Test PR c++/11703 and PR gdb/1448.
2416 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
2417 gdb/1448.
2418
2419 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2420
2421 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
2422 (main) <rtti_data>: New.
2423 * gdb.cp/virtbase.exp (print rtti_data): New.
2424
2425 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2426 Joel Brobecker <brobecker@adacore.com>
2427
2428 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2429
2430 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2431
2432 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
2433
2434 2010-06-28 Doug Evans <dje@google.com>
2435
2436 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
2437
2438 2010-06-27 Doug Evans <dje@google.com>
2439
2440 * gdb.cp/m-static.exp: Update expected test output.
2441
2442 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
2443
2444 * gdb.gdb/selftest.exp: Adjust expected message for
2445 capturing start-up runtime.
2446
2447 2010-06-25 Tom Tromey <tromey@redhat.com>
2448
2449 PR python/10808:
2450 * gdb.python/python.exp: Add new tests.
2451
2452 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
2453
2454 * gdb.cp/operator.cc: Created an import loop.
2455 * gdb.cp/operator.exp: Added testcase for import loop.
2456
2457 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2458
2459 Test PR python/11407.
2460 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
2461 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
2462 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
2463 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
2464 executable_nofb and executable_fb. New variables srcsfile, objsfile,
2465 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
2466 binfile. Call gdb_compile with clean_restart twice.
2467 (func_nofb print, func_nofb backtrace, func_loopfb print)
2468 (func_loopfb backtrace): New.
2469
2470 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2471
2472 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
2473 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
2474 by a hand made one.
2475 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
2476 i?86 requirement. Remove variables srcfile and binfile. New variable
2477 sources, executable_nofb and executable_fb. Call prepare_for_testing.
2478
2479 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2480
2481 * gdb.cell/dwarfaddr.exp: New file.
2482 * gdb.cell/dwarfaddr.S: New file.
2483
2484 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2485
2486 Test PR 9436.
2487 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2488
2489 2010-06-24 Hui Zhu <teawater@gmail.com>
2490
2491 * gdb.base/eval.exp: New file.
2492
2493 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2494
2495 * gdb.cell/fork.exp: New file.
2496 * gdb.cell/fork.c: Likewise.
2497 * gdb.cell/fork-spu.c: Likewise.
2498
2499 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
2500
2501 * lib/gdb.exp (banned_variables_traced): New global variable.
2502 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
2503 (gdb_init): Use `trace add variable' instead of obsolete
2504 `trace variable'.
2505
2506 2010-06-21 Doug Evans <dje@google.com>
2507
2508 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
2509
2510 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2511
2512 * gdb.arch/spu-ls.exp: New file.
2513 * gdb.arch/spu-ls.c: Likewise.
2514
2515 2010-06-18 Stan Shebs <stan@codesourcery.com>
2516
2517 * gdb.threads/thread-specific.exp: Add tests of $_thread.
2518
2519 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2520
2521 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
2522 * gdb.base/watch-cond.exp: Likewise.
2523 * gdb.python/py-breakpoint.exp: Likewise.
2524
2525 2010-06-18 Pedro Alves <pedro@codesourcery.com>
2526
2527 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
2528 clean_restart, make sure every test has a distinct message, and
2529 that messages don't include the executable' full path.
2530
2531 2010-06-17 Doug Evans <dje@google.com>
2532
2533 * gdb.arch/i386-size.exp: Updated expected output for
2534 DISASSEMBLY_OMIT_FNAME.
2535
2536 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2537 Sergio Durigan Junior <sergiodj@redhat.com>
2538
2539 * gdb.base/watch-notconst.c: New file.
2540 * gdb.base/watch-notconst.S: New file.
2541 * gdb.base/watch-notconst2.c: New file.
2542 * gdb.base/watch-notconst2.S: New file.
2543 * gdb.base/watch-notconst.exp: New file.
2544 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
2545 (func4): Add operations on `global_ptr_ptr'.
2546 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
2547 routine to test watchpoints created with a constant expression.
2548 (test_inaccessible_watchpoint): Include tests for watchpoints
2549 created with a constant expression.
2550
2551 2010-06-14 Kevin Buettner <kevinb@redhat.com>
2552
2553 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
2554 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
2555 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
2556 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
2557 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
2558 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
2559 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
2560 of `_start'.
2561
2562 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2563
2564 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
2565 not supported on the target.
2566 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2567 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2568 * gdb.mi/mi-nsintrall.exp: Likewise.
2569 * gdb.mi/mi-nsmoribund.exp: Likewise.
2570 * gdb.mi/mi-nsthrexec.exp: Likewise.
2571
2572 2010-06-11 Stan Shebs <stan@codesourcery.com>
2573
2574 * gdb.base/permissions.exp: New file.
2575
2576 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2577
2578 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
2579 does not support ELF executable class.
2580
2581 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2582
2583 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2584
2585 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2586
2587 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
2588 (runto): Catch "The target does not support running in non-stop mode.".
2589
2590 2010-06-11 Michael Snyder <msnyder@vmware.com>
2591
2592 * gdb.base/setshow.exp (set language asm): Don't use
2593 gdb_test_no_output, fails on some targets.
2594
2595 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2596
2597 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
2598 * gdb.cp/pr9167.exp: Likewise.
2599
2600 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2601
2602 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2603
2604 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2605
2606 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2607
2608 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2609
2610 * gdb.base/charset.c (main): Make sure malloc gets linked in.
2611
2612 2010-06-11 Tom Tromey <tromey@redhat.com>
2613
2614 PR gdb/9977, PR exp/11636::
2615 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
2616 (pieces_test_f6): Update expected output.
2617
2618 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2619
2620 * gdb.base/moribund-step.exp: New.
2621
2622 2010-06-08 Michael Snyder <msnyder@vmware.com>
2623
2624 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
2625 * gdb.ada/boolean_expr.exp:
2626 * gdb.ada/frame_args.exp: Ditto.
2627 * gdb.ada/lang_switch.exp: Ditto.
2628 * gdb.ada/ptype_arith_binop.exp: Ditto.
2629 * gdb.ada/ref_param.exp: Ditto.
2630 * gdb.ada/type_coercion.exp:Ditto.
2631
2632 * gdb.asm/asm-source.exp: Ditto.
2633
2634 * gdb.base/attach.exp: Ditto.
2635 * gdb.base/bitfields2.exp: Ditto.
2636 * gdb.base/call-signal-resume.exp: Ditto.
2637 * gdb.base/callfuncs.exp: Ditto.
2638 * gdb.base/commands.exp: Ditto.
2639 * gdb.base/dbx.exp: Ditto.
2640 * gdb.base/default.exp: Ditto.
2641 * gdb.base/dump.exp: Ditto.
2642 * gdb.base/exprs.exp: Ditto.
2643 * gdb.base/freebpcmd.exp: Ditto.
2644 * gdb.base/interrupt.exp: Ditto.
2645 * gdb.base/list.exp: Ditto.
2646 * gdb.base/long_long.exp: Ditto.
2647 * gdb.base/maint.exp: Ditto.
2648 * gdb.base/ptype.exp: Ditto.
2649 * gdb.base/return.exp: Ditto.
2650 * gdb.base/setshow.exp: Ditto.
2651 * gdb.base/sigbpt.exp: Ditto.
2652 * gdb.base/sigrepeat.exp: Ditto.
2653
2654 * gdb.cp/classes.exp: Ditto.
2655
2656 * gdb.dwarf2/dw2-restore.exp: Ditto.
2657
2658 * gdb.gdb/selftest.exp: Ditto.
2659
2660 * gdb.multi/base.exp: Ditto.
2661 * gdb.multi/bkpt-multi-exec.exp: Ditto.
2662
2663 * gdb.python/py-block.exp: Ditto.
2664 * gdb.python/py-prettyprint.exp: Ditto.
2665 * gdb.python/py-template.exp: Ditto.
2666
2667 * gdb.server/ext-attach.exp: Ditto.
2668 * gdb.server/ext-run.exp: Ditto.
2669 * gdb.server/server-mon.exp: Ditto.
2670
2671 * gdb.threads/fork-thread-pending.exp: Ditto.
2672 * gdb.threads/hand-call-in-threads.exp: Ditto.
2673 * gdb.threads/interrupted-hand-call.exp: Ditto.
2674 * gdb.threads/linux-dp.exp: Ditto.
2675 * gdb.threads/manythreads.exp: Ditto.
2676 * gdb.threads/print-threads.exp: Ditto.
2677 * gdb.threads/pthreads.exp: Ditto.
2678 * gdb.threads/schedlock.exp: Ditto.
2679 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2680 * gdb.threads/threadapply.exp: Ditto.
2681
2682 2010-06-08 Michael Snyder <msnyder@vmware.com>
2683
2684 * gdb.ada/exec_changed.exp:
2685 Use ".*" instead of "" as wildcard regexp.
2686
2687 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
2688 * gdb.base/call-ar-st.exp: Ditto.
2689 * gdb.base/checkpoint.exp: Ditto.
2690 * gdb.base/default.exp: Ditto.
2691 * gdb.base/dump.exp: Ditto.
2692 * gdb.base/ending-run.exp: Ditto.
2693 * gdb.base/fileio.exp: Ditto.
2694 * gdb.base/miscexprs.exp: Ditto.
2695 * gdb.base/pointers.exp: Ditto.
2696 * gdb.base/readline.exp: Ditto.
2697 * gdb.base/reread.exp: Ditto.
2698 * gdb.base/restore.exp: Ditto.
2699 * gdb.base/shlib-call.exp: Ditto.
2700 * gdb.base/valgrind-db-attach.exp: Ditto.
2701 * gdb.base/volatile.exp: Ditto.
2702 * gdb.base/watchpoints.exp: Ditto.
2703
2704 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
2705
2706 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
2707 * gdb.python/py-value.exp: Ditto.
2708
2709 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
2710 * gdb.trace/circ.exp: Ditto.
2711 * gdb.trace/collection.exp: Ditto.
2712 * gdb.trace/packetlen.exp: Ditto.
2713 * gdb.trace/passc-dyn.exp: Ditto.
2714 * gdb.trace/report.exp: Ditto.
2715 * gdb.trace/tfile.exp: Ditto.
2716 * gdb.trace/tfind.exp: Ditto.
2717 * gdb.trace/while-dyn.exp: Ditto.
2718
2719 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2720
2721 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
2722
2723 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2724
2725 Test PR 10640.
2726 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
2727
2728 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
2729
2730 * gdb.cp/koenig.exp: Test for ADL operators.
2731 * gdb.cp/koenig.cc: Added ADL operators.
2732 * gdb.cp/operator.exp: New test.
2733 * gdb.cp/operator.cc: New test.
2734
2735 2010-06-04 Michael Snyder <msnyder@vmware.com>
2736
2737 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
2738 * gdb.base/pending.exp: Ditto.
2739
2740 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
2741
2742 2010-06-04 Doug Evans <dje@google.com>
2743
2744 * gdb.python/py-prettyprint.exp: Add new test for enabled and
2745 disabled printers.
2746 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
2747 (enable_lookup_function): New function.
2748
2749 2010-06-04 Tom Tromey <tromey@redhat.com>
2750
2751 * gdb.python/py-value.exp (test_value_hash): Don't test equality
2752 of hash and id.
2753
2754 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2755
2756 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
2757 newline.
2758 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
2759 (empty verbose non-noisy clear, empty verbose noisy clear)
2760 (empty non-verbose noisy clear): Likewise.
2761
2762 2010-06-03 Michael Snyder <msnyder@vmware.com>
2763
2764 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
2765 * gdb.base/display.exp: Ditto.
2766 * gdb.base/find.exp: Ditto.
2767 * gdb.base/ifelse.exp: Ditto.
2768 * gdb.base/multi-forks.exp: Ditto.
2769 * gdb.base/recurse.exp: Ditto.
2770 * gdb.base/setshow.exp: Ditto.
2771 * gdb.base/value-double-free.exp: Ditto.
2772 * gdb.base/watch-vfork.exp: Ditto.
2773 * gdb.base/watch_thread_num.exp: Ditto.
2774 * gdb.base/watchpoint-solib.exp: Ditto.
2775 * gdb.base/watchpoint.exp: Ditto.
2776 * gdb.base/watchpoints.exp: Ditto.
2777
2778 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
2779 * gdb.cp/overload.exp: Ditto.
2780 * gdb.cp/virtfunc.exp: Ditto.
2781
2782 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
2783
2784 * gdb.reverse/watch-precsave.exp:
2785 Replace gdb_test with gdb_test_no_output.
2786
2787 * gdb.threads/attach-into-signal.exp:
2788 Replace gdb_test with gdb_test_no_output.
2789 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2790 * gdb.threads/watchthreads.exp: Ditto.
2791 * gdb.threads/watchthreads2.exp: Ditto.
2792
2793 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
2794 * gdb.trace/tfind.exp: Ditto.
2795
2796 2010-06-03 Joel Brobecker <brobecker@adacore.com>
2797
2798 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
2799 successful test if message is the empty string.
2800
2801 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2802
2803 * gdb.fortran/module.exp (stopped language detection): New test.
2804
2805 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2806
2807 Support DW_TAG_module as separate namespaces.
2808 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
2809 gdb.fortran/library-module-lib.f90: New.
2810 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
2811 (print i): Remove.
2812 (continue to breakpoint: i-is-1, print var_i value 1)
2813 (continue to breakpoint: i-is-2, print var_i value 2)
2814 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
2815 (print var_d, print var_i value 14, ptype modmany, complete `modm)
2816 (complete `modmany, complete `modmany`, complete `modmany`var)
2817 (show language, setting breakpoint at module): New tests.
2818 * gdb.fortran/module.f90 (module mod): Remove.
2819 (module mod1, module mod2, module modmany, subroutine sub1)
2820 (subroutine sub2, program module): New.
2821
2822 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2823
2824 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
2825 (print value of rUC, print value of rI, print value of UI): ... here.
2826 * gdb.cp/anon-union.exp (pass): Rename to ...
2827 (print z 2): ... here.
2828
2829 2010-06-02 Michael Snyder <msnyder@vmware.com>
2830
2831 * gdb.trace/actions.exp: Use gdb_test_no_output.
2832 * gdb.trace/circ.exp: Ditto.
2833 * gdb.trace/packetlen.exp: Ditto.
2834 * gdb.trace/save-trace.exp: Ditto.
2835 * gdb.trace/tracecmd.exp: Ditto.
2836 * gdb.trace/tsv.exp: Ditto.
2837
2838 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
2839 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
2840 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2841 * gdb.threads/manythreads.exp: Ditto.
2842 * gdb.threads/print-threads.exp: Ditto.
2843 * gdb.threads/pthreads.exp: Ditto.
2844 * gdb.threads/schedlock.exp: Ditto.
2845 * gdb.threads/staticthreads.exp: Ditto.
2846 * gdb.threads/thread-specific.exp: Ditto.
2847 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2848 * gdb.threads/threadapply.exp: Ditto.
2849 * gdb.threads/watchthreads.exp: Ditto.
2850 * gdb.threads/watchthreads2.exp: Ditto.
2851
2852 * gdb.python/py-block.exp: Use gdb_test_no_output.
2853 * gdb.python/py-prettyprint.exp: Ditto.
2854 * gdb.python/py-template.exp: Ditto.
2855 * gdb.python/py-value.exp: Ditto.
2856
2857 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
2858 * gdb.reverse/watch-reverse.exp: Ditto.
2859
2860 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
2861 * gdb.server/ext-run.exp: Ditto.
2862
2863 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
2864 * gdb.dwarf2/dw2-compressed.exp: Ditto.
2865 * gdb.dwarf2/dw2-intercu.exp: Ditto.
2866 * gdb.dwarf2/dw2-intermix.exp: Ditto.
2867 * gdb.dwarf2/dw2-producer.exp: Ditto.
2868 * gdb.dwarf2/mac-fileno.exp: Ditto.
2869
2870 * gdb.gdb/observer.exp: Use gdb_test_no_output.
2871 * gdb.gdb/selftest.exp: Ditto.
2872
2873 * gdb.multi/base.exp: Use gdb_test_no_output.
2874
2875 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2876
2877 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2878
2879 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2880
2881 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
2882
2883 * gdb.cp/class2.exp: Use gdb_test_no_output.
2884 * gdb.cp/classes.exp: Ditto.
2885 * gdb.cp/extern-c.exp: Ditto.
2886 * gdb.cp/inherit.exp: Ditto.
2887 * gdb.cp/maint.exp: Ditto.
2888 * gdb.cp/mb-inline.exp: Ditto.
2889 * gdb.cp/mb-templates.exp: Ditto.
2890 * gdb.cp/method2.exp: Ditto.
2891 * gdb.cp/misc.exp: Ditto.
2892 * gdb.cp/ovldbreak.exp: Ditto.
2893 * gdb.cp/punctuator.exp: Ditto.
2894 * gdb.cp/templates.exp: Ditto.
2895 * gdb.cp/virtbase.exp: Ditto.
2896
2897 * gdb.threads/attach-stopped.exp:
2898 Replace uses of send_gdb / gdb_expect.
2899 * gdb.threads/attachstop-mt.exp:
2900 Replace uses of send_gdb / gdb_expect.
2901 * gdb.threads/gcore-thread.exp:
2902 Replace uses of send_gdb / gdb_expect.
2903 * gdb.threads/hand-call-in-threads.exp:
2904 Replace uses of send_gdb / gdb_expect.
2905 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
2906 * gdb.threads/print-threads.exp:
2907 Replace uses of send_gdb / gdb_expect.
2908 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
2909 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
2910 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
2911
2912 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
2913 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
2914 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
2915 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
2916 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
2917 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
2918 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
2919 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
2920 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
2921 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
2922 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2923
2924 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2925
2926 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2927
2928 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
2929
2930 * gdb.cp/koenig.exp: Added new test case.
2931 * gdb.cp/koenig.cc: Ditto.
2932
2933 2010-06-01 Michael Snyder <msnyder@vmware.com>
2934
2935 * gdb.base/arithmet.exp: Use gdb_test_no_output.
2936 * gdb.base/arrayidx.exp: Ditto.
2937 * gdb.base/attach.exp: Ditto.
2938 * gdb.base/auxv.exp: Ditto.
2939 * gdb.base/bigcre.exp: Ditto.
2940 * gdb.base/break-always.exp: Ditto.
2941 * gdb.base/break-interp.exp: Ditto.
2942 * gdb.base/break.exp: Ditto.
2943 * gdb.base/breakpoint-shadow.exp: Ditto.
2944 * gdb.base/call-ar-st.exp: Ditto.
2945 * gdb.base/call-sc.exp: Ditto.
2946 * gdb.base/call-signal-resume.exp: Ditto.
2947 * gdb.base/callfuncs.exp: Ditto.
2948 * gdb.base/catch-syscall.exp: Ditto.
2949 * gdb.base/charset.exp: Ditto.
2950 * gdb.base/code-expr.exp: Ditto.
2951 * gdb.base/commands.exp: Ditto.
2952 * gdb.base/cond-expr.exp: Ditto.
2953 * gdb.base/condbreak.exp: Ditto.
2954 * gdb.base/cursal.exp: Ditto.
2955 * gdb.base/cvexpr.exp: Ditto.
2956 * gdb.base/default.exp: Ditto.
2957 * gdb.base/del.exp: Ditto.
2958 * gdb.base/detach.exp: Ditto.
2959 * gdb.base/display.exp: Ditto.
2960 * gdb.base/ena-dis-br.exp: Ditto.
2961 * gdb.base/eval-skip.exp: Ditto.
2962 * gdb.base/foll-fork.exp: Ditto.
2963 * gdb.base/foll-vfork.exp: Ditto.
2964 * gdb.base/frame-args.exp: Ditto.
2965 * gdb.base/funcargs.exp: Ditto.
2966 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2967 * gdb.base/gdbvars.exp: Ditto.
2968 * gdb.base/help.exp: Ditto.
2969 * gdb.base/ifelse.exp: Ditto.
2970 * gdb.base/included.exp: Ditto.
2971 * gdb.base/list.exp: Ditto.
2972 * gdb.base/macscp.exp: Ditto.
2973 * gdb.base/maint.exp: Ditto.
2974 * gdb.base/multi-fork.exp: Ditto.
2975 * gdb.base/overlays.exp: Ditto.
2976 * gdb.base/page.exp: Ditto.
2977 * gdb.base/pending.exp: Ditto.
2978 * gdb.base/pointers.exp: Ditto.
2979 * gdb.base/pr11022.exp: Ditto.
2980 * gdb.base/prelink.exp: Ditto.
2981 * gdb.base/printcmds.exp: Ditto.
2982 * gdb.base/psymtab.exp: Ditto.
2983 * gdb.base/randomize.exp: Ditto.
2984 * gdb.base/relational.exp: Ditto.
2985 * gdb.base/relocate.exp: Ditto.
2986 * gdb.base/remote.exp: Ditto.
2987 * gdb.base/sepdebug.exp: Ditto.
2988 * gdb.base/set-lang-auto.exp: Ditto.
2989 * gdb.base/setshow.exp: Ditto.
2990 * gdb.base/setvar.exp: Ditto.
2991 * gdb.base/signals.exp: Ditto.
2992 * gdb.base/signull.exp: Ditto.
2993 * gdb.base/sigstep.exp: Ditto.
2994 * gdb.base/sizeof.exp: Ditto.
2995 * gdb.base/solib-disc.exp: Ditto.
2996 * gdb.base/store.exp: Ditto.
2997 * gdb.base/structs.exp: Ditto.
2998 * gdb.base/structs2.exp: Ditto.
2999 * gdb.base/subst.exp: Ditto.
3000 * gdb.base/term.exp: Ditto.
3001 * gdb.base/trace-commands.exp: Ditto.
3002 * gdb.base/unwindonsignal.exp: Ditto.
3003 * gdb.base/valgrind-db-attach.exp: Ditto.
3004 * gdb.base/varargs.exp: Ditto.
3005 * gdb.base/watch-cond.exp: Ditto.
3006 * gdb.base/watch_thread_num.exp: Ditto.
3007 * gdb.base/watchpoint-cond-gone.exp: Ditto.
3008 * gdb.base/watchpoint.exp: Ditto.
3009 * gdb.base/whatis-exp.exp: Ditto.
3010
3011 2010-06-01 Michael Snyder <msnyder@vmware.com>
3012
3013 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
3014 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
3015 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
3016 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
3017 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
3018 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
3019 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
3020 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
3021 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
3022 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
3023 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
3024 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
3025 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
3026 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
3027 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
3028
3029 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3030
3031 * gdb.base/commands.exp (begin commands on watch): Remove excessive
3032 trailing newline.
3033 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
3034 * gdb.java/jmisc.exp (p *args\n): Rename to ...
3035 (p *args): ... here and remove excessive trailing newline.
3036
3037 2010-05-31 Joel Brobecker <brobecker@adacore.com>
3038
3039 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
3040
3041 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3042
3043 Accept the new Linux kernel "t (tracing stop)" string.
3044 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
3045 Update comment.
3046 (state_wait) <T (tracing stop)>: New.
3047 (main): Update the state_wait expect string.
3048
3049 2010-05-28 Pedro Alves <pedro@codesourcery.com>
3050
3051 * limits.c, limits.exp: Delete files.
3052 * Makefile.in (clean mostlyclean): Adjust.
3053 * tracecmd.exp: Adjust.
3054
3055 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3056
3057 * gdb.base/tui-layout.exp: New.
3058
3059 2010-05-28 Michael Snyder <msnyder@vmware.com>
3060
3061 * gdb.reverse/break-precsave.exp:
3062 Replace uses of send_gdb / gdb_expect.
3063 * gdb.reverse/break-reverse.exp:
3064 Replace uses of send_gdb / gdb_expect.
3065 * gdb.reverse/consecutive-precsave.exp:
3066 Replace uses of send_gdb / gdb_expect.
3067 * gdb.reverse/consecutive-reverse.exp:
3068 Replace uses of send_gdb / gdb_expect.
3069 * gdb.reverse/finish-precsave.exp:
3070 Replace uses of send_gdb / gdb_expect.
3071 * gdb.reverse/finish-reverse.exp:
3072 Replace uses of send_gdb / gdb_expect.
3073 * gdb.reverse/i386-precsave.exp:
3074 Replace uses of send_gdb / gdb_expect.
3075 * gdb.reverse/i386-reverse.exp:
3076 Replace uses of send_gdb / gdb_expect.
3077 * gdb.reverse/i386-sse-reverse.exp:
3078 Replace uses of send_gdb / gdb_expect.
3079 * gdb.reverse/i387-env-reverse.exp:
3080 Replace uses of send_gdb / gdb_expect.
3081 * gdb.reverse/i387-stack-reverse.exp:
3082 Replace uses of send_gdb / gdb_expect.
3083 * gdb.reverse/machinestate-precsave.exp:
3084 Replace uses of send_gdb / gdb_expect.
3085 * gdb.reverse/machinestate.exp:
3086 Replace uses of send_gdb / gdb_expect.
3087 * gdb.reverse/sigall-precsave.exp:
3088 Replace uses of send_gdb / gdb_expect.
3089 * gdb.reverse/sigall-reverse.exp:
3090 Replace uses of send_gdb / gdb_expect.
3091 * gdb.reverse/solib-precsave.exp:
3092 Replace uses of send_gdb / gdb_expect.
3093 * gdb.reverse/solib-reverse.exp:
3094 Replace uses of send_gdb / gdb_expect.
3095 * gdb.reverse/step-precsave.exp:
3096 Replace uses of send_gdb / gdb_expect.
3097 * gdb.reverse/step-reverse.exp:
3098 Replace uses of send_gdb / gdb_expect.
3099 * gdb.reverse/until-precsave.exp:
3100 Replace uses of send_gdb / gdb_expect.
3101 * gdb.reverse/until-reverse.exp:
3102 Replace uses of send_gdb / gdb_expect.
3103 * gdb.reverse/watch-precsave.exp:
3104 Replace uses of send_gdb / gdb_expect.
3105 * gdb.reverse/watch-reverse.exp:
3106 Replace uses of send_gdb / gdb_expect.
3107
3108 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3109
3110 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
3111 excessive newline.
3112
3113 2010-05-27 Michael Snyder <msnyder@vmware.com>
3114
3115 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
3116 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
3117 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
3118 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
3119 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
3120 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
3121 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
3122 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
3123 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
3124 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
3125 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
3126 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
3127 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
3128 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
3129 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
3130 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
3131 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
3132 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
3133 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
3134
3135 2010-05-26 Michael Snyder <msnyder@vmware.com>
3136
3137 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
3138 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
3139
3140 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
3141 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
3142 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
3143
3144 * gdb.reverse/consecutive-reverse.exp:
3145 Replace uses of send_gdb / gdb_expect.
3146 * gdb.reverse/consecutive-precsave.exp:
3147 Replace uses of send_gdb / gdb_expect.
3148
3149 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
3150 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
3151 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
3152 * gdb.mi/mi-ns-stale-regcache.exp:
3153 Replace uses of send_gdb / gdb_expect.
3154 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
3155 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
3156 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
3157 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3158 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3159 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3160 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3161 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3162 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
3163
3164 2010-05-26 Michael Snyder <msnyder@vmware.com>
3165
3166 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
3167
3168 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
3169
3170 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3171 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3172 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3173 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3174 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3175 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3176 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3177 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3178 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
3179
3180 2010-05-25 Tom Tromey <tromey@redhat.com>
3181
3182 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3183
3184 2010-05-25 Tom Tromey <tromey@redhat.com>
3185
3186 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3187 argument order.
3188 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3189 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3190 order.
3191 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3192 order.
3193 * gdb.base/call-sc.exp (setup_kfails): Remove.
3194 (setup_compiler_kfails): Remove.
3195 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3196 argument order.
3197 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3198 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3199 (advancei): Fix setup_kfail argument order.
3200 * gdb.base/radix.exp: Fix setup_kfail argument order.
3201 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3202 order.
3203 * gdb.base/structs.exp (setup_kfails): Remove.
3204 (setup_compiler_kfails): Fix setup_kfail argument order.
3205 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
3206 order.
3207 * gdb.java/jmain.exp: Fix setup_kfail argument order.
3208 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
3209 setup_kfail argument order.
3210 * gdb.cp/overload.exp: Fix setup_kfail argument order.
3211
3212 2010-05-25 Tom Tromey <tromey@redhat.com>
3213
3214 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
3215
3216 2010-05-25 Michael Snyder <msnyder@vmware.com>
3217
3218 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
3219 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
3220 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
3221 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
3222 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
3223 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
3224 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
3225 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
3226 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
3227 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
3228 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
3229 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
3230 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
3231 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
3232 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
3233 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
3234 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
3235 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
3236 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
3237 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
3238 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
3239 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
3240 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
3241 * gdb.base/default.exp: Replace send_gdb with gdb_test.
3242 * gdb.base/define.exp: Replace send_gdb with gdb_test.
3243 * gdb.base/display.exp: Replace send_gdb with gdb_test.
3244 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
3245 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
3246 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
3247 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
3248 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
3249 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
3250 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
3251 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
3252 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
3253 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
3254 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
3255 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
3256 * gdb.base/help.exp: Replace send_gdb with gdb_test.
3257 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
3258 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
3259 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
3260 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
3261 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
3262 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
3263 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
3264 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
3265 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
3266
3267 2010-05-25 Doug Evans <dje@google.com>
3268
3269 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
3270 gdb.string_to_argv.
3271
3272 2010-05-21 Tom Tromey <tromey@redhat.com>
3273
3274 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
3275 Call it.
3276 * gdb.dwarf2/pieces.S: Update.
3277 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
3278
3279 2010-05-21 Tom Tromey <tromey@redhat.com>
3280
3281 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
3282 Call it.
3283 * gdb.dwarf2/pieces.c (struct C): New.
3284 (f6): New function.
3285 * gdb.dwarf2/pieces.S: Replace.
3286
3287 2010-05-21 Tom Tromey <tromey@redhat.com>
3288
3289 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
3290 Call it.
3291
3292 2010-05-21 Tom Tromey <tromey@redhat.com>
3293
3294 * gdb.dwarf2.pieces.exp: New file.
3295 * gdb.dwarf2.pieces.S: New file.
3296 * gdb.dwarf2.pieces.c: New file.
3297
3298 2010-05-20 Pedro Alves <pedro@codesourcery.com>
3299 Joel Brobecker <brobecker@adacore.com>
3300
3301 * lib/gdb.exp (gdb_test_no_output): New function.
3302 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
3303 when testing commands that should produce no output.
3304
3305 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3306
3307 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
3308 parameter that we want to watch being a constant.
3309
3310 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3311
3312 * gdb.ada/cond_lang: New testcase.
3313
3314 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3315
3316 * lib/gdb.exp (banned_variables): New variable/constant.
3317 (gdb_init): Add write trace on variables listed in banned_variables.
3318 (gdb_finish): Remove write traces on variables listed in
3319 banned_variables.
3320
3321 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3322
3323 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
3324 * gdb.cp/koenig.exp: Likewise.
3325
3326 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
3327
3328 PR python/11482
3329
3330 * gdb.python/py-value.exp (test_value_hash): New function.
3331
3332 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
3333
3334 PR exp/11530.
3335 * gdb.base/gdb11530.c: New file.
3336 * gdb.base/gdb11530.exp: New file.
3337
3338 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3339
3340 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
3341 * gdb.dwarf2/dw2-modula2-self-type.S: New.
3342
3343 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
3344
3345 * gdb.cp/koenig.exp: New test.
3346 * gdb.cp/koenig.cc: New test program.
3347
3348 2010-05-05 Joel Brobecker <brobecker@adacore.com>
3349
3350 Remove the use of prms_id and bug_id throughout the testsuite.
3351
3352 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
3353
3354 PR exp/11349.
3355 * testsuite/gdb.cp/ref-types.exp: Add test to examine
3356 use a reference local variable.
3357
3358 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3359
3360 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
3361 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
3362 variable different_dir. Move debugfile into a full directory pathname
3363 under DIFFERENT_DIR.
3364 * lib/gdb.exp (separate_debug_filename): Remove.
3365 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
3366 variable debug_dir and mkdir of it. Update function comments.
3367
3368 2010-04-29 Pedro Alves <pedro@codesourcery.com>
3369
3370 PR gdb/11557
3371
3372 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
3373 files.
3374
3375 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
3376
3377 * gdb.python/py-param.exp: New File.
3378
3379 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
3380
3381 * gdb.base/default.exp: Fix "set language" test.
3382
3383 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
3384
3385 PR breakpoints/11531.
3386 * gdb.base/gdb11531.c: New file.
3387 * gdb.base/gdb11531.exp: New file.
3388
3389 2010-04-26 Tom Tromey <tromey@redhat.com>
3390
3391 * gdb.base/completion.exp: Add tests for completion and deprecated
3392 commands.
3393
3394 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3395
3396 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
3397 (print /x char_array): Escape curly brackets.
3398
3399 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3400
3401 Fix deadlock on looped list of loaded shared objects.
3402 * gdb.base/solib-corrupted.exp: New.
3403
3404 2010-04-23 Doug Evans <dje@google.com>
3405
3406 * gdb.python/py-section-script.c: New file.
3407 * gdb.python/py-section-script.exp: New file.
3408 * gdb.python/py-section-script.py: New file.
3409
3410 2010-04-20 Chris Moller <cmoller@redhat.com>
3411
3412 PR 10179
3413
3414 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
3415 * gdb.base/pr10179-a.c:
3416 * gdb.base/pr10179-b.c:
3417 * gdb.base/pr10179.exp: New files.
3418
3419 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3420
3421 Fix crashes on dangling display expressions.
3422 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
3423 is SEP.
3424 (lib_flags): Remove the "debug" keyword.
3425 (libsepdebug): New variable for iterating new loop.
3426 (save_pf_prefix): New variable wrapping the loop.
3427 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
3428 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
3429
3430 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3431
3432 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
3433
3434 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3435
3436 PR stabs/11479.
3437 * gdb.stabs/gdb11479.exp: New file.
3438 * gdb.stabs/gdb11479.c: New file.
3439
3440 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3441
3442 * gdb.base/charset.c (Strin16, String32): New variables.
3443 * gdb.base/charset.exp (gdb_test): Test correct display
3444 of 16 or 32 bit strings.
3445
3446 2010-04-21 Chris Moller <cmoller@redhat.com>
3447
3448 PR 9167
3449 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
3450 * gdb.cp/pr9167.cc: New file.
3451 * gdb.cp/pr9167.exp: New file.
3452
3453
3454 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
3455
3456 PR pascal/11492.
3457 * gdb.pascal/gdb11492.pas: New file.
3458 * gdb.pascal/gdb11492.exp: New file.
3459
3460 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3461
3462 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
3463
3464 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3465
3466 * gdb.ada/dyn_loc: New testcase.
3467
3468 2010-04-20 Chris Moller <cmoller@redhat.com>
3469
3470 PR 10867
3471
3472 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
3473 * gdb.cp/pr10687.cc: New file.
3474 * gdb.cp/pr10687.exp: New file.
3475
3476
3477 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3478 Sergio Durigan Junior <sergiodj@redhat.com>
3479
3480 * gdb.fortran/logical.exp: New testcase.
3481 * gdb.fortran/logical.f90: New file.
3482
3483 2010-04-19 Doug Evans <dje@google.com>
3484
3485 * gdb.base/help.exp (help source): Update expected output.
3486
3487 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3488
3489 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
3490 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
3491 gdb_exit and return.
3492 (executable): New variable.
3493 (binfile): Use it.
3494
3495 2010-04-19 Pedro Alves <pedro@codesourcery.com>
3496
3497 PR breakpoints/8554.
3498
3499 * gdb.trace/save-trace.exp: Adjust.
3500
3501 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
3502
3503 PR corefiles/11511
3504 * gdb.arch/system-gcore.exp: New.
3505 * gdb.arch/gcore.c: Likewise.
3506
3507 2010-04-15 Doug Evans <dje@google.com>
3508
3509 * gdb.python/py-progspace.c: New file.
3510 * gdb.python/py-progspace.exp: New file.
3511
3512 * gdb.base/source.exp: Add tests for "source -s".
3513
3514 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
3515
3516 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
3517 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
3518 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
3519 * gdb.python/py-mi.exp: New test for to_string returning None.
3520
3521 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
3522
3523 * gdb.python/py-breakpoint.c: Make result global.
3524
3525 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3526
3527 Fix non-GNU make compatibility.
3528 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
3529
3530 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
3531
3532 * gdb.python/py-breakpoint.exp: New File.
3533 * gdb.python/py-breakpoint.C: Ditto.
3534
3535 2010-04-08 Stan Shebs <stan@codesourcery.com>
3536
3537 * gdb.trace/actions.exp: Clear default-collect.
3538 * gdb.trace/save-trace.exp: Clear default-collect.
3539
3540 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
3541
3542 * gdb.python/py-value: Add null string variable.
3543 (test_lazy_string): Test zero length, NULL address lazy
3544 strings.
3545
3546 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
3547
3548 * gdb.arch/i386-avx.c: New.
3549 * gdb.arch/i386-avx.exp: Likewise.
3550
3551 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
3552
3553 2010-04-06 Doug Evans <dje@google.com>
3554
3555 * gdb.base/source-test.gdb: New file.
3556 * gdb.base/source.exp: Test source -v.
3557
3558 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3559
3560 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
3561
3562 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
3563
3564 * gdb.stabs/aout.sed: Convert all backslash to double backslash
3565 within one line, unless it is followed by a double quote.
3566 * gdb.stabs/hppa.sed: Idem.
3567 * gdb.stabs/weird.def: Add char and String constants
3568 * gdb.stabs/weird.exp: Check for correct parsing of
3569 char and string constants.
3570 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
3571 in .stabs to .stabx substitution.
3572
3573 2010-04-05 Stan Shebs <stan@codesourcery.com>
3574
3575 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
3576 constant global.
3577 * gdb.trace/tfile.exp: Try to print them.
3578
3579 2010-04-04 Stan Shebs <stan@codesourcery.com>
3580
3581 * gdb.base/completion.exp: Update for new "info watchpoints".
3582 * gdb.base/default.exp: Ditto.
3583 * gdb.base/help.exp: Ditto.
3584 * gdb.base/watchpoint.exp: Ditto.
3585 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
3586
3587 2010-04-04 Stan Shebs <stan@codesourcery.com>
3588
3589 * gdb.trace/tfile.exp: Sharpen tfind test.
3590
3591 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3592
3593 * gdb.base/break-entry.exp: New.
3594
3595 2010-04-02 Hui Zhu <teawater@gmail.com>
3596 Michael Snyder <msnyder@vmware.com>
3597
3598 * gdb.reverse/i386-sse-reverse.exp: New file.
3599 * gdb.reverse/i386-sse-reverse.c: New file.
3600
3601 2010-04-02 Pedro Alves <pedro@codesourcery.com>
3602
3603 * gdb.trace/tfind.exp: Adjust expected disassembly output.
3604
3605 2010-04-01 Stan Shebs <stan@codesourcery.com>
3606
3607 * gdb.trace/actions.exp: Tweak expected output.
3608 * gdb.trace/while-stepping.exp: Tweak expected output.
3609
3610 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
3611
3612 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
3613
3614 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3615
3616 * gdb.base/commands.exp: Adjust.
3617 * gdb.cp/extern-c.exp: Adjust.
3618
3619 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3620
3621 * gdb.trace/collection.c (local_test_func): Define a local struct,
3622 and instanciate it.
3623
3624 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3625
3626 * gdb.trace/collection.exp (gdb_collect_args_test)
3627 (gdb_collect_argarray_test): XFAIL the tests that assume the
3628 argarray argument's elements are collected.
3629
3630 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3631
3632 * gdb.dwarf2/dw2-bad-parameter-type.exp,
3633 gdb.dwarf2/dw2-bad-parameter-type.S: New.
3634
3635 2010-03-31 Stan Shebs <stan@codesourcery.com>
3636
3637 * gdb.trace/save-trace.exp: Test save/restore of default-collect
3638 and tracepoint conditionals.
3639 (gdb_verify_tracepoints): Delete unused return.
3640
3641 2010-03-26 Keith Seitz <keiths@redhat.com>
3642
3643 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
3644 appear in the output before main.
3645 Remove KFAIL for gdb/2215 aka bz 9320.
3646
3647 2010-03-30 Doug Evans <dje@google.com>
3648
3649 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
3650 by dejagnu.
3651 * gdb.arch/amd64-dword.exp: Ditto.
3652
3653 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
3654 match.
3655 (break printf): Ditto.
3656
3657 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
3658
3659 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
3660 gcc < 4.4.
3661 * gdb.cp/shadow.exp: Ditto.
3662
3663 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3664
3665 * gdb.trace/collection.exp (run_trace_experiment): Make sure
3666 "tstart" is silent.
3667
3668 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3669
3670 * gdb.trace/collection.exp (executable): New.
3671 (binfile): Use it.
3672 (fpreg, spreg, pcreg): New.
3673 (test_register): Use gdb_test_multiple. Pass /x to print.
3674 (prepare_for_trace_test): New.
3675 (run_trace_experiment): Use "continue", not gdb_run_cmd.
3676 (gdb_collect_args_test, gdb_collect_argstruct_test)
3677 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
3678 prepare_for_trace_test.
3679 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
3680 fpreg, spreg and pcreg.
3681 (gdb_collect_expression_test, gdb_collect_globals_test): Use
3682 prepare_for_trace_test.
3683 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
3684 try to detect tracing support here. Don't set breakpoints at
3685 `begin' or `end' here.
3686 <global scope>: Use clean_restart. Run to main before checking
3687 for tracing support. Check for for tracing support here.
3688
3689 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3690
3691 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
3692 " as $displacement" to "seen displacement message".
3693
3694 2010-03-28 Pedro Alves <pedro@codesourcery.com>
3695
3696 * gdb.trace/while-dyn.exp (executable): New variable.
3697 (binfile): Use it.
3698 (test_while_stepping): New function. Move most tests here. Call
3699 it once for each of the while-stepping, stepping and ws aliases.
3700
3701 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3702
3703 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
3704 that do not provide the tagless_struct type name at all.
3705 (test_print_anon_union): Do not check value of uninitialized
3706 union member. Do not use cp_test_ptype_class, so we can accept
3707 "long" as well as "long int".
3708
3709 2010-03-26 Pedro Alves <pedro@codesourcery.com>
3710
3711 * gdb.trace/tfile.c (tohex, bin2hex): New.
3712 (write_error_trace_file): Hexify error description.
3713
3714 2010-03-25 Stan Shebs <stan@codesourcery.com>
3715
3716 * gdb.trace/tfile.c: Generate an additional trace file, improve
3717 portability.
3718 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
3719 files in a better way.
3720
3721 2010-03-25 Keith Seitz <keiths@redhat.com>
3722
3723 * gdb.java/jprint.exp: XFAIL printing of static class members
3724 because of GCC debuginfo problem.
3725
3726 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3727
3728 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
3729
3730 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3731
3732 * gdb.base/completion.exp: Allow long instead of long int.
3733 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
3734 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
3735 variable p.
3736 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
3737 * gdb.base/pointers.exp: Allow long instead of long int.
3738 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
3739 * gdb.base/step-line.exp: Allow a directory before the source file name.
3740
3741 2010-03-24 Tom Tromey <tromey@redhat.com>
3742
3743 PR breakpoints/9352:
3744 * gdb.base/default.exp: Update.
3745 * gdb.base/commands.exp: Update.
3746 * gdb.cp/extern-c.exp: Test setting commands on multiple
3747 breakpoints at once.
3748
3749 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3750
3751 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
3752 if gdb,nosignals.
3753 * gdb.base/watchpoints.c: Do not include unnecessary headers.
3754 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
3755 exited".
3756
3757 2010-03-24 Stan Shebs <stan@codesourcery.com>
3758
3759 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
3760
3761 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3762
3763 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
3764 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
3765 argument. Handle "short" and "long".
3766 (Top level): Pass overprototyped output for old_fptr and xptr.
3767
3768 2010-03-23 Pedro Alves <pedro@codesourcery.com>
3769
3770 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
3771 format strings and add casts to avoid compiler warnings.
3772
3773 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
3774
3775 * lib/trace-support.exp (gdb_trace_setactions):
3776 Don't expect whitespace after ">" prompt.
3777 * gdb.trace/actions.exp: Adjust for output changes.
3778 * gdb.trace/while-stepping.exp: Likewise.
3779
3780 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3781
3782 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
3783 and r157645).
3784
3785 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3786
3787 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
3788 New.
3789
3790 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
3791
3792 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
3793 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
3794
3795 2010-03-19 Stan Shebs <stan@codesourcery.com>
3796
3797 * gdb.trace/ax.exp: New file.
3798
3799 2010-03-19 Doug Evans <dje@google.com>
3800
3801 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
3802 output from gcc.
3803
3804 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
3805 named /usr/sbin/prelink<foo>.
3806
3807 2010-03-18 Stan Shebs <stan@codesourcery.com>
3808
3809 * gdb.trace/circ.exp: Test circular-trace-buffer.
3810 * gdb.trace/tfile.exp: Update tstatus test.
3811
3812 2010-03-18 Joel Brobecker <brobecker@adacore.com>
3813
3814 * gdb.dwarf2/dw2-anonymous-func.S: New file.
3815 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
3816
3817 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3818
3819 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
3820
3821 2010-03-18 Pedro Alves <pedro@codesourcery.com>
3822
3823 * gdb.base/default.exp: Adjust the expected output of the finish
3824 and until commands when the inferior is not being run.
3825
3826 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
3827
3828 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
3829 * gdb.cp/nsusing.exp: Ditto.
3830
3831 2010-03-15 Tom Tromey <tromey@redhat.com>
3832
3833 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
3834 * gdb.cp/userdef.cc (operator==): New function.
3835 (main): New locals mem1, mem2.
3836
3837 2010-03-15 Jie Zhang <jie@codesourcery.com>
3838
3839 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
3840 Declare and use new loadtimeout variable.
3841
3842 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
3843
3844 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
3845 Use gdb_load later.
3846
3847 2010-03-14 Pedro Alves <pedro@codesourcery.com>
3848
3849 * gdb.base/solib-disc.c (main): Make format of fprintf a string
3850 literal. Add missing endlines to prints to stderr.
3851
3852 2010-03-12 Tom Tromey <tromey@redhat.com>
3853
3854 PR c++/9708:
3855 * gdb.cp/m-static.exp: Add regression test.
3856 * gdb.cp/m-static.cc (method): New method.
3857 (main): Call it.
3858
3859 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
3860
3861 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
3862 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
3863
3864 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3865
3866 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
3867
3868 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3869
3870 * lib/gdb.exp (skip_stl_tests): New.
3871 (gdb_compile): Symbian needs -ldl.
3872 (shlib_target_file): New.
3873 (shlib_symbol_file): New.
3874 (gdb_load_shlibs): Use shlib_target_file.
3875 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
3876 * gdb.cp/exception.exp: Use skip_stl_tests.
3877 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
3878 * gdb.cp/try_catch.exp: Use skip_stl_tests.
3879 * gdb.cp/mb-templates.exp: Ditto.
3880 * gdb.base/commands.exp: Relax regexes.
3881 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
3882 shlib_target_file and shlib_symbol_file.
3883 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
3884 sections.
3885 * gdb.base/ending-run.exp: Accept E32Main for symbian.
3886 * gdb.base/solib-disc.exp: Use
3887 shlib_target_file and shlib_symbol_file.
3888 * gdb.base/unload.exp: Don't skip on symbian. Use
3889 shlib_target_file and shlib_symbol_file.
3890 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
3891
3892 2010-03-12 Pedro Alves <pedro@codesourcery.com>
3893
3894 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
3895 * gdb.trace/report.exp: Adjust for x86 and x86_64.
3896 Issue a tfind end before looking for a tracepoint frame.
3897 * gdb.trace/tfind.exp: Adjust tstatus output.
3898 Adjust disassembly output.
3899 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
3900
3901 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3902
3903 * gdb.base/break-interp.exp: Create new displacement parameter value
3904 for the test_ld calls.
3905 (reach): New parameter displacement, verify its content. New push of
3906 pf_prefix "reach-$func:". Import global expect_out.
3907 (test_core): New parameter displacement, verify its content. New push
3908 of pf_prefix "core:". New command "set verbose on". Import global
3909 expect_out.
3910 (test_attach): New parameter displacement, verify its content. New
3911 push of pf_prefix "attach:". New command "set verbose on". Import
3912 global expect_out.
3913 (test_ld): New parameter displacement, pass it to the reach, test_core
3914 and test_attach calls and verify its content in the "ld.so exit" test.
3915 * gdb.base/prelink.exp: Remove gdb_exit and final return.
3916 (prelink): Update expected text, use gdb_test.
3917
3918 2010-03-10 Doug Evans <dje@google.com>
3919
3920 * gdb.base/checkpoint.exp: Fix comment.
3921 Lengthen timeout while doing >600 checkpoints test.
3922 Rename duplicate "kill all one" test to keep test names unique.
3923
3924 2010-03-10 Pedro Alves <pedro@codesourcery.com>
3925
3926 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
3927
3928 2010-03-08 Keith Seitz <keiths@redhat.com>
3929
3930 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
3931 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
3932 (dm_type_long): New function.
3933 (dm_type_unsigned_short): New function.
3934 (dm_type_unsigned_long): New function.
3935 (myint): New typedef.
3936 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
3937 long, unsigned shor and long, operator char*, and typedef.
3938 (test_lookup_operator_functions): Add operator char* test.
3939 (test_paddr_operator_functions): Likewise.
3940 (test_paddr_overloaded_functions): Use probe values for
3941 short, long, and unsigned short and long.
3942 (test_paddr_hairy_functions): If the demangler probe detected
3943 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
3944 demangler.
3945 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
3946 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
3947 and "print null_pmf".
3948 Add test "ptype a.*pmf".
3949 * gdb.cp/overload.exp: Allow optional "int" to appear with
3950 "short" and "long".
3951 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
3952 long expect value for men_overload1arg.
3953 Allow "int" to appear with "short" and "long".
3954 When testing "info break", add argument for main (void).
3955 Also allow "int" to appear with "short" and "long".
3956 Ditto with "unsigned" and "long long".
3957 * gdb.java/jmain.exp: Do not enclose methods names in single
3958 quotes.
3959 * gdb.java/jmisc.exp: Likewise.
3960 * gdb.java/jprint.exp: Likewise.
3961 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
3962
3963 From Jan Kratochvil <jan.kratochvil@redhat.com>:
3964 * gdb.cp/exception.exp (backtrace after first throw)
3965 (backtrace after second throw): Allow a namespace before __cxa_throw.
3966 (backtrace after first catch, backtrace after second catch): Allow
3967 a namespace before __cxa_begin_catch.
3968
3969 * gdb.cp/cpexprs.exp: New file.
3970 * gdb.cp/cpexprs.cc: New file.
3971
3972 From Daniel Jacobowitz <dan@codesourcery.com>
3973 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
3974 to use string_to_regexp.
3975 (ctor, dtor): New functions. Use them to match constructor
3976 and destructor function types.
3977 (Top level): Use runto_main.
3978
3979 2010-03-05 Tom Tromey <tromey@redhat.com>
3980
3981 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
3982 gdb.target_charset.
3983 (pp_ns.to_string): Likewise.
3984
3985 2010-03-04 Keith Seitz <keiths@redhat.com>
3986
3987 * gdb.cp/overload.exp: Test that the filename portion of a linespec
3988 can be quoted. Test that both the filename and function/line
3989 portions can be quoted at the same time.
3990
3991 2010-03-04 Pedro Alves <pedro@codesourcery.com>
3992
3993 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
3994
3995 2010-03-03 Doug Evans <dje@google.com>
3996
3997 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
3998 libc contains libpthread.
3999
4000 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
4001 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
4002 of gdb_compile. Add another pattern to match android backtrace.
4003
4004 2010-03-03 Tom Tromey <tromey@redhat.com>
4005
4006 PR gdb/11345:
4007 * gdb.base/printcmds.exp (test_printf): Add test.
4008
4009 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
4010
4011 * gdb.arch/amd64-byte.exp: New.
4012 * gdb.arch/amd64-dword.exp: Likewise.
4013 * gdb.arch/amd64-pseudo.c: Likewise.
4014 * gdb.arch/amd64-word.exp: Likewise.
4015 * gdb.arch/i386-byte.exp: Likewise.
4016 * gdb.arch/i386-pseudo.c: Likewise.
4017 * gdb.arch/i386-word.exp: Likewise.
4018
4019 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
4020
4021 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
4022 types. Add structreg, bitfields, and flags registers.
4023 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
4024 registers.
4025
4026 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
4027
4028 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
4029 (load_description): Set architecture if defined.
4030
4031 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
4032
4033 * gdb.python/py-frame.exp: Add read_var block tests.
4034 * gdb.python/py-frame.c (block): New function.
4035
4036 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4037 Daniel Jacobowitz <dan@codesourcery.com>
4038
4039 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
4040
4041 2010-02-25 David S. Miller <davem@davemloft.net>
4042
4043 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
4044 fix logic for setting all_syscalls_numbers.
4045
4046 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4047
4048 * Makefile.in: Add py-block and py-symbol.
4049 * gdb.python/py-symbol.exp: New File.
4050 * gdb.python/py-symtab.exp: New File.
4051 * gdb.python/py-block.exp: New File.
4052 * gdb.python/py-symbol.c: New File.
4053 * gdb.python/py-block.c: New File.
4054
4055 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
4056
4057 PR python/11314
4058 * lib/gdb.exp (skip_python_tests): New function.
4059 * gdb.python/py-cmd.exp: Use skip_python_tests.
4060 * gdb.python/py-frame.exp: Likewise.
4061 * gdb.python/py-function.exp: Likewise.
4062 * gdb.python/py-prettyprint.exp: Likewise.
4063 * gdb.python/py-template.exp: Likewise.
4064 * gdb.python/py-type.exp: Likewise.
4065 * gdb.python/py-value.exp: Likewise.
4066
4067 2010-02-22 Pedro Alves <pedro@codesourcery.com>
4068
4069 PR9605
4070
4071 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
4072
4073 2010-02-19 Tom Tromey <tromey@redhat.com>
4074
4075 PR c++/8693, PR c++/9496:
4076 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
4077 regression tests.
4078
4079 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4080
4081 Fix compatibility with m68k as.
4082 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
4083 Use only /* comments */.
4084
4085 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4086
4087 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
4088 * configure: Regenerate.
4089
4090 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
4091
4092 * gdb.python/py-type.exp: Check for Python support.
4093
4094 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4095
4096 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
4097 `regsub' syntax available.
4098
4099 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4100
4101 * gdb.base/shmain.c (main): Remove printf call.
4102 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
4103 * gdb.base/unload.c (main): Make format of fprintf a string
4104 literal. Add missing endlines to prints to stderr.
4105 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
4106
4107 2010-02-17 Tom Tromey <tromey@redhat.com>
4108
4109 * gdb.java/jprint.java (jprint.props): New field.
4110 * gdb.java/jprint.exp (set_lang_java): Add regression test.
4111
4112 2010-02-17 Pedro Alves <pedro@codesourcery.com>
4113
4114 * gdb.base/charset.exp: Don't assume new `regsub' syntax
4115 available.
4116
4117 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4118
4119 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
4120 creation to support remote host testing.
4121
4122 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4123
4124 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
4125 Recognize "command not found".
4126
4127 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4128
4129 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
4130 single-stepping.
4131
4132 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4133
4134 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
4135 if arguments are not supported.
4136
4137 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4138
4139 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
4140 be const or non-const.
4141
4142 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4143
4144 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
4145 mi_send_resuming_command to send -exec-continue.
4146
4147 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4148
4149 * gdb.base/list.exp (test_list_filename_and_function): Add test
4150 with single quotes.
4151 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
4152 matching.
4153 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
4154 Add KFAIL'd tests for PR gdb/11289.
4155
4156 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4157
4158 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4159
4160 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4161
4162 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4163 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4164 a temporary directory.
4165
4166 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4167
4168 * gdb.base/charset.exp: Use a single regular expression to match
4169 show host-charset and show target-charset output.
4170
4171 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4172
4173 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4174 "Illegal process-id" expect string more exact.
4175 (attach to digits-starting nonsense is prohibited): New.
4176
4177 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4178
4179 * gdb.base/prelink.exp (set verbose on): New.
4180
4181 2010-02-12 Tomas Holmberg <th@virtutech.com>
4182
4183 * mi-reverse.exp: New file. Test for reverse option to the
4184 following MI commands: exec-continue, exec-finish, exec-next,
4185 exec-step, exec-next-instruction, exec-step-instruction.
4186
4187 2010-02-09 Joel Brobecker <brobecker@adacore.com>
4188
4189 * gdb.ada/ptype_tagged_param: New testcase.
4190
4191 2010-02-08 Tom Tromey <tromey@redhat.com>
4192
4193 PR c++/8017:
4194 * gdb.cp/overload.exp: Add tests.
4195 * gdb.cp/overload.cc (struct K): New.
4196 (namespace N): New.
4197 (main): Call new functions.
4198 (K::staticoverload): Define.
4199
4200 2010-02-08 Chris Moller <moller@mollerware.com>
4201
4202 PR gdb/10728
4203 * gdb.cp/pr10728-x.h: New file.
4204 * gdb.cp/pr10728-x.cc: New file.
4205 * gdb.cp/pr10728-y.cc: New file.
4206 * gdb.cp/pr10728.exp: New file.
4207 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
4208
4209 2010-02-08 Chris Moller <moller@mollerware.com>
4210
4211 PR gdb/9067
4212 * gdb.cp/pr9067.exp: New
4213 * gdb.cp/pr9067.cc: New
4214 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
4215
4216 2010-02-08 Joel Brobecker <brobecker@adacore.com>
4217
4218 * lib/gdb.exp (gdb_test_timeout): New global variable.
4219 Set it to timeout if not already set.
4220 (gdb_init): Reset the value of timeout to gdb_test_timeout.
4221
4222 2010-02-05 Doug Evans <dje@google.com>
4223
4224 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
4225 user.
4226
4227 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
4228
4229 PR c++/7935:
4230 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
4231
4232 2010-02-04 Tom Tromey <tromey@redhat.com>
4233
4234 * gdb.cp/virtbase.exp: Make test case names unique.
4235
4236 2010-02-02 Tom Tromey <tromey@redhat.com>
4237
4238 * gdb.cp/virtbase.exp: Add regression tests.
4239 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
4240 (main): Instantiate RHC.
4241
4242 2010-02-02 Tom Tromey <tromey@redhat.com>
4243
4244 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
4245 type-printing change.
4246
4247 2010-02-02 Tom Tromey <tromey@redhat.com>
4248
4249 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
4250 * gdb.cp/virtbase.cc: New file.
4251 * gdb.cp/virtbase.exp: New file.
4252 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
4253
4254 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4255
4256 PR libc/11214:
4257 * gdb.threads/current-lwp-dead.c: Include features.h.
4258 (HAS_NOMMU): New.
4259 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
4260
4261 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4262
4263 * gdb.base/symbol-without-target_section.exp,
4264 gdb.base/symbol-without-target_section.c: New.
4265
4266 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4267
4268 * gdb.base/bigcore.exp: Reset increased timeout.
4269 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
4270
4271 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4272
4273 * gdb.base/gcore.exp (capture_command_output): Use
4274 gdb_test_multiple.
4275
4276 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4277
4278 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
4279 * gdb.arch/thumb2-it.exp (test_it_break): New function.
4280 (Top level): Call it.
4281
4282 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4283
4284 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
4285
4286 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4287
4288 * gdb.base/call-strs.exp, gdb.base/default.exp,
4289 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
4290 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
4291 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
4292 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
4293 gdb.base/watchpoint-solib.exp: Save and restore timeout.
4294 * gdb.base/ending-run.exp: Correct restore of timeout.
4295 * gdb.base/page.exp: Remove unnecessary timeout setting.
4296
4297 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4298
4299 * gdb.ada/rec_return: New testcase.
4300
4301 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4302
4303 * gdb.ada/call_pn: New testcase.
4304
4305 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4306
4307 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
4308 (Top level): Use it to resume.
4309 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
4310 the Thumb mode displaced stepping error as unsupported.
4311
4312 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
4313
4314 * gdb.cp/nsusing.exp: Added more tests.
4315 * gdb.cp/nsrecurs.exp: Ditto.
4316 * gdb.cp/nsusing.cc: Added test functions.
4317 * gdb.cp/nsrecurs.cc: Ditto.
4318
4319 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4320
4321 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
4322 absolute directory pathnames in gdb.sum file.
4323
4324 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
4325
4326 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
4327 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
4328
4329 2010-01-26 Tom Tromey <tromey@redhat.com>
4330
4331 PR exp/7643:
4332 * gdb.base/printcmds.exp (test_print_string_constants): Remove
4333 setup_kfail.
4334
4335 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
4336
4337 * gdb.cp/nsrecurs.exp: New test.
4338 * gdb.cp/nsrecurs.cc: New test program.
4339 * gdb.cp/nsstress.exp: New test.
4340 * gdb.cp/nsstress.cc: New test program.
4341 * gdb.cp/nsdecl.exp: New test.
4342 * gdb.cp/nsdecl.cc: New test program.
4343
4344 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
4345
4346 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
4347 imported into file scope.
4348 Marked test as xfail.
4349 * gdb.cp/namespace-using.cc (marker5): New function.
4350 * gdb.cp/shadow.exp: New test.
4351 * gdb.cp/shadow.cc: New test program.
4352 * gdb.cp/nsimport.exp: New test.
4353 * gdb.cp/nsimport.cc: New test program.
4354
4355 2010-01-25 Tom Tromey <tromey@redhat.com>
4356
4357 PR gdb/11049:
4358 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
4359 with "set print null-stop on".
4360
4361 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4362
4363 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
4364 Adjust it for DISASSEMBLY_OMIT_FNAME.
4365
4366 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4367
4368 PR symtab/11199:
4369 * gdb.dwarf2/member-ptr-forwardref.exp,
4370 gdb.dwarf2/member-ptr-forwardref.S: New.
4371
4372 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4373
4374 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
4375 (thread1_func): Protect thread1_tid with thread1_tid_cond by
4376 thread1_tid_mutex. Remove gdbstop_mutex handling.
4377 (thread2_func): Protect thread2_tid with thread2_tid_cond by
4378 thread2_tid_mutex. Remove gdbstop_mutex handling.
4379 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
4380 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
4381 pthread_cond_wait conditionalizations by while loops.
4382
4383 2010-01-20 Tom Tromey <tromey@redhat.com>
4384
4385 PR backtrace/10770:
4386 * gdb.dwarf2/pr10770.exp: New file.
4387 * gdb.dwarf2/pr10770.c: New file.
4388 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
4389
4390 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
4391
4392 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
4393 that target was removed, and the test always runs native anyway.
4394
4395 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4396
4397 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
4398 gdb.base/watchpoint-cond-gone-stripped.c: New.
4399
4400 2010-01-19 Tom Tromey <tromey@redhat.com>
4401
4402 PR c++/8000:
4403 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
4404 existing tests.
4405 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
4406 (main): Use AAA::SomeEnum.
4407
4408 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4409
4410 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
4411 (test_ignore_count): Declare line_callme_body global.
4412 (run to breakpoint with ignore count): Use line_callme_body.
4413 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
4414 (set line_main_hello, set line_main_return): Reindent.
4415 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
4416 New.
4417 (continue to callee4): Use line_callee4_body.
4418 (check *stopped from CLI command): Use line_callee4_next.
4419 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
4420 (set line_main_hello, set line_main_return): Reindent.
4421 (set line_callee4_head, set line_callee4_body): New.
4422 (continue to callee4): Use line_callee4_body.
4423
4424 2010-01-18 Tom Tromey <tromey@redhat.com>
4425
4426 PR c++/9680:
4427 * gdb.cp/casts.cc: Add new classes and variables.
4428 * gdb.cp/casts.exp: Test new operators.
4429
4430 2010-01-18 Tom Tromey <tromey@redhat.com>
4431 Thiago Jung Bauermann <bauerman@br.ibm.com>
4432
4433 * gdb.python/source2.py: New file.
4434 * gdb.python/source1: New file.
4435 * gdb.python/python.exp: Test "source" command.
4436
4437 2010-01-15 Stan Shebs <stan@codesourcery.com>
4438
4439 * gdb.trace/tfile.c: New file.
4440 * gdb.trace/tfile.exp: New file.
4441
4442 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4443
4444 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
4445
4446 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4447
4448 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
4449
4450 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4451
4452 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
4453 (libfunc): New parameter action. Implement also selectable "sleep".
4454 * gdb.base/break-interp-main.c: Include assert.h.
4455 (libfunc): New parameter action.
4456 (main): New parameters argc and argv. Assert argc. Pass argv.
4457 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
4458 (test_attach): New proc.
4459 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
4460 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
4461
4462 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4463
4464 * gdb.base/break-interp.exp (test_core): New proc.
4465 (test_ld): Call it.
4466
4467 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4468
4469 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
4470 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
4471 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
4472 and gdb_compile_shlib. Use new -Wl compiler options.
4473 (dl bt, main bt): New tests.
4474
4475 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4476
4477 Support PIEs with no symfile_objfile.
4478 * gdb.base/break-interp.exp: New argument at the test_ld calls.
4479 (test_ld): New parameter trynosym.
4480 (test_ld <$trynosym>): New block.
4481
4482 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4483
4484 * gdb.base/break-interp.exp: New file.
4485
4486 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
4487
4488 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
4489 * gdb.python/py-prettyprint.py (pp_ls): New printer.
4490 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
4491 test.
4492 * gdb.python/py-prettyprint.c: Define lazystring test structure.
4493 * gdb.python/py-mi.exp: Add lazy string test.
4494
4495 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
4496
4497 * lib/mi-support.exp (mi_check_thread_states): Handle
4498 core number in thread listing.
4499
4500 2010-01-12 Joel Brobecker <brobecker@adacore.com>
4501
4502 * gdb.base/maint.exp: Adjust the expected output for the
4503 "maint print type" test. Use gdb_test_multiple instead of
4504 gdb_sent/gdb_expect.
4505
4506 2010-01-11 Doug Evans <dje@google.com>
4507
4508 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
4509 from gdbserver_download. All callers updated.
4510
4511 * gdb.server/ext-run.exp: "info os processes" requires xml support.
4512
4513 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4514
4515 Implement binary numbers parsing.
4516 * gdb.base/printcmds.exp (test_integer_literals_accepted)
4517 (test_integer_literals_rejected): New binary tests.
4518
4519 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4520
4521 * gdb.cell/configure: Regenerate.
4522
4523 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4524
4525 * gdb.base/corefile.exp: Move the core finding block out and call it as
4526 core_find, new variable $corefile, replace corefile by $corefile and
4527 [file tail $corefile] for usage vs. test names resp.
4528 * lib/gdb.exp (core_find): Move it as a new function here. New
4529 parameter binfile and deletefiles. New variable $destcore. Pre-delete
4530 $destcore. Return "" on error.
4531
4532 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4533
4534 Workaround PR binutils/10802.
4535 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
4536 (twice).
4537
4538 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4539
4540 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
4541
4542 2010-01-08 Joel Brobecker <brobecker@adacore.com>
4543
4544 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
4545 call, to avoid interruption.
4546
4547 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4548
4549 * gdb.stabs/weird.def (args93): New.
4550
4551 2010-01-07 Doug Evans <dje@google.com>
4552
4553 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
4554
4555 2010-01-07 Tom Tromey <tromey@redhat.com>
4556
4557 * gdb.base/source.exp: Use correct line number.
4558
4559 2010-01-05 Stan Shebs <stan@codesourcery.com>
4560
4561 * gdb.trace/tracecmd.exp: Test ftrace.
4562
4563 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4564
4565 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
4566
4567 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4568
4569 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
4570 "uint_for_mi_testing".
4571
4572 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4573
4574 Test indented comment in file being sourced.
4575 * gdb.base/commands.exp: Test indented comment in file being sourced.
4576
4577 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4578
4579 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
4580 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
4581 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
4582 notice.
4583
4584 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4585
4586 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
4587 notice.
4588
4589 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4590
4591 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
4592 missing $after_stopped and comma (,) expectation.
4593
4594 2009-12-31 Stan Shebs <stan@codesourcery.com>
4595
4596 * gdb.trace/actions.exp: Test teval action.
4597
4598 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4599
4600 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
4601 (top level): Call test_watchpoint_in_big_blob.
4602 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
4603 watchpoints.
4604 (func3): Write to buf.
4605
4606 2009-12-29 Stan Shebs <stan@codesourcery.com>
4607
4608 * gdb.trace/actions.exp: Test default-collect.
4609
4610 2009-12-28 Stan Shebs <stan@codesourcery.com>
4611
4612 * gdb.trace/tsv.exp: New file.
4613 * gdb.base/completion.exp: Update ambiguous info output.
4614
4615 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
4616
4617 * gdb.base/find.c (main): Reference search buffers.
4618 * gdb.base/included.c (main): Reference integer.
4619 * gdb.base/ptype.c (charfoo): Declare.
4620 (intfoo): Call charfoo.
4621 * gdb.base/scope0.c (useitp): New function.
4622 (usestatics): Use useitp.
4623 (useit): Add a type for val.
4624 * gdb.base/scope1.c (useit1): Take a pointer argument.
4625 (usestatics1): Update calls to useit1.
4626 * gdb.cp/call-c.cc: Declare foo.
4627 (main): Call foo.
4628 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
4629 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
4630 (main): Call C::ensureRefs and ensureOtherRefs.
4631 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
4632 variables.
4633 (ensureOtherRefs): New function.
4634 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
4635 * gdb.cp/templates.cc (main): Call t5i.value.
4636
4637 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4638
4639 Fix compatibility with G++-4.5.
4640 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
4641 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
4642 (uncaught return): Remove.
4643
4644 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4645 Phil Muldoon <pmuldoon@redhat.com>
4646
4647 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
4648 (bp_location13, bp_location14, bp_location17, bp_location18)
4649 (marker3_proto, marker4_proto): New variables.
4650 (breakpoint info): Update output.
4651 (run until breakpoint at marker3, run until breakpoint at marker4): New
4652 tests.
4653
4654 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4655
4656 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
4657 Replace the printf call of Y by provided "y-set-1" label. New block
4658 for the second shared library.
4659 * gdb.base/unload.exp: Compile also the second library, call
4660 gdb_load_shlibs also for it. Use now gdb_breakpoint.
4661 (single pending breakpoint info): Rename to ...
4662 (pending breakpoint info before run): ... this extended test.
4663 (libfile2, libname2, libsrcfile2, libsrc2)
4664 (lib_sl2): New variables.
4665 (exec_opts): Set also SHLIB_NAME2.
4666 (pending breakpoint info on first run at shrfunc1)
4667 (pending breakpoint info on second run at shrfunc1)
4668 (pending breakpoint info on second run at shrfunc2)
4669 (print y from libfile, print y from libfile2): New tests.
4670 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
4671 * gdb.base/unloadshr2.c: New.
4672
4673 2009-12-22 Hui Zhu <teawater@gmail.com>
4674
4675 * gdb.reverse/sigall-reverse.exp: Adjust.
4676
4677 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
4678
4679 PR gdb/10884
4680
4681 * gdb.mi/var-cmd.c (do_bitfield_tests): New
4682 (main): Call do_bitfield_tests.
4683 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
4684
4685 2009-12-20 Joel Brobecker <brobecker@adacore.com>
4686
4687 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
4688 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
4689 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
4690 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
4691 gdb.modula2/unbounded1.c: Update copyright header.
4692
4693 2009-12-10 Chris Moller <moller@mollerware.com>
4694
4695 PR gdb/9399
4696 * gdb.cp/virtfunc2.exp: New tests
4697 * gdb.cp/virtfunc2.cc: New tests
4698 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
4699
4700 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
4701
4702 * gdb.reverse/i387-env-reverse.c: New file.
4703 * gdb.reverse/i387-env-reverse.exp: New file.
4704 * gdb.reverse/i387-stack-reverse.c: New file.
4705 * gdb.reverse/i387-stack-reverse.exp: New file.
4706
4707 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
4708
4709 * gdb.python/py-type.exp (test_range): New test.
4710
4711 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
4712
4713 PR python/10805
4714
4715 * gdb.python/py-type.exp: New file.
4716 * gdb.python/py-type.c: New file.
4717 * Makefile.in: Add py-type.
4718
4719 2009-12-03 Tom Tromey <tromey@redhat.com>
4720
4721 * gdb.python/py-value.exp (test_parse_and_eval): New
4722 function.
4723
4724 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4725
4726 PR gdb/11022
4727
4728 * gdb.base/pr11022.exp: New test.
4729 * gdb.base/pr11022.c: New test.
4730
4731 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4732
4733 Fix spurious false FAILs.
4734 * gdb.base/structs.c (chartest): New.
4735 (main): Fill-in chartest.
4736 * gdb.base/structs.exp (anychar_re, first): New.
4737 (start_structs_test): Import global anychar_re and first.
4738 New gdb_test call "set print elements 300; ${testfile}"
4739 (start_structs_test <$first>): New block.
4740 (any): Import global anychar_re. New variable ac. Use ${ac}.
4741
4742 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4743
4744 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
4745
4746 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4747
4748 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
4749 Force $srcfile file.
4750 * gdb.base/foll-fork.c (callee): Comment out the printf call.
4751
4752 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4753
4754 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
4755 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
4756 * gdb.threads/watchthreads-reorder.exp: Likewise.
4757
4758 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
4759
4760 PR gdb/8704
4761
4762 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
4763 "if", and "thread". Correct matching in the previous test.
4764
4765 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
4766
4767 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
4768
4769 2009-11-23 Michael Snyder <msnyder@vmware.com>
4770
4771 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
4772 * gdb.reverse-watch-precsave.exp: Ditto.
4773
4774 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
4775
4776 * gdb.asm/asm-source.exp: Adjust.
4777 * gdb.base/help.exp: Adjust.
4778
4779 2009-11-22 Pedro Alves <pedro@codesourcery.com>
4780
4781 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
4782 (do_syscall_tests_without_xml): Set data-directory to
4783 /the/path/to/nowhere.
4784
4785 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4786
4787 * gdb.threads/local-watch-wrong-thread.c,
4788 gdb.threads/local-watch-wrong-thread.exp: New files.
4789
4790 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4791
4792 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
4793 assume new `regsub' syntax available.
4794
4795 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4796
4797 * gdb.base/watchpoint-hw-hit-once.exp,
4798 gdb.base/watchpoint-hw-hit-once.c: New.
4799
4800 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4801
4802 * gdb.threads/watchthreads-reorder.exp,
4803 gdb.threads/watchthreads-reorder.c: New.
4804
4805 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
4806
4807 * gdb.xml/tdesc-regs.exp: Use for m68k.
4808
4809 2009-11-15 Pedro Alves <pedro@codesourcery.com>
4810
4811 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
4812
4813 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4814
4815 * lib/gdb.exp (current_target_name): New procedure.
4816 (gdb_wrapper_target): New variable.
4817 (gdb_wrapper_init): Set gdb_wrapper_target.
4818 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
4819 wrapper.
4820
4821 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4822
4823 * gdb.base/remote.exp: Delete the slowest load test.
4824 Do not load with fixed packet sizes.
4825
4826 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4827
4828 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
4829
4830 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4831
4832 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
4833 srcfile when setting a breakpoint.
4834
4835 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
4836
4837 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
4838 macros.
4839
4840 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4841
4842 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
4843 to be in memory.
4844 * gdb.base/display.c (force_mem): New.
4845 (do_loops): Use it. Add breakpoint comments.
4846 (do_vars): Add a breakpoint comment.
4847 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
4848 line numbers.
4849
4850 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
4851
4852 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
4853 instead of a bare "run".
4854
4855 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4856
4857 * gdb.python/py-prettyprint.exp: Adjust.
4858
4859 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4860
4861 * lib/cell.exp (skip_cell_tests): Clean up test files before
4862 returning.
4863
4864 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4865
4866 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
4867 and the breakpoint menu. Do not call perror if a prompt is seen.
4868 Consume the following GDB prompt.
4869 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
4870 * gdb.cp/namespace.exp: Use gdb_test.
4871 * gdb.cp/templates.exp: Use gdb_test.
4872 (test_template_breakpoints): Use gdb_test_multiple.
4873
4874 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4875
4876 * gdb.base/break1.c (struct some_struct, values): Move earlier.
4877 (marker4): Reference values.
4878
4879 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4880
4881 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
4882 is missing.
4883
4884 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4885
4886 * gdb.base/break.c (need_malloc): New.
4887 * gdb.base/constvars.c (main): Reference crass and crisp.
4888 * gdb.base/gdb1821.c (main): Reference bar.
4889 * gdb.cp/gdb1355.cc (main): Reference s1.
4890 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
4891 (main): Call them.
4892 * gdb.cp/hang2.cc (dummy2): Define.
4893 * gdb.cp/hang3.cc (dummy3): Define.
4894 * gdb.cp/m-data.cc (main): Reference shadow.
4895
4896 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4897 Nathan Froyd <froydnj@codesourcery.com>
4898
4899 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
4900 remote host.
4901
4902 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
4903
4904 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
4905 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
4906 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4907 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4908 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4909 * gdb.dwarf2/dw2-producer.exp: Likewise.
4910 * gdb.dwarf2/mac-fileno.exp: Likewise.
4911 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
4912 py-prettyprint.py to the remote host.
4913 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
4914
4915 2009-11-11 Keith Seitz <keiths@redhat.com>
4916
4917 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
4918 use it instead of "Foo".
4919 * gdb.cp/classes.exp (do_tests): Add a test to access
4920 a method through a typedef'd class name.
4921
4922 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
4923
4924 * gdb.base/long_long.exp: Permit leading zeros on floating-point
4925 exponents.
4926 * gdb.base/pointers.exp: Likewise.
4927 * gdb.cp/ref-types.exp: Likewise.
4928
4929 2009-11-11 Keith Seitz <keiths@redhat.com>
4930
4931 * gdb.cp/cplusfuncs.cc (class foo): Add operators
4932 new[] and delete[].
4933 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
4934 "void".
4935 (probe_demangler): Remove all single-quoting of
4936 method and variable names.
4937 (info_func_regexp): Remove the word "void" from any
4938 occurrence of "(void)".
4939 (print_addr_2): Remove all single-quoting of
4940 method names.
4941 (print_addr_2_kfail): Likewise.
4942 (print_addr): Single-quote C function names before
4943 passing to print_addr_2.
4944 (test_paddr_operator_functions): Remove single-quoting
4945 for method names.
4946 Add tests for operator new[] and operator delete[].
4947
4948 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4949
4950 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
4951
4952 2009-11-09 Keith Seitz <keiths@redhat.com>
4953
4954 * gdb.cp/overload.exp: Add tests for resolving overloaded
4955 methods in expression parsing/evaluation.
4956
4957 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
4958
4959 * lib/gdb.exp (default_gdb_version): Use --version instead of
4960 --command.
4961
4962 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
4963
4964 * lib/gdb.exp (gdb_compile_test): New.
4965 (skip_ada_tests, skip_java_tests): New.
4966 (gdb_compile): Use gdb_compile_test for f77.
4967 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
4968 * lib/java.exp (compile_java_from_source): Remove runtests check,
4969 use gdb_compile_test to record result.
4970 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
4971 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
4972 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
4973 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
4974 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
4975 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
4976 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
4977 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
4978 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
4979 adjust gdb_compile invocations.
4980
4981 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4982
4983 * Makefile.in (abs_builddir): New.
4984 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
4985 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
4986 `$(abs_builddir)/site.exp'.
4987
4988 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
4989
4990 * config/m68k-emc.exp, lib/emc-support.exp,
4991 gdb.trace/gdb_c_test.c: Delete.
4992 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
4993 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4994 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4995 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4996 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4997 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
4998 casing for m68k-*-elf.
4999
5000 2009-11-03 Pedro Alves <pedro@codesourcery.com>
5001
5002 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
5003 * gdb.arch/i386-prologue.exp: Likewise.
5004 * gdb.arch/i386-unwind.exp: Likewise.
5005
5006 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5007
5008 * lib/gdb.exp (gdb_expect): Fix timeout typo.
5009
5010 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5011
5012 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
5013
5014 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
5015
5016 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
5017
5018 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5019
5020 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
5021
5022 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5023
5024 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
5025 * gdb.base/sepdebug2.c: New file.
5026
5027 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5028
5029 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
5030 the modified warnings for catch syscall. Verify if GDB was compiled
5031 with support for lib expat, and choose which tests to run depending
5032 on this.
5033
5034 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
5035
5036 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
5037 that composite commands are parsed OK. And also test
5038 that breakpoint commands do work.
5039
5040 2009-10-23 Michael Snyder <msnyder@vmware.com>
5041
5042 gdb.reverse/consecutive-precsave.exp: Change expect pattern
5043 to allow for new disassembly style.
5044
5045 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5046
5047 * gdb.asm/asm-source.exp: Adjust.
5048
5049 2009-10-22 Michael Snyder <msnyder@vmware.com>
5050
5051 * gdb.reverse/break-precsave.exp: New test.
5052 * gdb.reverse/consecutive-precsave.exp: Ditto.
5053 * gdb.reverse/finish-precsave.exp: Ditto.
5054 * gdb.reverse/i386-precsave.exp: Ditto.
5055 * gdb.reverse/machinestate-precsave.exp: Ditto.
5056 * gdb.reverse/sigall-precsave.exp: Ditto.
5057 * gdb.reverse/solilb-precsave.exp: Ditto.
5058 * gdb.reverse/step-precsave.exp: Ditto.
5059 * gdb.reverse/until-precsave.exp: Ditto.
5060 * gdb.reverse/watch-precsave.exp: Ditto.
5061
5062 2009-10-22 Michael Snyder <msnyder@vmware.com>
5063
5064 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
5065 for gdb_expect. Adjust one test's expect strings for the new
5066 format of disassemble.
5067 * gdb.reverse/finish-reverse.exp: Delete 'return'.
5068 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
5069 gdb_test_multiple.
5070 * gdb.reverse/step-reverse.exp: Delete 'return'.
5071 * gdb.reverse/until-reverse.exp: Delete blank lines.
5072 * gdb.reverse/watch-reverse.exp: Delete blank lines.
5073
5074 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
5075
5076 * gdb.base/consecutive.exp: Adjust.
5077 * gdb.base/display.exp: Likewise.
5078 * gdb.base/pc-fp.exp: Likewise.
5079 * gdb.base/sigbpt.exp: Likewise.
5080
5081 2009-10-19 Michael Snyder <msnyder@vmware.com>
5082
5083 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
5084 * gdb.reverse/finish-reverse.c: Ditto.
5085 * gdb.reverse/sigall-reverse.c: Ditto.
5086 * gdb.reverse/solib-reverse.c: Ditto.
5087 * gdb.reverse/step-reverse.c: Ditto.
5088 * gdb.reverse/watch-reverse.c: Ditto.
5089
5090 2009-10-19 Pedro Alves <pedro@codesourcery.com>
5091 Stan Shebs <stan@codesourcery.com>
5092
5093 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
5094 * gdb.base/foll-exec.exp: Adjust to expect a process id before
5095 "Executing new program".
5096 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
5097 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
5098 left listed after having been killed.
5099 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
5100 * gdb.base/maint.exp: Adjust test.
5101
5102 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
5103 * gdb.multi/Makefile.in: New.
5104 * gdb.multi/base.exp: New.
5105 * gdb.multi/goodbye.c: New.
5106 * gdb.multi/hangout.c: New.
5107 * gdb.multi/hello.c: New.
5108 * gdb.multi/bkpt-multi-exec.c: New.
5109 * gdb.multi/bkpt-multi-exec.exp: New.
5110 * gdb.multi/crashme.c: New.
5111
5112 2009-10-13 Tristan Gingold <gingold@adacore.com>
5113
5114 * gdb.base/sepdebug.exp: Check debug info are found.
5115
5116 2009-10-08 Pedro Alves <pedro@codesourcery.com>
5117
5118 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
5119 bits.
5120
5121 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5122
5123 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
5124
5125 2009-10-07 Joel Brobecker <brobecker@adacore.com>
5126
5127 * gdb.base/watchpoints.c: Add copyright header. Reformat one
5128 of the comments.
5129
5130 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
5131
5132 * gdb.base/annota1.exp: Remove obsolete match_max increase.
5133 * gdb.base/annota3.exp: Idem.
5134 * gdb.base/maint.exp: Idem.
5135
5136 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5137
5138 * lib/gdb.exp (default_gdb_init): Set current value of match_max
5139 to default.
5140
5141 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5142
5143 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
5144 mingw and cygwin targets.
5145
5146 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
5147 Pedro Alves <pedro@codesourcery.com>
5148
5149 * lib/gdb.exp (gdb_compile): Avoid adding
5150 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
5151
5152 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5153
5154 * gdb.base/shr1.c: Use %p in format string.
5155 * gdb.base/unload.c: Avoid warning in fprintf.
5156 * gdb.base/watchpoint-solib.c: Idem.
5157
5158 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5159
5160 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5161 long type.
5162 (test_unlink): Correct printf string.
5163 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5164 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5165
5166 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5167
5168 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5169 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5170 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5171
5172 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5173
5174 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5175 * gdb.objc/nondebug.exp: Likewise.
5176
5177 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5178
5179 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5180 target_info setting.
5181
5182 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5183 that detect new threads during "info threads".
5184
5185 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5186
5187 * gdb.threads/manythreads.c (main): Increase thread stack size
5188 to 2*PTHREAD_STACK_MIN.
5189 * gdb.threads/multi-create.c (main): Likewise.
5190 (create_function): Likewise.
5191
5192 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5193
5194 * gdb.base/dump.exp: Pass difference of pointer types instead
5195 of integer types as offset to restore in intarr3.srec case.
5196
5197 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5198
5199 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5200
5201 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5202
5203 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5204
5205 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
5206
5207 New test for two watchpoints, with disabling of
5208 the first inserted.
5209 * testsuite/gdb.base/watchpoints.c: New file.
5210 * testsuite/gdb.base/watchpoints.exp: New file.
5211
5212 2009-09-25 Tom Tromey <tromey@redhat.com>
5213
5214 * gdb.base/charset.exp: Test utf-16 strings with Python.
5215
5216 2009-09-25 Tom Tromey <tromey@redhat.com>
5217
5218 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
5219 UCS-4.
5220 * gdb.base/charset.c (utf_32_string): Rename.
5221 (init_utf32): Rename.
5222 (main): Update.
5223
5224 2009-09-22 Tom Tromey <tromey@redhat.com>
5225
5226 * gdb.python/py-function.exp: Add regression tests.
5227
5228 2009-09-21 Keith Seitz <keiths@redhat.com>
5229
5230 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
5231 with invalid operator.
5232
5233 2009-09-21 Keith Seitz <keiths@redhat.com>
5234
5235 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
5236 and destructor using typedef name of class.
5237 * gdb.cp/classes.cc (class Base1): Add a destructor.
5238 (base1): New typedef.
5239 (use_methods): Instanitate an object of type base1.
5240 * gdb.cp/templates.exp (test_template_typedef): New procedure.
5241 (do_tests): Call test_template_typedef.
5242 * gdb.cp/templates.cc (Baz::~Baz): New method.
5243 (intBazOne): New typedef.
5244 (main): Instantiate intBazOne.
5245
5246 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5247
5248 PR python/10633
5249
5250 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
5251 Function.
5252 (run_lang_tests): Add print elements test.
5253
5254 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5255
5256 * gdb.python/py-value.exp (test_subscript_regression): New
5257 function. Test for invalid subscripts.
5258 * gdb.python/py-value.c (main): Add test array, and pointer to it.
5259 (ptr_ref): New function.
5260
5261 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5262
5263 * gdb.base/default.exp: Fix "show convenience".
5264
5265 2009-09-15 Tom Tromey <tromey@redhat.com>
5266
5267 * lib/mi-support.exp (mi_create_varobj): Update.
5268 (mi_create_floating_varobj): Likewise.
5269 (mi_create_dynamic_varobj): New proc.
5270 (mi_varobj_update): Update.
5271 (mi_varobj_update_with_type_change): Likewise.
5272 (mi_varobj_update_kv_helper): New proc.
5273 (mi_varobj_update_dynamic_helper): Rewrite.
5274 (mi_varobj_update_dynamic): New proc.
5275 (mi_list_varobj_children): Update.
5276 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
5277 * gdb.python/python-prettyprint.py (pp_outer): New class.
5278 (pp_nullstr): Likewise.
5279 (lookup_function): Register new printers.
5280 * gdb.python/python-prettyprint.c (struct substruct): New type.
5281 (struct outerstruct): Likewise.
5282 (substruct_test): New function.
5283 (struct nullstr): New type.
5284 (string_1, string_2): New globals.
5285 (main): Add new tests.
5286 * gdb.python/python-mi.exp: Added regression tests.
5287 * gdb.mi/mi2-var-display.exp: Update.
5288 * gdb.mi/mi2-var-cmd.exp: Update.
5289 * gdb.mi/mi2-var-child.exp: Update.
5290 * gdb.mi/mi2-var-block.exp: Update.
5291 * gdb.mi/mi-var-invalidate.exp: Update.
5292 * gdb.mi/mi-var-display.exp: Update.
5293 * gdb.mi/mi-var-cmd.exp: Update.
5294 * gdb.mi/mi-var-child.exp: Update.
5295 * gdb.mi/mi-var-block.exp: Update.
5296 * gdb.mi/mi-break.exp: Update.
5297 * gdb.mi/gdb701.exp: Update.
5298
5299 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5300
5301 * Makefile.in: Inclusion of catch-syscall object.
5302 * gdb.base/catch-syscall.c: New file.
5303 * gdb.base/catch-syscall.exp: New file.
5304
5305 2009-09-12 Michael Snyder <msnyder@vmware.com>
5306
5307 * gdb.reverse/step-reverse.exp: Explicitly check for targets
5308 that can support reverse debuggnig.
5309
5310 2009-09-11 Tom Tromey <tromey@redhat.com>
5311
5312 * gdb.dwarf2/valop.S: New file.
5313 * gdb.dwarf2/valop.exp: New file.
5314
5315 2009-09-11 Mark Kettenis <kettenis@gnu.org>
5316
5317 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
5318
5319 2009-09-10 Doug Evans <dje@google.com>
5320
5321 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
5322 Add $gdb_prompt to second breakpoint regexp.
5323
5324 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
5325
5326 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
5327 names, add missing ones.
5328 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
5329 * gdb.python/py-frame.c: Rename from python-frame.c.
5330 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
5331 testfile name.
5332 * gdb.python/py-function.exp: Rename from python-function.exp.
5333 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
5334 testfile name.
5335 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
5336 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
5337 Adjust testfile name.
5338 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
5339 * gdb.python/py-template.cc: Rename from python-template.cc.
5340 * gdb.python/py-template.exp: Rename from python-template.exp.
5341 Adjust testfile name.
5342 * gdb.python/py-value.c: Rename from python-value.c.
5343 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
5344 testfile name.
5345
5346 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5347
5348 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
5349 $bpt2address.
5350 (Second breakpoint address is valid on ia64)
5351 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
5352
5353 2009-09-03 Joseph Myers <joseph@codesourcery.com>
5354
5355 * gdb.base/ending-run.exp: Restrict regular expression matching
5356 line number to require closing brace following.
5357
5358 2009-09-03 Doug Evans <dje@google.com>
5359
5360 * gdb.base/store.exp (check_set): Fix typo in expected value message.
5361
5362 2009-09-02 Tom Tromey <tromey@redhat.com>
5363
5364 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
5365
5366 2009-09-02 Tom Tromey <tromey@redhat.com>
5367
5368 * gdb.dwarf2/callframecfa.exp: New file.
5369 * gdb.dwarf2/callframecfa.S: New file.
5370
5371 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5372
5373 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
5374 gdb.base/solib-overlap-main.c: New.
5375
5376 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
5377
5378 PR gdb/10565
5379
5380 * gdb.base/bitfields.c (struct container, container): New.
5381 (main): Initialize it and call break5.
5382 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
5383
5384 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5385
5386 Support constant DW_AT_data_member_location by GCC PR debug/40659.
5387 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
5388
5389 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5390
5391 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
5392
5393 2009-08-26 Michael Snyder <msnyder@vmware.com>
5394
5395 * gdb.base/i386-reverse.c: New file.
5396 * gdb.base/i386-reverse.exp: New file.
5397 * gdb.base/Makefile.in: Add new files to be removed.
5398
5399 2009-08-26 Joseph Myers <joseph@codesourcery.com>
5400
5401 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
5402 environment-pwd for remote host.
5403 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
5404
5405 2009-08-24 Keith Seitz <keiths@redhat.com>
5406
5407 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
5408 Add two new C++ completer tests which limit the output to a
5409 given class.
5410
5411 2009-08-24 Michael Snyder <msnyder@vmware.com>
5412
5413 * gdb.base/del.exp: Fix typo in comment.
5414 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
5415
5416 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5417
5418 * configure: Regenerate.
5419 * gdb.hp/configure: Likewise.
5420 * gdb.hp/gdb.aCC/configure: Likewise.
5421 * gdb.hp/gdb.base-hp/configure: Likewise.
5422 * gdb.hp/gdb.compat/configure: Likewise.
5423 * gdb.hp/gdb.defects/configure: Likewise.
5424 * gdb.hp/gdb.objdbg/configure: Likewise.
5425 * gdb.stabs/configure: Likewise.
5426
5427 2009-08-19 Doug Evans <dje@google.com>
5428
5429 * gdb.base/gdbvars.c: New file.
5430 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
5431
5432 2009-08-14 Pedro Alves <pedro@codesourcery.com>
5433
5434 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5435 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
5436
5437 2009-08-13 Pedro Alves <pedro@codesourcery.com>
5438
5439 * gdb.base/default.exp: Adjust "set language test": it's now an
5440 enum command. Larger help string moved to "help set language".
5441 * gdb.base/help.exp: Adjust "help set language" expected output,
5442 now lists all known languages.
5443
5444 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
5445
5446 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
5447 all frame arguments.
5448 * gdb.arch/altivec-regs.exp: Likewise.
5449
5450 2009-08-07 Tom Tromey <tromey@redhat.com>
5451
5452 * gdb.base/setshow.exp: Add tests for changes to set language, set
5453 check range, and set check type.
5454
5455 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
5456
5457 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
5458 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
5459 Call it.
5460
5461 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5462
5463 * configure.ac: Run gdb.cell tests when appropriate.
5464 * configure: Regenerate.
5465 * lib/cell.exp: New file.
5466 * gdb.cell: New directory.
5467 * gdb.cell/configure.ac: New file.
5468 * gdb.cell/configure: New file.
5469 * gdb.cell/Makefile.in: New file.
5470 * gdb.cell/arch.exp: New file.
5471 * gdb.cell/break.c: New file.
5472 * gdb.cell/break.exp: New file.
5473 * gdb.cell/break-spu.c: New file.
5474 * gdb.cell/bt.c: New file.
5475 * gdb.cell/bt2-spu.c: New file.
5476 * gdb.cell/bt-spu.c: New file.
5477 * gdb.cell/bt.exp: New file.
5478 * gdb.cell/coremaker.c: New file.
5479 * gdb.cell/coremaker-spu.c: New file.
5480 * gdb.cell/core.exp: New file.
5481 * gdb.cell/gcore.exp: New file.
5482 * gdb.cell/data.c: New file.
5483 * gdb.cell/data.exp: New file.
5484 * gdb.cell/data-spu.c: New file.
5485 * gdb.cell/ea-cache.exp: New file.
5486 * gdb.cell/ea-cache.c: New file.
5487 * gdb.cell/ea-cache-spu.c: New file.
5488 * gdb.cell/ea-standalone.c: New file.
5489 * gdb.cell/ea-standalone.exp: New file.
5490 * gdb.cell/ea-test.c: New file.
5491 * gdb.cell/ea-test.exp: New file.
5492 * gdb.cell/f-regs.exp: New file.
5493 * gdb.cell/mem-access.c: New file.
5494 * gdb.cell/mem-access.exp: New file.
5495 * gdb.cell/mem-access-spu.c: New file.
5496 * gdb.cell/ptype.exp: New file.
5497 * gdb.cell/registers.exp: New file.
5498 * gdb.cell/size.c: New file.
5499 * gdb.cell/sizeof.exp: New file.
5500 * gdb.cell/size-spu.c: New file.
5501 * gdb.cell/solib.exp: New file.
5502 * gdb.cell/solib-symbol.exp: New file.
5503
5504 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5505
5506 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
5507
5508 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5509
5510 * gdb.base/float.exp: Handle VFP registers.
5511
5512 2009-07-14 Michael Snyder <msnyder@vmware.com>
5513
5514 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
5515 to bring gdb to the beginning of the calling line.
5516
5517 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
5518 confusing the i386 epilogue unwinder.
5519
5520 2009-07-14 Stan Shebs <stan@codesourcery.com>
5521
5522 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
5523
5524 2009-07-14 Michael Snyder <msnyder@vmware.com>
5525
5526 * gdb.reverse/step-reverse.exp (stepi into function call):
5527 Call instruction may not be first instruction in the line.
5528 (reverse stepi from a function call): Used wrong line number.
5529
5530 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5531
5532 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
5533
5534 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5535
5536 Fix gdb.base/macscp.exp when using custom inputrc.
5537 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
5538 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
5539 env(TERM) set.
5540 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
5541 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
5542
5543 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5544
5545 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
5546 * gdb.base/annota1.exp (thread_test): Import global $testfile.
5547 Change the compilation target to match the testcase name.
5548 * gdb.base/sect-cmd.exp: Change the compilation target to match the
5549 testcase name.
5550 * a2-run.exp: Use for setup prepare_for_testing. Change the
5551 compilation target to match the testcase name.
5552 * gdb.base/commands.exp: Likewise.
5553 * gdb.base/finish.exp: Likewise.
5554 * gdb.base/float.exp: Likewise.
5555 * gdb.base/info-target.exp: Likewise.
5556 * gdb.base/relational.exp: Likewise.
5557 * gdb.base/term.exp: Likewise.
5558 * gdb.base/until.exp: Likewise.
5559 * gdb.base/volatile.exp: Likewise.
5560 * gdb.base/whatis-exp.exp: Likewise.
5561
5562 2009-07-11 Hui Zhu <teawater@gmail.com>
5563
5564 * gdb.base/help.exp (disassemble): Update expected help text.
5565
5566 2009-07-09 Tom Tromey <tromey@redhat.com>
5567
5568 * lib/gdb.exp: Handle TRANSCRIPT.
5569 (remote_spawn, remote_close, send_gdb): New procs.
5570
5571 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
5572
5573 * gdb.python/python-prettyprint.c: Add counted null string
5574 structure.
5575 * gdb.python/python-prettyprint.exp: Print null string. Test for
5576 embedded nulls.
5577 * gdb.python/python-prettyprint.py (pp_ns): New Function.
5578 * gdb.python/python-value.exp (test_value_in_inferior): Add
5579 variable length string fetch tests.
5580 * gdb.python/python-value.c (main): Add strings for string fetch tests.
5581
5582 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5583
5584 * gdb.base/dump.exp (inaccessible memory is reported): New test.
5585
5586 2009-07-07 Tom Tromey <tromey@redhat.com>
5587
5588 * gdb.base/call-rt-st.exp: Update for change to escape output.
5589 * gdb.base/callfuncs.exp: Likewise.
5590 * gdb.base/charset.exp: Likewise.
5591 * gdb.base/constvars.exp: Likewise.
5592 * gdb.base/long_long.exp: Likewise.
5593 * gdb.base/pointers.exp: Likewise.
5594 * gdb.base/printcmds.exp: Likewise.
5595 * gdb.base/setvar.exp: Likewise.
5596 * gdb.base/store.exp: Likewise.
5597 * gdb.cp/ref-types.exp: Likewise.
5598 * gdb.mi/mi-var-child.exp: Likewise.
5599 * gdb.mi/mi-var-display.exp: Likewise.
5600 * gdb.mi/mi2-var-display.exp: Likewise.
5601 * gdb.base/charset.exp: Test octal escape sequence length.
5602 Update for change to escape output.
5603
5604 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5605
5606 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
5607
5608 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
5609
5610 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
5611
5612 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5613
5614 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
5615 gdbserver increasing $portnum if "Can't bind address" has been seen.
5616
5617 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5618
5619 * gdb.base/ending-run.exp: Add "step out of main" pattern for
5620 mingw32ce.
5621
5622 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5623
5624 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
5625 VFP format.
5626
5627 2009-07-02 Pedro Alves <pedro@codesourcery.com>
5628
5629 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
5630 linux. Adjust to use "inferior", "info inferiors", "detach
5631 inferior" and "kill inferior" instead of "restart", "info fork",
5632 "detach fork" and "delete fork".
5633 * gdb.base/ending-run.exp: Spell out "info".
5634 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
5635 the "kill" command.
5636
5637 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5638
5639 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
5640 change to prefix TLS offset in hex with 0x.
5641
5642 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5643
5644 * gdb.base/default.exp: Update test case for "x" changes.
5645
5646 2009-07-01 Tristan Gingold <gingold@adacore.com>
5647
5648 * gdb.base/bigcore.exp: Make darwin untested.
5649
5650 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5651
5652 * gdb.base/completion.exp (directory completion): Create the directory.
5653 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
5654 escapeuniquesub.
5655 (directory completion 2): Expect now ${escapeuniquesub}.
5656 (Glob remaining of directory test): Remove one excessive newline.
5657 Expect the real output.
5658
5659 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5660
5661 Fix `make check//%' target after `make check' has been ran.
5662 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
5663 a mkdir call.
5664 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
5665 (%/.dir): Remove.
5666
5667 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5668
5669 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
5670 the expected result record.
5671
5672 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5673
5674 Remove racy FAILs relying just on the timeouts.
5675 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
5676 (annotation_level 2): Remove racy FAILs.
5677
5678 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
5679
5680 gdb/10275
5681 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
5682
5683 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
5684
5685 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
5686
5687 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
5688
5689 * gdb.mi/mi-stack.exp: Testing symbolic options
5690 to -stack-list-locals and -stack-list-arguments.
5691
5692 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5693
5694 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
5695
5696 2009-06-29 Tom Tromey <tromey@redhat.com>
5697
5698 * dg-extract-results.sh: New file.
5699 * Makefile.in (FORCE_PARALLEL): New variable.
5700 (CHECK_TARGET): New conditional variable.
5701 (check): Use CHECK_TARGET.
5702 (DO_RUNTEST): New variable.
5703 (check-single): New target.
5704 (TEST_DIRS): New variable.
5705 (TEST_TARGETS): Likewise.
5706 (check-parallel): New target.
5707 (check-gdb.%): New pattern.
5708 (BASE1_FILES): New variable.
5709 (BASE2_FILES): Likewise.
5710 (check-gdb.base%): New pattern.
5711 (%/.dir): New pattern.
5712 * configure: Rebuild.
5713 * aclocal.m4 (AM_CONDITIONAL): New defun.
5714 * configure.ac: Check whether user is using GNU make.
5715 (GMAKE): New conditional.
5716
5717 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
5718
5719 * gdb.cp/namespace-nested-import.cc: New test.
5720 * gdb.cp/namespace-nested-import.exp: New test.
5721
5722 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
5723
5724 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
5725 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
5726 * gdb.opt/Makefile.in (EXECUTABLES): Update.
5727 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
5728 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
5729 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
5730 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
5731 gdb.opt/inline-markers.c: New files.
5732 * lib/gdb.exp (skip_inline_frame_tests): New function.
5733 (skip_inline_var_tests): New function.
5734
5735 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
5736
5737 * gdb.cp/exception.exp: Don't require $hex before inner frame in
5738 backtrace.
5739
5740 2009-06-27 Michael Snyder <msnyder@vmware.com>
5741
5742 * gdb.reverse: New directory.
5743 * gdb.reverse/break-reverse.c: New test.
5744 * gdb.reverse/break-reverse.exp: New test.
5745 * gdb.reverse/consecutive-reverse.c: New test.
5746 * gdb.reverse/consecutive-reverse.exp: New test.
5747 * gdb.reverse/finish-reverse.c: New test.
5748 * gdb.reverse/finish-reverse.exp: New test.
5749 * gdb.reverse/machinestate.c: New test.
5750 * gdb.reverse/ms1.c: New test.
5751 * gdb.reverse/machinestate.exp: New test.
5752 * gdb.reverse/Makefile.in: New file.
5753 * gdb.reverse/shr2.c: New test.
5754 * gdb.reverse/solib-reverse.c: New test.
5755 * gdb.reverse/solib-reverse.exp: New test.
5756 * gdb.reverse/step-reverse.c: New test.
5757 * gdb.reverse/step-reverse.exp: New test.
5758 * gdb.reverse/until-reverse.c: New test.
5759 * gdb.reverse/ur1.c: New test.
5760 * gdb.reverse/until-reverse.exp: New test.
5761 * gdb.reverse/watch-reverse.c: New test.
5762 * gdb.reverse/watch-reverse.exp: New test.
5763 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
5764 * configure: Regenerate.
5765
5766 2009-06-26 Doug Evans <dje@google.com>
5767
5768 * gdb.base/psymtab.exp: Turn off pending breakpoints.
5769
5770 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
5771
5772 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
5773 windows problem for 'file delete $binfile'.
5774
5775 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
5776
5777 * gdb.cp/namespace-using.exp: New test.
5778 * gdb.cp/namespace-using.cc: New test.
5779
5780 2009-05-20 Joel Brobecker <brobecker@adacore.com>
5781
5782 * gdb.ada/variant_record_packed_array: New testcase.
5783
5784 2009-06-23 Tom Tromey <tromey@redhat.com>
5785
5786 * gdb.base/charset.exp (test_combination): Regression test.
5787 * gdb.base/charset.c (my_wchar_t): New typedef.
5788 (myvar): New global.
5789 (main): Set myvar.
5790
5791 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
5792
5793 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
5794 target.
5795
5796 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5797
5798 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
5799
5800 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5801
5802 * gdb.mi/gdb680.exp: Update test for error message.
5803
5804 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5805
5806 * gdb.base/annota1.exp: Allow multiple occurrences of the
5807 frames-invalid annotation.
5808 * gdb.cp/annota2.exp: Likewise.
5809
5810 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
5811
5812 * gdb.cp/gdb2495.cc: New file.
5813 * gdb.cp/gdb2495.exp: New file.
5814
5815 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5816
5817 Report error on GDB crash during runto.
5818 * lib/gdb.exp (runto <eof>): New.
5819
5820 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
5821
5822 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
5823 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
5824 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
5825 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
5826 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
5827 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
5828 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
5829 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
5830 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
5831 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
5832 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
5833 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
5834 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
5835 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
5836 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
5837 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
5838 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
5839 gdb.server/server-mon.exp, gdb.server/server-run.exp,
5840 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5841 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5842 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
5843 gdb.trace/passcount.exp, gdb.trace/report.exp,
5844 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
5845 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
5846 gdb.trace/while-stepping.exp: Use a unique name for the compiled
5847 executable.
5848
5849 2009-06-07 Pedro Alves <pedro@codesourcery.com>
5850
5851 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
5852 defined before referencing it.
5853
5854 2009-06-03 Doug Evans <dje@google.com>
5855
5856 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
5857 * gdb.arch/i386-see.c: Ditto.
5858
5859 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
5860
5861 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
5862 (check_macro): Return 1 if undefined.
5863 If first test fails, check if macro debug information is available,
5864 and report unsupported test if no macro information is found.
5865
5866 2009-05-29 Doug Evans <dje@google.com>
5867
5868 * gdb.threads/hand-call-in-threads.exp: New.
5869 * gdb.threads/hand-call-in-threads.c: New.
5870
5871 2009-05-29 Michael Snyder <msnyder@vmware.com>
5872
5873 * gdb.base/break-always.exp: Change "1" to "on".
5874 Add confirmation check.
5875
5876 2009-05-28 Pedro Alves <pedro@codesourcery.com>
5877
5878 * gdb.threads/threxit-hop-specific.c: New.
5879 * gdb.threads/threxit-hop-specific.exp: New.
5880 * gdb.threads/thread-execl.c: New.
5881 * gdb.threads/thread-execl.exp: New.
5882
5883 2009-05-27 Tom Tromey <tromey@redhat.com>
5884 Thiago Jung Bauermann <bauerman@br.ibm.com>
5885
5886 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
5887 (mi_child_regexp): Likewise.
5888 (mi_list_varobj_children_range): Likewise.
5889 (mi_get_features): Likewise.
5890 (mi_list_varobj_children): Rewrite.
5891 * gdb.python/python-mi.exp: New file.
5892
5893 2009-05-27 Tom Tromey <tromey@redhat.com>
5894 Thiago Jung Bauermann <bauerman@br.ibm.com>
5895 Phil Muldoon <pmuldoon@redhat.com>
5896 Paul Pluzhnikov <ppluzhnikov@google.com>
5897
5898 * gdb.python/python-prettyprint.exp: New file.
5899 * gdb.python/python-prettyprint.c: New file.
5900 * gdb.python/python-prettyprint.py: New file.
5901 * gdb.base/display.exp: print/r is now valid.
5902
5903 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
5904 Tom Tromey <tromey@redhat.com>
5905 Pedro Alves <pedro@codesourcery.com>
5906 Paul Pluzhnikov <ppluzhnikov@google.com>
5907
5908 * gdb.python/python-template.exp: New file.
5909 * gdb.python/python-template.cc: New file.
5910 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5911 tests.
5912 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5913 Call it.
5914 (test_value_after_death): New proc.
5915 * gdb.python/python-value.c (PTR): New typedef.
5916 (main): New variable 'x'.
5917
5918 2009-05-27 Tom Tromey <tromey@redhat.com>
5919
5920 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5921 tests.
5922 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5923 Call it.
5924
5925 2009-05-27 Pedro Alves <pedro@codesourcery.com>
5926
5927 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
5928
5929 2009-05-24 Pedro Alves <pedro@codesourcery.com>
5930
5931 * gdb.threads/fork-thread-pending.c: New.
5932 * gdb.threads/fork-thread-pending.exp: New.
5933
5934 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5935
5936 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
5937 * gdb.dwarf2/dw2-strp.S (a_string2): New.
5938
5939 2009-05-18 Jon Beniston <jon@beniston.com>
5940
5941 * gdb.asm/asm-source.exp: Add lm32 target.
5942
5943 2009-05-17 Pedro Alves <pedro@codesourcery.com>
5944
5945 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
5946 `gdb_get_line_number'. Call `callee' in both parent and child.
5947 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
5948 `gdb_get_line_number' instead of hardcoding line numbers.
5949 (catch_fork_unpatch_child): New procedure to test detaching
5950 breakpoints from child fork.
5951 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
5952 hardcoding line numbers.
5953 (do_fork_tests): Run `catch_fork_unpatch_child'.
5954
5955 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
5956
5957 * gdb.mi/mi-cmd-var.exp: Check that when varobj
5958 of structure type enters or leaves the scope, it
5959 is reported by -var-update.
5960
5961 2009-05-11 Doug Evans <dje@sebabeach.org>
5962
5963 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
5964 * gdb.threads/pending-step.c (main): Fix off-by-one error.
5965 * gdb.threads/schedlock.c (main): Fix off-by-one error.
5966
5967 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5968
5969 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
5970
5971 2009-04-30 Doug Evans <dje@google.com>
5972
5973 * gdb.threads/watchthreads2.exp: New testcase.
5974 * gdb.threads/watchthreads2.c: New testcase.
5975
5976 2009-04-29 Doug Evans <dje@google.com>
5977
5978 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
5979 * gdb.cp/mb-ctor.cc: Ditto.
5980 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
5981 * gdb.cp/mb-inline.h (multi_line_foo): New function.
5982 * gdb.cp/mb-inline1.cc: Call it.
5983 * gdb.cp/mb-inline2.cc: Ditto.
5984 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
5985 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
5986
5987 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5988
5989 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
5990 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
5991 Replace all uses of `decimal' by `nonzero'.
5992 (info macro FROM_COMMANDLINE): New test.
5993
5994 2009-04-27 Tom Tromey <tromey@redhat.com>
5995
5996 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
5997
5998 2009-04-27 Doug Evans <dje@google.com>
5999
6000 * gdb.threads/watchthreads.c (main): Initialize args before starting
6001 the threads. Plus formatting cleanup.
6002 * gdb.threads/watchthreads.exp: Avoid errant failures due to
6003 biased scheduling of one thread.
6004
6005 2009-04-27 Jerome Guitton <guitton@adacore.com>
6006
6007 * gdb.cp/templates.cc (GetMax): New template.
6008 (main): Declare two instances of GetMax.
6009 * gdb.cp/templates.exp: Add new test.
6010
6011 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6012
6013 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
6014
6015 2009-04-22 Joseph Myers <joseph@codesourcery.com>
6016
6017 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
6018
6019 2009-04-15 Tom Tromey <tromey@redhat.com>
6020
6021 * gdb.base/charset.exp: Add regression test.
6022
6023 2009-04-14 Joel Brobecker <brobecker@adacore.com>
6024
6025 * gdb.base/exe-lock.exp: New testcase.
6026
6027 2009-04-13 Tom Tromey <tromey@redhat.com>
6028
6029 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
6030 operator on Frame.
6031
6032 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6033
6034 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
6035 * gdb.server/ext-attach.exp: Likewise.
6036
6037 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
6038
6039 Eliminate some sleep usage.
6040
6041 * gdb.mi/basics.c (do_nothing): New.
6042 (main): Use do_nothing instead of printf, so that
6043 not to introduce race condition between output of
6044 inferiour and output of gdb. Do not use sleep as it
6045 is not generally available on embedded targets.
6046
6047 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6048
6049 * gdb.server/ext-attach.exp: Expect an optional process id after
6050 "Detached from remote process".
6051
6052 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6053
6054 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
6055 gdb.dwarf2/dw2-unresolved.exp: New.
6056
6057 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6058
6059 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
6060 mi_run_to_main.
6061
6062 2009-04-02 Pedro Alves <pedro@codesourcery.com>
6063
6064 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
6065 mi_run_to_main. Skip thread exit test on remote targets.
6066 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
6067 mi_run_to_main.
6068 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
6069 mi_run_to_main.
6070 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
6071 when expecting ^connected. Detect when the target doesn't support
6072 non-stop mode.
6073 (mi_run_cmd): Detect if non-stop mode was requested by isn't
6074 supported. Return -1 on error, 0 on success.
6075 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
6076 (mi_runto): Return mi_runto_helper's result explicitly.
6077
6078 2009-04-01 Pedro Alves <pedro@codesourcery.com>
6079
6080 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
6081
6082 2009-04-01 Tom Tromey <tromey@redhat.com>
6083
6084 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
6085 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
6086 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
6087 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
6088
6089 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
6090 Jan Kratochvil <jan.kratochvil@redhat.com>
6091
6092 PR gdb/931
6093 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
6094 output.
6095 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
6096 for gdb/931.
6097 * dw2-strp.S (DW_AT_language): Change to C++.
6098 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
6099
6100 2009-03-31 Joel Brobecker <brobecker@adacore.com>
6101
6102 * gdb.ada/tasks: New testcase.
6103
6104 2009-03-30 Stan Shebs <stan@codesourcery.com>
6105
6106 * gdb.trace/actions.exp: Update to match new info trace format.
6107 * gdb.trace/deltrace.exp: Ditto.
6108 * gdb.trace/infotrace.exp: Ditto.
6109 * gdb.trace/passcount.exp: Ditto.
6110 * gdb.trace/save-trace.exp: Ditto.
6111 * gdb.trace/while-stepping.exp: Ditto.
6112 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
6113
6114 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6115
6116 * gdb.python/python-frame.c: New file.
6117 * gdb.python/python-frame.exp: New file.
6118
6119 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
6120
6121 * gdb.python/python-value.exp: Add tests for the address
6122 attribute.
6123
6124 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
6125
6126 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
6127
6128 2009-03-26 Doug Evans <dje@google.com>
6129
6130 * gdb.mi/mi-nonstop-exit.exp: New file.
6131 * gdb.mi/non-stop-exit.c: New file.
6132
6133 2009-03-26 Tom Tromey <tromey@redhat.com>
6134
6135 Update for change to prologue skipping:
6136 * gdb.mi/mi2-simplerun.exp: Update.
6137 * gdb.mi/mi2-break.exp: Update.
6138 * gdb.mi/mi-simplerun.exp: Update.
6139 * gdb.mi/mi-break.exp: Update.
6140 * gdb.base/ending-run.exp: Update.
6141
6142 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
6143
6144 * gdb.python/python-value.exp (test_value_in_inferior): Test
6145 gdb.Value.is_optimized_out attribute.
6146
6147 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6148
6149 * gdb.dwarf2/dw2-noloc-main.c: New file.
6150 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
6151 (.text): Remove.
6152 (.data): New.
6153 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
6154 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
6155 (DW_TAG_subprogram func_cu1, noloc): Remove.
6156 (main): New.
6157 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6158 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6159 (file_symbols): New procedure.
6160
6161 2009-03-25 Tom Tromey <tromey@redhat.com>
6162
6163 * gdb.base/charset.exp (valid_target_charset): New proc.
6164 Use it to skip tests on invalid charsets.
6165
6166 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6167
6168 * gdb.base/completion.exp: Add a test for directory completion.
6169
6170 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6171
6172 Fix a racy FAIL.
6173 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6174 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6175
6176 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6177
6178 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6179 * gdb.python/python-function.exp: Add test for function returning
6180 a GDB value.
6181
6182 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6183
6184 * gdb.python/python-function.exp: New file.
6185
6186 2009-03-20 Tom Tromey <tromey@redhat.com>
6187
6188 * gdb.base/store.exp: Update for change to escape output.
6189 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6190 to escape output.
6191 * gdb.base/pointers.exp: Update for change to escape output.
6192 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6193 to escape output.
6194 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6195 escape output.
6196 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6197 to escape output.
6198 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6199 escape output.
6200 * gdb.base/setvar.exp: Update for change to escape output.
6201 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6202 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6203 to escape output.
6204 (test_print_string_constants): Likewise.
6205 * gdb.base/charset.exp (valid_host_charset): Check size of
6206 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
6207 cases. Handle "auto"-related output.
6208 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
6209 (uvar, Uvar): New globals.
6210
6211 2009-03-19 Jerome Guitton <guitton@adacore.com>
6212
6213 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
6214 deltas.
6215 * gdb.ada/fixed_points.exp: Ditto.
6216
6217 2009-03-18 Pedro Alves <pedro@codesourcery.com>
6218
6219 * return-nodebug.c: Don't include stdio.h.
6220 (init): Delete.
6221 (func): Delete definition and provide extern declaration.
6222 (t): New.
6223 (main): Don't call printf. Call func and store its result in t.
6224 * return-nodebug1.c: New.
6225 * return-nodebug.exp: Don't expect stdio output. Instead, print
6226 the global variable t. Drop printf formatters and cast types from
6227 foreach loop. Don't use prepare_for_testing. Compile
6228 return-nodebug.c and return-nodebug1.c in separate steps. Don't
6229 define FORMAT or CAST.
6230
6231 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6232
6233 * gdb.base/solib-display.exp: Disable test for remote targers.
6234
6235 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6236
6237 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
6238
6239 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6240
6241 Fix a racy FAIL.
6242 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
6243 code from `follow parent, print pids'.
6244 (`follow child, print pids', `follow parent, print pids'): Call it.
6245 Replace `gdb_test "break..."' by gdb_breakpoint.
6246
6247 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
6248
6249 * gdb.mi/mi-cli.exp: Adjust for output difference in
6250 sync and async modes.
6251
6252 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6253
6254 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
6255 that was checked in by mistake. Remove loading of ada.exp, since
6256 this is not necessary in this case.
6257
6258 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6259
6260 * gdb.ada/ptype_arith_binop.exp: New testcase.
6261
6262 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6263
6264 * gdb.ada/mod_from_name: New testcase.
6265
6266 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6267
6268 * gdb.ada/tick_last_segv: New testcase.
6269
6270 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6271
6272 * gdb.mi/mi-cli.exp: Remove debug print.
6273
6274 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6275
6276 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
6277 include the token in ^running and frame info in *stopped.
6278
6279 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6280
6281 * solib-display.exp: New file.
6282 * solib-display-main.c: New file.
6283 * solib-display-lib.c: New file.
6284
6285 2009-03-05 Pedro Alves <pedro@codesourcery.com>
6286
6287 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
6288
6289 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6290
6291 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
6292 (list_and_check_macro): Use more specific test name.
6293 (next to definition): Make the test names unique.
6294
6295 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
6296
6297 * gdb.pascal/floats.exp: Accept approximate results everywhere.
6298
6299 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6300
6301 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
6302 notifications.
6303 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
6304 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
6305 * lib/mi-support.exp (library_loaded_re): New.
6306 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
6307
6308 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6309
6310 * gdb.gdb/observer.exp: Use test_notification observer, not
6311 normal_stop, everywhere.
6312 (test_normal_stop_notifications): Rename to...
6313 (test_notifications): ...this.
6314 (test_observer_normal_stop): Rename to...
6315 (test_observer): ...this.
6316
6317 2009-02-16 Doug Evans <dje@google.com>
6318
6319 * gdb.arch/amd64-disp-step.S (test_int3): New test.
6320 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
6321 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
6322 (test_prefixed_syscall,test_int3): New tests.
6323 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
6324 (test_prefixed_syscall,test_int3): New tests.
6325
6326 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
6327
6328 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
6329 (mi_expect_interrupt): Likewise.
6330 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
6331 response.
6332
6333 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6334
6335 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
6336 * gdb.base/pc-fp.exp (get_valueofx): Remove.
6337 Replace calls to get_valueofx by get_hexadecimal_valueof.
6338
6339 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6340
6341 * lib/gdb.exp (get_valueof): Accept anything as a return value.
6342 (get_integer_valueof): New procedure.
6343 (get_sizeof): Use new get_integer_value_of.
6344 * gdb.base/sizeof.exp: Replace all uses of get_valueof
6345 by get_integer_valueof.
6346
6347 2009-02-13 Tom Tromey <tromey@redhat.com>
6348
6349 * gdb.base/remote.exp (get_sizeof): Remove.
6350 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
6351 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
6352 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
6353 * lib/gdb.exp (get_valueof): Move from long_long.exp.
6354 (get_sizeof): Likewise.
6355
6356 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6357
6358 PR fortran/9806
6359 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
6360
6361 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6362
6363 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
6364
6365 2009-02-06 Pedro Alves <pedro@codesourcery.com>
6366
6367 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
6368
6369 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6370
6371 * gdb.python/python-cmd.exp: New file.
6372
6373 2009-02-06 Tristan Gingold <gingold@adacore.com>
6374
6375 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
6376
6377 2009-02-05 Tristan Gingold <gingold@adacore.com>
6378
6379 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
6380 pointer is dereferenced and use this signal name in regexp.
6381 * gdb.base/signull.exp: Ditto.
6382 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
6383 * gdb.base/signull.c (main): Ditto.
6384
6385 2009-02-04 Tom Tromey <tromey@redhat.com>
6386 Thiago Jung Bauermann <bauerman@br.ibm.com>
6387
6388 * gdb.python/python-value.exp: Use `gdb.history' instead of
6389 `gdb.value_from_history'.
6390 (test_value_numeric_ops): Add test for conversion of enum constant.
6391 * gdb.python/python-value.c (enum e): New type.
6392 (evalue): New global.
6393 (main): Use argv.
6394
6395 2009-02-04 Jerome Guitton <guitton@adacore.com>
6396
6397 * gdb.ada/uninitialized_vars: New test program.
6398 * gdb.ada/uninitialized_vars.exp: New testcase.
6399
6400 2009-02-02 Tom Tromey <tromey@redhat.com>
6401
6402 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
6403 * gdb.cp/pr2489.cc: Rename...
6404 * gdb.cp/pr9594.cc: ... to this.
6405
6406 2009-02-02 Tom Tromey <tromey@redhat.com>
6407
6408 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
6409 * gdb.cp/pr2489.cc: New file.
6410 * gdb.cp/cpcompletion.exp: New file.
6411
6412 2009-02-02 Tom Tromey <tromey@redhat.com>
6413
6414 PR exp/9059:
6415 * gdb.cp/call-c.exp: Add regression test.
6416 * gdb.cp/call-c.cc (FooHandle): New typedef.
6417 (main): New variable 'handle'.
6418
6419 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6420
6421 * lib/mi-support.exp (et_mi_thread_list)
6422 (check_mi_and_console_threads): Adjust for current thread in
6423 -thread-list-ids output.
6424
6425 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6426
6427 * gdb.mi/mi-break.exp (test_disabled_creation): New.
6428 Call it.
6429
6430 2009-01-28 Doug Evans <dje@google.com>
6431
6432 * gdb.arch/amd64-disp-step.S: New file.
6433 * gdb.arch/amd64-disp-step.exp: New file.
6434 * gdb.arch/i386-disp-step.S: New file.
6435 * gdb.arch/i386-disp-step.exp: New file.
6436
6437 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
6438
6439 * gdb.base/find.exp: Set newline variable
6440 using quotes instead of braces to fix cygwin failures.
6441
6442 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6443
6444 * gdb.base/radix.exp: Add tests to ensure that that set
6445 input-radix 0 and set output-radix 0 are really rejected.
6446
6447 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6448
6449 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
6450 copyright years.
6451
6452 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6453
6454 PR gdb/9664:
6455 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
6456
6457 2009-01-22 Pedro Alves <pedro@codesourcery.com>
6458
6459 PR c++/9631:
6460 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
6461
6462 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
6463
6464 * gdb.server/file-transfer.exp: Use EXEEXT variable for
6465 binfile definition to fix Windows OS failure.
6466
6467 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6468
6469 PR gdb/9346
6470 * gdb.base/interrupt.c (sigint_handler): New.
6471 (main): Install a SIGINT handler if SIGNALS is defined. Exit
6472 on error.
6473 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
6474 Test "signal SIGINT".
6475
6476 2009-01-19 Doug Evans <dje@google.com>
6477
6478 * gdb.base/break.exp: Update expected gdb output.
6479 * gdb.base/sepdebug.exp: Ditto.
6480 * gdb.mi/mi-syn-frame.exp: Ditto.
6481 * gdb.mi/mi2-syn-frame.exp: Ditto.
6482 * gdb.base/call-signal-resume.exp: New file.
6483 * gdb.base/call-signals.c: New file.
6484 * gdb.base/unwindonsignal.exp: New file.
6485 * gdb.base/unwindonsignal.c: New file.
6486 * gdb.threads/interrupted-hand-call.exp: New file.
6487 * gdb.threads/interrupted-hand-call.c: New file.
6488 * gdb.threads/thread-unwindonsignal.exp: New file.
6489
6490 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
6491
6492 * gdb.base/define.exp: Test defining and hooking prefix commands.
6493 * gdb.python/python.exp: Update test for "show user" output.
6494
6495 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6496
6497 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
6498 now the output exactly, using less wildcards. Expect also the output
6499 of gfortran-4.3. Update for the f-valprint.c modification from
6500 2008-04-22.
6501 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
6502 Remove gdb_test test names where matching the command.
6503
6504 2009-01-01 Pedro Alves <pedro@codesourcery.com>
6505
6506 PR breakpoints/9681:
6507 * gdb.base/watchpoint.exp: Add regression test.
6508
6509 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6510
6511 * gdb.threads/attach-into-signal.exp: Don't use
6512 gdb_suppress_entire_file.
6513 * gdb.threads/attach-stopped.exp: Ditto.
6514 * gdb.threads/attachstop-mt.exp: Ditto.
6515
6516 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6517
6518 PR gdb/8812:
6519 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
6520
6521 2008-12-29 Pedro Alves <pedro@codesourcery.com>
6522
6523 PR gdb/7536:
6524 * gdb.base/radix.exp: Add tests to ensure invalid input radices
6525 and unsupported output radices are really rejected.
6526
6527 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6528
6529 * gdb.cp/punctuator.exp: Backslash the '$' signs.
6530
6531 2008-12-22 Tom Tromey <tromey@redhat.com>
6532
6533 * gdb.cp/punctuator.exp: New file.
6534
6535 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6536
6537 * gdb.base/completion.exp (Completing non-existing component): New test.
6538
6539 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6540
6541 Fix for PR gdb/8648.
6542 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
6543 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
6544 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
6545 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
6546
6547 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6548
6549 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
6550
6551 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
6552
6553 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
6554 compiler actually generate code at the expected line number.
6555
6556 2008-12-15 Jie Zhang <jie.zhang@analog.com>
6557
6558 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
6559
6560 2008-12-12 Tom Tromey <tromey@redhat.com>
6561
6562 * gdb.base/commands.exp (redefine_hook_test): New proc.
6563 Call it.
6564
6565 2008-12-11 Tom Tromey <tromey@redhat.com>
6566
6567 * gdb.base/macscp.exp: New regression test.
6568
6569 2008-12-11 Tom Tromey <tromey@redhat.com>
6570
6571 * gdb.base/macscp.exp: Print "address.addr".
6572 * gdb.base/macscp1.c (struct outer): New struct.
6573 (address): New global.
6574
6575 2008-12-09 Tom Tromey <tromey@redhat.com>
6576
6577 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
6578 Call it.
6579
6580 2008-12-04 Doug Evans <dje@google.com>
6581
6582 * gdb.server/ext-run.exp: Relax regexp for init program.
6583
6584 2008-12-03 Tristan Gingold <gingold@adacore.com>
6585
6586 * gdb.base/macscp.exp: Generate an object file during compilation
6587 to work around Darwin dsymutil limitations.
6588
6589 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6590
6591 Test resolving external references to TLS variables.
6592 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
6593 FILE2_THREAD_LOCAL.
6594 (testfile2, srcfile2): New variables.
6595 * gdb.threads/tls.c (file2_thread_local)
6596 (function_referencing_file2_thread_local): New.
6597 * gdb.threads/tls2.c: New file.
6598
6599 2008-11-28 Joel Brobecker <brobecker@adacore.com>
6600
6601 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
6602 rather than integer, as integer might not be big enough when
6603 on 64bit targets.
6604
6605 2008-11-27 Jerome Guitton <guitton@adacore.com>
6606
6607 * gdb.cp/formatted-ref.exp: Add equality test.
6608 * gdb.ada/formatted_ref.exp: Ditto.
6609
6610 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6611
6612 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
6613 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
6614
6615 2008-11-20 Andreas Schwab <schwab@suse.de>
6616
6617 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
6618 matching syscall entry point.
6619 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6620 (tcatch_vfork_then_child_follow): Likewise. Finish through
6621 vfork even if we stopped at the syscall trampoline.
6622
6623 2008-11-20 Doug Evans <dje@google.com>
6624
6625 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
6626
6627 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
6628
6629 * gdb.arch/ppc-dfp.exp: New file.
6630 * gdb.arch/ppc-dfp.c: New file.
6631
6632 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6633
6634 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
6635
6636 2008-11-17 Doug Evans <dje@google.com>
6637
6638 * gdb.mi/mi-syn-frame.exp: Update expected output.
6639 * gdb.mi/mi2-syn-frame.exp: Update expected output.
6640
6641 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6642
6643 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
6644 "thread N" results in =thread-selected.
6645 * lib/mi-support (mi_run_cmd, mi_expect_stop)
6646 (mi_send_resuming_command_raw): Be prepared for
6647 =thread-selected.
6648
6649 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6650
6651 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
6652 * lib/mi-support.exp: Likewise.
6653
6654 2008-11-16 Joel Brobecker <brobecker@adacore.com>
6655
6656 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
6657 commands from the expected output for "help catch".
6658
6659 2008-11-15 Joel Brobecker <brobecker@adacore.com>
6660
6661 * gdb.ada/int_deref.exp: New testcase.
6662
6663 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
6664
6665 * gdb.mi/gdb2549.exp: New file.
6666
6667 2008-11-11 Doug Evans <dje@google.com>
6668
6669 * gdb.base/callexit.exp: New file.
6670 * gdb.base/callexit.c: New file.
6671
6672 2008-11-10 Doug Evans <dje@google.com>
6673
6674 * lib/gdb.exp (GDBFLAGS): Move -nx ...
6675 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
6676 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
6677 (default_gdb_start,default_gdb_exit): Ditto.
6678 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
6679 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
6680 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
6681 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
6682 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
6683 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
6684
6685 2008-11-03 Andreas Schwab <schwab@suse.de>
6686
6687 * gdb.base/hashline2.exp: Fix typo.
6688 * gdb.base/hashline3.exp: Likewise.
6689
6690 2008-10-30 Tom Tromey <tromey@redhat.com>
6691
6692 * gdb.base/pointers.exp: Add test.
6693 * gdb.base/pointers.c (k, S): New typedefs.
6694 (instance): New global.
6695
6696 2008-10-30 Andreas Schwab <schwab@suse.de>
6697
6698 * gdb.base/args.exp: Add tests for newlines.
6699
6700 2008-10-30 Joel Brobecker <brobecker@adacore.com>
6701
6702 gdb.base/foll-exec.exp: Update the expected output of a couple
6703 of "info breakpoints" tests.
6704
6705 2008-10-28 Tom Tromey <tromey@redhat.com>
6706
6707 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
6708
6709 2008-10-24 Pedro Alves <pedro@codesourcery.com>
6710
6711 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
6712 gdb_start_cmd.
6713 Use runto_main before any test that requires execution.
6714
6715 2008-10-23 Pedro Alves <pedro@codesourcery.com>
6716
6717 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
6718 instead of SIGINT.
6719
6720 2008-10-22 Joel Brobecker <brobecker@adacore.com>
6721
6722 * gdb.base/completion.exp: Update expected output following
6723 the addition of the "info tasks" command.
6724
6725 2008-10-22 Tom Tromey <tromey@redhat.com>
6726
6727 * gdb.base/exprs.exp (test_expr): Add test for string
6728 concatenation.
6729
6730 2008-10-19 Pedro Alves <pedro@codesourcery.com>
6731
6732 * configure.ac: Output gdb.python/Makefile.
6733 * configure: Regenerate.
6734 * gdb.python/Makefile.in: New.
6735
6736 2008-10-16 Joel Brobecker <brobecker@adacore.com>
6737
6738 * gdb.base/foll-fork.exp: Adjust the expected output to match
6739 the new description for fork/vfork catchpoints in the "info
6740 breakpoints" output.
6741
6742 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6743
6744 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
6745
6746 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6747
6748 * gdb.python/python-value.c: New file.
6749 * gdb.python/python-value.exp: New file.
6750
6751 2008-10-15 Pedro Alves <pedro@codesourcery.com>
6752
6753 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
6754
6755 2008-10-15 Denis Pilat <denis.pilat@st.com>
6756
6757 * gdb.cp/mb-ctor.exp: Fix a typo.
6758
6759 2008-10-09 Tom Tromey <tromey@redhat.com>
6760
6761 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
6762 'fprintf' and 'stderr'.
6763
6764 2008-10-07 Joel Brobecker <brobecker@adacore.com>
6765
6766 * gdb.ada/ref_tick_size.exp: New testcase.
6767
6768 2008-10-06 Doug Evans <dje@google.com>
6769
6770 * gdb.dwarf2/dw2-cu-size.exp: New file.
6771 * gdb.dwarf2/dw2-cu-size.S: New file.
6772
6773 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
6774 .Ltype_int for clarity.
6775
6776 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6777
6778 PR gdb/2384:
6779 * gdb.cp/gdb2384.exp: Extended to test more cases.
6780 * gdb.cp/gdb2384.cc: Likewise.
6781 * gdb.cp/gdb2384-base.h: Likewise.
6782 * gdb.cp/gdb2384-base.cc: Likewise.
6783
6784 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6785
6786 * gdb.base/maint.exp (maint print type): Remove printing
6787 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
6788
6789 2008-09-30 Tom Tromey <tromey@redhat.com>
6790
6791 * gdb.base/macscp.exp: Add completion tests.
6792 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
6793 (TWENTY_THREE): Likewise.
6794 (FORTY_EIGHT): Likewise.
6795
6796 2008-09-30 Tom Tromey <tromey@redhat.com>
6797
6798 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
6799 everywhere.
6800 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
6801
6802 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6803
6804 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
6805 testcase is derived from. Fix racy dependency on an expected PID
6806 number. No longer support the testcase on Linux kernel 2.4.x.
6807
6808 2008-09-27 Tom Tromey <tromey@redhat.com>
6809
6810 * gdb.base/macscp.exp: Add tests for stringification, splicing,
6811 and varargs.
6812
6813 2008-09-22 Pedro Alves <pedro@codesourcery.com>
6814
6815 * lib/mi-support.exp (mi_expect_interrupt): New.
6816 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
6817 from gdb.mi/mi-nonstop.exp.
6818 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
6819 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
6820 lib/mi-support.exp.
6821 Use mi_check_thread_states throughout. Avoid ".*" and do not
6822 require an anchor after -exec-run.
6823
6824 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
6825
6826 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
6827 stop is pending. Avoid ".*" when two stops are pending.
6828 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
6829 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
6830 newlines in fullnames.
6831 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
6832 (mi_expect_stop): Update comments. Only anchor in sync mode.
6833 Do not match newlines.
6834 (mi_send_resuming_command_raw): Always return status.
6835 (mi_get_stop_line): Do not match more than one line by accident.
6836 Only anchor in sync mode.
6837 (mi_run_inline_test): If -exec-next fails, give up.
6838
6839 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6840
6841 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
6842 on SPU.
6843
6844 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6845
6846 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
6847
6848 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6849
6850 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
6851 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6852 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
6853 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6854 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
6855 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
6856 gdb.ada/interface.exp, gdb.ada/null_array.exp,
6857 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6858 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6859 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6860 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
6861 Include the "= " sequence in the expected output of print tests.
6862
6863 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6864
6865 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
6866 description for boolean types.
6867
6868 2008-09-09 Pedro Alves <pedro@codesourcery.com>
6869
6870 * gdb.base/hook-stop-continue.c: New.
6871 * gdb.base/hook-stop-continue.exp: New.
6872
6873 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6874
6875 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
6876
6877 2008-09-08 Jerome Guitton <guitton@adacore.com>
6878
6879 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
6880 (stack_check_probe_2, stack_check_probe_loop_1)
6881 (stack_check_probe_loop_2): New functions.
6882 (main): Add call to these new functions.
6883 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
6884 functions, check that the breakpoint is inserted at the appropriate
6885 location.
6886 (insert_breakpoint): Slightly refine this procedure so that it can
6887 be called several times in the test.
6888
6889 2008-09-08 Jerome Guitton <guitton@adacore.com>
6890
6891 * gdb.base/stack-checking.c: New file.
6892 * gdb.base/stack-checking.exp: New file.
6893
6894 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6895
6896 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
6897 * gdb.arch/altivec-regs.exp: Likewise.
6898 * gdb.arch/vsx-regs.exp: Likewise.
6899
6900 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6901
6902 * gdb.arch/ppc-fp.exp: New file.
6903 * gdb.arch/ppc-fp.c: New file.
6904
6905 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6906
6907 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
6908 lest gcc-4.3.1 optimizes the whole thing away.
6909
6910 2008-09-04 Michael Snyder <msnyder@vmware.com>
6911
6912 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
6913 as "at" (for non-debug functions such as _start).
6914
6915 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6916
6917 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
6918 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
6919 software watchpoints.
6920 * gdb.base/watch_thread_num.exp: Likewise.
6921
6922 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
6923
6924 * gdb.arch/i386-bp_permanent.exp: New test.
6925
6926 2008-08-24 Tom Tromey <tromey@redhat.com>
6927
6928 * gdb.base/maint.exp: Update "maint print type".
6929
6930 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
6931
6932 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
6933 support. Adjust the order of "*running" notifications.
6934 * gdb.mi/non-stop.c: Don't cast from int to void* and
6935 back.
6936
6937 2008-08-20 Mark Kettenis <kettenis@gnu.org>
6938
6939 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
6940 expect to find it in the "info frame" output.
6941
6942 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
6943
6944 * gdb.base/interp.exp: Always consume both prompts.
6945
6946 2008-08-20 Pedro Alves <pedro@codesourcery.com>
6947
6948 * gdb.base/pending.exp: Test pending breakpoints without symbols
6949 loaded.
6950
6951 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6952
6953 * lib/mi-support.exp (mi_expect_stop): Produce
6954 more details on failures.
6955 * gdb.mi/mi-nonstop.exp: New.
6956 * gdb.mi/non-stop.c: New.
6957
6958 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6959
6960 * gdb.mi/mi-async.exp: Use 'set target-async'.
6961 * lib/mi-support.exp: Use 'set/show target-async'.
6962
6963 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
6964
6965 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
6966
6967 2008-08-17 Tom Tromey <tromey@redhat.com>
6968
6969 * gdb.base/help.exp (help catch): Rewrite.
6970
6971 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6972
6973 * gdb.base/define.exp: Test indented command documentation.
6974 * gdb.python/python.exp: Test indented multi-line command.
6975
6976 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
6977
6978 * testsuite/gdb.arch/vsx-regs.c: New source file.
6979 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
6980 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
6981
6982 2008-08-14 Tom Tromey <tromey@redhat.com>
6983
6984 * gdb.base/macscp.exp: Add regression test for "macro define" or
6985 "macro undef" with no arguments.
6986
6987 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6988
6989 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
6990
6991 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6992
6993 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
6994
6995 2008-08-06 Tom Tromey <tromey@redhat.com>
6996
6997 * gdb.python/python.exp: New file.
6998
6999 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7000
7001 Fix for PR gdb/1543.
7002 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
7003 $LOCATION.
7004 (location): New variable.
7005 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
7006 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
7007 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
7008 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
7009 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
7010 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
7011 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
7012 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
7013 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
7014 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
7015 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
7016 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
7017 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
7018 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
7019 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
7020 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
7021 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
7022 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
7023 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
7024 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
7025 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
7026 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
7027 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
7028 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
7029 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
7030 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
7031 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
7032 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
7033 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
7034 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
7035 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
7036 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
7037 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
7038 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
7039 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
7040 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
7041 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
7042 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
7043 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
7044 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
7045 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
7046 gdb.base/type-opaque.exp, gdb.base/until.exp,
7047 gdb.base/value-double-free.c, gdb.base/varargs.exp,
7048 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
7049 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
7050 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7051 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
7052 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
7053 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7054 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7055 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7056 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
7057 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
7058 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
7059 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
7060 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
7061 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
7062 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
7063 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
7064 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
7065 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
7066 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
7067 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
7068 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
7069 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
7070 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
7071 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
7072 gdb.pascal/types.exp, gdb.stabs/weird.exp,
7073 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
7074 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
7075 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
7076 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
7077 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
7078 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
7079 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7080 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7081 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7082 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7083 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7084 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
7085 lib/mi-support.exp, lib/trace-support.exp: Remove reference
7086 to bug-gdb@prep.ai.mit.edu .
7087
7088 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
7089
7090 * lib/mi-support.exp (mi_load_shlibs): New.
7091 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
7092
7093 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
7094
7095 * lib/mi-support.exp (get_mi_thread_list)
7096 (check_mi_and_console_threads): New, moved from ...
7097 * gdb.mi/mi-pthread.exp: ...here.
7098 * gdb.mi/gdb669.exp (get_mi_thread_list)
7099 (check_mi_and_console_threads): Delete.
7100 * gdb.mi/mi2-pthread.exp: Likewise.
7101
7102 2008-07-28 Tom Tromey <tromey@redhat.com>
7103
7104 * Makefile.in (just-check): Remove. Move body to...
7105 (check): ... here.
7106
7107 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7108
7109 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
7110 Add a test for duplicated SIGINTs.
7111
7112 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7113
7114 * gdb.threads/schedlock.exp (get_args): Update to work for any
7115 value of NUM.
7116 (Top level): Report the number of threads that did not resume.
7117
7118 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7119
7120 * gdb.dwarf2/dw2-compressed.S: Also define __start.
7121
7122 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7123
7124 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
7125 non-MI prompt.
7126
7127 2008-07-26 Tom Tromey <tromey@redhat.com>
7128
7129 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
7130 (function_struct, function_struct_ptr): New globals.
7131 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
7132 function pointer in a struct.
7133
7134 2008-07-26 Tom Tromey <tromey@redhat.com>
7135
7136 * gdb.base/macscp.exp: Add test for macro lexing bug.
7137
7138 2008-07-18 Tom Tromey <tromey@redhat.com>
7139
7140 * gdb.base/macscp.exp: Add macro tests.
7141
7142 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7143
7144 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
7145
7146 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7147
7148 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
7149
7150 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
7151
7152 * gdb.cp/class2.exp: fix for failure on spu-elf
7153
7154 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7155
7156 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
7157
7158 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7159
7160 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7161
7162 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7163
7164 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7165
7166 2008-07-11 Kevin Buettner <kevinb@redhat.com>
7167
7168 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7169 of regexp to account for changes made to GDB in the printing of
7170 byte vectors.
7171
7172 2008-07-11 Tom Tromey <tromey@redhat.com>
7173
7174 * gdb.base/completion.exp: Add 'help' completion test.
7175
7176 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7177
7178 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7179
7180 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7181
7182 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7183
7184 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7185
7186 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7187
7188 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7189
7190 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7191
7192 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7193
7194 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7195
7196 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7197
7198 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7199 previous commit. Add a comment.
7200
7201 2008-06-28 Pedro Alves <pedro@codesourcery.com>
7202
7203 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7204
7205 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7206
7207 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
7208
7209 2008-06-27 Pedro Alves <pedro@codesourcery.com>
7210
7211 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
7212 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
7213 compiling an executable, link in an object that forces unbuffered
7214 output.
7215 * lib/set_unbuffered_mode.c: New file.
7216
7217 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7218
7219 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
7220
7221 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
7222
7223 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
7224 mi_expect_stop.
7225 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
7226 Demand that *running is output.
7227 (detect_async): Perform checking every time.
7228 (mi_send_resuming_command): Extract everything into...
7229 (mi_send_resuming_command_raw): ...this.
7230 (mi_expect_stop): Don't accept any output before *stopped.
7231
7232 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
7233
7234 Robustify mi-simplerun.
7235 * gdb.mi/basics.c (main): Add a call to sleep.
7236 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
7237 * gdb.mi/mi2-cli.exp: Likewise.
7238 * gdb.mi/mi-break.exp: Likewise.
7239
7240 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
7241
7242 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
7243
7244 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7245
7246 * gdb.mi/mi-console.exp: Adjust.
7247 * gdb.mi/mi-syn-frame.exp: Adjust.
7248 * gdb.mi/mi2-console.exp: Adjust.
7249 * gdb.mi/mi2-syn-frame.exp: Adjust.
7250 * lib/mi-support.exp (mi_run_cmd): Adjust.
7251 (mi_send_resuming_command): Adjust.
7252
7253 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7254
7255 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
7256 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
7257 testing of stopped.
7258 * gdb.mi/mi2-syn-frame.exp: Likewise.
7259 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
7260 (async, detect_async): New.
7261 (mi_expect_stop, mi_continue_to_line): Adjust expectation
7262 depending on if we're running in sync or async mode.
7263
7264 2008-06-09 Tom Tromey <tromey@redhat.com>
7265
7266 * gdb.base/completion.exp: New tests for field name completion
7267 with spaces, and field name completion with '->'.
7268
7269 2008-06-06 Tom Tromey <tromey@redhat.com>
7270
7271 * gdb.base/break1.c (struct some_struct): New struct.
7272 (values): New global.
7273 * gdb.base/completion.exp: Add field name completion test.
7274
7275 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7276
7277 * gdb.cp/call-c.exp: Test for incorrect handling of reference
7278 to pointer.
7279 * gdb.cp/call-c.cc: Likewise.
7280
7281 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
7282
7283 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
7284 annotation.
7285
7286 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7287 Pedro Alves <pedro@codesourcery.com>
7288
7289 * gdb.threads/execl.c, gdb.threads/execl1.c,
7290 gdb.threads/execl.exp: New tests.
7291
7292 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
7293 Daniel Jacobowitz <dan@codesourcery.com>
7294
7295 * gdb.cp/exception.exp: Activate test, make it work with pending
7296 catchpoints.
7297
7298 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7299
7300 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
7301
7302 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
7303
7304 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
7305 now printed.
7306 * gdb.mi/mi2-var-cmd.exp: Likewise.
7307
7308 2008-05-27 Andreas Schwab <schwab@suse.de>
7309
7310 * gdb.base/frame-args.exp: Handle arguments that are optimized
7311 out.
7312
7313 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
7314
7315 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
7316 quiet for ppc32 and group options into a single variable.
7317
7318 2008-05-23 Joel Brobecker <brobecker@adacore.com>
7319
7320 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
7321 of zero-size elements.
7322 * gdb.ada/null_array.exp: Test printing this new array.
7323
7324 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7325
7326 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
7327
7328 2008-05-21 Joel Brobecker <brobecker@adacore.com>
7329
7330 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
7331 of the "finish" command.
7332
7333 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
7334
7335 * gdb.base/annota1.exp: Test for new annotation.
7336
7337 2008-05-16 Pedro Alves <pedro@codesourcery.com>
7338
7339 * gdb.base/fixsection.exp: New file.
7340 * gdb.base/fixsection0.c: New file.
7341 * gdb.base/fixsection1.c: New file.
7342
7343 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7344
7345 * gdb.base/annota1.exp: Accept printf@... in place of printf.
7346 * gdb.base/annota3.exp: Likewise.
7347
7348 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
7349
7350 * gdb.base/watch_thread_num.exp: Don't run tests that require
7351 watchpoints if the target doesn't support them.
7352
7353 2008-05-12 Doug Evans <dje@google.com>
7354
7355 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
7356
7357 2008-05-09 Joel Brobecker <brobecker@adacore.com>
7358
7359 * gdb.ada/assign_1.exp: New testcase.
7360
7361 2008-05-09 Doug Evans <dje@google.com>
7362
7363 * gdb.base/find.exp: New file.
7364 * gdb.base/find.c: New file.
7365
7366 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
7367
7368 * gdb.base/commands.exp (watchpoint_command_test): Handle
7369 gdb,no_hardware_watchpoints.
7370 * gdb.base/float.exp: Allow ARM targets without floating point.
7371 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
7372
7373 2008-05-06 Jerome Guitton <guitton@adacore.com>
7374 Joel Brobecker <brobecker@adacore.com>
7375
7376 * gdb.ada/lang_switch: New test program.
7377 * gdb.ada/lang_switch.exp: New testcase.
7378
7379 2008-05-05 Doug Evans <dje@google.com>
7380
7381 * gdb.base/help.exp (disassemble): Update expected help text.
7382
7383 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7384
7385 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
7386
7387 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7388
7389 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
7390 different times.
7391
7392 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7393
7394 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
7395 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
7396 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
7397 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
7398
7399 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
7400
7401 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
7402 notification to appear.
7403
7404 2008-05-04 Daniel Jacobowitz <dan@debian.org>
7405
7406 * gdb.base/fullname.c: New file.
7407 * gdb.base/fullname.exp: New file.
7408 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
7409
7410 2008-05-03 Pedro Alves <pedro@codesourcery.com>
7411
7412 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
7413 expressions with macros.
7414
7415 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7416
7417 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
7418
7419 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
7420
7421 * gdb.base/completion.exp: Handle lack of other symbols beginning
7422 with "a".
7423
7424 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
7425
7426 2008-05-02 Jim Blandy <jimb@codesourcery.com>
7427
7428 * gdb.asm/asmsrc1.s: Add scratch space.
7429
7430 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7431 Daniel Jacobowitz <dan@codesourcery.com>
7432
7433 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
7434 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
7435 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
7436
7437 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
7438
7439 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
7440
7441 2008-05-01 Joel Brobecker <brobecker@adacore.com>
7442
7443 * gdb.base/info-target.exp: New testcase.
7444
7445 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7446
7447 * gdb.cp/hang.exp: Use .cc instead of .C.
7448 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
7449 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
7450
7451 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7452
7453 * gdb.base/gdb1250.exp: Remove perror.
7454 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
7455
7456 2008-04-30 Pedro Alves <pedro@codesourcery.com>
7457
7458 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
7459 .2byte.
7460
7461 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
7462
7463 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
7464 (maybe_kfail): New.
7465
7466 2008-04-25 Pedro Alves <pedro@codesourcery.com>
7467
7468 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
7469
7470 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7471
7472 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
7473 * gdb.mi/mi2-syn-frame.exp: Likewise.
7474 * lib/mi-support.exp: Likewise.
7475
7476 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7477
7478 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
7479 to specify regexp for the location to stop at.
7480 * gdb.base/break-always.c: New.
7481 * gdb.base/break-always.exp: New.
7482
7483 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7484
7485 * lib/mi-support.exp (mi_runto_helper): Adjust
7486 for the original-location field.
7487 (mi_create_breakpoint, mi_list_breakpoints): New.
7488 * gdb.mi/mi-break.exp: Adjust.
7489 * gdb.mi/mi2-break.exp: Adjust.
7490 * gdb.mi/mi-pending.exp: Adjust.
7491 * gdb.mi/mi-simplerun.exp: Adjust.
7492 * gdb.mi/mi2-simplerun.exp: Adjust.
7493 * gdb.mi/mi-syn-frame.exp: Adjust.
7494 * gdb.mi/mi2-syn-frame.exp: Adjust.
7495 * gdb.mi/mi-until.exp: Adjust.
7496 * gdb.mi/mi2-until.exp: Adjust.
7497 * gdb.mi/mi-var-display.exp: Adjust.
7498 * gdb.mi/mi2-var-display.exp: Adjust.
7499 * gdb.mi/mi-watch.exp: Adjust.
7500 * gdb.mi/mi2-watch.exp: Adjust.
7501
7502 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
7503
7504 * aclocal.m4: Add override.m4.
7505 * configure: Regenerate.
7506
7507 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
7508
7509 * gdb.mi/var-cmd.c (do_at_tests): Verify that
7510 '-var-update --all-values' reports new value even the type
7511 of a variable object has changed.
7512
7513 2008-04-18 Craig Silverstein <csilvers@google.com>
7514
7515 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
7516 files.
7517
7518 2008-04-18 Joel Brobecker <brobecker@adacore.com>
7519
7520 * gdb.ada/atomic_enum: New test program.
7521 * gdb.ada/atomic_enum.exp: New testcase.
7522
7523 2008-04-17 Doug Evans <dje@google.com>
7524
7525 * gdb.opt/Makefile.in: Fix whitespace.
7526
7527 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
7528
7529 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
7530
7531 2008-04-17 Doug Evans <dje@google.com>
7532
7533 * gdb.base/hashline1.exp: New testcase.
7534 * gdb.base/hashline2.exp: New testcase.
7535 * gdb.base/hashline2.exp: New testcase.
7536
7537 2008-04-17 Pedro Alves <pedro@codesourcery.com>
7538
7539 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
7540
7541 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
7542
7543 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
7544 temporary breakpoint to match "Temporary breakpoint".
7545 * gdb.base/break.exp (delete_breakpoints): Likewise.
7546 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
7547 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
7548 * gdb.base/display.exp: Likewise.
7549 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
7550 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
7551 * gdb.base/restore.exp (restore_tests): Likewise.
7552 * gdb.base/sepdebug.exp: Likewise.
7553 * gdb.base/watchpoint.exp: Likewise.
7554 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
7555 * gdb.mi/mi-pending.exp: Likewise.
7556 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
7557 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
7558 * gdb.mi/mi-var-cmd.exp: Likewise.
7559 * gdb.mi/mi-var-display.exp: Likewise.
7560 * gdb.mi/mi2-cli.exp: Likewise.
7561 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
7562 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
7563 * gdb.mi/mi2-var-display.exp: Likewise.
7564 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
7565 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
7566 new "disp" field.
7567 (mi_expect_stop): Move after_reason argument to be really after
7568 reason. This is to support fix for PR2424.
7569
7570 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7571
7572 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
7573
7574 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
7575
7576 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
7577 field. Add more floating varobj tests.
7578 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
7579 field.
7580 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
7581 (main): Call do_at_tests.
7582 * lib/mi-support.exp (mi_create_floating_varobj)
7583 (mi_varobj_update_with_type_change): New.
7584
7585 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
7586
7587 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
7588 option of -var-evaluate-expression.
7589 * gdb.mi/mi2-var-display.exp: Likewise.
7590
7591 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
7592
7593 Introduce test setup helpers.
7594 * lib/gdb.exp (build_executable, clean_restart)
7595 (prepare_for_testing): New.
7596 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
7597 * gdb.base/return.exp: Likewise.
7598 * gdb.base/ending-run.exp: Likewise.
7599
7600 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
7601
7602 * gdb.mi/mi-async.exp: New test for asynchronous Machine
7603 Interface (MI) responses.
7604
7605 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
7606
7607 * gdb.cp/breakpoint.cc: New code to test conditions involving
7608 member variables.
7609 * gdb.cp/breakpoint.exp: Test condition involving member
7610 variables.
7611
7612 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
7613
7614 * lib/mi-support.exp (mi_expect_stop): New.
7615 (mi_run_cmd): Change the
7616 token. Use mi_send_resuming_command, use
7617 mi_expect_stop.
7618 (mi_execute_to_helper): Rename to mi_execute_to.
7619 (mi_send_resuming_command): Add more error patterns.
7620 (mi_wait_for_stop): Renamed to...
7621 (mi_get_stop_line): ...this.
7622 (mi_run_inline_test): Adjust.
7623
7624 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
7625 * gdb.mi/mi-console.exp: Likewise.
7626 * gdb.mi/mi-pending.exp: Likewise.
7627 * gdb.mi/mi-simplerun.exp: Likewise.
7628 * gdb.mi/mi-stack.exp: Likewise.
7629 * gdb.mi/mi-stepi.exp: Likewise.
7630 * gdb.mi/mi-syn-frame.exp: Add comment.
7631 * gdb.mi/mi-until.exp: Likewise.
7632 * gdb.mi/mi-var-display.exp: Likewise.
7633 * gdb.mi/mi-watch.exp: Likewise.
7634 * gdb.mi/mi2-cli.exp: Likewise.
7635 * gdb.mi/mi2-console.exp: Likewise.
7636 * gdb.mi/mi2-simplerun.exp: Likewise.
7637 * gdb.mi/mi2-stack.exp: Likewise.
7638 * gdb.mi/mi2-stepi.exp: Likewise.
7639 * gdb.mi/mi2-until.exp: Likewise.
7640 * gdb.mi/mi2-var-display.exp: Likewise.
7641 * gdb.mi/mi2-watch.exp: Likewise.
7642
7643 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7644
7645 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
7646
7647 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
7648
7649 2008-04-04 Pedro Alves <pedro@codesourcery.com>
7650
7651 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
7652 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
7653 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
7654 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
7655 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
7656 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
7657 expect an mi error duplicated in stderr.
7658
7659 2008-04-03 Joel Brobecker <brobecker@adacore.com>
7660
7661 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
7662 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
7663 Add a couple of tests that verify the behavior when the new setting
7664 is set to "cancel" and "all".
7665 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
7666 "ask" before we start the testing.
7667
7668 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
7669
7670 * gdb.cp/casts.cc: Add class reference variables.
7671 * gdb.cp/casts.exp: New test cases for up/down casting references.
7672
7673 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
7674
7675 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
7676 instead of beginning to make an extra test pass.
7677 * gdb.mi/mi2-var-display.exp: Likewise.
7678
7679 2008-03-31 Maciej W. Rozycki <macro@mips.com>
7680
7681 * gdb.base/break.exp: Mark failures as such. Fix formatting.
7682
7683 2008-03-31 Markus Deuling <deuling@de.ibm.com>
7684 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7685
7686 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
7687 value. Add xfail for older kernels.
7688
7689 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
7690
7691 Bring mi-support in line with gdb.exp.
7692 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
7693 (mi_gdb_start): New function.
7694
7695 2008-03-28 Maciej W. Rozycki <macro@mips.com>
7696
7697 * gdb.mi/mi-var-cmd.exp: Fix a typo.
7698
7699 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7700
7701 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
7702 * gdb.mi/mi2-var-display.exp: Likewise.
7703
7704 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7705
7706 * lib/mi-support.exp (mi_create_varobj_checked): New.
7707 (mi_list_varobj_children): Allow to check for a
7708 value.
7709 (mi_list_array_varobj_children): New.
7710
7711 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
7712 and mi_list_varobj_children, as opposed to hardcoding
7713 expected strings.
7714 * gdb.mi/gdb701.exp: Likewise.
7715 * gdb.mi/gdb792.exp: Likewise.
7716 * gdb.mi/mi-var-block.exp: Likewise.
7717 * gdb.mi/mi-var-cmd.exp: Likewise.
7718 * gdb.mi/mi-var-invalidate.exp: Likewise.
7719 * gdb.mi/mi2-var-block.exp: Likewise.
7720 * gdb.mi/mi2-var-child.exp: Likewise.
7721 * gdb.mi/mi2-var-cmd.exp: Likewise.
7722 * gdb.mi/mi2-var-display.exp: Likewise.
7723
7724 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7725
7726 Fix random false FAILs on i386.
7727 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
7728
7729 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7730
7731 PR gdb/544
7732 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
7733
7734 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7735
7736 PR gdb/544
7737 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
7738
7739 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7740
7741 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
7742 fixed PR gdb/544.
7743
7744 2008-03-21 Pedro Alves <pedro@codesourcery.com>
7745
7746 * gdb.threads/fork-child-threads.exp: Test next over fork.
7747
7748 2008-03-21 Chris Demetriou <cgd@google.com>
7749
7750 * gdb.base/break.exp (rbreak junk): New test for rbreak
7751 "Junk at end of arguments" issue.
7752
7753 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7754
7755 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
7756 *& to work on created array elements.
7757 (Top level): Test print $pc with a file. Test string operations
7758 without a target.
7759 * gdb.base/ptype.exp: Do not expect *& to work on created array
7760 elements.
7761
7762 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7763
7764 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7765 gdb.threads/staticthreads.exp: Update exit query.
7766
7767 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
7768
7769 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
7770
7771 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
7772
7773 * gdb.base/watchpoint.c (global_ptr, func4): New.
7774 (main): Call func4.
7775 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
7776 (test_inaccessible_watchpoint): New.
7777
7778 2008-02-29 Maciej W. Rozycki <macro@mips.com>
7779
7780 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
7781 select the largest.
7782
7783 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7784
7785 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
7786 frames-invalid annotations.
7787
7788 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
7789
7790 * gdb.base/assign.exp: avoid same output for different tests.
7791
7792 2008-02-27 Doug Evans <dje@google.com>
7793
7794 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
7795 for bug 1738.
7796 (breakpoint_to_handler_entry): Ditto.
7797
7798 2008-02-27 Joel Brobecker <brobecker@adacore.com>
7799
7800 * gdb.base/ending-run.exp: Use the first line of code inside
7801 function body to test breakpoints.
7802 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
7803 location where the breakpoint is inserted when using the line
7804 where a function is declared. Fix typo in the description of
7805 one of the tests.
7806 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
7807
7808 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7809
7810 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
7811 tests.
7812
7813 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7814
7815 * gdb.base/args.exp: avoid same output for tests
7816 with single quotes.
7817
7818 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
7819
7820 * gdb.base/annota1.exp: Adjust for 'info break'
7821 format changes.
7822 * gdb.base/annota3.exp: Likewise.
7823 * gdb.base/break.exp: Likewise.
7824 * gdb.base/condbreak.exp: Likewise.
7825 * gdb.base/pending.exp: Likewise.
7826 * gdb.base/sepdebug.exp: Likewise.
7827 * gdb.base/unload.exp: Likewise.
7828 * gdb.cp/ovldbreak.exp: Likewise.
7829 * gdb.mi/mi-pending.exp: Likewise.
7830
7831 2008-02-07 Doug Evans <dje@google.com>
7832
7833 * gdb.cp/mb-inline.exp: New.
7834 * gdb.cp/mb-inline.h: New.
7835 * gdb.cp/mb-inline1.cc: New.
7836 * gdb.cp/mb-inline2.cc: New.
7837
7838 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
7839
7840 * gdb.pascal/floats.pas: New test program.
7841 * gdb.pascal/floats.exp: New testcase.
7842
7843 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7844
7845 * gdb.base/callfuncs.c (t_float_many_args): New function.
7846 (t_double_many_args): New function.
7847 * gdb.base/callfuncs.exp: Add tests for exceeding float
7848 and double parameters passed through the stack.
7849
7850 2008-02-05 Joel Brobecker <brobecker@adacore.com>
7851
7852 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
7853 gdb.ada/complete/foo.adb: New files.
7854 * gdb.ada/complete.exp: New testcase.
7855
7856 2008-02-03 Doug Evans <dje@google.com>
7857
7858 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
7859
7860 * gdb.cp/gdb2384.exp: New file.
7861 * gdb.cp/gdb2384.cc: New file.
7862 * gdb.cp/gdb2384-base.h: New file.
7863 * gdb.cp/gdb2384-base.cc: New file.
7864
7865 2008-02-02 Doug Evans <dje@google.com>
7866
7867 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
7868
7869 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7870
7871 * gdb.ada/sym_print_name: New test program.
7872 * gdb.ada/sym_print_name.exp: New testcase.
7873
7874 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7875
7876 * gdb.ada/nested/hello.adb: New file.
7877 * gdb.ada/nested.exp: New testcase.
7878 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7879
7880 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7881
7882 * gdb.mi/basic.c (return_1): New function.
7883 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
7884 don't cause future evaluations of function to report
7885 creation of internal breakpoints.
7886
7887 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7888
7889 * gdb.mi/mi-break.exp (test_error): New.
7890 Call it.
7891
7892 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
7893
7894 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
7895 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
7896
7897 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7898
7899 * gdb.pascal/integers.pas: New test program.
7900 * gdb.pascal/integers.exp: New testcase.
7901
7902 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7903
7904 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
7905
7906 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
7907
7908 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
7909 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
7910
7911 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
7912
7913 * gdb.ada/formatted_ref: New test program.
7914 * gdb.ada/formatted_ref.exp: New testcase.
7915
7916 * gdb.cp/formatted-ref.cc: New file.
7917 * gdb.cp/formatted-ref.exp: New testcase.
7918
7919 2008-01-30 Joel Brobecker <brobecker@adacore.com>
7920
7921 * gdb.base/ptype.exp: Add testing of "ptype $pc".
7922
7923 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
7924
7925 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
7926 (test_file_list_exec_source_file): Update to new macro-info field.
7927
7928 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
7929
7930 * gdb.ada/exprs: New test program.
7931 * gdb.ada/exprs.exp: New testcase.
7932
7933 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7934
7935 * dfp-test.c (DELTA, DELTA_B): New definitions.
7936 (double_val1, double_val2, double_val3, double_val4, double_val5,
7937 double_val6, double_val7, double_val8, double_val9, double_val10,
7938 double_val11, double_val12, double_val13, double_val14, dec32_val1,
7939 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
7940 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
7941 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
7942 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
7943 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
7944 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
7945 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
7946 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
7947 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
7948 dec128_val16): New global variables.
7949 (decimal_dec128_align): New function.
7950 (decimal_mixed): Likewise.
7951 (decimal_many_args_dec32): Likewise.
7952 (decimal_many_args_dec64): Likewise.
7953 (decimal_many_args_dec128): Likewise.
7954 (decimal_many_args_mixed): Likewise.
7955 * dfp-test.exp: Add tests calling new inferior functions.
7956
7957 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7958
7959 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
7960 gdb.server/ext-run.exp: New files.
7961 * lib/gdbserver-support.exp (gdbserver_download): New.
7962 (gdbserver_start): New. Update gdbserver expected
7963 output.
7964 (gdbserver_spawn): Use them.
7965 (gdbserver_start_extended): New.
7966
7967 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7968
7969 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
7970 Run on GNU/Linux.
7971 (do_exec_tests): Check for systems which do not support catchpoints.
7972 Do not match START.
7973 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
7974 Run on GNU/Linux. Enable verbose output.
7975 (check_fork_catchpoints): New.
7976 (explicit_fork_child_follow, catch_fork_child_follow)
7977 (tcatch_fork_parent_follow): Update expected messages.
7978 (do_fork_tests): Use check_fork_catchpoints.
7979 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
7980 Run on GNU/Linux. Enable verbose output.
7981 (check_vfork_catchpoints): New.
7982 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
7983 expected messages.
7984 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
7985
7986 2008-01-29 Jim Blandy <jimb@red-bean.com>
7987
7988 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
7989 host' errors.
7990 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
7991
7992 2008-01-29 Jim Blandy <jimb@red-bean.com>
7993
7994 * gdb.threads/sigthread.c: Use barriers to ensure that
7995 child_thread and child_thread_two are always initialized before we
7996 start to use them.
7997
7998 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
7999
8000 * gdb.base/watchpoint-solib.exp: New.
8001 * gdb.base/watchpoint-solib.c: New.
8002 * gdb.base/watchpoint-solib-shr.c: New.
8003
8004 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
8005
8006 * gdb.base/gdb1056.exp: Add unsigned integer test.
8007
8008 2008-01-28 Doug Evans <dje@google.com>
8009
8010 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
8011
8012 2008-01-27 Jim Blandy <jimb@codesourcery.com>
8013
8014 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
8015
8016 * gdb.base/expand-psymtabs.exp: Doc fix.
8017
8018 2008-01-26 Mark Kettenis <kettenis@gnu.org>
8019
8020 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8021
8022 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
8023
8024 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
8025 -var-set-format.
8026
8027 2008-01-23 Chris Demetriou <cgd@google.com>
8028
8029 * gdb.threads/thread_events.c: New testcase source file.
8030 * gdb.threads/thread_events.exp: New testcase expect file.
8031
8032 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
8033
8034 * lib/gdb.exp: Add the variable octal.
8035
8036 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
8037 -var-set-format.
8038
8039 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
8040 Vladimir Prus <vladimir@codesourcery.com>
8041
8042 * gdb.base/float.exp: Allow missing floating point for m68k and
8043 PowerPC.
8044
8045 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
8046
8047 * gdb.mi/basics.c: Setup for testing breakpoints
8048 ignore count.
8049 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
8050 * gdb.mi/mi-cli.exp: Adjust.
8051 * gdb.mi/mi2-cli.exp: Adjust.
8052
8053 2008-01-17 Pedro Alves <pedro@codesourcery.com>
8054
8055 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
8056 and 'dummy_ptr' integer pointer. Initialize struct_declarations
8057 with dummy_ptr's address.
8058 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
8059 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
8060 all targets.
8061 * gdb.mi/mi2-var-child.exp: Likewise.
8062
8063 2008-01-09 Joel Brobecker <brobecker@adacore.com>
8064
8065 * gdb.ada/null_array: New test program.
8066 * gdb.ada/null_array.exp: New testcase.
8067
8068 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
8069
8070 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
8071 with required float modifiers.
8072
8073 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8074
8075 * gdb.ada/funcall_param: New test program.
8076 * gdb.ada/funcall_param.exp: New testcase.
8077
8078 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8079
8080 * gdb.ada/arrayparam: New test program.
8081 * gdb.ada/arrayparam.exp: New testcase.
8082
8083 2008-01-08 Joel Brobecker <brobecker@adacore.com>
8084
8085 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
8086 landed. Should also fix random failures in the test following it.
8087
8088 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
8089
8090 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
8091 for expressions with decimal float values.
8092 (test_dfp_conversions): New function to test casts to and from
8093 decimal float types.
8094 Call test_dfp_conversions.
8095 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
8096 elements.
8097 (main): Initialize ds.float4 and ds.double8 elements.
8098 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
8099 string to new error message.
8100 (d64_set_tests): Likewise.
8101 (d128_set_tests): Likewise.
8102 Add tests for expressions with decimal float variables. Add tests for
8103 conversions to and from decimal float types.
8104
8105 2008-01-05 Joel Brobecker <brobecker@adacore.com>
8106
8107 * gdb.ada/packed_tagged/comp_bug.adb: New file.
8108 * gdb.ada/packed_tagged.exp: New testcase.
8109
8110 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8111
8112 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
8113 gdb.ada/homonym/homonym_main.adb: New files.
8114 * gdb.ada/homonym.exp: New testcase.
8115
8116 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8117
8118 * gdb.ada/packed_array.exp: Add testing of references to
8119 a packed array.
8120
8121 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8122
8123 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
8124 New files.
8125 * gdb.ada/type_coercion.exp: New testcase.
8126
8127 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8128
8129 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
8130 gdb.ada/tagged/foo.adb: New file.
8131 * gdb.ada/tagged.exp: New testcase.
8132
8133 2008-01-04 Joel Brobecker <brobecker@adacore.com>
8134
8135 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
8136 gdb.ada/ptype_field/foo.adb: New files.
8137 * gdb.ada/ptype_field.exp: New testcase.
8138
8139 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8140
8141 * gdb.ada/print_pc.exp: New testcase.
8142
8143 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8144
8145 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
8146 gdb.ada/taft_type/p.adb: New files.
8147 * gdb.ada/taft_type.exp: New testcase.
8148
8149 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8150
8151 * gdb.ada/array_bounds/bar.adb: New file.
8152 * gdb.ada/array_bounds.exp: New testcase.
8153
8154 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8155
8156 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
8157 gdb.ada/arrayptr/foo.adb: New files.
8158 * gdb.ada/arrayptr.exp: New testcase.
8159
8160 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8161
8162 * gdb.base/set-lang-auto.exp: New testcase.
8163
8164 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8165
8166 * gdb.ada/fun_addr/foo.adb: New file.
8167 * gdb.ada/fun_addr.exp: New testcase.
8168
8169 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8170
8171 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8172 New files
8173
8174 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8175
8176 * array_subscript_addr/p.adb: New file.
8177 * array_subscript_addr.exp: New testcase.
8178
8179 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8180
8181 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
8182 New files.
8183 * gdb.ada/str_cmp_ref.exp: New testcase.
8184
8185 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8186
8187 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8188 gdb.ada/fun_in_declare/foo.adb: New files.
8189 * gdb.ada/fun_in_declare.exp: New testcase.
8190
8191 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8192
8193 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8194 gdb.ada/ref_param/pck.ads: New files.
8195 * gdb.ada/ref_param.exp: New testcase.
8196
8197 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8198
8199 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8200 gdb.ada/interface/foo.adb: New files.
8201 * gdb.ada/interface.exp: New testcase.
8202
8203 2007-12-31 Jim Blandy <jimb@codesourcery.com>
8204
8205 * gdb.base/multi-forks.exp: Consume all output from child
8206 processes before proceeding to next test.
8207
8208 2007-12-29 Jim Blandy <jimb@codesourcery.com>
8209
8210 * configure: Regenerated.
8211
8212 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8213
8214 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
8215 gdb.ada/fixed_cmp/fixed.adb: New files.
8216 * gdb.ada/fixed_cmp.exp: New testcase.
8217
8218 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8219
8220 * gdb.ada/boolean_expr.exp: New testcase.
8221
8222 2007-12-26 Jim Blandy <jimb@codesourcery.com>
8223
8224 * gdb.base/multi-forks.exp: Doc fix.
8225
8226 2007-12-26 Joel Brobecker <brobecker@adacore.com>
8227
8228 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8229 * gdb.ada/char_param.exp: Do not compile our test program with
8230 -gnata, this is unnecessary.
8231 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
8232
8233 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8234
8235 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
8236 gdb.ada/print_chars/foo.adb: New files.
8237 * gdb.ada/print_chars.exp: New testcase.
8238
8239 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8240
8241 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
8242 gdb.ada/char_param/foo.adb: New files.
8243 * gdb.ada/char_param.exp: New testcase.
8244
8245 2007-12-22 Jim Blandy <jimb@codesourcery.com>
8246
8247 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
8248 hard-coding source line numbers into the test.
8249 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
8250 gdb_get_line_number to find.
8251
8252 2007-12-22 Joel Brobecker <brobecker@adacore.com>
8253
8254 * gdb.base/ptype.c (highest): New struct type.
8255 (the_highest): New variable of that type.
8256 (main): Add dummy assignment to a field of variable the_highest.
8257 * gdb.base/ptype.exp: Test type printing of our new variable.
8258
8259 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
8260
8261 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
8262 and record first explicitly generated thread number.
8263 Use that thread number for thread specific watchpoint test.
8264 Add iteration number to repetitive tests.
8265
8266 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8267 Jim Blandy <jimb@codesourcery.com>
8268
8269 * gdb.base/expand-psymtabs.c: New testcase
8270 source file.
8271 * gdb.base/expand-psymtabs.exp: New testcase
8272 expect file.
8273
8274 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
8275
8276 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
8277 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
8278
8279 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8280
8281 * gdb.ada/frame_args/foo.adb: New file.
8282 * gdb.ada/frame_args/pck.ads: New file.
8283 * gdb.ada/frame_args/pck.adb: New file.
8284 * gdb.ada/frame_args.exp: New testcase.
8285
8286 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8287
8288 * gdb.base/frame-args.c: New file.
8289 * gdb.base/frame-args.exp: New testcase.
8290
8291 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
8292 Joseph Myers <joseph@codesourcery.com>
8293
8294 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
8295
8296 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
8297
8298 * gdb.mi/mi-pending.exp: New.
8299 * gdb.mi/mi-pending.c: New.
8300 * gdb.mi/mi-pendshr.c: New.
8301
8302 2007-12-06 Jim Blandy <jimb@codesourcery.com>
8303
8304 * gdb.base/default.exp: Update expected output for 'info catch'.
8305
8306 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8307
8308 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
8309 must be set to binary.
8310
8311 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
8312
8313 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
8314
8315 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
8316
8317 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
8318 gdb.mi/mi-file-transfer.exp: New.
8319
8320 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8321
8322 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
8323
8324 2007-11-22 Maciej W. Rozycki <macro@mips.com>
8325
8326 * gdb.trace/backtrace.exp: Fix a typo.
8327 * gdb.trace/circ.exp: Likewise.
8328 * gdb.trace/collection.exp: Likewise.
8329 * gdb.trace/limits.exp: Likewise.
8330 * gdb.trace/report.exp: Likewise.
8331 * gdb.trace/tfind.exp: Likewise.
8332 * gdb.trace/while-dyn.exp: Likewise.
8333
8334 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
8335
8336 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
8337 objects of pointers that can't be dereferenced are now
8338 "noneditable".
8339
8340 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8341
8342 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
8343 (target_cpu): Remove.
8344
8345 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
8346
8347 * gdb.base/ending-run.exp: Expect the list of cleared
8348 breakpoint to come in natural order, not the reversed one.
8349
8350 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
8351
8352 * gdb.mi/mi-var-child.c (do_child_deletion): New.
8353 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
8354
8355 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
8356
8357 * gdb.base/printcmds.exp: New function
8358 test_printf_with_dfp.
8359
8360 2007-11-02 Doug Evans <dje@google.com>
8361
8362 * gdb.disasm/t01_mov.s: Remove carriage returns.
8363 * gdb.disasm/t02_mova.s: Ditto.
8364 * gdb.disasm/t03_add.s: Ditto.
8365 * gdb.disasm/t04_sub.s: Ditto.
8366 * gdb.disasm/t05_cmp.s: Ditto.
8367 * gdb.disasm/t06_ari2.s: Ditto.
8368 * gdb.disasm/t07_ari3.s: Ditto.
8369 * gdb.disasm/t08_or.s: Ditto.
8370 * gdb.disasm/t09_xor.s: Ditto.
8371 * gdb.disasm/t10_and.s: Ditto.
8372 * gdb.disasm/t11_logs.s: Ditto.
8373 * gdb.disasm/t12_bit.s: Ditto.
8374 * gdb.disasm/t13_otr.s: Ditto.
8375
8376 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8377
8378 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
8379
8380 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8381
8382 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
8383 provide DFP support.
8384
8385 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
8386
8387 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
8388 Test "set powerpc vector-abi". Skip auto-detection tests for old
8389 toolchains.
8390
8391 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8392
8393 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
8394 with [string compare].
8395
8396 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8397
8398 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
8399 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
8400
8401 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
8402
8403 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
8404 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
8405 * gdb.opt/Makefile.in: New makefile.
8406 * Makefile.in: Create new directory "gdb.opt".
8407 * configure.ac: Add "gdb.opt" directory.
8408 * configure: Regenerated.
8409
8410 2007-10-25 Doug Evans <dje@google.com>
8411
8412 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
8413 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
8414
8415 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
8416 Thiago Jung Bauermann <bauerman@br.ibm.com>
8417
8418 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
8419 Floating Point expressions.
8420 * gdb.base/dfp-test.exp: new file adding tests for Decimal
8421 Floating Point variables.
8422 * gdb.base/dfp-test.c: new file containing program with Decimal
8423 Floating variables, used by gdb.base/dfp-test.exp.
8424
8425 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
8426
8427 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
8428
8429 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8430
8431 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
8432 compiling test case with GCC.
8433 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
8434
8435 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8436
8437 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8438 format changes.
8439
8440 2007-10-18 Michael Snyder <msnyder@specifix.com>
8441
8442 * gdb.base/dbx.exp: Add missing "-re " operator.
8443
8444 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
8445
8446 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
8447 * configure.ac: Removed trailing spaces after backslash.
8448 * gdb.modula2: New directory.
8449 * gdb.modula2/Makefile.in: New file.
8450 * gdb.modula2/unbounded-array.exp: New file.
8451 * gdb.modula2/unbounded1.c: New file.
8452
8453 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
8454
8455 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
8456
8457 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
8458
8459 * gdb.base/sigstep.c (main): Add checks for
8460 return values for setitimer call.
8461 Call setitimer again with itimer = ITIMER_REAL
8462 if first call to setitimer fails.
8463
8464 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
8465
8466 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
8467 of $timeout.
8468
8469 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8470
8471 * gdb.server/server-run.exp: Test for dynamic linker symbols.
8472
8473 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
8474
8475 * lib/gdb.exp (gdb_run_cmd): Move comment outside
8476 of gdb_expect call, to avoid interruption.
8477
8478 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
8479
8480 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
8481 (v_unsigned_long_long, v_long_long_array)
8482 (v_signed_long_long_array, v_unsigned_long_long_array)
8483 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
8484 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
8485 [!NO_LONG_LONG]: New.
8486 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
8487 v_long_long_member.
8488
8489 (v_long_long_func, v_signed_long_long_func)
8490 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
8491 (main) [!NO_LONG_LONG]: Initialize long long variants.
8492
8493 * gdb.base/whatis.exp: If board file requests no_long_long, build
8494 test with NO_LONG_LONG defined. Test long long, signed long long,
8495 and unsigned long long variants but only if board file doesn't
8496 disable it.
8497
8498 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
8499 Daniel Jacobowitz <dan@codesourcery.com>
8500
8501 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
8502 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
8503 * configure: Regenerated.
8504 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
8505 gdb.pascal/types.exp, lib/pascal.exp: New files.
8506
8507 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
8508
8509 * gdb.cp/classes.exp (do_tests): Always step to the line after the
8510 call.
8511 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
8512 to return to the call.
8513 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
8514 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
8515 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
8516 * gdb.mi/mi-until.exp (test_until): Likewise.
8517 * gdb.mi/mi2-until.exp (test_until): Likewise.
8518
8519 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
8520
8521 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
8522 two-char array.
8523 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
8524
8525 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
8526
8527 * gdb.threads/watchthreads.c (thread_function): Sleep between
8528 iterations.
8529 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
8530 at once for S/390. Generate matching fails and passes.
8531
8532 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
8533
8534 * gdb.mi/var-cmd.c (do_children_tests): Initialize
8535 the 'struct_declarations' variable to zeros.
8536
8537 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
8538
8539 * gdb.cp/mb-ctor.cc: New.
8540 * gdb.cp/mb-ctor.exp: New.
8541 * gdb.cp/mb-templates.cc: New.
8542 * gdb.cp/mb-templates.exp: New.
8543
8544 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
8545
8546 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
8547
8548 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
8549
8550 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
8551 targets.
8552 * configure: Regenerate.
8553
8554 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
8555
8556 * gdb.base/annota1.exp: Adjust for 'info break'
8557 format changes.
8558 * gdb.base/annota3.exp: Likewise.
8559 * gdb.base/break.exp: Likewise.
8560 * gdb.base/condbreak.exp: Likewise.
8561 * gdb.base/pending.exp: Likewise.
8562 * gdb.base/sepdebug.exp: Likewise.
8563 * gdb.base/unload.exp: Likewise.
8564 * gdb.base/ovldbreak.exp: Likewise.
8565
8566 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
8567
8568 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
8569 messages.
8570 * gdb.base/chng-syms.exp: Likewise.
8571 * gdb.base/unload.exp: Likewise.
8572
8573 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
8574
8575 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
8576
8577 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
8578
8579 * schedlock.c (NUM): Change to 1.
8580 (main): Use args[0] for the main thread.
8581 * schedlock.exp: Only expect two threads. Only issue one pass or fail
8582 regardless of the number of threads.
8583
8584 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8585
8586 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
8587 type down.
8588 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8589 test.
8590 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
8591 watchpoint type down.
8592 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8593 test.
8594
8595 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8596
8597 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
8598 Move all the tests here and run them twice, once using software
8599 watchpoints and once using hardware watchpoints.
8600 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
8601
8602 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
8603
8604 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
8605 test.
8606
8607 2007-09-10 Mark Kettenis <kettenis@gnu.org>
8608
8609 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
8610 build-id.
8611
8612 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
8613 know about $ORIGIN. Calculate output dir from $dest instead of
8614 using ${objdir}/{$subdir}.
8615
8616 2007-09-09 Mark Kettenis <kettenis@gnu.org>
8617
8618 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
8619 gcore, before continuing with the test.
8620
8621 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
8622
8623 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
8624 * gdb.mi/mi-watch.exp: Likewise.
8625
8626 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8627 Jim Blandy <jimb@codesourcery.com>
8628
8629 * gdb.arch/i386-sse.exp: Do not expect character constants.
8630 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
8631 * gdb.base/display.exp: Allow print/s.
8632 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
8633 and unsigned char array changes.
8634
8635 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8636
8637 * gdb.base/display.exp: Add tests for printf %p.
8638
8639 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
8640
8641 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
8642 the dll name to unicode.
8643
8644 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8645
8646 * gdb.base/default.exp (show version): Update the version text.
8647 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
8648
8649 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8650
8651 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
8652 New files.
8653
8654 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8655
8656 * lib/gdb.exp (build_id_debug_filename_get): New function.
8657 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
8658 Remove the generate DEBUG file for the future testcase runs.
8659 New testcase for the NT_GNU_BUILD_ID retrieval.
8660 Move the final testing step to ...
8661 (test_different_dir): ... a new function.
8662 New parameter XFAIL to XFAIL all the tests performed.
8663 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
8664 New parameter TYPE to PF_PREFIX all the tests performed.
8665
8666 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
8667
8668 * gdb.mi/mi-var-cp.cc (path_expression): New
8669 function.
8670 * gdb.mi/mi-var-cp.exp: Run path exression tests.
8671
8672 2007-08-27 Markus Deuling <deuling@de.ibm.com>
8673
8674 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
8675 to fit into SPU Local Store memory.
8676
8677 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8678
8679 * gdb.base/default.exp: Adjust the expected output of "info
8680 warranty" after the switch to GPLv3.
8681
8682 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8683
8684 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
8685 to 30000 (from 20000).
8686
8687 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8688
8689 Switch the license of all .exp files to GPLv3.
8690 Switch the license of all .f and .f90 files to GPLv3.
8691 Switch the license of all .s and .S files to GPLv3.
8692
8693 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8694
8695 * configure.ac: Switch license to GPLv3.
8696
8697 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8698
8699 Switch the licensing to GPLv3 for all .ads and .adb files.
8700
8701 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
8702
8703 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
8704 and t_int_double.
8705 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
8706
8707 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8708
8709 * gdb.base/step-line.c: Switch license to GPL version 3, and
8710 update copyright year.
8711 * gdb.base/step-line.inp: Likewise.
8712
8713 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8714
8715 * gdb.base/gdb1555.exp: Make expected output immune to formatting
8716 changes inside gdb1555.c.
8717 * gdb.base/pending.exp: Likewise.
8718
8719 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
8720
8721 * config/default.exp: New file.
8722
8723 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8724
8725 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
8726 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
8727
8728 2007-07-30 Maciej W. Rozycki <macro@mips.com>
8729
8730 * gdb.base/dump.exp: Force the correct endianness for binary
8731 formats not carrying this information.
8732
8733 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8734
8735 * gdb.threads/staticthreads.exp: Match .*sem_post.
8736
8737 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8738
8739 * gdb.base/readline.exp (operate_and_get_next): Match the final
8740 prompt.
8741
8742 2007-07-23 Kevin Buettner <kevinb@redhat.com>
8743
8744 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
8745 to restarting SID.
8746
8747 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8748
8749 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
8750 prior to `gdb_start'.
8751
8752 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8753
8754 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
8755 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
8756 Remove call to gdb_unload.
8757
8758 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
8759 Daniel Jacobowitz <dan@codesourcery.com>
8760
8761 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
8762 for __WIN32__.
8763 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
8764 * gdb.base/unload.exp: Use shared library test routines.
8765
8766 2007-07-03 Markus Deuling <deuling@de.ibm.com>
8767
8768 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
8769 * gdb.base/solib-symbol-lib.c: Likewise.
8770 * gdb.base/solib-symbol-main.c: Likewise.
8771
8772 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
8773
8774 * config/gdbserver.exp (gdb_reconnect): New.
8775 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
8776 gdb.base/solib-disc.exp: New files.
8777 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
8778 remote debugging".
8779 (gdb_compile): Add shlib_load flag.
8780 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
8781 port.
8782 (gdbserver_reconnect): New.
8783
8784 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
8785 Daniel Jacobowitz <dan@codesourcery.com>
8786
8787 * gdb.base/annota3.exp: Test for if construct.
8788
8789 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
8790
8791 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
8792
8793 2007-06-21 Chris Dearman <chris@mips.com>
8794 Maciej W. Rozycki <macro@mips.com>
8795
8796 * gdb.base/display.exp: Allow a newline after display/i.
8797 * gdb.base/pc-fp.exp: Likewise.
8798 * gdb.base/sigbpt.exp: Likewise.
8799
8800 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8801
8802 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
8803 required features to be included.
8804
8805 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8806
8807 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
8808 in info threads output.
8809
8810 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8811 Markus Deuling <deuling@de.ibm.com>
8812
8813 * gdb.arch/spu-info.exp: New testcase.
8814 * gdb.arch/spu-info.c: New file.
8815
8816 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
8817
8818 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
8819 tpcs_offset. Restore lr after the call.
8820 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
8821
8822 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
8823
8824 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
8825 (gdbserver_run): Kill any running gdbserver.
8826 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
8827
8828 2007-05-17 Maciej W. Rozycki <macro@mips.com>
8829
8830 * gdb.base/sigbpt.exp: Preset segv_addr.
8831
8832 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
8833
8834 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
8835 (gdb_compile_shlib): Likewise.
8836 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
8837 (default_gdb_init): Clear cleanfiles.
8838 (gdb_finish): Delete recorded cleanfiles.
8839 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
8840
8841 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
8842 Do not use isnative.
8843 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
8844 gdb.base/so-impl-ld.exp: Likewise.
8845 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
8846 * gdb.base/unload.exp: Likewise. Do not pass empty option to
8847 gdb_compile.
8848
8849 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
8850
8851 * config/unknown.exp: Remove.
8852
8853 2007-05-15 Markus Deuling <deuling@de.ibm.com>
8854
8855 * gdb.base/info-proc.exp: Check is_remote.
8856
8857 2007-05-14 Markus Deuling <deuling@de.ibm.com>
8858
8859 * gdb.base/gcore.exp: Initialize variable core_supported.
8860
8861 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8862
8863 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
8864
8865 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8866
8867 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
8868 * gdb.threads/print-threads.exp (test_all_threads): Allow
8869 negative and hexadecimal thread IDs.
8870
8871 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8872
8873 * gdb.java/jprint.java (public): Avoid invalid call to static
8874 method.
8875
8876 2007-05-14 Denis Pilat <denis.pilat@st.com>
8877
8878 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
8879 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
8880 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
8881 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
8882 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
8883
8884 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8885
8886 * gdb.base/overlays.exp: Add support for targets with only code
8887 overlay support, not data overlay. Support spu-*-* target in
8888 this mode.
8889 * gdb.base/ovlymgr.c: Provide stubs for spu target.
8890 * gdb.base/spu.ld: New file.
8891
8892 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
8893
8894 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
8895
8896 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
8897
8898 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
8899
8900 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8901
8902 * gdb.java/jmain.exp: Handle demangled names with and without method
8903 signatures.
8904
8905 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8906
8907 * gdb.mi/mi-syn-frame.c (main, foo, bar)
8908 (have_a_very_merry_interrupt): Remove calls to puts.
8909 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
8910 inferior output.
8911 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
8912 test names.
8913
8914 2007-04-29 Markus Deuling <deuling@de.ibm.com>
8915 Daniel Jacobowitz <dan@codesourcery.com>
8916
8917 * gdb.base/auxv.exp (core_works): Also check is_remote.
8918 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
8919
8920 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
8921
8922 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
8923 message, not the undefined 'module' variable.
8924 * gdb.base/siginfo.exp: Likewise.
8925 * gdb.base/sigstep.exp: Likewise.
8926 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
8927 serialport.
8928 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
8929
8930 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
8931
8932 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
8933 target sim fails. Return 0 otherwise.
8934 (gdb_load): Return prematurely if gdb_target_sim fails.
8935
8936 2007-04-16 Denis Pilat <denis.pilat@st.com>
8937
8938 * gdb.base/setshow.exp: Reset height after having set it to 100.
8939
8940 2007-04-16 Denis Pilat <denis.pilat@st.com>
8941
8942 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
8943
8944 2007-04-16 Denis Pilat <denis.pilat@st.com>
8945
8946 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
8947
8948 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
8949
8950 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
8951 tests. Run the frozen varobjs test.
8952 * gdb.mi/var-cmd.c (do_frozen_tests): New.
8953 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
8954
8955 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8956
8957 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
8958 gdb.base/type-opaque.exp: New files.
8959
8960 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
8961
8962 * gdb.mi/mi-var-child.c
8963 (do_children_tests): User char[2] instead of
8964 char so that automatic printing of pointers to char
8965 don't give unpredicable result.
8966 * gdb.mi/var-cmd.c (do_locals_test): Initialize
8967 local variables.
8968 * gdb.mi/mi-var-child.exp: Step to right line
8969 of do_children_tests.
8970 * gdb.mi/mi2-var-child.exp: Likewise.
8971 * gdb.mi/mi-var-cmd.exp: Step to right line of
8972 do_locals_tests.
8973 (do_children_tests): User char[2] instead of
8974 char so that automatic printing of pointers to char
8975 don't give unpredicable result.
8976 * gdb.mi/mi2-var-cmd.exp: Likewise.
8977 * lib/mi-support.exp (mi_continue_to_line):
8978 Pass test name to mi_wait_for_stop.
8979
8980 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8981
8982 * gdb.asm/asm-source.exp: Remove d10v case.
8983 * lib/gdb.exp (skip_cplus_tests): Likewise.
8984 * gdb.asm/d10v.inc: Deleted.
8985
8986 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8987
8988 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
8989
8990 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8991
8992 * config/netware.exp: Delete file.
8993
8994 2007-03-29 Joel Brobecker <brobecker@adacore.com>
8995
8996 * gdb.dwarf2/dw2-noloc.S: New file.
8997 * gdb.dwarf2/dw2-noloc.exp: New file.
8998
8999 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
9000
9001 * gdb.cp/method2.cc: New test.
9002 * gdb.cp/method2.exp: New test.
9003 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
9004
9005 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9006
9007 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
9008
9009 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
9010
9011 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
9012
9013 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
9014
9015 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
9016 (gdb_load): Delete, replace with...
9017 (gdb_reload): ...this.
9018 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
9019 * gdb.server/server-mon.exp: Likewise.
9020 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
9021 (gdb_start_cmd): New.
9022 (gdb_file_cmd): Save the last loaded file.
9023 (gdb_reload): New.
9024 (gdb_gnu_strip_debug): Use transform.
9025 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
9026 support here. Use new $last_loaded_file. Check mtime.
9027 (gdb_target_cmd): Handle ObjC failure case.
9028 (infer_host_exec): Delete.
9029 (gdbserver_load): Rename to...
9030 (gdbserver_run): ...this. Simplify.
9031 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
9032 (mi_gdb_load): Move most contents to a new function...
9033 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
9034 (mi_run_cmd): Use mi_gdb_target_load.
9035 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
9036 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
9037 Use gdb_run_cmd.
9038 * gdb.base/charsign.exp: Remove incorrect comment.
9039 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
9040 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
9041 gdb.base/start.exp: Use gdb_start_cmd.
9042
9043 2007-03-23 Nigel Stephens <nigel@mips.com>
9044 Maciej W. Rozycki <macro@mips.com>
9045
9046 * gdb.base/sigbpt.exp: Fix the message when skipping test.
9047 * gdb.base/signull.exp: Similarly.
9048
9049 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9050
9051 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
9052 messages available to test cases (like chng-sym.exp).
9053
9054 2007-03-14 Andreas Schwab <schwab@suse.de>
9055
9056 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
9057 format changes.
9058
9059 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
9060
9061 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
9062 (optimized_1): New.
9063 (main): Call optimized_1.
9064 (gdb2029): Correct typos. Call gdb2029_marker.
9065 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
9066 for gdb2029.
9067
9068 2007-03-12 Mark Kettenis <kettenis@gnu.org>
9069
9070 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
9071 as tabs. Remove redundant test pattern.
9072
9073 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9074
9075 * gdb.base/long_long.exp: Accept optional symbol name in <...>
9076 for /a format output.
9077
9078 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
9079
9080 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
9081 collect output incrementally.
9082
9083 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9084
9085 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
9086 for -var-create lpcharacter test.
9087 * gdb.mi/mi2-var-cmd.exp: Likewise.
9088
9089 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9090
9091 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
9092 pass on targets where address zero is readable.
9093
9094 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9095
9096 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
9097 just a single architecture.
9098
9099 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9100
9101 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
9102 (fetch_all_registers): New function, uses gdb_test_multiple and
9103 exp_continue to fetch inferior output line-by-line.
9104 Replace all uses of do_get_all_registers by fetch_all_registers.
9105
9106 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9107
9108 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
9109 in target_info.
9110
9111 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9112
9113 * gdb.threads/manythreads.exp: Use $message string for
9114 consistancy; add a default (timeout) case.
9115
9116 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9117
9118 * gdb.base/watchpoint.exp: Fix truncated comment.
9119
9120 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
9121
9122 * Makefile.in: Remove spurious single-quotes from sed command.
9123
9124 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9125
9126 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
9127 func.
9128 * gdb.mi/mi2-var-cmd.exp: Likewise.
9129
9130 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9131
9132 * gdb.dwarf2/dw2-producer.S: New file.
9133 * gdb.dwarf2/dw2-producer.exp: New testcase.
9134
9135 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
9136
9137 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9138 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9139 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9140 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9141 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9142 Revert tests to use mi_gdb_test and include value field in output
9143 of -var-create.
9144
9145 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9146
9147 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
9148
9149 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
9150
9151 * gdb.base/maint.exp: Remove full paths from test names.
9152 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
9153 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
9154
9155 2007-02-27 Joel Brobecker <brobecker@adacore.com>
9156
9157 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9158
9159 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9160
9161 * gdb.server/server-mon.exp: New test.
9162
9163 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9164
9165 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9166
9167 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9168
9169 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9170 register capitalization.
9171
9172 2007-02-13 Denis Pilat <denis.pilat@st.com>
9173
9174 * gdb.mi/mi-var-invalidate.exp: New file.
9175
9176 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9177
9178 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9179
9180 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9181
9182 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9183
9184 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9185
9186 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9187 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9188
9189 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
9190
9191 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9192 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9193 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9194 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9195 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9196 * gdb.mi/gdb792.exp, lib/mi-support.exp:
9197 Update tests to include value field in output of -var-create.
9198
9199 2007-02-08 Andreas Schwab <schwab@suse.de>
9200
9201 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9202
9203 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9204
9205 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
9206 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
9207
9208 2007-02-02 Denis Pilat <denis.pilat@st.com>
9209
9210 * gdb.threads/threadapply.exp: check that frame is not changed by
9211 the thread apply all command.
9212
9213 2007-01-31 Andreas Schwab <schwab@suse.de>
9214
9215 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9216
9217 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
9218 in the dwarf sections.
9219 * gdb.dwarf2/mac-fileno.S: Likewise.
9220
9221 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
9222 bspstore register on ia64.
9223
9224 2007-01-29 Andreas Schwab <schwab@suse.de>
9225
9226 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
9227 "frame-begin" annotation.
9228
9229 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
9230 number of "frames-invalid" annotations.
9231
9232 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9233
9234 * gdb.base/commands.exp: Call if_commands_test.
9235 (gdb_test_no_prompt, if_commands_test): New.
9236
9237 2007-01-28 Mark Kettenis <kettenis@gnu.org>
9238
9239 * gdb.threads/sigthread.c (NSIGS): Make bigger.
9240
9241 2007-01-27 Andreas Schwab <schwab@suse.de>
9242
9243 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
9244 .short/.int/.quad in the dwarf sections.
9245 * gdb.dwarf2/dw2-intercu.S: Likewise.
9246 * gdb.dwarf2/dw2-intermix.S: Likewise.
9247
9248 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9249
9250 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
9251 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
9252 array.
9253 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
9254 * gdb.base/setvar.exp: Likewise.
9255
9256 2007-01-26 Andreas Schwab <schwab@suse.de>
9257
9258 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
9259 test.
9260
9261 * gdb.base/multi-forks.exp ("restart $i"): Also match
9262 __kernel_syscall_via_break.
9263
9264 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
9265
9266 * lib/mi-support.exp (mi_delete_varobj): New.
9267 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
9268 testcase.
9269 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
9270 (main): Call the above.
9271 (reference_update_test, base_in_reference_test)
9272 (reference_to_pointer): Delete the created varobjs.
9273
9274 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
9275
9276 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
9277 * configure: Regenerated.
9278 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
9279 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
9280 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
9281 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
9282 * lib/gdb.exp (gdb_skip_xml_test): New function.
9283
9284 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
9285
9286 * gdb.base/sigrepeat.exp: Correct error message.
9287
9288 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9289 Daniel Jacobowitz <dan@codesourcery.com>
9290
9291 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
9292 gdb.arch/i386-gnu-cfi-asm.S: New files.
9293
9294 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9295
9296 * lib/gdb.exp: Abort on missing `site.exp'.
9297
9298 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9299 Daniel Jacobowitz <dan@codesourcery.com>
9300
9301 * gdb.base/included.c, gdb.base/included.exp,
9302 gdb.base/included.h: New files.
9303
9304 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9305
9306 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
9307 (maximize_rlimit): Reduce limits on 64-bit systems.
9308
9309 2007-01-19 Mark Kettenis <kettenis@gnu.org>
9310
9311 From Marcus Deuling <deuling@de.ibm.com>:
9312 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
9313 every case.
9314
9315 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
9316
9317 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
9318 (test_path_specification): Use objdir instead of srcdir to always
9319 get an absolute filename.
9320
9321 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
9322
9323 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
9324
9325 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
9326
9327 * gdb.mi/mi-var-cp.cc (reference_update_tests):
9328 Make sure the variable we're using is in scope.
9329 (reference_to_pointer): Likewise.
9330
9331 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9332
9333 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
9334 has no debug information.
9335
9336 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9337
9338 * gdb.base/annota1.exp: Remove extra send_gdb.
9339
9340 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9341
9342 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
9343
9344 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9345
9346 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
9347
9348 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
9349 Daniel Jacobowitz <dan@codesourcery.com>
9350
9351 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
9352 lcharacter or linteger change. Correct duplicated test name.
9353 * gdb.mi/mi2-var-cmd.exp: Likewise.
9354
9355 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9356
9357 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
9358
9359 2007-01-05 Joel Brobecker <brobecker@adacore.com>
9360
9361 * gdb.base/nofield.c: New file.
9362 * gdb.base/nofield.exp: New testcase.
9363
9364 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
9365
9366 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
9367
9368 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
9369 test.
9370
9371 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9372
9373 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
9374
9375 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9376
9377 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
9378 when continuing.
9379
9380 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9381
9382 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
9383 Expect ".exe" extension.
9384
9385 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9386
9387 * gdb.base/charset.exp: Add explicit filename to break.
9388 * gdb.base/dbx.exp: Add explicit filename to breaks.
9389
9390 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9391
9392 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
9393 * gdb.mi/mi2-file.exp: Likewise.
9394
9395 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9396
9397 Implement specification of MI tests as comments
9398 in C and C++ sources.
9399 * lib/mi-support.exp (mi_autotest_data): New variable.
9400 (mi_autotest_source): New variable.
9401 (count_newlines, mi_prepare_inline_tests)
9402 (mi_get_inline_test, mi_continue_to_line)
9403 (mi_run_inline_test, mi_tbreak)
9404 (mi_send_resuming_command, mi_wait_for_stop): New functions.
9405 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
9406 Run inline tests.
9407 * gdb.mi/mi-var-cp.cc: Define tests here.
9408
9409 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9410
9411 Simplify usage of mi_continue_to.
9412 * lib/mi-support.exp (mi_runto_helper): Renamed
9413 from mi_runto, added new parameter 'run_or_continue'.
9414 (mi_runto): Use mi_runto_helper.
9415 (mi_continue_to): Accept just function name as parameter.
9416 Use mi_runto_helper.
9417 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
9418 * gdb.mi/mi2-var-cmd.exp: Likewise.
9419
9420 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9421
9422 Make this testcase a bit more realistic. The current code
9423 is too simplistic, and allows the compiler to optimize out
9424 some of the entities we need for this testcase.
9425 * gdb.ada/null_record/bar.ads (Void_Star): New type.
9426 (Do_Nothing): Add extra parameter.
9427 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
9428 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
9429 by using a variable of type Void_Star.
9430
9431 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9432
9433 * gdb.ada/catch_ex/foo.adb: New file.
9434 * gdb.ada/catch_ex.exp: New testcase.
9435
9436 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
9437
9438 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
9439 pass --image-base to linker.
9440
9441 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9442 Daniel Jacobowitz <dan@codesourcery.com>
9443
9444 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
9445 secondary prompts.
9446
9447 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9448
9449 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
9450 output. Test the types of members and member pointers.
9451 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
9452 gdb/2092.
9453 * gdb.cp/member-ptr.exp: Search for a comment instead of a
9454 statement. Enable for GCC. Update expected output for some tests
9455 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
9456 layout.
9457 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
9458 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
9459 (Diamond::vget_base): New.
9460 (main): Add new tests.
9461 * gdb.cp/printmethod.exp: Update expected output for member functions.
9462 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
9463 print pEe->D::vg().
9464
9465 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9466
9467 * gdb.threads/tls.exp: Allow stops in sem_post.
9468
9469 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
9470
9471 * gdb.base/annota1.exp: Allow .*printf in backtraces.
9472 * gdb.base/annota3.exp: Likewise.
9473 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
9474 again (instead of timing out).
9475 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
9476 GCC bug 26475.
9477 * gdb.java/jmisc.exp: Adjust to work with method signatures including
9478 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
9479 test from jmisc1.exp.
9480 * gdb.java/jmisc1.exp: Delete.
9481 * gdb.java/jprint.exp: Adjust to work with method signatures including
9482 return types.
9483 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
9484 * gdb.threads/linux-dp.exp: Don't be confused by program output.
9485 * lib/java.exp (compile_java_from_source): Pass the correct type
9486 to target_compile.
9487
9488 2006-12-31 Joel Brobecker <brobecker@adacore.com>
9489
9490 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
9491 (stack_align_edx): New function.
9492 (stack_align_eax): New function.
9493 (main): Add calls to stack_align_edx and stack_align_eax.
9494 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
9495 Add testing for the cases where the register used during a stack
9496 realignment is edx. Same for eax.
9497
9498 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
9499
9500 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
9501 and generic PE targets.
9502
9503 2006-12-29 Joel Brobecker <brobecker@adacore.com>
9504
9505 * gdb.ada/array_return.exp: Update copyright date list.
9506
9507 2006-12-27 Joel Brobecker <brobecker@adacore.com>
9508
9509 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
9510 (Create_Small_Float_Vector): New function.
9511 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
9512 function body.
9513 * gdb.ada/array_return/p.adb: Use new type and function from
9514 package Pck.
9515 * gdb.ada/array_return.exp: Add a test verifying that GDB is
9516 able to print the value returned by a function returning an
9517 array of float.
9518
9519 2006-12-20 Joel Brobecker <brobecker@adacore.com>
9520
9521 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
9522 The associated tests should be PASSing.
9523
9524 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9525
9526 Test for base in references.
9527 * gdb.mi/mi-var-cp.cc: Add test code.
9528 * gdb.mi/mi-var-cp.exp: Test for bases in references.
9529 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
9530 * gdb.mi/mi2-watch.exp: Likewise.
9531 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
9532 (mi_list_varobj_children): New function.
9533
9534 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9535
9536 * lib/mi-support.exp
9537 (mi_runto): Accept "()" after function name.
9538 (mi_create_varobj): New function.
9539 (mi_varobj_update): New function.
9540 (mi_Check_varobj_value): New function.
9541 * gdb.mi/mi-var-cp.exp: New file.
9542 * gdb.mi/mi-var-cp.cc: New file.
9543
9544 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
9545
9546 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
9547 gdb.base/weaklib2.c: New files.
9548
9549 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
9550
9551 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
9552 info. Adjust test names.
9553
9554 * gdb.base/break.c (main): Move position of malloc.
9555 * gdb.base/break.exp: Revert mistaken checkin.
9556
9557 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
9558
9559 * gdb.mi/mi-var-cmd.exp: Check -var-update after
9560 assignement of arrays and function pointers.
9561 * gdb.mi/var-cmd.c: Add declaration necessary for above
9562 tests.
9563
9564 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9565
9566 * gdb.base/break.c (main): Call malloc.
9567
9568 * gdb.threads/linux-dp.exp: Read thread table before and after
9569 creating each philosopher and verify it.
9570
9571 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9572 Paul Brook <paul@codesourcery.com>
9573 Daniel Jacobowitz <dan@codesourcery.com>
9574
9575 * gdb.base/ending-run.exp: Flatten expect script stepping out of
9576 main to remove duplication. Add start function of the form
9577 '_*start[1-9]*'. Add RVDS start function.
9578
9579 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9580
9581 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
9582
9583 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9584
9585 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
9586 * gdb.asm/spu.inc: New file.
9587 * gdb.base/term.exp: Disable if [target_info exists noargs].
9588 * gdb.gdb/complaints.exp: Disable if ![isnative].
9589 * gdb.gdb/selftest.exp: Likewise.
9590 * gdb.gdb/observer.exp: Likewise.
9591 * gdb.gdb/xfullpath.exp: Likewise.
9592 * gdb.base/attach.exp: Disable on SPU target.
9593 * gdb.cp/bs145503.exp: Likewise.
9594 * gdb.cp/exception.exp: Likewise.
9595 * gdb.cp/userdef.exp: Likewise.
9596
9597 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9598
9599 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
9600
9601 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
9602
9603 * gdb.base/completion.exp: Fix completion tests for
9604 'info' and 'info '.
9605 * gdb.base/help.exp (help_test_raw, test_class_help)
9606 (test_prefix_command_help): Move...
9607 * lib/gdb.exp: Here.
9608 * gdb.base/main.exp: Adjust.
9609 * gdb.cp/maint.exp: Adjust.
9610 * gdb.trace/tracecmd.exp: Use test_help_class.
9611
9612 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9613
9614 * gdb.stabs/weird.exp (print_weird_var): Use
9615 gdb_test_multiple instead of gdb_expect.
9616
9617 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9618
9619 * gdb.base/help.exp (help_test_raw): New.
9620 (test_class_help): New.
9621 (test_prefix_command_help): New.
9622 Adjust testcases.
9623
9624 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
9625
9626 * gdb.base/constvars.c (main): Write to crass and crips, so that
9627 they are allocated by the compiler.
9628
9629 2006-10-27 Andreas Schwab <schwab@suse.de>
9630
9631 * gdb.base/multi-forks.exp: Use "detach fork" instead of
9632 "detach-fork".
9633
9634 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
9635
9636 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
9637 of patterns.
9638
9639 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9640
9641 * gdb.base/sepdebug.exp: Remove debug format test.
9642 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
9643 Handle no-symtab.
9644 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
9645
9646 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9647
9648 * gdb.threads/manythreads.c (thread_function, main): Don't cast
9649 int to pointer or pointer to int.
9650 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
9651
9652 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
9653
9654 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
9655
9656 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9657
9658 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
9659
9660 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9661
9662 PR c++/2116
9663 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
9664
9665 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9666
9667 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
9668 the corresponding bug has been fixed in GDB (PR/2018).
9669
9670 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9671
9672 * gdb.base/subst.exp: New testcase.
9673
9674 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9675
9676 * gdb.ada/array_return/pck.ads: Add copyright notice.
9677 * gdb.ada/array_return/pck.adb: Likewise.
9678 * gdb.ada/array_return/p.adb: Likewise.
9679 * gdb.ada/exec_changed/first.adb: Likewise.
9680 * gdb.ada/exec_changed/second.adb: Likewise.
9681
9682 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9683
9684 * gdb.ada/watch_arg/watch.adb: New file.
9685 * gdb.ada/watch_arg.exp: New testcase.
9686
9687 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
9688
9689 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
9690 via string_to_regexp.
9691 * gdb.mi/mi2-basics.exp: Likewise.
9692
9693 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
9694
9695 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
9696 Remove unused / obsolete files.
9697
9698 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
9699
9700 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
9701
9702 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
9703
9704 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
9705 HIGH_FRAME argument to -stack-list-arguments can be larger than
9706 the number of frames.
9707
9708 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
9709
9710 * gdb.base/args.c (main): Add breakpoint marker.
9711 * gdb.base/args.exp: Use args_test for tests. Add new tests which
9712 really test empty arguments.
9713 (args_load): Delete.
9714 (args_test): New.
9715
9716 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
9717
9718 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
9719 check for one file.
9720
9721 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
9722
9723 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
9724 HIGH_FRAME argument to -stack-list-locals can be larger than
9725 the number of frames.
9726
9727 2006-08-18 Fred Fish <fnf@specifix.com>
9728
9729 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
9730 '$' in front of skip_vmx_tests_saved when setting that.
9731
9732 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
9733
9734 * gdb.base/trace-commands.exp: New file.
9735
9736 2006-08-10 Joel Brobecker <brobecker@adacore.com>
9737 Daniel Jacobowitz <dan@codesourcery.com>
9738
9739 * gdb.base/step-bt.exp: Make hexadecimal address optional in
9740 expected output of the backtrace commands.
9741
9742 2006-08-09 Joel Brobecker <brobecker@adacore.com>
9743
9744 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
9745 untested followed by return combination.
9746 * gdb.arch/altivec-regs.exp: Likewise.
9747 * gdb.arch/e500-abi.exp: Likewise.
9748 * gdb.arch/e500-regs.exp: Likewise.
9749 * gdb.arch/gdb1291.exp: Likewise.
9750 * gdb.arch/gdb1431.exp: Likewise.
9751 * gdb.arch/gdb1558.exp: Likewise.
9752 * gdb.arch/i386-prologue.exp: Likewise.
9753 * gdb.arch/i386-unwind.exp: Likewise.
9754 * gdb.asm/asm-source.exp: Likewise.
9755 * gdb.base/a2-run.exp: Likewise.
9756 * gdb.base/advance.exp: Likewise.
9757 * gdb.base/all-bin.exp: Likewise.
9758 * gdb.base/annota1.exp: Likewise.
9759 * gdb.base/annota3.exp: Likewise.
9760 * gdb.base/args.exp: Likewise.
9761 * gdb.base/arithmet.exp: Likewise.
9762 * gdb.base/assign.exp: Likewise.
9763 * gdb.base/async.exp: Likewise.
9764 * gdb.base/attach.exp: Likewise.
9765 * gdb.base/bang.exp: Likewise.
9766 * gdb.base/bigcore.exp: Likewise.
9767 * gdb.base/bitfields.exp: Likewise.
9768 * gdb.base/bitfields2.exp: Likewise.
9769 * gdb.base/break.exp: Likewise.
9770 * gdb.base/call-sc.exp: Likewise.
9771 * gdb.base/call-strs.exp: Likewise.
9772 * gdb.base/callfuncs.exp: Likewise.
9773 * gdb.base/checkpoint.exp: Likewise.
9774 * gdb.base/chng-syms.exp: Likewise.
9775 * gdb.base/code-expr.exp: Likewise.
9776 * gdb.base/commands.exp: Likewise.
9777 * gdb.base/completion.exp: Likewise.
9778 * gdb.base/cond-expr.exp: Likewise.
9779 * gdb.base/condbreak.exp: Likewise.
9780 * gdb.base/consecutive.exp: Likewise.
9781 * gdb.base/constvars.exp: Likewise.
9782 * gdb.base/corefile.exp: Likewise.
9783 * gdb.base/cvexpr.exp: Likewise.
9784 * gdb.base/dbx.exp: Likewise.
9785 * gdb.base/define.exp: Likewise.
9786 * gdb.base/detach.exp: Likewise.
9787 * gdb.base/display.exp: Likewise.
9788 * gdb.base/dump.exp: Likewise.
9789 * gdb.base/ena-dis-br.exp: Likewise.
9790 * gdb.base/ending-run.exp: Likewise.
9791 * gdb.base/environ.exp: Likewise.
9792 * gdb.base/eval-skip.exp: Likewise.
9793 * gdb.base/exprs.exp: Likewise.
9794 * gdb.base/fileio.exp: Likewise.
9795 * gdb.base/finish.exp: Likewise.
9796 * gdb.base/float.exp: Likewise.
9797 * gdb.base/foll-exec.exp: Likewise.
9798 * gdb.base/foll-fork.exp: Likewise.
9799 * gdb.base/foll-vfork.exp: Likewise.
9800 * gdb.base/freebpcmd.exp: Likewise.
9801 * gdb.base/funcargs.exp: Likewise.
9802 * gdb.base/gcore.exp: Likewise.
9803 * gdb.base/gdb1090.exp: Likewise.
9804 * gdb.base/gdb1250.exp: Likewise.
9805 * gdb.base/huge.exp: Likewise.
9806 * gdb.base/info-proc.exp: Likewise.
9807 * gdb.base/interrupt.exp: Likewise.
9808 * gdb.base/jump.exp: Likewise.
9809 * gdb.base/langs.exp: Likewise.
9810 * gdb.base/lineinc.exp: Likewise.
9811 * gdb.base/list.exp: Likewise.
9812 * gdb.base/logical.exp: Likewise.
9813 * gdb.base/long_long.exp: Likewise.
9814 * gdb.base/macscp.exp: Likewise.
9815 * gdb.base/maint.exp: Likewise.
9816 * gdb.base/mips_pro.exp: Likewise.
9817 * gdb.base/miscexprs.exp: Likewise.
9818 * gdb.base/multi-forks.exp: Likewise.
9819 * gdb.base/opaque.exp: Likewise.
9820 * gdb.base/overlays.exp: Likewise.
9821 * gdb.base/pc-fp.exp: Likewise.
9822 * gdb.base/pointers.exp: Likewise.
9823 * gdb.base/printcmds.exp: Likewise.
9824 * gdb.base/psymtab.exp: Likewise.
9825 * gdb.base/ptype.exp: Likewise.
9826 * gdb.base/recurse.exp: Likewise.
9827 * gdb.base/relational.exp: Likewise.
9828 * gdb.base/relocate.exp: Likewise.
9829 * gdb.base/remote.exp: Likewise.
9830 * gdb.base/reread.exp: Likewise.
9831 * gdb.base/restore.exp: Likewise.
9832 * gdb.base/return.exp: Likewise.
9833 * gdb.base/return2.exp: Likewise.
9834 * gdb.base/scope.exp: Likewise.
9835 * gdb.base/sect-cmd.exp: Likewise.
9836 * gdb.base/sep.exp: Likewise.
9837 * gdb.base/sepdebug.exp: Likewise.
9838 * gdb.base/setshow.exp: Likewise.
9839 * gdb.base/setvar.exp: Likewise.
9840 * gdb.base/sigall.exp: Likewise.
9841 * gdb.base/sigbpt.exp: Likewise.
9842 * gdb.base/signals.exp: Likewise.
9843 * gdb.base/signull.exp: Likewise.
9844 * gdb.base/sizeof.exp: Likewise.
9845 * gdb.base/solib.exp: Likewise.
9846 * gdb.base/step-line.exp: Likewise.
9847 * gdb.base/step-test.exp: Likewise.
9848 * gdb.base/structs.exp: Likewise.
9849 * gdb.base/structs2.exp: Likewise.
9850 * gdb.base/term.exp: Likewise.
9851 * gdb.base/twice.exp: Likewise.
9852 * gdb.base/until.exp: Likewise.
9853 * gdb.base/varargs.exp: Likewise.
9854 * gdb.base/volatile.exp: Likewise.
9855 * gdb.base/watchpoint.exp: Likewise.
9856 * gdb.base/whatis-exp.exp: Likewise.
9857 * gdb.base/whatis.exp: Likewise.
9858 * gdb.cp/ambiguous.exp: Likewise.
9859 * gdb.cp/annota2.exp: Likewise.
9860 * gdb.cp/annota3.exp: Likewise.
9861 * gdb.cp/bool.exp: Likewise.
9862 * gdb.cp/breakpoint.exp: Likewise.
9863 * gdb.cp/casts.exp: Likewise.
9864 * gdb.cp/class2.exp: Likewise.
9865 * gdb.cp/classes.exp: Likewise.
9866 * gdb.cp/cplusfuncs.exp: Likewise.
9867 * gdb.cp/ctti.exp: Likewise.
9868 * gdb.cp/derivation.exp: Likewise.
9869 * gdb.cp/exception.exp: Likewise.
9870 * gdb.cp/gdb1355.exp: Likewise.
9871 * gdb.cp/hang.exp: Likewise.
9872 * gdb.cp/inherit.exp: Likewise.
9873 * gdb.cp/local.exp: Likewise.
9874 * gdb.cp/m-data.exp: Likewise.
9875 * gdb.cp/m-static.exp: Likewise.
9876 * gdb.cp/member-ptr.exp: Likewise.
9877 * gdb.cp/method.exp: Likewise.
9878 * gdb.cp/misc.exp: Likewise.
9879 * gdb.cp/namespace.exp: Likewise.
9880 * gdb.cp/overload.exp: Likewise.
9881 * gdb.cp/ovldbreak.exp: Likewise.
9882 * gdb.cp/pr-1023.exp: Likewise.
9883 * gdb.cp/pr-1210.exp: Likewise.
9884 * gdb.cp/pr-574.exp: Likewise.
9885 * gdb.cp/printmethod.exp: Likewise.
9886 * gdb.cp/psmang.exp: Likewise.
9887 * gdb.cp/ref-params.exp: Likewise.
9888 * gdb.cp/ref-types.exp: Likewise.
9889 * gdb.cp/rtti.exp: Likewise.
9890 * gdb.cp/templates.exp: Likewise.
9891 * gdb.cp/try_catch.exp: Likewise.
9892 * gdb.cp/userdef.exp: Likewise.
9893 * gdb.cp/virtfunc.exp: Likewise.
9894 * gdb.disasm/am33.exp: Likewise.
9895 * gdb.disasm/h8300s.exp: Likewise.
9896 * gdb.disasm/mn10300.exp: Likewise.
9897 * gdb.disasm/sh3.exp: Likewise.
9898 * gdb.disasm/t01_mov.exp: Likewise.
9899 * gdb.disasm/t02_mova.exp: Likewise.
9900 * gdb.disasm/t03_add.exp: Likewise.
9901 * gdb.disasm/t04_sub.exp: Likewise.
9902 * gdb.disasm/t05_cmp.exp: Likewise.
9903 * gdb.disasm/t06_ari2.exp: Likewise.
9904 * gdb.disasm/t07_ari3.exp: Likewise.
9905 * gdb.disasm/t08_or.exp: Likewise.
9906 * gdb.disasm/t09_xor.exp: Likewise.
9907 * gdb.disasm/t10_and.exp: Likewise.
9908 * gdb.disasm/t11_logs.exp: Likewise.
9909 * gdb.disasm/t12_bit.exp: Likewise.
9910 * gdb.disasm/t13_otr.exp: Likewise.
9911 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
9912 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
9913 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9914 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
9915 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
9916 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
9917 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
9918 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
9919 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
9920 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
9921 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
9922 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
9923 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
9924 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
9925 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
9926 * gdb.mi/gdb701.exp: Likewise.
9927 * gdb.mi/gdb792.exp: Likewise.
9928 * gdb.mi/mi-basics.exp: Likewise.
9929 * gdb.mi/mi-break.exp: Likewise.
9930 * gdb.mi/mi-cli.exp: Likewise.
9931 * gdb.mi/mi-console.exp: Likewise.
9932 * gdb.mi/mi-disassemble.exp: Likewise.
9933 * gdb.mi/mi-eval.exp: Likewise.
9934 * gdb.mi/mi-file.exp: Likewise.
9935 * gdb.mi/mi-read-memory.exp: Likewise.
9936 * gdb.mi/mi-regs.exp: Likewise.
9937 * gdb.mi/mi-return.exp: Likewise.
9938 * gdb.mi/mi-simplerun.exp: Likewise.
9939 * gdb.mi/mi-stack.exp: Likewise.
9940 * gdb.mi/mi-stepi.exp: Likewise.
9941 * gdb.mi/mi-syn-frame.exp: Likewise.
9942 * gdb.mi/mi-until.exp: Likewise.
9943 * gdb.mi/mi-var-block.exp: Likewise.
9944 * gdb.mi/mi-var-child.exp: Likewise.
9945 * gdb.mi/mi-var-cmd.exp: Likewise.
9946 * gdb.mi/mi-var-display.exp: Likewise.
9947 * gdb.mi/mi-watch.exp: Likewise.
9948 * gdb.mi/mi2-basics.exp: Likewise.
9949 * gdb.mi/mi2-break.exp: Likewise.
9950 * gdb.mi/mi2-cli.exp: Likewise.
9951 * gdb.mi/mi2-console.exp: Likewise.
9952 * gdb.mi/mi2-disassemble.exp: Likewise.
9953 * gdb.mi/mi2-eval.exp: Likewise.
9954 * gdb.mi/mi2-file.exp: Likewise.
9955 * gdb.mi/mi2-read-memory.exp: Likewise.
9956 * gdb.mi/mi2-regs.exp: Likewise.
9957 * gdb.mi/mi2-return.exp: Likewise.
9958 * gdb.mi/mi2-simplerun.exp: Likewise.
9959 * gdb.mi/mi2-stack.exp: Likewise.
9960 * gdb.mi/mi2-stepi.exp: Likewise.
9961 * gdb.mi/mi2-syn-frame.exp: Likewise.
9962 * gdb.mi/mi2-until.exp: Likewise.
9963 * gdb.mi/mi2-var-block.exp: Likewise.
9964 * gdb.mi/mi2-var-child.exp: Likewise.
9965 * gdb.mi/mi2-var-cmd.exp: Likewise.
9966 * gdb.mi/mi2-var-display.exp: Likewise.
9967 * gdb.mi/mi2-watch.exp: Likewise.
9968 * gdb.stabs/exclfwd.exp: Likewise.
9969 * gdb.stabs/weird.exp: Likewise.
9970 * gdb.threads/gcore-thread.exp: Likewise.
9971 * gdb.trace/actions.exp: Likewise.
9972 * gdb.trace/backtrace.exp: Likewise.
9973 * gdb.trace/circ.exp: Likewise.
9974 * gdb.trace/collection.exp: Likewise.
9975 * gdb.trace/deltrace.exp: Likewise.
9976 * gdb.trace/infotrace.exp: Likewise.
9977 * gdb.trace/limits.exp: Likewise.
9978 * gdb.trace/packetlen.exp: Likewise.
9979 * gdb.trace/passc-dyn.exp: Likewise.
9980 * gdb.trace/passcount.exp: Likewise.
9981 * gdb.trace/report.exp: Likewise.
9982 * gdb.trace/save-trace.exp: Likewise.
9983 * gdb.trace/tfind.exp: Likewise.
9984 * gdb.trace/tracecmd.exp: Likewise.
9985 * gdb.trace/while-dyn.exp: Likewise.
9986 * gdb.trace/while-stepping.exp: Likewise.
9987
9988 2006-08-08 Joel Brobecker <brobecker@adacore.com>
9989
9990 * gdb.base/step-bt.c: New file.
9991 * gdb.base/step-bt.exp: New testcase.
9992
9993 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
9994
9995 * config/monitor.exp (gdb_load): Remove support for obsolete
9996 download-write-size.
9997 * gdb.base/remote.exp: Likewise. Update all callers of
9998 gdb_timed_load.
9999
10000 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
10001
10002 * cursal.exp: Pass binfile to gdb_load.
10003
10004 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
10005
10006 * gdb.base/cursal.exp: Add "" to gdb_load call.
10007
10008 2006-07-29 Mark Kettenis <kettenis@gnu.org>
10009
10010 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
10011 NetBSD/ELF targets.
10012
10013 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
10014
10015 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
10016 operator*.
10017
10018 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
10019
10020 * gdb.base/completion.exp: Update for change in "file" behavior.
10021 * gdb.stabs/weird.exp: Likewise.
10022 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
10023 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
10024
10025 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
10026
10027 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
10028 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
10029
10030 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
10031
10032 * gdb.base/default.exp: Update source command error message.
10033 * gdb.base/help.exp: Update 'help source' message.
10034
10035 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
10036
10037 * gdb.cp/bs15503.exp: Update comment for no longer crashing
10038 test.
10039
10040 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
10041
10042 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
10043
10044 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10045
10046 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
10047
10048 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
10049
10050 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
10051
10052 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10053
10054 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
10055 *-*-openbsd* from targets for wich we expect ARM FPA floating
10056 point format.
10057
10058 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
10059
10060 * gdb.cp/annota3.exp: Expect frame-begin annotation.
10061
10062 2006-07-17 Mark Kettenis <kettenis@gnu.org>
10063
10064 * gdb.base/annota3.exp: Expect frame-begin annotation.
10065
10066 2006-07-14 Joel Brobecker <brobecker@adacore.com>
10067
10068 * gdb.base/help.exp: Adjust "help unset" test to accept
10069 any list of unset commands.
10070
10071 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
10072 Daniel Jacobowitz <dan@codesourcery.com>
10073
10074 * gdb.cp/ref-params.exp: New test.
10075 * gdb.cp/ref-params.cc: New source file.
10076 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
10077
10078 2006-07-08 Mark Kettenis <kettenis@gnu.org>
10079
10080 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
10081 spaces/tabs in regular expressions since they might not be there.
10082
10083 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
10084
10085 * gdb.base/ifelse.exp: New file.
10086
10087 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
10088
10089 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
10090 line.
10091 * gdb.base/huge.exp: Loop over compilation to find a size that
10092 is acceptable.
10093 * gdb.base/remote.exp: Correct expected strings.
10094 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
10095
10096 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10097
10098 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
10099
10100 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10101
10102 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
10103 native.
10104
10105 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10106
10107 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
10108 enable stabs testing.
10109
10110 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10111
10112 * gdb.base/auxv.exp: Intercept undefined command messages before
10113 gdb_test_multiple does.
10114
10115 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
10116
10117 * Makefile.in (host_alias): Remove.
10118 (target_alias): Use @target_noncanonical@.
10119 (site.exp): Don't set host_alias.
10120 * aclocal.m4: Remove contents. Include acx.m4.
10121 * configure: Regenerated.
10122 * configure.ac: Use ACX_NONCANONICAL_TARGET.
10123
10124 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
10125
10126 * lib/gdb.exp (gdb_load_cmd): New.
10127
10128 * gdb.base/fileio.c: Add system(NULL) test.
10129 * gdb.base/fileio.exp: Check it.
10130
10131 * gdb.base/break.c: Add 10a breakpoint at }
10132 * gdb.base/break.exp: Add test for breakpoint at }
10133 * gdb.cp/anon-union.cc: Add code at end of function.
10134 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
10135 * gdb.mi/var-cmd.c: Add code at end of function.
10136 * gdb.mi/mi-var-display.exp: Adjust end of next.
10137 * gdb.mi/mi2-var-display.exp: Likewise.
10138 * gdb.base/fileio.c: Add stop function and insert calls at
10139 stopping places.
10140 * gdb.base/fileio.exp: Breakpoint stop function and remove
10141 explicit line number references.
10142
10143 2006-05-19 Joel Brobecker <brobecker@adacore.com>
10144
10145 * gdb.base/del.exp (test_delete_alias): New function.
10146 Now check that both "del" and "d" work as aliases for "delete".
10147
10148 2006-05-18 Fred Fish <fnf@specifix.com>
10149
10150 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
10151 required. Check for spurious output after program exits normally.
10152
10153 2006-05-17 Fred Fish <fnf@specifix.com>
10154
10155 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
10156 gdb_load, so it works in the simulator.
10157
10158 2006-05-11 Fred Fish <fnf@specifix.com>
10159
10160 * gdb.base/bang.exp: Ignore unexpected output between the
10161 "program exited normally" and the gdb prompt, as many other
10162 tests do.
10163
10164 2006-05-07 Mark Kettenis <kettenis@gnu.org>
10165
10166 * gdb.base/help.exp: Make "delete checkpoint" part option for
10167 "help d" and "help delete" tests.
10168
10169 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10170
10171 * gdb.mi/mi-basics.exp: Add missing serial number to
10172 expected output in some mi_gdb_test statements.
10173 * gdb.mi/mi2-basics.exp: Likewise.
10174
10175 2006-05-05 Joel Brobecker <brobecker@adacore.com>
10176
10177 * gdb.base/del.c: New file.
10178 * gdb.base/del.exp: New testcase.
10179
10180 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
10181
10182 * gdb.base/break.exp: Do not assume a breakpoint on
10183 main will actually be in $srcfile when optimizing.
10184 * gdb.base/savedregs.exp: Do not require that the dummy
10185 frame location match up to a symbol and source file location.
10186 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10187 will get printed without a mi_cmd_data_list_register_values prefix.
10188 (*-data-list-register-*): Correct regular expressions to expect the new
10189 pseudo d? floating point registers.
10190 * gdb.mi/mi2-regs.exp: Likewise.
10191
10192 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
10193
10194 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10195 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10196 is allocated by the compiler.
10197 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10198 anons, e, anone to force their allocation by the compiler.
10199
10200 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
10201
10202 * gdb.base/help.exp: Update expected text for help d and
10203 help delete.
10204
10205 2006-05-02 Mark Kettenis <kettenis@gnu.org>
10206
10207 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
10208 NetBSD/ELF targets.
10209
10210 2006-04-30 Mark Kettenis <kettenis@gnu.org>
10211
10212 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
10213 single-step breakpoint fails; make this a KFAIL on
10214 sparc*-*-openbsd*.
10215 * gdb.base/siginfo.exp: Likewise.
10216 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10217
10218 2006-04-26 Michael Snyder <msnyder@redhat.com>
10219
10220 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
10221 which may have to consume output from other forks.
10222 Add tests to make sure that "delete fork" succeeded.
10223
10224 2006-04-20 Michael Snyder <msnyder@redhat.com>
10225
10226 * 2006-03-22 Jim Blandy <jimb@redhat.com>
10227 Add support for the Renesas M32C and M16C.
10228
10229 * gdb.asm/asm-source.exp: Add m32c target.
10230 * gdb.asm/m32c.inc: Support for m32c target.
10231
10232 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
10233
10234 * gdb.base/commands.exp (recursive_source_test): New test.
10235
10236 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
10237
10238 * gdb.base/float.exp: Add pattern for sparc targets.
10239
10240 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10241
10242 * gdb.base/commands.exp (stray_arg0_test): New test.
10243
10244 2006-03-30 Paul Brook <paul@codesourcery.com>
10245
10246 * gdb.mi/mi-until.exp: kfail broken until command.
10247 * gdb.mi/mi2-until.exp: Ditto.
10248
10249 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
10250
10251 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
10252
10253 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
10254
10255 * gdb.base/prelink.exp: Anchor tested-for regular expression
10256 on gdb prompt.
10257
10258 2006-03-07 Paul Brook <paul@codesourcery.com>
10259
10260 * gdb.base/assign.exp: Correct fail message.
10261
10262 2006-03-07 Paul Brook <paul@codesourcery.com>
10263
10264 * lib/compiler.c: Extract armcc version number.
10265 * lib/compiler.cc: Ditto.
10266
10267 2006-03-07 Paul Brook <paul@codesourcery.com>
10268
10269 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
10270 additional_flags=-w.
10271 * gdb.arch/altivec-regs.exp: Ditto.
10272 * gdb.arch/e500-abi.exp: Ditto.
10273 * gdb.arch/e500-regs.exp: Ditto.
10274 * gdb.base/all-bin.exp: Ditto.
10275 * gdb.base/annota1.exp: Ditto.
10276 * gdb.base/annota3.exp: Ditto.
10277 * gdb.base/args.exp: Ditto.
10278 * gdb.base/arithmet.exp: Ditto.
10279 * gdb.base/assign.exp: Ditto.
10280 * gdb.base/async.exp: Ditto.
10281 * gdb.base/bang.exp: Ditto.
10282 * gdb.base/break.exp: Ditto.
10283 * gdb.base/call-rt-st.exp: Ditto.
10284 * gdb.base/completion.exp: Ditto.
10285 * gdb.base/cond-expr.exp: Ditto.
10286 * gdb.base/condbreak.exp: Ditto.
10287 * gdb.base/consecutive.exp: Ditto.
10288 * gdb.base/define.exp: Ditto.
10289 * gdb.base/display.exp: Ditto.
10290 * gdb.base/ena-dis-br.exp: Ditto.
10291 * gdb.base/environ.exp: Ditto.
10292 * gdb.base/eval-skip.exp: Ditto.
10293 * gdb.base/info-proc.exp: Ditto.
10294 * gdb.base/jump.exp: Ditto.
10295 * gdb.base/logical.exp: Ditto.
10296 * gdb.base/long_long.exp: Ditto.
10297 * gdb.base/maint.exp: Ditto.
10298 * gdb.base/miscexprs.exp: Ditto.
10299 * gdb.base/pc-fp.exp: Ditto.
10300 * gdb.base/pointers.exp: Ditto.
10301 * gdb.base/relational.exp: Ditto.
10302 * gdb.base/reread.exp: Ditto.
10303 * gdb.base/sect-cmd.exp: Ditto.
10304 * gdb.base/sep.exp: Ditto.
10305 * gdb.base/sepdebug.exp: Ditto.
10306 * gdb.base/until.exp: Ditto.
10307 * gdb.base/whatis-exp.exp: Ditto.
10308 * gdb.cp/annota2.exp: Ditto.
10309 * gdb.cp/annota3.exp: Ditto.
10310 * gdb.trace/actions.exp: Ditto.
10311 * gdb.trace/backtrace.exp: Ditto.
10312 * gdb.trace/circ.exp: Ditto.
10313 * gdb.trace/collection.exp: Ditto.
10314 * gdb.trace/deltrace.exp: Ditto.
10315 * gdb.trace/infotrace.exp: Ditto.
10316 * gdb.trace/limits.exp: Ditto.
10317 * gdb.trace/packetlen.exp: Ditto.
10318 * gdb.trace/passc-dyn.exp: Ditto.
10319 * gdb.trace/passcount.exp: Ditto.
10320 * gdb.trace/report.exp: Ditto.
10321 * gdb.trace/save-trace.exp: Ditto.
10322 * gdb.trace/tfind.exp: Ditto.
10323 * gdb.trace/tracecmd.exp: Ditto.
10324 * gdb.trace/while-dyn.exp: Ditto.
10325 * gdb.trace/while-stepping.exp: Ditto.
10326 * lib/gdb.exp: Ditto.
10327 (gdb_compile): Handle nowarning option.
10328
10329 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
10330
10331 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
10332 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
10333 Rename executable to prelinkt. Don't re-prelink if we didn't
10334 get a core file. Test prelink -u exit status to tell whether
10335 prelinking failed. Use gdb_test_multiple.
10336
10337 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10338
10339 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
10340 (do_tests): Call it.
10341
10342 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
10343
10344 * gdb.base/prelink.exp: New test.
10345 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
10346
10347 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
10348
10349 * gdb.fortran/derived-type.f90: New file.
10350 * gdb.fortran/derived-type.exp: New testcase.
10351
10352 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
10353
10354 * gdb.base/default.exp: Allow ';' as a directory separator.
10355
10356 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10357
10358 * gdb.base/help.exp (help add-symbol-file): Update.
10359
10360 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10361
10362 * gdb.base/help.exp (help load): Update expected results.
10363
10364 2006-02-19 Fred Fish <fnf@specifix.com>
10365
10366 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
10367 specifix hex value as part of results.
10368 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
10369
10370 2006-02-16 Fred Fish <fnf@specifix.com>
10371
10372 * gdb.base/whatis.c: Define variables using typedefs char_addr,
10373 ushort_addr, and slong_addr, so the typedefs are not optimized
10374 away.
10375 * gdb.base/whatis.exp: Add tests using type name for struct type,
10376 union type, enum type, and typedef.
10377
10378 2006-02-13 Mark Kettenis <kettenis@gnu.org>
10379
10380 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
10381
10382 2006-02-13 Jim Blandy <jimb@redhat.com>
10383
10384 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
10385 case where it takes two "next" commands to skip past the init
10386 call.
10387
10388 2006-02-12 Fred Fish <fnf@specifix.com>
10389
10390 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
10391 to handle cases where it takes two "next" commands to skip
10392 past the init call.
10393
10394 2006-02-07 Joel Brobecker <brobecker@adacore.com>
10395
10396 * gdb.ada/array_return.exp: Mark the last test as expected to fail
10397 on hppa32 targets.
10398
10399 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
10400
10401 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
10402 field.
10403
10404 2006-01-29 Mark Kettenis <kettenis@gnu.org>
10405
10406 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
10407
10408 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10409
10410 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
10411 files.
10412
10413 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10414
10415 * gdb.cp/maint.exp: Set complaints to a positive value.
10416
10417 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10418
10419 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
10420 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
10421 function name.
10422
10423 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10424
10425 * gdb.base/checkpoint.c: Update copyright notice. Include
10426 <stdlib.h>.
10427
10428 2006-01-04 Jim Blandy <jimb@redhat.com>
10429
10430 * gdb.asm/asm-source.exp: Independently provide default values for
10431 asm-flags and debug-flags. Use 'string equal' to do the
10432 comparison, not the implicit expr's '==' operator. Remove
10433 now-unneeded assignments to asm-flags. In h8300 case, place
10434 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
10435
10436 2006-01-04 Michael Snyder <msnyder@redhat.com>
10437
10438 * gdb.base/checkpoint.c: New file.
10439 * gdb.base/checkpoint.exp: New file.
10440 * gdb.base/multi-fork.c: New file.
10441 * gdb.base/multi-fork.exp: New file.
10442 * gdb.base/pi.txt: New file (data for checkpoint.c test).
10443
10444 2006-01-04 Fred Fish <fnf@specifix.com>
10445
10446 * gdb.base/ptype.c (foo): Add typedef.
10447 (intfoo): Add function.
10448 * gdb.base/ptype1.c: New file.
10449 * gdb.base/ptype.exp: Handle compilation and linking with two
10450 source files. Test that proper type for "foo" is found based
10451 on source context rather than first match found in symtabs.
10452
10453 2005-12-28 Mark Kettenis <kettenis@gnu.org>
10454
10455 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
10456 * gdb.asm/openbsd.inc: Indent commands.
10457
10458 2005-12-26 Mark Kettenis <kettenis@gnu.org>
10459
10460 * gdb.base/freebpcmd.exp: Increase timeout.
10461
10462 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
10463
10464 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
10465
10466 * gdb.base/default.exp: Update check for "show version".
10467
10468 2005-12-09 Randolph Chung <tausq@debian.org>
10469
10470 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
10471 * gdb.asm/pa64.inc: New file.
10472
10473 2005-12-09 Randolph Chung <tausq@debian.org>
10474
10475 * gdb.asm/common.inc: Indent commands.
10476 * gdb.asm/asmsrc1.s: Likewise.
10477 * gdb.asm/asmsrc2.s: Likewise.
10478
10479 2005-12-09 Randolph Chung <tausq@debian.org>
10480
10481 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
10482 (get_addr_of_sym): Remove duplicate print.
10483 (gen_core): xfail hppa*-*-hpux*, update expected output.
10484 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
10485 * gdb.arch/pa64-nullify.s: New file.
10486
10487 2005-12-09 Randolph Chung <tausq@debian.org>
10488
10489 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
10490
10491 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
10492
10493 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
10494 code generation for these functions.
10495 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
10496 error message.
10497
10498 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
10499
10500 * gdb.base/help.exp (help b, help br, help bre, help brea)
10501 (help break): Update the expected message.
10502
10503 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
10504
10505 * gdb.asm/m68hc11.inc: Setup the data section.
10506 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
10507 script for this test.
10508 (m6812-*-*): Likewise.
10509
10510 2005-11-09 Randolph Chung <tausq@debian.org>
10511
10512 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
10513
10514 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
10515
10516 * gdb.base/break.exp: Fix a comment typo.
10517
10518 2005-11-03 Jim Blandy <jimb@redhat.com>
10519
10520 Checked in by Elena Zannoni <ezannoni@redhat.com>
10521
10522 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
10523
10524 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
10525
10526 * gdb.arch/gdb1558.c: Include stdio.h.
10527
10528 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10529
10530 * gdb.asm/asm-source.exp: Use -e instead of --entry.
10531
10532 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10533
10534 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
10535
10536 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
10537
10538 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10539 vscr" tests to better match output.
10540
10541 2005-10-12 Jim Blandy <jimb@redhat.com>
10542
10543 * gdb.base/structs.exp (any): New function.
10544 (test_struct_returns): Don't make any assumptions at all about
10545 what value the function returns when GDB can't set the return
10546 value.
10547
10548 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10549
10550 * gdb.ada/arrayidx/p.adb: New file.
10551 * gdb.ada/arrayidx.exp: New testcase
10552
10553 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10554
10555 * gdb.ada/array_return/pck.ads: New file.
10556 * gdb.ada/array_return/pck.adb: New file.
10557 * gdb.ada/array_return/p.adb: New file.
10558 * gdb.ada/array_return.exp: New testcase.
10559
10560 2005-10-03 Joel Brobecker <brobecker@adacore.com>
10561
10562 * gdb.base/arrayidx.c: New file.
10563 * gdb.base/arrayidx.exp: New testcase.
10564
10565 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
10566
10567 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
10568 frames-invalid and breakpoints-invalid are no longer generated
10569 with level 3 so don't expect them in the output.
10570
10571 2005-09-27 Bob Rossi <bob@brasko.net>
10572
10573 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
10574 from test. Escape the | in mi_gdb_test call.
10575 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
10576 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
10577 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
10578 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
10579 expected regex's in mi_gdb_test calls.
10580 * lib/mi-support.exp: Remove arbitrary .* from tests.
10581 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
10582 Fully anchor GDB/MI expected results in mi_gdb_test.
10583 * lib/gdb.exp (string_to_regexp): Escape the ] character.
10584 * gdb.base/sizeof.exp: Remove escape character. Correct test.
10585
10586 2005-09-26 Paul Brook <paul@codesourcery.com>
10587
10588 * long_long.exp: Exclude eabi targets from arm FPA float format test.
10589
10590 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10591
10592 * bfp-test.c: New file.
10593 * bfp-test.exp: New testcase.
10594
10595 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10596
10597 * gdb.fortran/subarray.exp: New testcase to test the evaluation
10598 of subarray and substring variable.
10599 * gdb.fortran/subarray.f: New source file for the test of subarray
10600 and substring variable evaluation.
10601 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
10602 of string constant.
10603
10604 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
10605
10606 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
10607 copyright dates.
10608
10609 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
10610
10611 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
10612 powerpc altivec' test with an almost identical 'info vector' test.
10613
10614 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10615
10616 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10617 vscr" tests to match output.
10618
10619 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10620
10621 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
10622 output.
10623
10624 2005-09-11 Bob Rossi <bob@brasko.net>
10625
10626 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
10627 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
10628 commands that return an MI output command and an asyncronous MI output
10629 command.
10630 * gdb.mi/mi-console.exp: Ditto.
10631
10632 2005-09-11 Bob Rossi <bob@brasko.net>
10633
10634 * gdb.mi/mi-var-child.c: Include <string.h>.
10635
10636 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
10637
10638 * killed.exp: Correct gdb_expect syntax.
10639
10640 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
10641
10642 * lib/mi-support.exp (mi_gdb_load): Fix typo.
10643
10644 2005-08-02 Bob Rossi <bob@brasko.net>
10645
10646 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
10647 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
10648 Change tests to inferior-tty-set/show.
10649 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
10650 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
10651 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
10652 inferior. Use mi_gdb_test to get GDB and Inferior output.
10653 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
10654 descriptor.
10655 (mi_inferior_tty_name): Add inferior PTY file name.
10656 (mi_gdb_start): Add INFERIOR_PTY parameter.
10657 (mi_gdb_test): Add IPATTERN parameter.
10658
10659 2005-08-02 Bob Rossi <bob@brasko.net>
10660
10661 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
10662 parameter to mi_gdb_test.
10663 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
10664
10665 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10666
10667 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
10668 struct_declarations.
10669 * gdb.mi/mi-var-child.exp: Step over the initialization of
10670 struct_declarations.
10671
10672 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10673
10674 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
10675 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
10676 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
10677 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
10678 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
10679 file.
10680
10681 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
10682
10683 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
10684 (do_children_tests): Assign values to the extra elements.
10685
10686 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
10687 them for tests for "-var-update --no-values" and
10688 "-var-update --all-values".
10689 Add test for "-var-list-children --simple-values".
10690
10691 * gdb.mi/basics.c (callee4): Add integer array D[3]...
10692
10693 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
10694 "-stack-list-locals --simple-values" Improve doc strings and
10695 comments.
10696
10697 2005-07-18 Mark Kettenis <kettenis@gnu.org>
10698
10699 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
10700 *-*-openbsd*.
10701 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
10702
10703 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
10704 sigaltsatck'.
10705
10706 2005-07-14 Bob Rossi <bob@brasko.net>
10707
10708 * gdb.base/default.exp (tty): Changed output of command.
10709 * gdb.base/help.exp (help tty): Ditto.
10710
10711 2005-07-12 Mark Kettenis <kettenis@gnu.org>
10712
10713 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
10714
10715 2005-07-10 Mark Kettenis <kettenis@gnu.org>
10716
10717 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
10718 -stack-select-frame without arguments.
10719 (test_stack_frame_listing): Add test for newly implemented command
10720 -stack-info-frame.
10721
10722 2005-07-06 Bob Rossi <bob@brasko.net>
10723
10724 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
10725 command.
10726 (Copyright): Update copyright.
10727
10728 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
10729
10730 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
10731 tests to evaluate exponentiation expression.
10732
10733 2005-06-29 Andreas Schwab <schwab@suse.de>
10734
10735 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
10736 main to avoid warnings.
10737
10738 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
10739
10740 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
10741
10742 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
10743 -stack-select-frame without arguments.
10744 (test_stack_frame_listing): Add test for newly implemented command
10745 -stack-info-frame.
10746
10747 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
10748
10749 * gdb.fortran/array-element.f: New file.
10750 * gdb.fortran/array-element.exp: New testcase.
10751
10752 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10753
10754 * gdb.base/bigcore.exp: Correct checks for systems which can
10755 not dump a large core file.
10756
10757 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10758
10759 * gdb.base/relocate.c: Add a copyright notice.
10760 (dummy): Remove.
10761 * gdb.base/relocate.exp: Test printing the values of variables
10762 from a relocatable file.
10763
10764 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10765
10766 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
10767 excess MI output after an error.
10768
10769 2005-05-29 Joel Brobecker <brobecker@adacore.com>
10770
10771 * gdb.arch/alpha-step.c: New file.
10772 * gdb.arch/alpha-step.exp: New testcase.
10773
10774 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
10775 Dennis Brueni <dennis@slickedit.com>
10776
10777 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
10778 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
10779 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
10780 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
10781 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10782 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
10783 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
10784
10785 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
10786 Wu Zhou <woodzltc@cn.ibm.com>
10787
10788 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
10789 IBM's xlc compiler.
10790 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
10791 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
10792
10793 2005-05-13 Jim Blandy <jimb@redhat.com>
10794
10795 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
10796 calling gdb_suppress_entire_file.
10797 * gdb.base/charset.exp: Same.
10798 * gdb.base/call-rt-st.exp: Same.
10799
10800 2005-05-05 Bob Rossi <bob_rossi@cox.net>
10801
10802 * lib/gdb.exp (fullname_syntax): Added global regex.
10803 (fullname_syntax_POSIX): Ditto.
10804 (fullname_syntax_UNC): Ditto.
10805 (fullname_syntax_DOS_CASE): Ditto.
10806 (fullname_syntax_DOS): Ditto.
10807 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
10808 fullname_syntax variable to scope and use it.
10809 (test_file_list_exec_source_files): Ditto.
10810 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
10811
10812 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
10813
10814 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
10815
10816 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
10817
10818 * lib/gdb.exp (skip_altivec_tests): New function, based on
10819 check_vmx_hw_available from the GCC testsuite.
10820 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
10821 * lib/gdb.arch/altivec-regs.exp: Likewise.
10822
10823 2005-05-02 Jim Blandy <jimb@redhat.com>
10824
10825 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
10826 calling gdb_suppress_entire_file.
10827
10828 2005-04-30 Randolph Chung <tausq@debian.org>
10829
10830 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
10831 Slightly relax "sem_post" name checking.
10832
10833 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10834
10835 * gdb.base/unload.exp: Use new shared library infrastructure.
10836
10837 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10838
10839 * gdb.base/so-impl-ld.exp: Use new shared library
10840 infrastructure.
10841
10842 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
10843
10844 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
10845 * gdb.asm/h8300.inc: New file.
10846
10847 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10848
10849 * gdb.base/shlib-call.exp: Change to use new shared library
10850 infrastructure.
10851
10852 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10853
10854 * gdb.base/pending.exp: Change to use new shared library
10855 infrastructure.
10856
10857 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10858
10859 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
10860 use test_compiler_info instead of gcc_compiled, and update copyright.
10861
10862 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
10863
10864 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
10865 shared objects being adjusted and update copyright years.
10866
10867 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
10868
10869 * ChangeLog: Correct some 2003-01-13 dates.
10870 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
10871 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
10872 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
10873 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
10874 gdb.trace/tfind.exp: Update copyright years.
10875
10876 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
10877 Daniel Jacobowitz <dan@codesourcery.com>
10878
10879 * lib/gdb.exp (gdb_compile): Handle shlib=.
10880 (gdb_compile_shlib): New function.
10881
10882 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
10883
10884 * lib/gdb.exp (test_compiler_info): Give argument a default value.
10885
10886 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10887
10888 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
10889 gdb.server.
10890 * configure.ac: Likewise.
10891 * configure: Regenerated.
10892 * gdb.gdbserver/Makefile.in: Moved to...
10893 * gdb.server/Makefile.in: ... here.
10894 * gdb.gdbserver/server.c: Moved to...
10895 * gdb.server/server.c: ... here.
10896 * gdb.gdbserver/server-run.exp: Moved to...
10897 * gdb.server/server-run.exp: ... here.
10898
10899 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10900
10901 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
10902 * configure.ac: Create gdb.gdbserver/Makefile.
10903 * configure: Regenerated.
10904 * lib/gdbserver-support.exp: New file, derived from
10905 config/gdbserver.exp.
10906 * config/gdbserver.exp: Use gdbserver-support.exp.
10907 * gdb.gdbserver/Makefile.in: New file.
10908 * gdb.gdbserver/server.c: New file.
10909 * gdb.gdbserver/server-run.exp: New file.
10910
10911 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
10912
10913 * lib/gdb.exp (test_compiler_info): Return compiler_info
10914 if no arguments are given.
10915
10916 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
10917
10918 * gdb.arch/altivec-abi.exp: Check for compiler and set
10919 use altivec' flag accordingly.
10920 * gdb.arch/altivec-regs.exp: Likewise.
10921
10922 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
10923
10924 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
10925
10926 2005-03-27 Andreas Schwab <schwab@suse.de>
10927
10928 * gdb.base/bigcore.c (main): Add missing mode argument in open
10929 call.
10930
10931 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
10932
10933 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
10934 downloads.
10935 * config/gdbserver.exp (gdb_load): Likewise.
10936
10937 2005-03-14 Paul Brook <paul@codesourcery.com>
10938
10939 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
10940 targets.
10941
10942 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10943
10944 * gdb.dwarf2/dup-psym.S: New file.
10945 * gdb.dwarf2/dup-psym.exp: New testcase.
10946
10947 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10948
10949 * gdb.ada/exec_changed/first.adb: New file.
10950 * gdb.ada/exec_changed/second.adb: New file.
10951 * gdb.ada/exec_changed.exp: New testcase.
10952
10953 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
10954
10955 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
10956 (A2): New class.
10957 (main): Test operator+.
10958 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
10959 breakpoint test.
10960
10961 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
10962 * gdb.base/signull.exp: Disable if gdb,nosignals.
10963 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
10964 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
10965 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
10966 * gdb.mi/mi2-console.exp: Likewise.
10967 * gdb.trace/collection.exp (run_trace_experiment): Consume the
10968 continue output at start.
10969 (gdb_collect_locals_test): Robustify regexp.
10970 * gdb.trace/passc-dyn.exp: Fix comment typo.
10971 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
10972
10973 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
10974
10975 * gdb.asm/asm-source.exp: Add iq2000 case.
10976 * gdb.asm/iq2000.inc: New file.
10977
10978 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
10979
10980 * gdb.base/command.exp: Change hardcoded value to regular expression.
10981 * gdb.base/float.exp: Add powerpc to the list of targets checked.
10982
10983 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
10984
10985 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
10986 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
10987 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
10988 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
10989 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
10990
10991 2005-03-05 Mark Kettenis <kettenis@gnu.org>
10992
10993 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
10994 changes.
10995
10996 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
10997
10998 * lib/compiler.c: Add test for IBM's xlc compiler.
10999 * lib/compiler.cc: Likewise.
11000
11001 2004-02-24 Joel Brobecker <brobecker@adacore.com>
11002
11003 * gdb.ada/fixed_points.exp: Create compilation object directory
11004 before running the test.
11005 * gdb.ada/null_record.exp: Likewise.
11006 * gdb.ada/packed_array.exp: Likewise.
11007 * gdb.ada/start.exp: Likewise.
11008
11009 2005-02-15 Joel Brobecker <brobecker@adacore.com>
11010
11011 * gdb.ada/packed_array/pa.adb: New file.
11012 * gdb.ada/packed_array.exp: New testcase.
11013
11014 2005-02-10 Mark Kettenis <kettenis@gnu.org>
11015
11016 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
11017 files.
11018
11019 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
11020 on *-*-openbsd*. Correctly match whitespace in regukar
11021 expressions.
11022
11023 2005-02-10 Daniel Jacobowitz <dan@debian.org>
11024
11025 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
11026 PR exp/1821
11027 * gdb.base/gdb1821.c: New test file.
11028 * gdb.base/gdb1821.exp: New test file.
11029
11030 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11031
11032 * gdb.base/start.c: New file.
11033 * gdb.base/start.exp: New testcase.
11034
11035 2005-02-09 Joel Brobecker <brobecker@adacore.com>
11036
11037 * gdb.ada/start/dummy.adb: New file.
11038 * gdb.ada/start.exp: New testcase.
11039
11040 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
11041
11042 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
11043 for printing symbols and statistics.
11044 Add test for using relative pathnames in "maint print msymbols" test.
11045 Mark "maint info sections DATA" XFAIL on Cygwin.
11046 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
11047 tests.
11048
11049 2005-02-09 Andreas Schwab <schwab@suse.de>
11050
11051 Committed by Andrew Cagney <cagney@gnu.org>
11052 * gdb.base/remotetimeout.exp: New file.
11053
11054 2005-02-07 Mark Kettenis <kettenis@gnu.org>
11055
11056 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
11057
11058 2005-02-03 Joel Brobecker <brobecker@adacore.com>
11059
11060 * gdb.ada/gnat_ada.gpr: New file.
11061 * gdb.ada/gnat_ada.gin: Delete, no longer used.
11062 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
11063 * configure.ac: No longer generate gnat_ada.gpr.
11064 * configure: Regenerate.
11065 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
11066 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
11067 * gdb.ada/null_record/bar.ads: Likewise.
11068 * gdb.ada/null_record/bar.adb: Likewise.
11069 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
11070 * gdb.ada/null_record.exp (testdir): New variable.
11071 (testfile): executable is now in testdir subdirectory.
11072 (srcfile): Use full path to the main compilation unit.
11073 * gdb.ada/fixed_points.exp: Same changes as above.
11074
11075 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
11076
11077 * gdb.base/interp.exp: New test.
11078
11079 2005-01-24 Andrew Cagney <cagney@gnu.org>
11080
11081 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
11082
11083 2005-01-19 Andrew Cagney <cagney@gnu.org>
11084
11085 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
11086 configure.ac not configure.in.
11087
11088 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
11089 of powerpc*-*-*.
11090 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
11091 * gdb.base/list.exp (test_list_function)
11092 (test_list_filename_and_function): Ditto.
11093 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
11094
11095 2005-01-16 Andrew Cagney <cagney@gnu.org>
11096
11097 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
11098
11099 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
11100
11101 2005-01-14 Andrew Cagney <cagney@gnu.org>
11102
11103 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
11104 * gdb.mi/mi2-var-cmd.exp: Ditto.
11105
11106 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
11107
11108 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
11109
11110 2005-01-07 Andrew Cagney <cagney@gnu.org>
11111
11112 * configure.ac: Rename configure.in, require autoconf 2.59.
11113 * configure: Re-generate.
11114 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
11115 * gdb.stabs/configure: Re-generate.
11116 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
11117 * gdb.hp/configure: Re-generate.
11118 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
11119 autoconf 2.59.
11120 * gdb.hp/gdb.objdbg/configure: Re-generate.
11121 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
11122 autoconf 2.59.
11123 * gdb.hp/gdb.defects/configure: Re-generate.
11124 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
11125 autoconf 2.59.
11126 * gdb.hp/gdb.compat/configure: Re-generate.
11127 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
11128 autoconf 2.59.
11129 * gdb.hp/gdb.base-hp/configure: Re-generate.
11130 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
11131 autoconf 2.59.
11132 * gdb.hp/gdb.aCC/configure: Re-generate.
11133
11134 2004-12-15 Jim Blandy <jimb@redhat.com>
11135
11136 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
11137 under NPTL when there is debugging info available for libpthread.
11138
11139 2004-12-13 Jerome Guitton <guitton@gnat.com>
11140
11141 * gdb.ada/fixed_points.c: New file.
11142 * gdb.ada/fixed_points.exp: New file.
11143
11144 2004-12-03 Randolph Chung <tausq@debian.org>
11145
11146 * gdb.arch/pa-nullify.exp: New file.
11147 * gdb.arch/pa-nullify.s: New file.
11148
11149 2004-11-30 Randolph Chung <tausq@debian.org>
11150
11151 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
11152 instead of "tbug". Fix regexp to work properly with gdb_test.
11153
11154 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
11155
11156 * gdb.base/bitfields2.exp: New test.
11157 * gdb.base/bitfields2.c: New file.
11158
11159 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
11160
11161 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11162
11163 2004-11-16 Randolph Chung <tausq@debian.org>
11164
11165 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11166
11167 2004-11-14 Daniel Jacobowitz <dan@debian.org>
11168
11169 * gdb.threads/threadapply.exp: Correct "macro details" test.
11170
11171 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11172
11173 * gdb.threads/threadapply.exp: New test.
11174 * gdb.threads/threadapply.c: New file.
11175
11176 2004-11-07 Mark Kettenis <kettenis@gnu.org>
11177
11178 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11179 frames.
11180
11181 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
11182
11183 * gdb.base/cursal.exp: New file.
11184 * gdb.base/cursal.c: New file.
11185
11186 2004-11-03 Andrew Cagney <cagney@gnu.org>
11187
11188 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11189
11190 2004-10-30 Mark Kettenis <kettenis@gnu.org>
11191
11192 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11193 NetBSD/ELF targets.
11194
11195 2004-10-29 Joel Brobecker <brobecker@gnat.com>
11196
11197 * gdb.threads/bp_in_thread.c: New file, copied from
11198 pthread_cond_wait.c.
11199 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11200 file, rather than reusing the .c file from another testcase.
11201
11202 2004-10-20 Joel Brobecker <brobecker@gnat.com>
11203
11204 * gdb.ada/null_record.exp: Check where we stopped after
11205 sending the start command, instead of where the associated
11206 temporary breakpoint was inserted.
11207
11208 2004-10-14 Andrew Cagney <cagney@gnu.org>
11209
11210 * gdb.mi/gdb701.c (main): Return 0.
11211
11212 2004-10-13 Daniel Jacobowitz <dan@debian.org>
11213
11214 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
11215
11216 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
11217
11218 * gdb.threads/schedlock.c: Add comment markers to use to find
11219 line numbers.
11220 * gdb.threads/schedlock.exp: Adjust regex to handle the new
11221 comments.
11222 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
11223 breakpoint lines.
11224
11225 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11226
11227 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
11228
11229 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11230
11231 * configure.in: Add gdb.dwarf2.
11232 * configure: Regenerated.
11233 * Makefile.in: Add gdb.dwarf2.
11234 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
11235 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
11236 gdb.dwarf2/file1.txt: New files.
11237
11238 2004-10-11 Orjan Friberg <orjanf@axis.com>
11239
11240 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
11241 of "run", since the latter doesn't work with remote targets. Adjust
11242 the breakpoint numbering accordingly.
11243 * gdb.threads/pthread_cond_wait.exp: Ditto.
11244
11245 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
11246
11247 * gdb.base/overlays.exp: Update copyright years.
11248
11249 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
11250
11251 * gdb.base/overlays.exp: Disable if target is Linux.
11252
11253 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
11254
11255 * config/gdbserver.exp (gdb_load): Use right filename on remote.
11256
11257 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
11258
11259 * gdb.asm/asm-source.exp: Add m32r-linux target.
11260 * gdb.asm/m32r-linux.inc: New file.
11261
11262 2004-09-24 Andrew Cagney <cagney@redhat.com>
11263 David Anderson <anderson@redhat.com>
11264
11265 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
11266 command fails, assume things will work.
11267 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
11268 (_GNU_SOURCE): Define.
11269 (print_unsigned, print_hex): Change parameter to "long long".
11270 (print_byte_count): New function, use to print byte counts.
11271 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
11272 O_LARGEFILE.
11273 (main): Compute an upper bound on a corefile in max_core_size.
11274 Limit memory chunk size to max_core_size. Limit total memory
11275 allocated to max_core_size.
11276
11277 2004-09-23 Andrew Cagney <cagney@gnu.org>
11278
11279 * gdb.base/bigcore.exp: Replace the code that creates a corefile
11280 from a separate process with code that creates a corefile by
11281 making the inferior dump core.
11282
11283 2004-09-23 Mark Kettenis <kettenis@gnu.org>
11284
11285 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
11286 block.
11287
11288 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
11289
11290 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
11291 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
11292 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
11293 Likewise.
11294
11295 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
11296
11297 * gdb.java/jprint.exp: New test case for java inferior call.
11298 * gdb.java/jprint.java: Ditto.
11299
11300 2004-09-15 Joel Brobecker <brobecker@gnat.com>
11301
11302 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
11303
11304 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11305
11306 * gdb.threads/killed.c: Include <stdlib.h>.
11307 * gdb.threads/pthreads.c: Likewise.
11308
11309 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11310
11311 * gdb.threads/killed.c: Add copyright notice.
11312
11313 2004-09-10 Jason Molenda (jmolenda@apple.com)
11314
11315 * gdb.base/define.exp: Two new tests to verify zero space chars
11316 after 'if' and 'while' commands in a user-defined command is correctly
11317 parsed.
11318
11319 2004-09-08 Andrew Cagney <cagney@gnu.org>
11320
11321 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
11322 delivery test with duplicate at end of file.
11323
11324 2004-09-06 Mark Kettenis <kettenis@jive.nl>
11325
11326 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
11327
11328 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11329
11330 * config/hppro.exp: Removed.
11331
11332 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11333
11334 * config/sparclet.exp: Removed.
11335
11336 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11337
11338 * config/udi.exp: Removed.
11339
11340 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
11341
11342 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
11343 of "exp_continue".
11344 (advancei): Likewise.
11345
11346 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11347
11348 * gdb.base/unload.exp: Fix so messages aren't duplicated.
11349
11350 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
11351
11352 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
11353 to check for nodebug in executable.
11354 * gdb.gdb/observer.exp (setup_test): Likewise.
11355 * gdb.gdb/selftest.exp (test_with_self): Likewise.
11356 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
11357
11358 2004-09-01 Andrew Cagney <cagney@gnu.org>
11359
11360 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11361 files.
11362
11363 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11364
11365 * gdb.base/unload.exp: Fix expected warning message to match
11366 latest format.
11367
11368 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
11369
11370 * gdb.base/call-rt-st.exp: Fix typos.
11371
11372 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
11373
11374 * gdb.threads/thread_check.exp: New testcase.
11375 * gdb.threads/thread_check.c: New testcase.
11376
11377 2004-08-31 Andrew Cagney <cagney@gnu.org>
11378
11379 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
11380 (skip_to_handler_entry): New procedures. Test stepping into a
11381 handler when the breakpoint is at the handler's entry point.
11382
11383 2004-08-30 Andrew Cagney <cagney@gnu.org>
11384
11385 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
11386 gdb/1757.
11387
11388 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11389
11390 With code from Manoj Iyer <manjo@austin.ibm.com>:
11391 * lib/gdb.exp (gdb_file_cmd): Return more information in the
11392 return value. Add an arm for "no debugging symbols found".
11393 Change a stray "error" to "perror".
11394 (gdb_run_cmd): Adapt to new return value.
11395 * gdb.base/remote.exp: Adapt to new return value.
11396 * gdb.gdb/complaints.exp: Likewise.
11397 * gdb.gdb/observer.exp: Likewise.
11398 * gdb.gdb/selftest.exp: Likewise.
11399 * gdb.gdb/xfullpath.exp: Likewise.
11400
11401 2004-08-27 Joel Brobecker <brobecker@gnat.com>
11402
11403 * gdb.threads/bp_in_thread.exp: New testcase.
11404
11405 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11406
11407 Fix PR testsuite/1735.
11408 * gdb.threads/schedlock.c (thread_function): Add a cast
11409 to suppress a gcc warning.
11410 * gdb.threads/thread-specific.c (thread_function): Likewise.
11411
11412 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11413
11414 * gdb.base/unload.c: Include <stdlib.h>.
11415
11416 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11417
11418 From Paul Gilliam <pgilliam@us.ibm.com>:
11419 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
11420 synchronized after the "return".
11421
11422 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11423
11424 * gdb.mi/basics.c: Include <stdio.h>.
11425 * gdb.mi/pthreads.c: Include <stdlib.h>.
11426 * gdb.mi/var-cmd.c: Include <stdlib.h>.
11427
11428 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11429
11430 * gdb.threads/schedlock.c: Add copyright notice.
11431
11432 2004-08-25 Andrew Cagney <cagney@gnu.org>
11433
11434 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
11435 (skip_over_handler, breakpoint_over_hander): New test procedures.
11436 (advance, advancei): Add a proper prefix, do not use
11437 rerun_to_main.
11438 * gdb.base/sigstep.c (main): Change to use an infinite loop.
11439
11440 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
11441
11442 * gdb.mi/basics.c: Add copyright notice.
11443 * gdb.mi/var-cmd.c: Add copyright notice.
11444
11445 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11446
11447 * lib/gdb.exp: Remove signed_keyword_not_used.
11448 * lib/compiler.c: Likewise.
11449 * lib/compiler.cc: Likewise.
11450
11451 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11452
11453 * gdb.base/whatis.c: Remove conditional disabling of "signed".
11454 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
11455
11456 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11457
11458 * gdb.base/whatis.c: Add copyright notice.
11459
11460 2004-08-20 Mark Kettenis <kettenis@gnu.org>
11461
11462 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
11463 it to skip the breakpoints encoded in the inline assembly.
11464
11465 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11466
11467 * Makefile.in: Add gdb.fortran.
11468
11469 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11470
11471 * gdb.base/call-sc.exp (test_scalar_returns):
11472 Fix cut-and-paste glitch in "Make fun return now".
11473
11474 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11475
11476 * configure.in: Add gdb.fortran.
11477 * configure: Regenerate.
11478 * gdb.fortran/Makefile.in: New file.
11479 * lib/gdb.exp (skip_fortran_tests): New procedure.
11480
11481 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11482
11483 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
11484 reference to bug-gnu@prep.ai.mit.edu.
11485 * gdb.mi/mi-var-child.exp: Likewise.
11486 * gdb.mi/mi-var-cmd.exp: Likewise.
11487 * gdb.mi/mi-var-display.exp: Likewise.
11488 * gdb.mi/mi2-var-block.exp: Likewise.
11489 * gdb.mi/mi2-var-child.exp: Likewise.
11490 * gdb.mi/mi2-var-cmd.exp: Likewise.
11491 * gdb.mi/mi2-var-display.exp: Likewise.
11492
11493 2004-08-15 Mark Kettenis <kettenis@gnu.org>
11494
11495 * gdb.base/unload.c (main): Make local variable msg const.
11496
11497 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11498
11499 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
11500 to bug-gnu@prep.ai.mit.edu.
11501 * gdb.mi/mi-disassemble.exp: Likewise.
11502 * gdb.mi/mi-eval.exp: Likewise.
11503 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
11504 default line number.
11505 * gdb.mi/mi-return.exp: Likewise.
11506 * gdb.mi/mi-simplerun.exp: Likewise.
11507 * gdb.mi/mi-stack.exp: Likewise.
11508 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
11509 number with explicit range test.
11510 * gdb.mi/mi-watch.exp: Likewise.
11511 * gdb.mi/mi2-break.exp: Likewise.
11512 * gdb.mi/mi2-cli.exp: Likewise.
11513 * gdb.mi/mi2-disassemble.exp: Likewise.
11514 * gdb.mi/mi2-eval.exp: Likewise.
11515 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
11516 default line number.
11517 * gdb.mi/mi2-return.exp: Likewise.
11518 * gdb.mi/mi2-simplerun.exp: Likewise.
11519 * gdb.mi/mi2-stack.exp: Likewise.
11520 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
11521 number with explicit range test.
11522 * gdb.mi/mi2-watch.exp: Likewise.
11523
11524 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11525
11526 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
11527 * gdb.cp/m-static.exp: Likewise.
11528 * gdb.cp/rtti.exp: Likewise.
11529
11530 2004-08-14 Mark Kettenis <kettenis@gnu.org>
11531
11532 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
11533
11534 2004-08-14 Eli Zaretskii <eliz@gnu.org>
11535
11536 * ChangeLog: Prefix Local Variables with semi-colons and indent
11537 the reference to older ChangeLog files, to fix fontification in
11538 Emacs.
11539
11540 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11541
11542 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
11543 * gdb.mi/mi2-break.exp: Likewise.
11544
11545 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11546
11547 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
11548
11549 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11550
11551 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
11552
11553 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11554
11555 * gdb.cp/classes.exp: Remove unused declarations. Just let
11556 test names default instead of providing special names. Remove
11557 extraneous demangler test.
11558
11559 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
11560
11561 * gdb.base/unload.exp: New test for breakpoints in dynamically
11562 loaded libraries.
11563 * gdb.base/unload.c: Ditto.
11564 * gdb.base/unloadshr.c: Ditto.
11565
11566 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
11567
11568 * gdb.cp/classes.exp (test_ptype_class_objects): Call
11569 cp_test_ptype_class.
11570 (test_enums): Likewise.
11571
11572 2004-08-10 Andrew Cagney <cagney@gnu.org>
11573
11574 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11575 files.
11576
11577 2004-08-10 Andrew Cagney <cagney@gnu.org>
11578
11579 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
11580 init_malloc call.
11581
11582 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
11583
11584 * ChangeLog: Add copyright notice. The notice is copied
11585 from emacs 21.3 top level ChangeLog.
11586
11587 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11588
11589 * lib/cp-support.exp: New file.
11590 * lib/cp-support.exp (cp_test_type_class): New function.
11591 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
11592 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
11593 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
11594 cp_test_ptype_class.
11595
11596 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11597
11598 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
11599 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11600 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
11601 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
11602 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11603 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
11604 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
11605 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
11606 gdb.mi/mi2-watch.exp: Update copyright years.
11607
11608 2004-08-09 Mark Kettenis <kettenis@gnu.org>
11609
11610 * gdb.base/sigaltstack.exp: Provide proper anchoring.
11611
11612 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11613
11614 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
11615 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
11616 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
11617 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11618 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
11619 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
11620 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
11621 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
11622 gdb.mi/mi-watch.exp: Update copyright years.
11623
11624 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11625
11626 PR gdb/1738
11627 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
11628 from a breakpoint with a pending signal.
11629
11630 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11631
11632 PR gdb/1736
11633 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
11634 * gdb.base/sigaltstack.exp (finish_test): Consume output until
11635 the prompt.
11636 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
11637
11638 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11639
11640 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
11641
11642 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11643
11644 PR gdb/1736
11645 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
11646 for i?86-*-linux*.
11647
11648 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11649
11650 * gdb.arch/i386-prologue.exp: Compile without debug information.
11651
11652 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
11653
11654 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
11655 rather than asking gdb to search.
11656
11657 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11658
11659 * gdb.base/gcore.c: Include <string.h>.
11660
11661 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11662
11663 * gdb.base/gcore.c: Add copyright notice.
11664
11665 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11666
11667 * gdb.base/freebpcmd.c: Include <stdio.h>.
11668 * gdb.base/long_long.c: Include <string.h>.
11669 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
11670 * gdb.base/siginfo.c: Include <string.h>.
11671 * gdb.base/sigstep.c: Include <string.h>.
11672
11673 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11674
11675 * gdb.base/complex.c: Include <stdlib.h>.
11676
11677 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11678
11679 * gdb.base/complex.c: Add copyright notice.
11680
11681 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11682
11683 * gdb.base/charset.c: Include <stdlib.h>.
11684
11685 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11686
11687 * gdb.base/auxv.c: Include <stdlib.h>.
11688
11689 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11690
11691 * gdb.base/auxv.c: Add copyright notice.
11692
11693 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11694
11695 * gdb.base/coremaker.c: Add copyright notice.
11696 * gdb.base/coremaker2.c: Add copyright notice.
11697
11698 2004-08-04 Andrew Cagney <cagney@gnu.org>
11699
11700 * gdb.base/store.exp: Update copyright.
11701 (check_set, up_set, check_struct, up_struct): Add a prefix to test
11702 names, do not import gdb_prompt.
11703
11704 2004-08-01 Andrew Cagney <cagney@gnu.org>
11705
11706 Fix PR testsuite/1729.
11707 * gdb.base/dump.exp: Add test name to callers of capture_value, do
11708 not use capture_value with value 4.
11709 (capture_value): Add optional test name parameter.
11710 (test_reload_saved_value, test_restore_saved_value): Use $msg as
11711 the prefix, pass to capture_value.
11712
11713 2004-08-01 Mark Kettenis <kettenis@gnu.org>
11714
11715 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
11716 * gdb.arch/i386-prologue.c (standard): New prototype and function.
11717 (main): Call new function.
11718
11719 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11720
11721 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
11722
11723 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11724
11725 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
11726
11727 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11728
11729 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
11730 Accept more values of vtbl pointer. Remove some messages
11731 about "obsolete gcc or gdb".
11732
11733 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11734
11735 * gdb.cp/classes.exp: Accept more varieties of ptype output.
11736
11737 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11738
11739 * gdb.base/asm-source.exp: Properly convert target board
11740 debug flags from gcc format to binutils format.
11741
11742 2004-07-28 Mark Kettenis <kettenis@gnu.org>
11743
11744 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
11745 gdb1718". PR backtrace/1718 partially fixed.
11746
11747 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
11748
11749 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
11750
11751 2004-07-26 Nick Clifton <nickc@redhat.com>
11752
11753 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
11754 good default value for a specific architecture is available then
11755 set it to that value. Otherwise default to the -gstabs switch.
11756 Remove the -g... switches from the asm-flags variable. Allow the
11757 target board info to override the value if it wants to. Pass the
11758 switch on the assembler command line.
11759
11760 2004-07-23 Mark Kettenis <kettenis@gnu.org>
11761
11762 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
11763 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
11764 (main): Call new function.
11765
11766 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
11767
11768 Test for PR exp/1715.
11769 * gdb.base/radix.exp: Refactor common procedures. Make all
11770 test names unique. Change XFAIL to KFAIL.
11771
11772 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
11773
11774 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
11775 * gdb.ada/gnat_ada.gin: ... to here.
11776 * configure.in: Use gnat_ada.gin.
11777 * configure: Regenerate.
11778
11779 2004-07-20 Andrew Cagney <cagney@gnu.org>
11780
11781 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
11782 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
11783 XFAILs. Clean up test messages and comments. Check backtraces.
11784 Delete re-sync code.
11785
11786 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11787
11788 Fix PR cli/740.
11789 * gdb.base/annota1.exp: Honor gdb,nosignals.
11790 * gdb.base/annota3.exp: Likewise.
11791
11792 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11793
11794 * lib/java.exp: Update copyright notice.
11795
11796 2004-07-19 Andrew Cagney <cagney@gnu.org>
11797
11798 * gdb.base/selftest.exp: Copy file from here ...
11799 * gdb.gdb/selftest.exp: ... to here.
11800
11801 2004-07-16 Andrew Cagney <cagney@redhat.com>
11802
11803 * lib/insight-support.exp: Delete file.
11804 * lib/java.exp (java_init): Fix copyright.
11805
11806 2004-07-16 Andrew Cagney <cagney@gnu.org>
11807
11808 * gdb.base/restore.c: Append "prologue" to comments marking the a
11809 function's prologue.
11810 * gdb.base/restore.exp: Update copyright, re-indent.
11811 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
11812 callerN" prefix where needed. Update patterns that match a
11813 function's prologue.
11814
11815 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
11816
11817 * gdb.base/restore.c: Add copyright notice.
11818
11819 2004-07-16 Andrew Cagney <cagney@gnu.org>
11820
11821 * gdb.base/logical.exp: Update copyright.
11822 (evaluate): New procedure. Use to re-implement tests using
11823 several tables.
11824
11825 2004-07-14 Martin Hunt <hunt@redhat.com>
11826
11827 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
11828 which fixes some problems where init.tcl was not found.
11829
11830 2004-07-13 Andrew Cagney <cagney@gnu.org>
11831
11832 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
11833 (check_sizeof, check_valueof): Do not include the output in the
11834 test name. Use gdb_test.
11835 (get_valueof): Use gdb_test_multiple.
11836
11837 * gdb.base/step-test.exp: Update copyright. Use
11838 gdb_test_multiple. Ensure that test names do not include
11839 architecture dependent output.
11840
11841 * gdb.gdb/observer.exp: Update copyright.
11842 (setup_test): Use gdb_test_multiple.
11843 (attach_first_observer, attach_second_observer)
11844 (attach_third_observer, detach_first_observer)
11845 (detach_second_observer, detach_third_observer)
11846 (reset_counters, check_counters): Make $message a prefix.
11847 (test_normal_stop_notifications): Add "args" parameter - a list of
11848 init functions to be called. Make $message a prefix,
11849 (test_observer_normal_stop): Change the message prefixes so that
11850 they are unique, pass the attach / detach procedures to
11851 test_normal_stop_notifications.
11852
11853 * gdb.base/signull.exp (test_segv): Prefix all tests with
11854 "${name}". Clean up test messages.
11855
11856 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
11857
11858 * gdb.base/ena-dis-br.exp: Update copyright.
11859 (break_at): New function. Replace send_gdb with gdb_test,
11860 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
11861 ignore count, not stopped at bpt", with KFAIL.
11862
11863 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
11864
11865 * gdb.base/attach.exp: Remove cleanupfile handling.
11866
11867 2004-07-12 Andrew Cagney <cagney@gnu.org>
11868
11869 * gdb.base/annota1.exp: Cleanup corefile test name.
11870 * gdb.base/annota3.exp: Ditto.
11871
11872 2004-07-12 Andrew Cagney <cagney@gnu.org>
11873
11874 * gdb.base/signals.exp: Clean up copyright, re-indent.
11875
11876 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
11877 gdb_test and gdb_test_multiple.
11878
11879 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
11880
11881 * gdb.java/jmain.exp: Fix expected line number for main to
11882 break at. Set XFAIL for break at main test since gcj does not
11883 provide line number info for first statement in main.
11884
11885 2004-07-08 Andrew Cagney <cagney@gnu.org>
11886
11887 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
11888
11889 * gdb.base/sigbpt.exp: Make the common part of each test name a
11890 prefix instead of suffix.
11891
11892 2004-07-07 Bob Rossi <bob_rossi@cox.net>
11893
11894 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
11895 test from test_tbreak_creation_and_listing to
11896 test_file_list_exec_source_file
11897 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
11898 Changed name of test from test_tbreak_creation_and_listing to
11899 test_file_list_exec_source_file
11900
11901 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
11902
11903 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
11904 the jmisc() constructor instead of <init>.
11905 * gdb.java/jmisc1.exp: Ditto.
11906
11907 2004-07-07 Andrew Cagney <cagney@gnu.org>
11908
11909 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
11910 corrupting the PC.
11911
11912 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
11913
11914 * gdb.cp/templates.exp: Accept whitespace change in demangler
11915 output.
11916
11917 2004-07-06 Andrew Cagney <cagney@gnu.org>
11918
11919 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
11920
11921 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
11922
11923 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
11924 * lib/compiler.cc: Likewise.
11925
11926 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
11927
11928 * lib/compiler.cc: Work around string preprocessing problem
11929 with old hp c++ compiler.
11930 * lib/compiler.c: Likewise.
11931
11932 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11933
11934 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
11935 directives to conditionalize symbol prefixing.
11936 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
11937 additional_flags handling. Add underscore prefix for Cygwin.
11938 * gdb.arch/i386-unwind.c: Use preprocessor directives to
11939 conditionalize symbol prefixing.
11940 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
11941 additional_flags handling. Add underscore prefix for Cygwin.
11942
11943 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11944
11945 * gdb.base/bigcore.exp: Skip test on Cygwin.
11946
11947 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
11948
11949 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
11950 formats for "info register". Use gdb_test_multiple. Fix
11951 the "invalid register" test.
11952
11953 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
11954
11955 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
11956 PID for Cygwin. Add Cygwin specific strings to check for in some
11957 tests.
11958 (do_attach_tests): Add a test for user interaction when attaching
11959 to a process with no matching symbol table already loaded.
11960
11961 2004-06-26 Andrew Cagney <cagney@gnu.org>
11962
11963 Test PR java/1567 and PR java/1565.
11964 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
11965 * gdb.java/jmisc2.exp: Delete file.
11966
11967 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
11968
11969 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
11970
11971 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
11972
11973 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
11974 attach process.
11975
11976 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
11977
11978 * gdb.cp/pr-1553.exp: Remove.
11979
11980 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
11981
11982 * gdb.cp/pr-1553.cc: Remove.
11983 * gdb.cp/pr-1553.exp: Disable this test.
11984
11985 2004-06-20 Jim Blandy <jimb@redhat.com>
11986
11987 Fix PR testsuite/1680.
11988 * gdb.arch/i386-sse.exp: Properly quote curly braces in
11989 regular expressions.
11990
11991 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
11992
11993 Fix PR testsuite/1679.
11994 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
11995 Issue an UNSUPPORTED result instead.
11996
11997 2004-06-18 Jim Blandy <jimb@redhat.com>
11998
11999 * gdb.base/charset.exp: Only send a control-C if we see a new
12000 prompt and incomplete command.
12001
12002 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
12003
12004 * gdb.cp/pr-574.cc: Add copyright notice.
12005
12006 2004-06-17 Jim Blandy <jimb@redhat.com>
12007
12008 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
12009 cases where the regexp has no groups; this grabs random text from
12010 the previous test suite, whatever that was.
12011
12012 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
12013
12014 * gdb.cp/printmethod.cc: Add copyright notice.
12015
12016 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
12017
12018 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
12019
12020 2004-06-16 Andrew Cagney <cagney@gnu.org>
12021
12022 * gdb.base/signull.c: Update copyright. Include <string.h>.
12023 (bowler): Replace data_pointer with data_read
12024 and data_write cases. Add code_descriptor case.
12025 (zero, desc): New array and pointer.
12026 (data, code): Change to simple pointers.
12027 * gdb.base/signull.exp: Fix probe pattern matching a function
12028 descriptor SIGSEGV. Replace data_pointer with data_read and
12029 data_write tests.
12030
12031 2004-06-16 Andrew Cagney <cagney@gnu.org>
12032
12033 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
12034
12035 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12036
12037 * gdb.base/long_long.c: Add copyright notice.
12038
12039 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
12040
12041 * gdb.base/long_long.exp: Remove reference to
12042 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
12043 to gdb_breakpoint and gdb_continue_to_breakpoint.
12044
12045 2004-06-14 Jim Blandy <jimb@redhat.com>
12046
12047 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
12048 endian case.
12049
12050 2004-06-14 Andrew Cagney <cagney@gnu.org>
12051
12052 * gdb.base/gcore.exp (capture_command_output): Delete the always
12053 passing tests containing inferior values.
12054 * gdb.base/ending-run.exp: Do not include the breakpoint address
12055 in the test message. Update copyright.
12056 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
12057 size in the test name, use gdb_test_multiple. Update copyright.
12058
12059 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12060
12061 * gdb.cp/ref-types.cc: Add copyright notice.
12062
12063 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
12064
12065 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
12066 hp_aCC_compiler.
12067 * lib/compiler.cc: Likewise.
12068 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
12069 'set' commands. Log diagnostics for other lines. Set
12070 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
12071
12072 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
12073
12074 * gdb.cp/try_catch.cc: Add copyright notice.
12075
12076 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
12077
12078 * gdb.cp/userdef.cc: Add copyright notice.
12079
12080 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
12081
12082 * gdb.cp/virtfunc.cc: Add copyright notice.
12083
12084 2004-06-11 Randolph Chung <tausq@debian.org>
12085
12086 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
12087 problem.
12088
12089 2004-06-10 Andrew Cagney <cagney@gnu.org>
12090
12091 * lib/compiler.cc, lib/compiler.c: Append either
12092 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
12093 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
12094 instead of gcc-3-3.
12095
12096 2004-06-09 Andrew Cagney <cagney@gnu.org>
12097
12098 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
12099 gdb/1455, bug is specific to "long long" and "double".
12100
12101 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
12102 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
12103 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
12104 fixed.
12105
12106 2004-06-09 Andrew Cagney <cagney@gnu.org>
12107
12108 * gdb.base/structs.exp (test_struct_returns): Replace
12109 "return_value_unknown" and "finish_value_unknown" by
12110 "return_value_known" and "finish_value_known". Instead of
12111 "return_value_unknown" iff "finish_value_unknown", check
12112 "return_value_known" implies "finish_value_known".
12113
12114 2004-06-08 Martin Hunt <hunt@redhat.com>
12115
12116 * gdb.base/float.exp: Add pattern for mips targets.
12117
12118 2004-06-08 Randolph Chung <tausq@debian.org>
12119
12120 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
12121 message for unknown architectures more clear.
12122
12123 2004-06-08 Joel Brobecker <brobecker@gnat.com>
12124
12125 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
12126 start the execution of the program.
12127
12128 2004-06-07 Jim Blandy <jimb@redhat.com>
12129
12130 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
12131 * gdb.arch/i386-cpuid.h: New helper file.
12132
12133 2004-06-07 Randolph Chung <tausq@debian.org>
12134
12135 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
12136 has started.
12137
12138 2004-06-04 Roland McGrath <roland@redhat.com>
12139
12140 Fix PR gdb/1647.
12141 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
12142 differently to be robust to output buffering differences.
12143
12144 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
12145
12146 * gdb.threads/pthreads.exp: Update copyright years.
12147 (check_control_c): Change asynchronous 'after' to synchronous.
12148
12149 2004-06-04 Roland McGrath <roland@redhat.com>
12150
12151 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
12152 next gdb prompt.
12153
12154 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
12155
12156 Fix PR gdb/1636.
12157 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12158 calls to synchronous.
12159
12160 2004-05-26 Jim Blandy <jimb@redhat.com>
12161
12162 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12163
12164 2004-05-24 Randolph Chung <tausq@debian.org>
12165
12166 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12167 * gdb.asm/pa.inc: New file.
12168
12169 2004-05-22 Mark Kettenis <kettenis@gnu.org>
12170
12171 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12172
12173 2004-05-21 Joel Brobecker <brobecker@gnat.com>
12174 Daniel Jacobowitz <drow@mvista.com>
12175
12176 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12177 GDB prompt.
12178
12179 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12180
12181 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
12182 setjmp/longjmp. Use sigaction instead of signal.
12183
12184 2004-05-19 J. Brobecker <brobecker@gnat.com>
12185 Michael Snyder <msnyder@redhat.com>
12186
12187 * gdb.threads/pthread_cond_wait.c: New file.
12188 * gdb.threads/pthread_cond_wait.exp: New testcase.
12189
12190 2004-05-13 Andrew Cagney <cagney@redhat.com>
12191
12192 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12193 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12194
12195 2004-05-11 Andrew Cagney <cagney@redhat.com>
12196
12197 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12198 fixed but revealed gdb/1639.
12199
12200 2004-05-10 Andrew Cagney <cagney@redhat.com>
12201
12202 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12203 func1" and "next to 2nd alarm", kernel bug avoided.
12204
12205 2004-05-10 Daniel Jacobowitz <dan@debian.org>
12206
12207 PR external/1568
12208 * gdb.base/bigcore.exp: Check the size of the dumped core file.
12209 XFAIL if it is smaller than bytes_allocated.
12210 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
12211 (main): Make chunks_allocated unsigned. Correct comment.
12212
12213 2004-05-07 Joel Brobecker <brobecker@gnat.com>
12214
12215 * gdb.arch/powerpc-aix-prologue.c: New file.
12216 * gdb.arch/powerpc-aix-prologue.exp: New file.
12217
12218 2004-05-07 Jim Blandy <jimb@redhat.com>
12219
12220 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
12221 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
12222
12223 2004-05-06 Joel Brobecker <brobecker@gnat.com>
12224
12225 * gdb.base/sep.exp: No longer setup_kfail when the program was
12226 built with dwarf2.
12227
12228 2004-05-05 Jim Ingham <jingham@apple.com>
12229
12230 * gdb.base/pending.exp: Make sure pending breakpoints
12231 preserve the ignore count.
12232
12233 2004-04-27 Jerome Guitton <guitton@gnat.com>
12234
12235 * i386-prologue.exp: Add testcase for jump instruction as first
12236 instruction of the real code.
12237 * i386-prologue.c (jump_at_beginning): New function.
12238
12239 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12240
12241 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
12242 x86_64-*-*.
12243
12244 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12245
12246 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
12247 i*86-*-*.
12248
12249 2004-04-25 Mark Kettenis <kettenis@gnu.org>
12250
12251 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
12252 expression that checks the return type.
12253
12254 2004-04-23 Andrew Cagney <cagney@redhat.com>
12255
12256 * gdb.base/call-sc.exp: New test of scalar call/return values.
12257 * gdb.base/call-sc.c: Ditto.
12258
12259 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12260
12261 * gdb.threads/manythreads.c: Reduce thread stack size.
12262
12263 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
12264
12265 * gdb.threads/manythreads.c: Add copyright notice.
12266
12267 2004-04-23 Andrew Cagney <cagney@redhat.com>
12268
12269 * gdb.base/siginfo.exp: Better handle step out of signal.
12270 * gdb.base/sigstep.exp: Ditto.
12271
12272 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
12273 Daniel Jacobowitz <drow@mvista.com>
12274
12275 * gdb.threads/manythreads.c: New testcase.
12276 * gdb.threads/manythreads.exp: Ditto.
12277
12278 2004-04-22 Jim Blandy <jimb@redhat.com>
12279
12280 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
12281 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
12282
12283 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
12284
12285 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
12286
12287 2004-04-21 Andrew Cagney <cagney@redhat.com>
12288
12289 * gdb.base/sigstep.c: New file.
12290 * gdb.base/sigstep.exp: New file.
12291
12292 2004-04-16 Joel Brobecker <brobecker@gnat.com>
12293
12294 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
12295 call to observer_notify_normal_stop.
12296
12297 2004-04-15 Andrew Cagney <cagney@redhat.com>
12298
12299 * gdb.base/siginfo.c: New file.
12300 * gdb.base/siginfo.exp: New file.
12301
12302 2004-04-12 J. Brobecker <brobecker@gnat.com>
12303
12304 * gdb.base/sep.exp: Fix typo in comment.
12305
12306 2004-04-12 J. Brobecker <brobecker@gnat.com>
12307
12308 * gdb.base/sep.c: New file.
12309 * gdb.base/sep-proc.c: New file.
12310 * gdb.base/sep.exp: New testcase.
12311
12312 2004-04-09 Mark Kettenis <kettenis@gnu.org>
12313
12314 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
12315 support.
12316
12317 2004-04-05 Andrew Cagney <cagney@redhat.com>
12318
12319 * gdb.base/sigaltstack.c: New file.
12320 * gdb.base/sigaltstack.exp: New file.
12321
12322 2004-04-04 Joel Brobecker <brobecker@gnat.com>
12323
12324 * gdb.base/foll-fork.exp: Update the expected output for
12325 "help set follow-fork-mode", to match a change that was made
12326 to the help of this variable on 2004-01-13.
12327
12328 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12329
12330 * lib/ada.exp: Add copyright notice.
12331 * bar.ads: Likewise.
12332 * bar.adb: Likewise.
12333 * null_record.adb: Likewise.
12334 * null_record.exp: Likewise.
12335 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
12336
12337 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12338
12339 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
12340 * configure: Regenerate.
12341
12342 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12343
12344 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
12345 to build the application. Remove the message printed when in
12346 verbose mode, redundant with the UNSUPPORTED message above.
12347
12348 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12349
12350 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
12351 * gdb.ada (null_record.exp): New testcase.
12352
12353 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12354
12355 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
12356
12357 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12358
12359 * gdb.ada: New subdirectory.
12360 * gdb.ada/Makefile.in: New file.
12361 * gdb.ada/gnat_ada.gpr.in: New file.
12362
12363 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12364
12365 * lib/ada.exp: New file.
12366
12367 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
12368
12369 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
12370 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
12371
12372 2004-03-22 Andrew Cagney <cagney@redhat.com>
12373
12374 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
12375 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
12376 Problem identified by Ulrich Weigand.
12377
12378 2004-03-17 David Carlton <carlton@kealia.com>
12379
12380 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
12381 PR c++/826.
12382
12383 2004-03-16 Roland McGrath <roland@redhat.com>
12384
12385 * gdb.base/auxv.exp: New file.
12386 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
12387
12388 2004-03-12 David Carlton <carlton@kealia.com>
12389
12390 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
12391 * gdb.cp/pr-1553.cc: Ditto.
12392 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
12393 pass branch.
12394
12395 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
12396
12397 * gdb.cp/templates.exp: Accept more template types.
12398
12399 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12400
12401 From Corinna Vinschen with modifications.
12402 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
12403 local variable obj_with_enum.
12404 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
12405 results with obj_with_enum.
12406
12407 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12408
12409 * gdb.cp/classes.cc: New file, copied from misc.cc.
12410 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
12411
12412 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12413
12414 * gdb.cp/misc.cc: Add copyright notice.
12415
12416 2004-03-05 David Carlton <carlton@kealia.com>
12417
12418 * gdb.cp/rtti.exp: Add 'print *obj3' test.
12419 * gdb.cp/rtti.h: Update copyright.
12420 (namespace n2::n3): New.
12421 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
12422 (n2::n3::func3): New.
12423 (main): Call n2::n3::func3.
12424 * gdb.cp/rtti2.cc: Update copyright.
12425 (n2::create3): New.
12426
12427 2004-03-04 Mark Kettenis <kettenis@gnu.org>
12428
12429 * gdb.asm/openbsd.inc: Fix typo.
12430
12431 2004-03-03 Fred Fish <fnf@redhat.com>
12432
12433 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
12434 "val" instead of unused "size". Update copyright year.
12435
12436 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12437
12438 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
12439 to use unsigned char.
12440 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
12441 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
12442
12443 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12444
12445 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
12446 line of output.
12447
12448 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12449
12450 * gdb.base/relocate.c (dummy): Initialize.
12451
12452 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12453
12454 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
12455 a breakpoint at exit.
12456
12457 2004-02-27 Fred Fish <fnf@redhat.com>
12458
12459 * gdb.base/chng-syms.exp: Add expect condition to match failing
12460 case that isn't a timeout.
12461
12462 2004-02-27 Andrew Cagney <cagney@redhat.com>
12463
12464 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
12465 support.
12466
12467 2004-02-26 Fred Fish <fnf@redhat.com>
12468
12469 * gdb.arch/gdb1431.c: Remove.
12470 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
12471 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
12472 of "until" incorrectly.
12473
12474 2004-02-26 J. Brobecker <brobecker@gnat.com>
12475
12476 * gdb.cp/class2.cc (empty): New class.
12477 (refer): New function.
12478 (main): Declare an object of type empty and use it.
12479 * gdb.cp/class2.exp: Print the value of an object of type empty.
12480
12481 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
12482
12483 * gdb.base/langs.exp: Update query string to match the
12484 new nquery format used for pending breakpoints.
12485
12486 2004-02-26 Andrew Cagney <cagney@redhat.com>
12487
12488 Fix PR i18n/1570.
12489 * gdb.base/charset.c: Update copyright notice.
12490 (main, init_string): Remove the escape character '\e' tests.
12491 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
12492 * gdb.base/charset.exp (valid_host_charset): Ditto.
12493 * gdb.base/setvar.exp: Ditto.
12494
12495 2004-02-24 Andrew Cagney <cagney@redhat.com>
12496
12497 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
12498 mmapped data in core file" PASS and FAIL messages consistent.
12499
12500 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
12501 setting a breakpoint. Work around PR java/1565.
12502
12503 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
12504
12505 * lib/gdb.exp (gdb_breakpoint): Update query string to match
12506 new nquery format.
12507 * gdb.base/pending.exp: Ditto.
12508
12509 2004-02-22 Mark Kettenis <kettenis@gnu.org>
12510
12511 * configure.in: Run stabs tests on *BSD.
12512 * configure: Regenerated.
12513
12514 2004-02-21 Mark Kettenis <kettenis@gnu.org>
12515
12516 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
12517
12518 2004-02-20 Fred Fish <fnf@redhat.com>
12519
12520 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
12521 blank in test for "returns short", for consistency with other
12522 "returns xxx" tests. Update copyright year.
12523
12524 2004-02-19 Fred Fish <fnf@redhat.com>
12525
12526 New testcase for PR breakpoint/1558.
12527 * gdb.arch/gdb1558.exp: New file.
12528 * gdb.arch/gdb1558.c: New file.
12529
12530 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
12531
12532 * gdb.base/nodebug.exp: Fix typo.
12533
12534 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12535
12536 Committed by Jim Blandy <jimb@redhat.com>.
12537
12538 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
12539
12540 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
12541
12542 * gdb.base/float.exp: Support s390*-*-* targets.
12543
12544 2004-02-17 Adam Fedor <fedor@gnu.org>
12545
12546 * gdb.base/gdb1555.exp: New file.
12547 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
12548
12549 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
12550
12551 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
12552
12553 2004-02-16 Fred Fish <fnf@redhat.com>
12554
12555 * gdb.arch/gdb1291.c: Remove
12556 * gdb.arch/gdb1291.s: New test input file.
12557 * gdb.arch/gdb1291.exp: Expand test to check case that should not
12558 fail. Test for correct result, known incorrect result, other
12559 failures and timeouts.
12560
12561 2004-02-16 Andrew Cagney <cagney@redhat.com>
12562
12563 * gdb.base/bigcore.exp: New file.
12564 * gdb.base/bigcore.c: New file.
12565
12566 2004-02-13 Andrew Cagney <cagney@redhat.com>
12567
12568 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
12569 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
12570 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
12571 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
12572 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
12573 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
12574 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
12575 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
12576 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
12577 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
12578
12579 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
12580
12581 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
12582 executed is an alloc instruction.
12583
12584 2004-02-11 David Carlton <carlton@kealia.com>
12585
12586 * gdb.cp/breakpoint.exp: New.
12587 * gdb.cp/breakpoint.cc: New.
12588
12589 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
12590
12591 Partial fix for PR gdb/1543.
12592 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
12593 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
12594 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
12595 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
12596 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
12597 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
12598 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
12599 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
12600 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
12601 to bug-gdb@prep.ai.mit.edu .
12602 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
12603 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
12604 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
12605 Likewise.
12606
12607 2004-02-10 Andrew Cagney <cagney@redhat.com>
12608
12609 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
12610 using gdb_internal_error_resync.
12611
12612 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
12613
12614 * gdb.threads/thread-specific.exp: Stop early if no threads are
12615 found.
12616
12617 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
12618
12619 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
12620
12621 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
12622
12623 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
12624 breakpoints.
12625
12626 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
12627
12628 * config/sim.exp (gdb_load): Handle $arg == "".
12629 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
12630 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
12631
12632 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
12633
12634 * gdb.base/maint.exp: Update test to reflect
12635 obstack changes.
12636
12637 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
12638
12639 * gdb.base/pendshr.c (pendfunc): New function that calls
12640 pendfunc1.
12641 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
12642
12643 2004-02-04 Fred Fish <fnf@redhat.com>
12644
12645 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
12646 function symbols and update copyright years.
12647 * gdb.arch/gdb1291.c: Ditto.
12648
12649 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12650
12651 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
12652
12653 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12654
12655 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
12656
12657 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12658
12659 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
12660
12661 2004-02-02 Fred Fish <fnf@redhat.com>
12662
12663 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
12664 remote targets. Update copyright years.
12665
12666 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
12667
12668 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
12669 support.
12670 * gdb.base/langs.exp: Fix test which attempts to create
12671 breakpoint on non-existent function to handle new pending
12672 support.
12673 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
12674 a breakpoint.
12675 * gdb.base/pending.exp: New test.
12676 * gdb.base/pending.c: New file.
12677 * gdb.base/pendshr.c: Ditto.
12678
12679 2004-02-02 David Carlton <carlton@kealia.com>
12680
12681 * gdb.cp/overload.exp: Add overloadNamespace tests.
12682 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
12683 (overloadNamespace, XXX): New.
12684 (main): Call XXX::marker2.
12685
12686 2004-02-01 Fred Fish <fnf@redhat.com>
12687
12688 * gdb.base/dump.exp: Use runto_main instead of "runto main".
12689 * gdb.base/finish.exp: Ditto.
12690 * gdb.base/gcore.exp: Ditto.
12691 * gdb.base/huge.exp: Ditto.
12692 * gdb.base/info-proc.exp: Ditto.
12693 * gdb.base/return2.exp: Ditto.
12694 * gdb.threads/gcore-thread.exp: Ditto.
12695
12696 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12697
12698 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
12699
12700 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12701
12702 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
12703 that opening the file succeeds on OpenBSD.
12704
12705 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12706
12707 * gdb.threads/thread-specific.c: New file.
12708 * gdb.threads/threads-specific.exp: New test script.
12709 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
12710 to expect_out.
12711
12712 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12713
12714 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
12715 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
12716 only on the "print_small_structs from print_long_arg_list" test.
12717
12718 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12719
12720 * gdb.base/completion.exp: Kill a stray backslash.
12721
12722 From Jim Ingham <jingham@apple.com>:
12723 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
12724 agrees with the result from sending a tab.
12725
12726 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
12727
12728 * gdb.base/chng-syms.exp: Remove stray newline.
12729
12730 2004-01-31 Mark Kettenis <kettenis@gnu.org>
12731
12732 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
12733 *-*-openbsd*.
12734 * gdb.asm/openbsd.inc: New file.
12735
12736 2004-01-30 Mark Kettenis <kettenis@gnu.org>
12737
12738 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
12739 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
12740 *-*solaris2*. Remove commented out default settings for
12741 asm-flags. Replace gdb_compile with target_link.
12742
12743 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
12744
12745 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
12746 for all tests. Remove old hp-ux and cygnus xfail cases.
12747
12748 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
12749
12750 * gdb.base/chng-syms.exp: New file.
12751 * gdb.base/chng-syms.c: New file.
12752
12753 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12754
12755 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
12756 Provide arms for current output in all my configurations.
12757
12758 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12759
12760 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
12761 * lib/compiler.cc: Likewise.
12762 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
12763 get the right preprocessor. Eval the output directly. Remove
12764 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
12765 hp_f77_compiler and hp_f90_compiler completely.
12766 (gdb_preprocess): Delete.
12767 (get_compiler): Delete.
12768
12769 2004-01-24 Mark Kettenis <kettenis@gnu.org>
12770
12771 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
12772 <string.h>.
12773
12774 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
12775
12776 * gdb.mi/mi-stack.exp: Update copyright.
12777
12778 2004-01-23 David Carlton <carlton@kealia.com>
12779
12780 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
12781 test for cp_lookup_transparent_type.
12782 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
12783 call them.
12784
12785 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
12786
12787 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
12788 after -var-update.
12789
12790 2004-01-23 David Carlton <carlton@kealia.com>
12791
12792 * gdb.cp/namespace.cc (C::ensureRefs): New.
12793 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
12794
12795 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
12796
12797 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
12798 case "-stack-list-locals 2".
12799 * gdb.mi/mi-var-child.exp: Test for case
12800 "-var-list-children --all-values NAME".
12801
12802 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
12803
12804 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
12805
12806 2004-01-18 Mark Kettenis <kettenis@gnu.org>
12807
12808 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
12809 used with gdb_test_multiple.
12810
12811 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
12812 read at address 0. This fixes PR testsuite/1504.
12813
12814 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
12815
12816 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
12817 Remove downloading, guessing the host executable, the calls to
12818 gdb_file_cmd and gdb_target_cmd, and "load" support.
12819 (infer_host_exec): New function broken out from gdb_load.
12820 (gdb_load): New wrapper for gdbserver_gdb_load.
12821 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
12822 gdb_target_cmd. Use -target-select.
12823 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
12824 Download binaries to the host. Clear last_mi_remote_file when
12825 we load a new binary.
12826 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
12827 call gdbserver_gdb_load and mi_gdb_target_cmd.
12828
12829 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12830
12831 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
12832 type patterns.
12833
12834 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12835
12836 * gdb.cp/templates.exp: Fix typo in test name of
12837 "print Foo<volatile char*>::foo".
12838
12839 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12840
12841 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
12842
12843 2004-01-16 Ben Elliston <bje@wasabisystems.com>
12844
12845 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
12846 (clean mostlyclean): Remove empty rm.
12847
12848 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12849
12850 * gdb.base/setvar.exp: Add copyright years.
12851
12852 2004-01-14 David Carlton <carlton@bactrian.org>
12853
12854 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
12855 PR c++/1511 and update coment.
12856 * gdb.cp/templates.exp: Update patterns to match current output.
12857 If changes involve something other than whitespace, KFAIL
12858 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
12859
12860 2004-01-14 David Carlton <carlton@kealia.com>
12861
12862 * gdb.cp/namespace.exp: Add tests involving classes defined within
12863 namespaces.
12864 * gdb.cp/namespace.cc (C::CClass): New.
12865 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
12866
12867 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
12868
12869 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
12870 what debug info we have. Print a better message if something goes
12871 wrong while producing the separate debug info file.
12872
12873 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12874
12875 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
12876
12877 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12878
12879 * gdb.base/callfuncs.c: Add copyright notice.
12880
12881 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
12882
12883 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
12884 inheritance. PR gdb/1498, PR gcc/13539.
12885
12886 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
12887
12888 * gdb.threads/gcore-thread.exp: Prefix name of binary with
12889 test specific name.
12890 * gdb.mi/gdb669.exp: Ditto.
12891 * gdb.mi/mi-pthreads.exp: Ditto.
12892 * gdb.mi/mi1-pthreads.exp: Ditto.
12893 * gdb.mi/mi2-pthreads.exp: Ditto.
12894
12895 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12896
12897 * gdb.cp/member-ptr.cc: Add copyright notice.
12898
12899 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12900
12901 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
12902 some patterns for recent versions of gcc and hpacc. Delete
12903 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
12904 Delete tests that access a NULL pointer-to-member-data. This
12905 script is still disabled for gcc.
12906
12907 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12908
12909 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
12910 escaped correctly.
12911
12912 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12913
12914 * gdb.base/sepdebug.exp: New file.
12915 * gdb.base/sepdebug.c: New file.
12916 * lib/gdb.exp (separate_debug_filename): New procedure.
12917 (gdb_gnu_strip_debug): New procedure.
12918
12919 2004-01-12 Andrew Cagney <cagney@redhat.com>
12920
12921 * gdb.mi/ChangeLog: Delete file. Renamed to ...
12922 * gdb.mi/ChangeLog-1999-2003: New file.
12923
12924 2004-01-12 Andrew Cagney <cagney@redhat.com>
12925
12926 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
12927 "Renaming a directory to a non-empty directory returns ENOTEMPTY
12928 or EEXIST", treat EBUSY as an XFAIL.
12929
12930 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
12931
12932 * gdb.base/scope.exp: Remove obsolete setup_xfail for
12933 hp_cc_compiler.
12934
12935 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12936
12937 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
12938 decorations.
12939
12940 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12941
12942 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
12943 and "(aCC)" decorations. Remove obsolete doco about old
12944 test results.
12945
12946 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12947
12948 * gdb.cp/exception.exp: Fix typo in doco.
12949
12950 2004-01-09 Mark Kettenis <kettenis@gnu.org>
12951
12952 * gdb.base/gdb1476.exp: Fix typo.
12953
12954 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12955
12956 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
12957 file.
12958
12959 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12960
12961 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
12962 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
12963 Use gdb_compile. Remove restriction on gcc. Add some patterns
12964 for recent version of gdb. Delete second half, which was a copy
12965 of the first half with different build flags. This test is
12966 still disabled because it is still not ready for production.
12967
12968 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12969
12970 * gdb.cp/exception.cc: Add copyright notice.
12971 * gdb.cp/exception.exp: Add a notice that this file is broken
12972 because of line number changes caused by addition of copyright
12973 notice.
12974
12975 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12976
12977 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
12978 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
12979
12980 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12981
12982 * gdb.cp/classes.exp: Accept gnu abi 2.
12983 * gdb.cp/derivation.exp: Likewise.
12984 * gdb.cp/overload.exp: Likewise.
12985 * gdb.cp/virtfunc.exp: Likewise.
12986
12987 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12988
12989 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
12990 semicolon after end of function.
12991
12992 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12993
12994 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
12995 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
12996 boilerplate code for compiling and running the program under
12997 test. Add some string method tests.
12998
12999 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13000
13001 * gdb.cp/bs15503.cc: Add copyright notice.
13002 * gdb.cp/bs15503.exp: Adjust line number.
13003
13004 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13005
13006 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
13007 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
13008
13009 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13010
13011 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
13012 hp_cc_compiler.
13013
13014 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13015
13016 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
13017 * gdb.cp/ctti.exp: Use the marker instead of "next".
13018 With gcc, run further before bailing.
13019
13020 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13021
13022 * gdb.cp/cttiadd.cc: Add copyright notice.
13023 * gdb.cp/cttiadd1.cc: Likewise.
13024 * gdb.cp/cttiadd2.cc: Likewise.
13025 * gdb.cp/cttiadd3.cc: Likewise.
13026
13027 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13028
13029 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
13030 Use gdb_test, gdb_test_multiple. Use floating-point values that
13031 have exact representations in IEEE-ish formats.
13032
13033 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13034
13035 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
13036 compilers. Delete duplicate call to get_compiler_info.
13037 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
13038 * gdb.base/volatile.exp: Likewise.
13039
13040 2004-01-07 Mark Kettenis <kettenis@gnu.org>
13041
13042 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
13043 memory at address 0.
13044
13045 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
13046
13047 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
13048 to test for hp-ux assembler. Fix copyright years.
13049
13050 2004-01-07 Andrew Cagney <cagney@redhat.com>
13051
13052 * gdb.base/fileio.c (strerrno): Add "EBUSY".
13053
13054 2004-01-07 Andrew Cagney <cagney@redhat.com>
13055
13056 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
13057 when creating the read-only file. From analysis by Roland McGrath
13058 and Elena Zannoni.
13059
13060 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13061
13062 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
13063
13064 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13065
13066 * gdb.base/cvexpr.c: Be type-safe with function pointers and
13067 data pointers.
13068
13069 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13070
13071 * gdb.cp/m-static.exp: Compile one source file at a time.
13072 Delete unused call to get_compiler_info.
13073
13074 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
13075
13076 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
13077 * gdb.base/call-rt-st.exp: Likewise.
13078 * gdb.base/nodebug.exp: Likewise.
13079 * gdb.base/volatile.exp: Likewise.
13080 * gdb.cp/ref-types.exp: Likewise.
13081 * gdb.cp/templates.exp: Likewise.
13082
13083 2004-01-05 Mark Kettenis <kettenis@gnu.org>
13084
13085 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
13086
13087 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
13088
13089 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
13090 hppa*-hp-hpux*.
13091
13092 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13093
13094 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13095 x86_64-*-*.
13096
13097 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
13098 sparc64-*-* and sparc*-solaris2*.
13099
13100 2004-01-04 Mark Kettenis <kettenis@gnu.org>
13101
13102 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
13103 return ${tests}" test. The ${tests} already mentions the
13104 filename.
13105
13106 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13107
13108 * gdb.cp/local.exp: Accept gcc abi 2.
13109
13110 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13111
13112 * gdb.cp/templates.exp: Accept gcc abi 2.
13113
13114 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
13115
13116 * lib/compiler.cc: Remove supports_template_debugging.
13117 * gdb.cp/templates.exp: Do not test supports_template_debugging.
13118
13119 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13120
13121 * gdb.cp/namespace.exp: Accept gcc abi 2.
13122
13123 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13124
13125 * gdb.cp/method.exp: Accept gcc abi 2.
13126
13127 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13128
13129 * gdb.cp/classes.exp: Generate identical results as old version.
13130 * gdb.cp/derivation.exp: Likewise.
13131 * gdb.cp/overload.exp: Likewise.
13132 * gdb.cp/virtfunc.exp: Likewise.
13133
13134 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13135
13136 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
13137 mysterious bug with sourceware version of expect.
13138
13139 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13140
13141 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
13142 current versions of gcc, including gcc abi 2. Remove gratuitous
13143 restart of test program. Use gdb_test_multiple and gdb_test for
13144 all tests. Add patterns to xfail missing "const" in "const char *"
13145 and kfail PR gdb/1155.
13146
13147 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
13148
13149 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
13150 current versions of gcc, including gcc abi 2. Remove gratuitous
13151 restart of test program. Use gdb_test_multiple and gdb_test for
13152 all tests. Add patterns to kfail PR gdb/1498.
13153
13154 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13155
13156 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
13157 current versions of gcc, including gcc abi 2. Use "breakpoint"
13158 and "continue" instead of restarting the target program. Use
13159 gdb_test_multiple and gdb_test for all tests.
13160
13161 2004-01-01 Mark Kettenis <kettenis@gnu.org>
13162
13163 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13164 for *-*-solaris2*.
13165
13166 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13167
13168 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13169 current versions of gcc, including gcc abi 2. Use "breakpoint"
13170 and "continue" instead of restarting the target program several
13171 times. Use gdb_test_multiple and gdb_test for all tests.
13172
13173 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13174
13175 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13176 source files.
13177
13178 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13179
13180 * gdb.base/environ.exp: Handle compiling test case from multiple
13181 source files.
13182
13183 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13184
13185 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13186
13187 2003-12-17 Jim Blandy <jimb@redhat.com>
13188
13189 * gdb.base/freebpcmd.c: Add copyright notice.
13190
13191 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13192
13193 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13194
13195 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13196
13197 2003-12-13 Jim Blandy <jimb@redhat.com>
13198
13199 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13200
13201 2003-12-12 Kevin Buettner <kevinb@redhat.com>
13202
13203 * gdb.asm/frv.inc: New file.
13204 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13205
13206 2003-12-09 Fred Fish <fnf@redhat.com>
13207
13208 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
13209 functions to break1.c and leave prototypes behind. Add more
13210 "set breakpoint NN here" comments.
13211 * gdb.base/break1.c: New file.
13212
13213 * gdb.base/break.exp: Handle compiling test case from multiple
13214 source files and change source file references as needed.
13215 * gdb.base/completion.exp: Ditto.
13216 * gdb.base/condbreak.exp: Ditto.
13217 * gdb.base/define.exp: Ditto.
13218 * gdb.base/ena-dis-br.exp: Ditto.
13219 * gdb.base/info-proc.exp: Ditto.
13220 * gdb.base/maint.exp: Ditto.
13221 * gdb.base/until.exp: Ditto.
13222
13223 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
13224 hardcoded line numbers.
13225 * gdb.base/define.exp: Ditto.
13226 * gdb.base/ena-dis-br.exp: Ditto.
13227 * gdb.base/maint.exp: Ditto.
13228 * gdb.base/until.exp: Ditto.
13229
13230 * gdb.base/completion.exp: Use "break1" for completion tests since
13231 "break" is no longer a unique prefix.
13232
13233 2003-12-06 Andrew Cagney <cagney@redhat.com>
13234
13235 * gdb.base/structs.exp (test_struct_returns): When applicable, set
13236 "return_value_unimplemented". When an unimplemented struct return
13237 architecture, report incorrect values as a KFAIL
13238
13239 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13240
13241 * gdb.cp/rtti.exp: Accept new wording of warning from
13242 cp_lookup_rtti_type.
13243
13244 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13245
13246 Partial fix for PR testsuite/1456.
13247 * gdb.base/scope.exp (test_at_main): Replace references to
13248 gcc_compiled with calls to test_compiler_info.
13249 (test_at_foo): Likewise.
13250 (test_at_bar): Likewise.
13251
13252 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
13253
13254 Partial fix for PR testsuite/1456.
13255 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
13256 to test_compiler_info.
13257
13258 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
13259
13260 * gdb.base/so-impl-ld.exp: Update copyright notice.
13261
13262 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
13263
13264 Partial fix for PR testsuite/1456.
13265 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
13266 to test_compiler_info.
13267
13268 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13269
13270 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
13271 from current versions of gdb. Clean up regular expressions.
13272 Delete redundant timeout case.
13273
13274 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13275
13276 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
13277 from current versions of gdb. Clean up regular expressions.
13278 Delete redundant timeout case.
13279
13280 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
13281
13282 Partial fix for PR testsuite/1456.
13283 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
13284 gcc_compiled with call to test_compiler_info.
13285
13286 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
13287
13288 Partial fix for PR testsuite/1456.
13289 * gdb.base/list.exp (test_list_function): Delete unused declaration
13290 of gcc_compiled.
13291
13292 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
13293
13294 Partial fix for PR testsuite/1456.
13295 * gdb.base/complex.exp: Replace reference to gcc_compiled with
13296 call to test_compiler_info.
13297
13298 2003-11-29 Mark Kettenis <kettenis@gnu.org>
13299
13300 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
13301 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
13302 it to create the appropriate note.inc.
13303 * gdb.asm/asmsrc1.s: Include "note.inc".
13304 * gdb.asm/netbsd.inc: New file.
13305 * gdb.asm/empty.inc: New file.
13306
13307 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13308
13309 Partial fix for PR testsuite/1456.
13310 * gdb.base/constvars.exp: Replace references to gcc_compiled with
13311 calls to test_compiler_info.
13312
13313 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
13314
13315 Partial fix for PR testsuite/1456.
13316 * gdb.base/volatile.exp: Replace references to gcc_compiled with
13317 calls to test_compiler_info.
13318
13319 2003-11-27 Mark Kettenis <kettenis@gnu.org>
13320
13321 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
13322 pattern for the KFAILs.
13323
13324 2003-11-25 Adam Fedor <fedor@gnu.org>
13325
13326 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
13327 * gdb.objc/objcdecode.m: New file.
13328
13329 2003-11-25 Adam Fedor <fedor@gnu.org>
13330
13331 * gdb.objc/nondebug.exp: Test for PR objc/1236.
13332 * gdb.objc/nondebug.m: New file.
13333
13334 2003-11-26 Ben Elliston <bje@wasabisystems.com>
13335
13336 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13337 NetBSD as it does on FreeBSD. Modelled on a similar change by
13338 Mark Kettenis on 2003-05-30.
13339 (link-flags): Set to "--entry _start" regardless of target.
13340 Special linker flags are to be appended to $link-flags.
13341 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
13342
13343 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13344
13345 * gdb.cp/method.exp: Accept output of new demangler.
13346
13347 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13348
13349 * gdb/class2.exp: New file.
13350 * gdb/class2.cc: New file.
13351
13352 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13353
13354 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
13355 of new demangler.
13356
13357 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13358
13359 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
13360 of gdb_test "run".
13361
13362 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13363
13364 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
13365 "continue" into "run".
13366
13367 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13368
13369 Partial fix for PR testsuite/1456.
13370 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
13371 call to test_compiler_info.
13372 * gdb.cp/ctti.exp: Likewise.
13373 * gdb.cp/derivation.exp: Likewise.
13374 * gdb.cp/member-ptr.exp: Likewise.
13375 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
13376 reference to gcc_compiled.
13377
13378 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13379
13380 Fix PR testsuite/1463.
13381 * gdb.base/structs.exp (start_structs_test): Call
13382 get_debug_format before using the debug format.
13383
13384 2003-11-22 Andrew Cagney <cagney@redhat.com>
13385
13386 * lib/gdb.exp (gdb_test_multiple): Add simple example.
13387 * gdb.base/structs.exp: Use gdb_test_multiple.
13388
13389 2003-11-20 Andrew Cagney <cagney@redhat.com>
13390
13391 * gdb.base/structs.exp: Handle and recover from internal errors.
13392 Replace "foo${n}" with "foo<n>" in test messages.
13393
13394 * gdb.base/structs.exp: Update copyright. Rewrite.
13395 * gdb.base/structs.c: Update copyright. Rewrite.
13396
13397 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
13398 resync count exceeded.
13399
13400 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
13401 from the internal error.
13402 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
13403 Original from Jim Blandy.
13404 (gdb_test_multiple): Use gdb_internal_error_resync.
13405
13406 2003-11-19 Andrew Cagney <cagney@redhat.com>
13407
13408 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
13409 KFAIL.
13410
13411 2003-11-17 Mark Kettenis <kettenis@gnu.org>
13412
13413 New testcase for PR backtrace/1435.
13414 * gdb.arch/i386-unwind.exp: New file.
13415 * gdb.arch/i386-unwind.c: New file.
13416
13417 2003-11-17 Andrew Cagney <cagney@redhat.com>
13418
13419 * lib/gdb.exp (compiler_info): New global.
13420 (test_compiler_info): New function.
13421 (get_compiler_info): Set compiler_info.
13422 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
13423 "compiler_info" to gcc-<major>-<minor>.
13424
13425 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
13426
13427 * gdb.trace/configure: Remove.
13428
13429 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
13430
13431 * gdb.base/break.c: Add comments to aid finding line numbers for
13432 breakpoints.
13433 * gdb.base/break.exp: Remove all references to explicit line
13434 numbers.
13435
13436 2003-11-11 Nick Clifton <nickc@redhat.com>
13437
13438 * gdb.base/shreloc.exp: Do not run for targets which do not
13439 support shared objects.
13440
13441 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
13442
13443 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
13444 Don't run tests if nofileio flag is given.
13445
13446 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
13447
13448 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
13449 as well as 'Watchpoint'.
13450
13451 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13452
13453 Reported by Jim Ingham <jingham@apple.com>:
13454 * gdb.base/annota1.exp: Match at least one occurrence of the
13455 signal handler annotation.
13456
13457 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13458
13459 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
13460 as well as 'Watchpoint'.
13461
13462 2003-11-05 Michael Chastain <mec@shout.net>
13463
13464 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
13465
13466 2003-11-03 Kris Warkentin <kewarken@qnx.com>
13467
13468 * gdb.arch/gdb1291.c: New test file.
13469 * gdb.arch/gdb1291.exp: New test script.
13470 * gdb.arch/gdb1431.c: New test file.
13471 * gdb.arch/gdb1431.exp: New test script.
13472
13473 2003-10-22 Michael Chastain <mec@shout.net>
13474
13475 * gdb.mi/pthreads.c: Add copyright notice.
13476
13477 2003-10-22 Michael Chastain <mec@shout.net>
13478
13479 * gdb.threads/pthreads.c: Add copyright notice.
13480
13481 2003-10-20 Michael Chastain <mec@shout.net>
13482
13483 * gdb.base/gdb1056.exp: New test script.
13484
13485 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13486
13487 * gdb.threads/killed.exp: Use gdb_run_cmd.
13488
13489 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13490
13491 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
13492 create a core file.
13493 * gdb.threads/gcore-thread.exp: Likewise.
13494
13495 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
13496
13497 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
13498 type, based on char type.
13499 (struct bit_flags_short_t): New bitfield type, based on short type.
13500 (init_bit_flags_char): New fuction.
13501 (init_bit_flags_short): Ditto.
13502 (print_bit_flags_char): Ditto.
13503 (print_bit_flags_short): Ditto.
13504 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
13505
13506 2003-10-11 Michael Chastain <mec@shout.net>
13507
13508 * gdb.base/call-rt-st.exp: Update copyright year.
13509
13510 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
13511
13512 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
13513 * gdb.disasm/sh3.s: Ditto.
13514
13515 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
13516
13517 * gdb.threads/switch-threads.exp: New test.
13518 * gdb.threads/switch-threads.c: New source file.
13519
13520 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
13521
13522 * gdb.base/ending-run.exp: Add sh specific case.
13523
13524 2003-10-06 Andrew Cagney <cagney@redhat.com>
13525
13526 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
13527 * gdb.disasm/mn10200.exp: Delete obsolete file.
13528
13529 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
13530
13531 * ChangeLog: Correct an entry command.exp -> commands.exp.
13532 * gdb.base/commands.exp (bp_deleted_in_command_test)
13533 (temporary_breakpoint_commands): Check noargs.
13534
13535 2003-09-25 David Carlton <carlton@kealia.com>
13536
13537 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
13538 of some print tests, where appropriate. Add tests for C::D::cd,
13539 E::ce, F::cXfX, G::XgX.
13540 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
13541
13542 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
13543
13544 * lib/java.exp (java_init): Import target_alias before using it.
13545
13546 2003-09-25 David Carlton <carlton@kealia.com>
13547
13548 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
13549
13550 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
13551
13552 * gdb.base/selftest.exp: Accomodate more instruction reordering
13553 weirdness.
13554
13555 2003-09-17 Michael Chastain <mec@shout.net>
13556
13557 * gdb.cp/gdb1355.exp: New file.
13558 * gdb.cp/gdb1355.c: New file.
13559
13560 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
13561
13562 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
13563 * gdb.asm/sh.inc: New file.
13564
13565 2003-09-11 David Carlton <carlton@kealia.com>
13566
13567 * gdb.cp/namespace.exp: Add tests for namespace types.
13568 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
13569 (test_namespace): New.
13570
13571 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
13572
13573 * gdb.base/relocate.exp: Handle new gdb output at startup.
13574 * gdb.stabs/weird.exp: Ditto.
13575
13576 2003-09-08 Michael Chastain <mec@shout.net>
13577
13578 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
13579
13580 2003-09-07 Michael Chastain <mec@shout.net>
13581
13582 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
13583 'parse error'.
13584
13585 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
13586
13587 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
13588
13589 2003-08-30 Michael Chastain <mec@shout.net>
13590
13591 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
13592 * gdb.gdb/observer.exp: Ditto.
13593 * gdb.gdb/xfullpath.exp: Ditto.
13594
13595 2003-08-29 Mark Kettenis <kettenis@gnu.org>
13596
13597 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
13598 *-*-*bsd*.
13599
13600 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
13601
13602 * gdb.base/dump.exp: Skip for ia64.
13603
13604 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
13605
13606 * gdb.asm/asm-source.exp: Add ia64 support.
13607 * gdb.asm/ia64.inc: New file.
13608
13609 2003-08-22 Michael Chastain <mec@shout.net>
13610
13611 * gdb.cp: New directory.
13612 * gdb.cp/*: Copy from gdb.c++/*.
13613 * gdb.c++/*: Remove.
13614 * Makefile.in: Change gdb.c++ to gdb.cp.
13615 * configure.in: Ditto.
13616 * configure: Regnerate.
13617
13618 2003-08-18 Mark Kettenis <kettenis@gnu.org>
13619
13620 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
13621 * gdb.arch/i386-prologue.c (gdb1338): Add function.
13622
13623 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13624
13625 * mi-var-display.exp (-var-list-children weird): Accept function
13626 pointers with argument types.
13627 * mi1-var-display.exp (-var-list-children weird): Likewise.
13628 * mi2-var-display.exp (-var-list-children weird): Likewise.
13629
13630 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13631
13632 * gdb.base/annota3.exp: Add missing newline.
13633
13634 2003-08-06 Michael Chastain <mec@shout.net>
13635
13636 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
13637
13638 2003-08-12 Michael Snyder <msnyder@redhat.com>
13639
13640 * gdb.base/float.exp: Add test for SH.
13641
13642 2003-08-10 Mark Kettenis <kettenis@gnu.org>
13643
13644 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
13645
13646 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13647
13648 * gdb.base/completion.exp: Remove reduntant completion test
13649 on filename.
13650
13651 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13652
13653 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
13654 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
13655 gdb.trace/save-trace.exp: Make sure that full pathnames are
13656 escaped correctly.
13657
13658 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13659
13660 * configure.in: Don't generate config.h from config.hin.
13661 * configure: Regenerate.
13662 * config.hin: Remove file.
13663 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
13664 * gdb.threads/pthreads.c: Ditto.
13665
13666 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
13667
13668 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13669 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
13670 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
13671 Replace ld24 with seth/add3.
13672
13673 2003-08-02 Andrew Cagney <cagney@redhat.com>
13674
13675 * gdb.base/annota3.exp: New file.
13676 * gdb.base/annota3.c: New file.
13677 * gdb.c++/annota3.exp: New file.
13678 * gdb.c++/annota3.cc: New file.
13679
13680 2003-07-29 Michael Chastain <mec@shout.net>
13681
13682 * gdb.threads/tls.c (spin): Check errno only if sem_wait
13683 actually failed.
13684 (do_pass): Likewise.
13685 * gdb.threads/tls.exp: Always initialize no_of_threads.
13686
13687 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
13688
13689 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
13690 pattern.
13691 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
13692 * gdb.threads/tls.exp: Recognize one case of the host library not
13693 supporting TLS.
13694
13695 2003-07-27 Andrew Cagney <cagney@redhat.com>
13696
13697 * gdb.base/fileio.exp: Use SH when running commands using
13698 remote_exec.
13699
13700 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
13701
13702 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13703 * gdb.base/relocate.c (dummy): New padding array.
13704
13705 2003-07-22 Michael Snyder <msnyder@redhat.com>
13706
13707 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
13708
13709 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
13710 patterns to be more general, accepting old and new output.
13711 Some output chars (such as '+') also must be quoted.
13712 Some addresses are displayed numerically instead of
13713 symbolically.
13714
13715 2003-07-23 Michael Snyder <msnyder@redhat.com>
13716
13717 * gdb.base/return2.exp: Don't test long-long return.
13718
13719 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
13720 * gdb.disasm/t01_mov.exp: Ditto.
13721 * gdb.disasm/t02_mova.s: Ditto.
13722 * gdb.disasm/t02_mova.exp: Ditto.
13723 * gdb.disasm/t03_add.s: Ditto.
13724 * gdb.disasm/t03_add.exp: Ditto.
13725 * gdb.disasm/t04_sub.s: Ditto.
13726 * gdb.disasm/t04_sub.exp: Ditto.
13727 * gdb.disasm/t05_cmp.s: Ditto.
13728 * gdb.disasm/t05_cmp.exp: Ditto.
13729 * gdb.disasm/t06_ari2.s: Ditto.
13730 * gdb.disasm/t06_ari2.exp: Ditto.
13731 * gdb.disasm/t07_ari3.s: Ditto.
13732 * gdb.disasm/t07_ari3.exp: Ditto.
13733 * gdb.disasm/t08_or.s: Ditto.
13734 * gdb.disasm/t08_or.exp: Ditto.
13735 * gdb.disasm/t09_xor.s: Ditto.
13736 * gdb.disasm/t09_xor.exp: Ditto.
13737 * gdb.disasm/t10_and.s: Ditto.
13738 * gdb.disasm/t10_and.exp: Ditto.
13739 * gdb.disasm/t11_logs.s: Ditto.
13740 * gdb.disasm/t11_logs.exp: Ditto.
13741 * gdb.disasm/t12_bit.s: Ditto.
13742 * gdb.disasm/t12_bit.exp: Ditto.
13743 * gdb.disasm/t13_otr.s: Ditto.
13744 * gdb.disasm/t13_otr.exp: Ditto.
13745
13746 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13747
13748 * gdb.threads/tls.exp :Add kfail for 'info address' case.
13749
13750 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13751
13752 * gdb.threads/tls.c : New file.
13753 * gdb.threads/tls.exp : New file.
13754 * gdb.threads/tls-main.c : New file.
13755 * gdb.threads/tls-shared.c : New file.
13756 * gdb.threads/tls-shared.exp : New file.
13757
13758 2003-07-22 Andreas Schwab <schwab@suse.de>
13759
13760 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
13761
13762 2003-07-20 Andreas Schwab <schwab@suse.de>
13763
13764 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
13765 due to insn reordering.
13766
13767 2003-07-15 Andrew Cagney <cagney@redhat.com>
13768
13769 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
13770
13771 2003-07-15 Michael Chastain <mec@shout.net>
13772
13773 * gdb.base/gdb1250.exp: New file.
13774 * gdb.base/gdb1250.c: New file.
13775
13776 2003-07-09 Michal Ludvig <mludvig@suse.cz>
13777
13778 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
13779 expansion of size_t to 'unsigned long', not only to 'unsigned'.
13780
13781 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13782
13783 * gdb.threads/tls.c: New file.
13784 * gdb.threads/tls.exp: New file.
13785 * gdb.threads/tls-main.c: New file.
13786 * gdb.threads/tls-shared.c: New file.
13787 * gdb.threads/tls-shared.exp: New file.
13788
13789 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13790
13791 * gdb.base/annota1.exp: Make sure that we properly escape the
13792 full path of the source file. Xfail more permissive patterns,
13793 due to a compiler debug info problem.
13794
13795 2003-07-07 Andreas Schwab <schwab@suse.de>
13796
13797 * gdb.asm/m68k.inc: New file.
13798 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
13799
13800 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
13801 arguments"): Also match negative number.
13802
13803 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
13804
13805 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
13806
13807 * gdb.base/store.c (charest): New typedef.
13808 (add_char): Rename to add_charest, update.
13809 (wack_char): Rename to wack_charest, update types. Return l + r
13810 to keep r live across the call.
13811 (wack_short, wack_int, wack_long, wack_longest, wack_float)
13812 (wack_double, wack_doublest): Return l + r to keep r live across
13813 the call.
13814 * gdb.base/store.exp: Accomodate store.c changes.
13815
13816 2003-06-30 David Carlton <carlton@kealia.com>
13817
13818 * gdb.c++/maint.exp (test_invalid_name): New.
13819 (test_first_component): Add tests for invalid names.
13820
13821 2003-06-29 Michael Chastain <mec@shout.net>
13822
13823 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
13824 output of '<VTT for class>' for virtual base classes.
13825
13826 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13827
13828 * gdb.base/completion.exp: Tab-complete "complet" instead of
13829 "compl".
13830 * gdb.base/complex.exp, gdb.base/complex.c: New files.
13831
13832 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13833
13834 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
13835 * gdb.base/volatile.exp: Likewise.
13836
13837 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13838
13839 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
13840 gdb/1265.
13841
13842 2003-06-28 Michael Chastain <mec@shout.net>
13843 Daniel Jacobowitz <drow@mvista.com>
13844
13845 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
13846 initial line count of 'captured_main' from 26 to 32.
13847 (test_with_self): Allow xmalloc call to be interleaved with the
13848 preceding two lines.
13849
13850 2003-06-24 Joel Brobecker <brobecker@gnat.com>
13851
13852 * gdb.base/bang.exp: New testcase.
13853
13854 2003-06-23 Joel Brobecker <brobecker@gnat.com>
13855
13856 * gdb.base/langs.exp: Add some tests for the "minimal" language
13857 support.
13858
13859 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
13860
13861 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
13862 the testcase.
13863
13864 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13865
13866 * gdb.base/relocate.exp: Test add-symbol-file with a variable
13867 offset.
13868
13869 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13870
13871 * gdb.c++/pr-1210.cc: New file.
13872 * gdb.c++/pr-1210.exp: New file.
13873
13874 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
13875
13876 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
13877 000-exec-continue.
13878
13879 2003-06-15 Mark Kettenis <kettenis@gnu.org>
13880
13881 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
13882 on *-*-*bsd* instead of *-*-freebsd*.
13883
13884 2003-06-14 Andrew Cagney <cagney@redhat.com>
13885
13886 * gdb.base/store.exp: Test longest and doublest. Test all
13887 parameters. Weaken return statement match.
13888 * gdb.base/store.c: Add longest and doublest - aka long long and
13889 long double functions. Put all parameters into local register
13890 variables. Use negative values.
13891
13892 2003-06-14 Andrew Cagney <cagney@redhat.com>
13893
13894 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
13895 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
13896 exit status.
13897 * gdb.base/fileio.exp: Disable target when nointerrupts and
13898 noinferiorio, instead of limiting it to remote. Use remote_exec
13899 instead of system.
13900
13901 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
13902
13903 * gdb.base/float.exp: Add ia64 support.
13904
13905 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
13906
13907 * gdb.base/fileio.exp: Run only on remote targets.
13908
13909 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
13910
13911 * gdb.base/fileio.c: New file, testing File-I/O.
13912 * gdb.base/fileio.exp: Ditto.
13913
13914 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
13915
13916 * gdb.base/shreloc.exp: New file, check symbol values obtained from
13917 shared objects after relocation at load time (gdb PR/1132).
13918 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
13919 as above, part of the shared object relocation test.
13920
13921 2003-06-08 Mark Kettenis <kettenis@gnu.org>
13922
13923 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
13924 fully filled history list.
13925 * gdb.base/gdb_history: New file.
13926
13927 * gdb.base/signals.exp: XFAIL "continue to func1" on
13928 i*86-*-freebsd*.
13929
13930 * gdb.base/attach.exp: When trying to attach to a nonexistent
13931 process, make it possible to specify the PID based on the target,
13932 and do so for *-*-freebsd*.
13933
13934 2003-06-02 Richard Henderson <rth@redhat.com>
13935
13936 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
13937
13938 2003-06-02 Richard Henderson <rth@redhat.com>
13939
13940 * gdb.base/selftest.exp: Next over lim_at_start initialization.
13941
13942 2003-06-02 Richard Henderson <rth@redhat.com>
13943
13944 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
13945
13946 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
13947
13948 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
13949 of globalvar.
13950
13951 2003-06-01 Mark Kettenis <kettenis@gnu.org>
13952
13953 * gdb.asm/asm-source.exp: Check for memory read errors in
13954 disassembler test on *BSD too.
13955
13956 2003-06-01 Richard Henderson <rth@redhat.com>
13957
13958 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
13959 for .frame.
13960 (gdbasm_call): Lose ldgp.
13961 (gdbasm_startup): Add frame information.
13962 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
13963
13964 2003-05-31 Mark Kettenis <kettenis@gnu.org>
13965
13966 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
13967 i?86-*-*.
13968
13969 2003-05-30 Mark Kettenis <kettenis@gnu.org>
13970
13971 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13972 FreeBSD.
13973
13974 2003-05-29 Richard Henderson <rth@redhat.com>
13975
13976 * gdb.asm/alpha.inc: New file.
13977 * gdb.asm/asm-source.exp: Use it.
13978
13979 2003-05-29 Jim Blandy <jimb@redhat.com>
13980
13981 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
13982 'core.PID'.
13983
13984 2003-05-22 Jim Blandy <jimb@redhat.com>
13985
13986 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
13987 backtrace.
13988
13989 2003-05-20 David Carlton <carlton@math.stanford.edu>
13990
13991 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
13992 this time.
13993
13994 2003-05-19 David Carlton <carlton@bactrian.org>
13995
13996 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
13997 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
13998
13999 2003-05-19 David Carlton <carlton@bactrian.org>
14000
14001 * gdb.c++/namespace.exp: Add namespace scope and anonymous
14002 namespace tests.
14003 Bump copyright date.
14004 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
14005 (main): Call C::D::marker2.
14006 * gdb.c++/namespace1.cc: New file.
14007
14008 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
14009
14010 Roland McGrath <roland@redhat.com>
14011 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
14012 there is no manager thread.
14013
14014 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
14015
14016 * gdb.threads/schedlock.exp: Remove assumption that all threads
14017 will run in a particular small time slice. Also ensure we break
14018 in one of the child threads rather than the main thread.
14019
14020 2003-05-07 Jim Blandy <jimb@redhat.com>
14021
14022 Add support for assembly source testing on the s390x.
14023 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
14024 architecture.
14025 * gdb.asm/s390x.inc: New file.
14026
14027 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
14028 succession of 'if' statements.
14029
14030 2003-05-05 Andrew Cagney <cagney@redhat.com>
14031
14032 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
14033
14034 2003-05-05 Andrew Cagney <cagney@redhat.com>
14035
14036 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
14037 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
14038
14039 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
14040
14041 * gdb.base/charset.exp: Update based on new behavior of set/show
14042 charset commands.
14043
14044 2003-05-01 Andrew Cagney <cagney@redhat.com>
14045
14046 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
14047 variable do not give memory errors.
14048
14049 2003-04-30 Adam Fedor <fedor@gnu.org>
14050
14051 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
14052 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
14053 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
14054 gdb.objc/basicclass.m: : New files
14055
14056 * lib/gdb.exp (gdb_compile_objc): New procedure.
14057
14058 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
14059
14060 * gdb.base/signals.exp: Make backtrace tests more specific.
14061
14062 2003-04-23 David Carlton <carlton@bactrian.org>
14063
14064 * gdb.c++/maint.exp (test_first_component): Add tests for
14065 'operator' in more locations.
14066
14067 2003-04-16 Kevin Buettner <kevinb@redhat.com>
14068
14069 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
14070
14071 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
14072
14073 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
14074 func marke' instead. Update test name.
14075
14076 2003-04-15 David Carlton <carlton@math.stanford.edu>
14077
14078 * gdb.c++/maint.exp: New file.
14079
14080 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14081
14082 * gdb.threads/schedlock.c: Change type of thread function argument
14083 to long, to avoid warnings on 64-bit platforms.
14084
14085 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
14086
14087 * gdb.base/attach.exp: Add new message from ptrace in case of
14088 attaching to nonexistent process.
14089
14090 2003-04-11 Jim Blandy <jimb@redhat.com>
14091
14092 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14093 gdb.c++/userdef.cc: Place comments on the lines to which the
14094 marker function might return.
14095 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14096 gdb.c++/userdef.exp: Look for those comments to check that we've
14097 returned to the right place, instead of checking line numbers.
14098
14099 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
14100
14101 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
14102 match on sourcefile name, instead of directory name.
14103
14104 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
14105
14106 * gdb.base/completion.exp: Use string_to_regexp to match the
14107 working directory name.
14108
14109 2003-04-09 Jim Blandy <jimb@redhat.com>
14110
14111 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
14112 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
14113 after an inferior function call, report the failure, but allow the
14114 test to continue.
14115
14116 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14117
14118 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14119 with -DPROTOTYPES.
14120
14121 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
14122
14123 * gdb.base/break.exp: Revert last patch.
14124
14125 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
14126
14127 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
14128 with -DPROTOTYPES.
14129
14130 2003-04-02 Andrew Cagney <cagney@redhat.com>
14131
14132 * gdb.base/callfuncs.exp: Make "print add" messages unique.
14133 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
14134 matching directories by the name breakpoint.
14135 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
14136 Make "continue to marker1" consistent.
14137 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
14138 message consistent.
14139 * lib/gdb.exp: Put "the program is no longer running", and "the
14140 program exited" in parenthesis.
14141 * lib/mi-support.exp: Ditto.
14142
14143 2003-04-02 Bob Rossi <bob_rossi@cox.net>
14144
14145 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
14146
14147 2003-03-29 Andrew Cagney <cagney@redhat.com>
14148
14149 * gdb.base/sizeof.c (main): Print the value of '\377'.
14150 * gdb.base/sizeof.exp: Check the sign of '\377'.
14151
14152 2003-03-27 Michael Chastain <mec@shout.net>
14153
14154 * gdb.base/gdb1090.exp: New file.
14155 * gdb.base/gdb1090.cc: New file.
14156
14157 2003-03-27 J. Brobecker <brobecker@gnat.com>
14158
14159 * gdb.gdb/observer.exp: New regression test.
14160
14161 2003-03-27 Michael Chastain <mec@shout.net>
14162
14163 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14164 * gdb.base/ptype.exp: Likewise.
14165
14166 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
14167
14168 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14169
14170 2003-03-26 Michael Chastain <mec@shout.net>
14171
14172 * gdb.base/ptype.exp: Actually use some typedef'd types.
14173
14174 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14175
14176 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14177 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14178
14179 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14180
14181 * gdb.base/default.exp: Fix regular expression.
14182
14183 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14184
14185 * gdb.base/args.exp: Fix regular expression.
14186
14187 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14188
14189 * gdb.base/help.exp: Allow Win32 child process.
14190
14191 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14192
14193 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14194 when stepping out of main().
14195
14196 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14197
14198 * gdb.base/default.exp: Check for win32 specific message when calling
14199 "run" without executable.
14200
14201 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14202
14203 * gdb.base/args.exp: Expect .exe in output.
14204
14205 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14206
14207 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
14208 Cygwin native.
14209
14210 2003-03-17 Andrew Cagney <cagney@redhat.com>
14211
14212 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
14213 vector registes.
14214 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
14215 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
14216
14217 2003-03-17 David Carlton <carlton@math.stanford.edu>
14218
14219 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
14220 test, for PR breakpoints/38.
14221 Call test_watchpoint_and_breakpoint.
14222 * gdb.base/watchpoint.c (func3): New function.
14223 (main): Call func3.
14224
14225 2003-03-04 David Carlton <carlton@math.stanford.edu>
14226
14227 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
14228 Garply<Garply<char> >:: garply".
14229 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
14230 with respect to PR c++/1111; note also PR c++/1113.
14231 (test_template_breakpoints): KFAIL "constructor breakpoint" with
14232 respect to PR c++/1062.
14233 KFAIL "destructor breakpoint" with respect to PR c++/1112.
14234
14235 2003-03-03 David Carlton <carlton@math.stanford.edu>
14236
14237 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
14238 with respect to PR c++/57.
14239 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
14240 c++/826.
14241 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
14242 respect to PR c++/57.
14243
14244 2003-03-03 David Carlton <carlton@math.stanford.edu>
14245
14246 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
14247 respect to PR c++/33 into FAILs.
14248
14249 2003-03-03 Michael Chastain <mec@shout.net>
14250
14251 * configure.in: Update copyright years.
14252
14253 2003-03-03 Michael Chastain <mec@shout.net>
14254
14255 * Makefile.in: Update copyright years.
14256
14257 2003-02-28 David Carlton <carlton@math.stanford.edu>
14258
14259 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
14260 print class instead of struct and/or superfluous protection
14261 specifiers, as long as the resulting output is equivalent to the
14262 source code.
14263 Delete FIXME from end of messages on tests that don't need
14264 fixing.
14265
14266 2003-02-28 David Carlton <carlton@math.stanford.edu>
14267
14268 * gdb.c++/templates.exp (do_tests): Allow const in the two
14269 Foo<volatile char *>::foo tests.
14270
14271 2003-02-27 Michael Snyder <msnyder@redhat.com>
14272
14273 * gdb.base/restore.c (main): Return zero, so exit code
14274 will be consistant.
14275
14276 2003-02-26 David Carlton <carlton@math.stanford.edu>
14277
14278 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
14279 char *>::foo" test with respect to PR c++/33. Create a new test
14280 which is identical to that one except that it doesn't put the
14281 space between the "char" and the "*"; KFAIL it, too.
14282
14283 2003-02-26 David Carlton <carlton@math.stanford.edu>
14284
14285 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
14286 template types into either PASSes or KFAILs (corresponding to PR
14287 c++/57). Tweak indentation. Update copyright.
14288
14289 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
14290
14291 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
14292
14293 2003-02-13 Michael Chastain <mec@shout.net>
14294
14295 * gdb.base/exprs.exp: Remove i960 remnants.
14296 * gdb.base/funcargs.exp: Likewise.
14297 * gdb.base/list.exp: Likewise.
14298 * gdb.base/ptype.exp: Likewise.
14299
14300 2003-02-14 David Carlton <carlton@math.stanford.edu>
14301
14302 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
14303 pEe->D::vg()" from XFAIL to KFAIL.
14304
14305 2003-02-13 Jason Molenda (jmolenda@apple.com)
14306
14307 * gdb.base/maint.exp: Update maint print statistics regexp to include
14308 new entries.
14309
14310 2003-02-13 Michael Chastain <mec@shout.net>
14311
14312 * gdb.c++/inherit.exp: Remove call to get_debug_format.
14313
14314 2003-02-12 Michael Chastain <mec@shout.net>
14315
14316 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
14317 * gdb.c++/inherit.exp: Likewise.
14318 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
14319 * gdb.c++/templates.exp: Likewise.
14320 * gdb.c++/virtfunc.exp: Likewise.
14321
14322 2003-02-06 Jason Molenda (jason-cl@molenda.com)
14323
14324 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
14325 why the code is written that way.
14326
14327 2003-02-05 Michael Chastain <mec@shout.net>
14328
14329 * gdb.base/dump.exp: Add missing copyright line.
14330
14331 2003-02-05 Jason Molenda (jason-cl@molenda.com)
14332
14333 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
14334 at the beginning so the breakpoint doesn't get set on the loop.
14335
14336 2003-02-05 Michael Chastain <mec@shout.net>
14337
14338 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
14339 output for configurations with gcc 2.95.3.
14340
14341 2003-02-05 Keith Seitz <keiths@redhat.com>
14342 Andrew Cagney <ac131313@redhat.com>
14343
14344 * gdb.mi/mi-cli.exp: New file.
14345
14346 2003-02-04 Michael Chastain <mec@shout.net>
14347
14348 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
14349 Call perror and then continue.
14350
14351 2003-02-03 Michael Chastain <mec@shout.net>
14352
14353 * gdb.c++/pr-1023.cc: New file.
14354 * gdb.c++/pr-1023.exp: New file.
14355
14356 2003-02-05 Jim Blandy <jimb@redhat.com>
14357
14358 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
14359 it's local to foobar. Check for it there, and check that it's not
14360 present in main.
14361 * gdb.c++/local.cc (marker2): New function.
14362 (foobar): Call marker1.
14363 (main): Call marker2 instead of marker1.
14364
14365 2003-02-04 Andrew Cagney <ac131313@redhat.com>
14366
14367 * gdb.disasm/mn10200.exp: Obsolete file.
14368 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
14369 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
14370 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
14371
14372 2003-02-04 David Carlton <carlton@math.stanford.edu>
14373
14374 * gdb.c++/overload.exp: Test intToChar(1).
14375 * gdb.c++/overload.cc (intToChar): New.
14376 (main): Call intToChar.
14377
14378 2003-02-03 David Carlton <carlton@math.stanford.edu>
14379
14380 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
14381 'might_kfail' arg.
14382 KFAIL some of the continue_to_bp_overloaded calls, according to
14383 PR c++/1025.
14384
14385 2003-02-01 Michael Chastain <mec@shout.net>
14386
14387 * gdb.base/advance.c (marker1): New marker function.
14388 * gdb.base/advance.exp: When the 'advance' command lands on the
14389 return breakpoint, it can legitimately stop on either the
14390 current line or the next line. Accommodate both outcomes.
14391 * gdb.base/until.exp: Likewise.
14392
14393 2003-02-02 Andrew Cagney <ac131313@redhat.com>
14394
14395 2002-11-10 Jason Molenda (jason-cl@molenda.com):
14396 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
14397 now a list, not a tuple.
14398 * gdb.mi/mi-var-display.exp: Ditto.
14399 * gdb.mi/gdb792.exp: Ditto.
14400
14401 2003-02-01 Andrew Cagney <ac131313@redhat.com>
14402
14403 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
14404 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
14405 stack backtraces.
14406 * gdb.mi/mi-syn-frame.c: Part of same.
14407
14408 2003-02-01 Mark Kettenis <kettenis@gnu.org>
14409
14410 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14411 gdb.mi/mi1-pthreads.exp: Return instead of calling
14412 gdb_suppress_entire_file.
14413
14414 2003-02-01 Mark Salter <msalter@redhat.com>
14415
14416 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
14417
14418 2003-01-31 Mark Salter <msalter@redhat.com>
14419
14420 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
14421 Support empty arg.
14422
14423 2003-01-30 Michael Chastain <mec@shout.net>
14424
14425 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
14426 This was a workaround for a UTF-8 bug in readline 4.3. The bug
14427 has been fixed in gdb/readline on 2003-01-09.
14428
14429 2003-01-29 Michael Snyder <msnyder@redhat.com>
14430
14431 * gdb.base/maint.exp: Allow for leading underscore in symbol.
14432 * gdb.base/display.exp: Allow for leading underscore in symbol.
14433 * gdb.base/args.exp: Skip if target does not support args passing.
14434
14435 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
14436
14437 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
14438 gdb_test. Accept a list of expect arguments as the third
14439 parameter.
14440 (gdb_test): Use it.
14441
14442 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
14443
14444 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
14445 allow for different test tree configurations. Update some
14446 tescases accordingly.
14447 * gdb.arch/altivec-regs.exp: Ditto.
14448 * gdb.asm/asm-source.exp: Ditto.
14449 * gdb.base/advance.exp: Ditto.
14450 * gdb.base/display.exp: Ditto.
14451 * gdb.base/long_long.exp: Ditto.
14452 * gdb.base/mips_pro.exp: Ditto.
14453 * gdb.base/overlays.exp: Ditto.
14454 * gdb.base/relocate.exp: Ditto.
14455 * gdb.base/setshow.exp: Ditto.
14456 * gdb.base/step-line.exp: Ditto.
14457 * gdb.base/step-test.exp: Ditto.
14458 * gdb.base/until.exp: Ditto.
14459 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
14460
14461 2003-01-17 David Carlton <carlton@math.stanford.edu>
14462
14463 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
14464 corresponding to PR c++/945.
14465 Update copyright.
14466
14467 2003-01-17 David Carlton <carlton@math.stanford.edu>
14468
14469 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
14470 corresponding to PR c++/68.
14471
14472 2003-01-17 David Carlton <carlton@math.stanford.edu>
14473
14474 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
14475 (test_paddr_hairy_functions): Call print_addr_2_kfail for
14476 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
14477
14478 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14479
14480 * gdb.base/break.exp: Fix change of default location, because of
14481 removal of until tests.
14482 * gdb.base/help.exp: Update test for new 'until' help message.
14483 Add test for help on 'advance'.
14484 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
14485
14486 2003-01-15 Mark Kettenis <kettenis@gnu.org>
14487
14488 * gdb.base/default.exp: Adapt "info float" test for recent changes
14489 to that command. Add test for "info vector".
14490 * gdb.base/float.exp: New file. Add test for "info float" that
14491 resembles the old test in gdb.base/default.exp.
14492
14493 2003-01-15 David Carlton <carlton@math.stanford.edu>
14494
14495 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
14496
14497 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14498
14499 * gdb.base/break.exp: Move the tests of until command from here...
14500 * gdb.base/until.exp: ... to here. New file. Add other tests.
14501 * gdb.base/advance.c: New file.
14502 * gdb.base/advance.exp: New file.
14503
14504 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
14505
14506 * gdb.base/args.c: New file.
14507 * gdb.base/args.exp: New file.
14508
14509 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14510
14511 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
14512
14513 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14514
14515 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
14516
14517 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14518
14519 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
14520 dates.
14521
14522 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14523
14524 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
14525
14526 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14527
14528 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
14529 (ptype &*"foo").
14530 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
14531
14532 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14533
14534 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
14535 * gdb.mi/mi1-console.exp: Likewise.
14536
14537 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14538
14539 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
14540 * gdb.mi/mi1-console.exp: Likewise.
14541
14542 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14543
14544 * gdb.c++/overload.exp: Remove some fixed XFAILs.
14545
14546 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14547
14548 * gdb.base/detach.exp: New test.
14549
14550 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14551
14552 * Makefile.in (ALL_SUBDIRS): New variable.
14553 (subdirs, clean, distclean): Use it.
14554 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
14555 regenerating Makefile, since it is generated from the top level.
14556 * gdb.asm/Makefile.in: Likewise.
14557 * gdb.base/Makefile.in: Likewise.
14558 * gdb.c++/Makefile.in: Likewise.
14559 * gdb.disasm/Makefile.in: Likewise.
14560 * gdb.java/Makefile.in: Likewise.
14561 * gdb.mi/Makefile.in: Likewise.
14562 * gdb.threads/Makefile.in: Likewise.
14563 * gdb.trace/Makefile.in: Likewise.
14564
14565 2003-01-09 David Carlton <carlton@math.stanford.edu>
14566
14567 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
14568 Add copyright year 2003.
14569
14570 2003-01-06 Michael Chastain <mec@shout.net>
14571
14572 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
14573 When selecting a thread, 'line' and 'file' are optional.
14574 * gdb.mi/mi1-pthreads.exp: Likewise.
14575
14576 2003-01-06 Andreas Schwab <schwab@suse.de>
14577
14578 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
14579 failures.
14580
14581 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14582
14583 Fix PR gdb/844
14584 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
14585 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
14586
14587 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
14588 instead of calling gdb_suppress_entire_file.
14589 * gdb.threads/print-threads.exp: Likewise.
14590 * gdb.threads/schedlock.exp: Likewise.
14591
14592 * gdb.threads/killed.exp: Return instead of calling
14593 gdb_suppress_entire_file.
14594 * gdb.threads/linux-dp.exp: Likewise.
14595 * gdb.threads/pthreads.exp: Likewise.
14596
14597 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14598
14599 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
14600 stabs.
14601 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
14602 * gdb.base/whatis.exp: Always allow (void) after function names.
14603
14604 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14605
14606 * gdb.c++/casts.exp: Correct regexp.
14607
14608 2003-01-04 Mark Kettenis <kettenis@gnu.org>
14609
14610 * configure.in: Call AC_CONFIG_HEADER. Don't call
14611 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
14612 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
14613 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
14614 aforementioned directories in the AC_OUPUT call.
14615 * config.hin: New file.
14616 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14617 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
14618 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
14619 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
14620 pass -I$objdir instead of -I$objdir/$subdir in compilation.
14621 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
14622 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
14623 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
14624 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
14625 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
14626 gdb.threads/configure.in, gdb.threads/configure,
14627 gdb.threads/config.in, gdb.trace/configure.in,
14628 gdb.trace/configure: Removed.
14629
14630 2003-01-03 Michael Chastain <mec@shout.net>
14631
14632 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
14633 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
14634
14635 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
14636
14637 * gdb.base/store.exp: Fix regular expressions.
14638
14639 2002-12-28 Mark Kettenis <kettenis@gnu.org>
14640
14641 * configure.in: Rewrite.
14642 * configure: Regenerated.
14643
14644 2003-01-03 David Carlton <carlton@math.stanford.edu>
14645
14646 * gdb.base/psymtab.exp: New file.
14647 * gdb.base/psymtab1.c: Ditto.
14648 * gdb.base/psymtab2.c: Ditto.
14649
14650 2002-12-23 Adam Fedor <fedor@gnu.org>
14651
14652 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
14653
14654 2002-12-23 David Carlton <carlton@math.stanford.edu>
14655
14656 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
14657 and current_directory initialization.
14658
14659 2002-12-22 Jim Blandy <jimb@redhat.com>
14660
14661 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
14662 rather than as part of the output file name.
14663
14664 * gdb.base/attach.exp: There's no need to copy the test program to
14665 /tmp; that was only ever necessary on HP/UX, and this test is
14666 entirely disabled there anyway.
14667
14668 2002-12-21 Jim Blandy <jimb@redhat.com>
14669
14670 * gdb.c++/psmang.exp: Doc fix.
14671
14672 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
14673 test.
14674
14675 2002-12-20 David Carlton <carlton@math.stanford.edu>
14676
14677 * gdb.c++/annota2.exp: KFAIL annotate-quit.
14678
14679 2002-12-18 Michael Chastain <mec@shout.net>
14680
14681 * gdb.c++/annota2.exp: Add copyright year 2002.
14682
14683 2002-12-17 David Carlton <carlton@math.stanford.edu>
14684
14685 * gdb.c++/try_catch.cc: Add marker comments.
14686 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
14687 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
14688 * gdb.c++/m-static.cc: Ditto.
14689 * gdb.c++/m-static1.cc: Ditto.
14690 * gdb.c++/try_catch.cc: Ditto.
14691
14692 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
14693
14694 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
14695 to see whether we are using the new -environment-directory
14696 command which resets via -r or the old version of the command
14697 which may prompt the user. Part of fix for gdb/741.
14698
14699 2002-12-13 Andrew Cagney <ac131313@redhat.com>
14700
14701 * gdb.fortran/types.exp: Update obsolete comment.
14702 * gdb.fortran/exprs.exp: Ditto.
14703 * lib/gdb.exp: Delete obsolete code.
14704 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
14705 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
14706 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
14707 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
14708 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
14709 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
14710 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
14711 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
14712 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
14713 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
14714 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
14715 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
14716 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
14717 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
14718 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
14719 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
14720 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
14721 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
14722 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
14723 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
14724 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
14725 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
14726 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
14727 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
14728 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
14729 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
14730 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
14731 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
14732 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
14733 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
14734 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
14735 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
14736 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
14737 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
14738 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
14739 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
14740 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
14741
14742 2002-12-11 David Carlton <carlton@math.stanford.edu>
14743
14744 * gdb.c++/m-data.exp: Add test for members that shadow global
14745 variables: see PR gdb/804.
14746 * gdb.c++/m-data.cc: Ditto.
14747
14748 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
14749
14750 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
14751
14752 2002-12-06 David Carlton <carlton@math.stanford.edu>
14753
14754 * gdb.base/store.c: Don't declare functions static.
14755
14756 2002-12-04 Andrew Cagney <ac131313@redhat.com>
14757
14758 * gdb.base/store.exp, gdb.base/store.c: New files.
14759
14760 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14761
14762 * gdb.base/selftest.exp: Update for current gdb.
14763
14764 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14765
14766 * gdb.base/maint.exp: Only dump symbols from one source file
14767 or objfile.
14768
14769 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14770
14771 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
14772 function call.
14773
14774 2002-11-25 Jim Blandy <jimb@redhat.com>
14775
14776 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
14777 function appearing in error message.
14778
14779 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
14780
14781 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
14782
14783 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
14784
14785 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
14786 for mi1 and current mi is in correct format. New mi startup message
14787 should be in mi console format. This is part of fix for PR gdb/604.
14788
14789 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14790
14791 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
14792 which explicitly prints the zero offset as "+0".
14793
14794 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
14795
14796 * gdb.threads/schedlock.c (args): Make unsigned.
14797
14798 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
14799
14800 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
14801 numbers. Allow "foo2|selected stack frame".
14802 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
14803 * gdb.asm/asmsrc2.s: Likewise.
14804 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
14805 comments.
14806 * gdb.asm/mips.inc: New file.
14807
14808 2002-10-18 Adam Fedor <fedor@gnu.org>
14809
14810 * gdb.base/default.exp: Update expected output to include 'ObjC'.
14811 * gdb.base/help.exp: Likewise.
14812
14813 2002-10-17 Kevin Buettner <kevinb@redhat.com>
14814
14815 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
14816 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
14817
14818 2002-10-02 Jim Blandy <jimb@redhat.com>
14819
14820 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
14821
14822 2002-10-01 Andrew Cagney <ac131313@redhat.com>
14823
14824 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
14825 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
14826 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
14827 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
14828 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
14829 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
14830 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
14831
14832 2002-09-29 Andrew Cagney <ac131313@redhat.com>
14833
14834 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
14835 * mi0-disassemble.exp, mi0-eval.exp: Delete.
14836 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
14837 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
14838 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
14839 * mi0-var-block.exp, mi0-var-child.exp: Delete.
14840 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
14841
14842 2002-09-27 Kevin Buettner <kevinb@redhat.com>
14843
14844 * gdb.base/annota1.exp (info break): Make directory components of
14845 path optional since not all compilers emit this debug information.
14846
14847 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
14848 step ends up stepping out of the function instead of stopping on
14849 the epilogue.
14850
14851 2002-09-26 Keith Seitz <keiths@redhat.com>
14852
14853 * lib/insight-support.exp (gdbtk_start): Figure out where
14854 the insight executable is based on where gdb is. Use this
14855 executable to start insight instead of gdb.
14856
14857 2002-09-25 Andrew Cagney <cagney@redhat.com>
14858
14859 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
14860
14861 2002-09-24 Andrew Cagney <ac131313@redhat.com>
14862
14863 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
14864 test_isolated_complaints.
14865 (test_empty_complaint): New function.
14866 (test_empty_complaints): New function. Check no output when no
14867 complaints.
14868
14869 2002-09-19 Jim Blandy <jimb@redhat.com>
14870
14871 * gdb.base/charset.exp, gdb.base/charset.c: New files.
14872
14873 2002-09-19 Andrew Cagney <ac131313@redhat.com>
14874
14875 * gdb.gdb/complaints.exp: New file.
14876
14877 2002-09-18 Andrew Cagney <ac131313@redhat.com>
14878
14879 * gdb.base/maint.exp: Check `help maint internal-warning'.
14880
14881 2002-09-18 David Carlton <carlton@math.stanford.edu>
14882
14883 * gdb.c++/m-static.exp: Remove breakpoints depending on line
14884 numbers, and replace them by a single breakpoint after the
14885 constructors are all finished.
14886 Add test 4.
14887 * gdb.c++/m-static.cc: Add test 4.
14888 * gdb.c++/m-static.h: New file.
14889 * gdb.c++/m-static1.cc: New file.
14890
14891 * gdb.c++/printmethod.exp: New file.
14892 * gdb.c++/printmethod.cc: New file.
14893
14894 * gdb.c++/pr-574.exp: New file.
14895 * gdb.c++/pr-574.cc: New file.
14896
14897 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14898
14899 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
14900 embedded targets which never actually exit.
14901
14902 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14903
14904 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
14905 "don't step after run" as unresolved or unsupported, instead of xfail.
14906
14907 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14908
14909 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
14910 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
14911 Add newline to expected string in "step out of main (status wrapper)"
14912 case.
14913
14914 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14915
14916 * lib/gdb.exp (rerun_to_main): Allow restarting application.
14917 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
14918
14919 2002-09-17 Tom Tromey <tromey@redhat.com>
14920
14921 * gdb.base/printcmds.exp (test_print_string_constants): Expect
14922 \000, not \0, in double-quoted string.
14923
14924 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
14925
14926 * gdb.base/commands.exp: Don't expect a "Program exited normally"
14927 string after running the commands execution on breakpoint tests.
14928
14929 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
14930
14931 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
14932
14933 2002-09-12 Joel Brobecker <brobecker@gnat.com>
14934
14935 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
14936
14937 2002-09-10 Keith Seitz <keiths@redhat.com>
14938
14939 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
14940 runto proc.
14941 (mi_run_to_main): Use mi_runto.
14942 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
14943
14944 2002-09-10 Keith Seitz <keiths@redhat.com>
14945
14946 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
14947 regexp for stopping at main. Could have multiple event notifications.
14948 Don't assume that main was declared with no parameters.
14949 (mi_next): Use mi_step_to.
14950 (mi_step): Use mi_next_to.
14951
14952 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
14953
14954 * gdb.base/default.exp: Fix expected string in `info float' test.
14955
14956 2002-09-09 Ben Elliston <bje@redhat.com>
14957
14958 * config/mips.exp: Update comments.
14959 * config/mips-idt.exp: Likewise.
14960 * config/nind.exp: Likewise.
14961 * config/slite.exp: Likewise.
14962 * config/sparclet.exp: Likewise.
14963 * config/udi.exp: Likewise.
14964 * config/vx.exp: Likewise.
14965 * config/vxworks29k.exp: Likewise.
14966
14967 2002-09-05 Jim Blandy <jimb@redhat.com>
14968
14969 * gdb.threads/killed.exp: Fix test failure message.
14970
14971 2002-09-04 Keith Seitz <keiths@redhat.com>
14972
14973 * lib/mi-support.exp: Update copyright.
14974 (mi_gdb_test): Increase the priority of the expected pattern
14975 so that it matches gdb_test.
14976
14977 2002-09-03 Keith Seitz <keiths@redhat.com>
14978
14979 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
14980 Use integer comparison instead of string comparison for testing
14981 whether binary was built.
14982
14983 2002-09-03 Jim Blandy <jimb@redhat.com>
14984
14985 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
14986
14987 2002-08-29 Jim Blandy <jimb@redhat.com>
14988
14989 * gdb.threads/pthreads.exp: Move the portable thread compilation
14990 code into a function in lib/gdb.exp, and call that from here.
14991 * lib/gdb.exp (gdb_compile_pthreads): New function.
14992
14993 2002-08-29 Keith Seitz <keiths@redhat.com>
14994
14995 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
14996 expect_out so that callers can get at it.
14997
14998 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
14999
15000 * gdb.threads/print-threads.c: New file.
15001 * gdb.threads/print-threads.exp: New file.
15002 * gdb.threads/schedlock.c: New file.
15003 * gdb.threads/schedlock.exp: New file.
15004
15005 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
15006
15007 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
15008 not altivec.c.
15009
15010 2002-08-17 Mark Kettenis <kettenis@gnu.org>
15011
15012 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
15013 targets. The problem should be fixed now.
15014
15015 2002-08-15 Mark Kettenis <kettenis@gnu.org>
15016
15017 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
15018 2002-07-24 change that removes final dots from error messages.
15019
15020 2002-08-13 Tom Tromey <tromey@redhat.com>
15021
15022 * gdb.base/readline.exp: New file.
15023
15024 2002-08-01 Andrew Cagney <ac131313@redhat.com>
15025
15026 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
15027 supress message.
15028
15029 2002-08-01 Andrew Cagney <cagney@redhat.com>
15030
15031 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
15032 CHILL_FOR_TARGET and CHILL_LIB.
15033 * configure.in (configdirs): Remove gdb.chill.
15034 * configure: Regenerate.
15035 * lib/gdb.exp: Obsolete references to chill.
15036 * gdb.fortran/types.exp: Ditto.
15037 * gdb.fortran/exprs.exp: Ditto.
15038
15039 2002-07-30 Kevin Buettner <kevinb@redhat.com>
15040
15041 * gdb.base/shlib-call.exp (additional_flags): Conditionally
15042 set Irix-specific compile and link flags.
15043
15044 2002-07-29 Kevin Buettner <kevinb@redhat.com>
15045
15046 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
15047 source files. The ``-o'' option doesn't work with the ``-E'' option
15048 when using the Irix compiler.
15049
15050 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
15051
15052 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
15053 Improve support for reusing an exec file. Copy exec file
15054 to target, and run gdbserver on the target instead of on the host.
15055
15056 2002-07-18 Jim Blandy <jimb@redhat.com>
15057
15058 * gdb.base/ending-run.exp: Don't expect to see the program end in
15059 some orderly fashion when we're running on a real stand-alone
15060 board.
15061
15062 * gdb.base/interrupt.exp: Correct logic for skipping tests on
15063 targets that don't support interrupts.
15064
15065 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
15066
15067 * gdb.base/attach.exp: Add patterns to match output from /proc-based
15068 systems.
15069 Move comments in expect statements to inside the actions, so that they
15070 don't get matched against.
15071
15072 2002-07-10 Mark Kettenis <kettenis@gnu.org>
15073
15074 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
15075 function when asleep" test.
15076
15077 2002-07-10 Andrew Cagney <ac131313@redhat.com>
15078
15079 * gdb.base/page.exp: Rewrite to handle problems with very long
15080 `info set' output. Update copyright.
15081
15082 2002-06-26 Andrew Cagney <ac131313@redhat.com>
15083
15084 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
15085 gdb.threads-hp.
15086 * gdb.hp/configure: Regenerate.
15087 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
15088 * gdb.hp/gdb.threads-hp/configure: Delete file.
15089 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
15090
15091 2002-06-22 Andrew Cagney <ac131313@redhat.com>
15092
15093 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
15094 setlocale, bindtextdomain and textdomain.
15095
15096 2002-06-11 Jim Blandy <jimb@redhat.com>
15097
15098 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
15099 preprocessor macro information is present.
15100
15101 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
15102 tests.
15103
15104 2002-06-06 Michael Snyder <msnyder@redhat.com>
15105
15106 * gdb.base/overlays.exp: Record addresses of overlay
15107 functions in TCL variables rather than in GDB variables,
15108 to avoid having GDB convert them to pointers (with loss
15109 of information).
15110
15111 * gdb.base/d10v.ld: Merge in several years worth of
15112 default linker script changes.
15113 * gdb.base/long_long.exp: Add check for sizeof (long double).
15114
15115 2002-06-06 Michal Ludvig <mludvig@suse.cz>
15116
15117 * gdb.asm/asm-source.exp: Add x86-64 target.
15118 * gdb.asm/x86_64.inc: New.
15119
15120 2002-05-30 Michael Chastain <mec@shout.net>
15121
15122 From Benjamin Kosnik <bkoz@redhat.com>:
15123 * gdb.c++/m-static.cc: New file.
15124 * gdb.c++/m-static.exp: New file.
15125
15126 2002-05-28 Michael Snyder <msnyder@redhat.com>
15127
15128 * gdb.base/call-ar-st.exp: Allow for reduced floating point
15129 precision.
15130
15131 2002-05-27 Michael Chastain <mec@shout.net>
15132
15133 From Benjamin Kosnik <bkoz@redhat.com>:
15134 * gdb.c++/m-data.cc: New file.
15135 * gdb.c++/m-data.exp: New file.
15136
15137 2002-05-27 Michael Chastain <mec@shout.net>
15138
15139 From Benjamin Kosnik <bkoz@redhat.com>:
15140 * gdb.c++/try_catch.cc: New file.
15141 * gdb.c++/try_catch.exp: New file.
15142
15143 2002-05-27 Michael Chastain <mec@shout.net>
15144
15145 * gdb.c++/local.exp: Accept more nested types in output.
15146
15147 2002-05-26 Michael Chastain <mec@shout.net>
15148
15149 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
15150
15151 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
15152
15153 * lib/gdb.exp (gdb_wrapper_init): Just because
15154 gdb_wrapper_file exists, this does not mean that the file
15155 should not be rebuilt. That is what gdb_wrapper_initialized
15156 is for.
15157 (default_gdb_init): Reset gdb_wrapper_initialized.
15158
15159 2002-05-23 Michael Snyder <msnyder@redhat.com>
15160
15161 * gdb.base/all-bin.exp: Revise previous patch by just reducing
15162 the precision of the floating point test results.
15163 * gdb.base/call-rt-st.exp: Ditto.
15164
15165 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15166 * gdb.base/call-rt-st.exp: Ditto.
15167
15168 2002-05-19 Michael Chastain <mec@shout.net>
15169
15170 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15171
15172 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
15173
15174 * configure.in (configdirs): Add gdb.arch.
15175 * configure: Regenerate.
15176
15177 2002-05-17 Jim Blandy <jimb@redhat.com>
15178
15179 * gdb.base/completion.exp: Recognize the more detailed error
15180 messages produced by the macro expander's lexical analyzer.
15181
15182 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15183
15184 * gdb.arch/altivec-abi.c: New file.
15185 * gdb.arch/altivec-abi.exp: New file.
15186 * gdb.arch/altivec-regs.c: New file.
15187 * gdb.arch/altivec-regs.exp: New file.
15188
15189 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
15190
15191 * gdb.base/maint.exp (maint print type): Update for new type
15192 structure.
15193
15194 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15195
15196 * gdb.arch: New directory.
15197 * gdb.arch/configure.in: New file.
15198 * gdb.arch/configure: New file.
15199 * gdb.arch/Makefile.in: New file.
15200
15201 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
15202
15203 * gdb.asm/asm-source.exp: Add v850 as supported target.
15204 * gdb.asm/v850.inc: New file.
15205
15206 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
15207
15208 * gdb.c++/annota2.exp (annotate-quit): Add comment.
15209
15210 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
15211
15212 * gdb.base/break.exp: Check 'break "marker2"'.
15213
15214 2002-05-10 Michael Snyder <msnyder@redhat.com>
15215
15216 * gdb.base/long_long.exp: Fix typo.
15217
15218 2002-05-10 Jim Blandy <jimb@redhat.com>
15219
15220 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
15221 a bug.
15222
15223 * gdb.base/printcmds.exp (test_integer_literals_rejected):
15224 Recognize more detailed error message produced by the macro
15225 expander's lexical analyzer.
15226 * lib/gdb.exp (test_print_reject): Same.
15227
15228 2002-05-09 Mark Kettenis <kettenis@gnu.org>
15229
15230 * gdb.c++/method.exp: Fix typo.
15231
15232 2002-05-08 Michael Snyder <msnyder@redhat.com>
15233
15234 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
15235 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
15236 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
15237 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
15238 Add iftarget clause for strongarm.
15239
15240 2002-05-06 Michael Snyder <msnyder@redhat.com>
15241
15242 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
15243 (gdb_continue_to_end): Accept output from status wrapper.
15244 * gdb.base/ending-run.exp: Add case for output from status wrapper.
15245 Clean up fail messages to match pass messages.
15246
15247 Enable the "needs_status_wrapper" testsuite feature.
15248 * lib/gdb.exp (gdb_wrapper_init): New procedure.
15249 (gdb_compile): Conditionally call gdb_wrapper_init.
15250 * gdb.base/a2-run.exp: Recognize output from status wrapper.
15251 * gdb.c++/method.exp: Recognize output from status wrapper.
15252
15253 2002-05-06 Ben Elliston <bje@redhat.com>
15254 From Graydon Hoare <graydon@redhat.com>
15255
15256 * config/sid.exp: Include support for "rawsid" protocol.
15257
15258 2002-05-03 Jim Blandy <jimb@redhat.com>
15259
15260 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
15261 * gdb.c++/hang3.C: New file.
15262
15263 2002-05-04 Andrew Cagney <ac131313@redhat.com>
15264
15265 * gdb.base/default.exp: Remove obsolete code.
15266 * gdb.c++/misc.exp: Ditto. Update copyright.
15267 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
15268 * gdb.base/whatis.exp: Ditto. Update copyright.
15269 * gdb.base/scope.exp: Ditto. Update copyright.
15270 * gdb.base/ptype.exp: Ditto. Update copyright.
15271 * gdb.base/printcmds.exp: Ditto. Update copyright.
15272 * gdb.base/opaque.exp: Ditto. Update copyright.
15273 * gdb.base/list.exp: Ditto.
15274 * gdb.base/funcargs.exp: Ditto. Update copyright.
15275 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
15276 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
15277 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
15278 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
15279 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
15280 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
15281
15282 2002-05-02 Michael Snyder <msnyder@redhat.com>
15283
15284 * gdb.base/watchpoint.exp: Add xscale target.
15285 * gdb.base/long_long.exp: Add xscale target.
15286 * gdb.base/default.exp: Add xscale target.
15287
15288 2002-05-01 Jim Blandy <jimb@redhat.com>
15289
15290 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
15291 gdb.c++/hang.exp: New test.
15292
15293 2002-05-01 Fred Fish <fnf@redhat.com>
15294
15295 * gdb.base/completion.exp: Handle completions of "./Make" for
15296 more than one completion possibility, as is the case when we
15297 build and test in the source tree.
15298
15299 2002-04-29 Anthony Green <green@redhat.com>
15300
15301 * gdb.java/jmisc1.exp: New file.
15302 * gdb.java/jmisc2.exp: New file.
15303
15304 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
15305
15306 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
15307
15308 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
15309
15310 * gdb.base/help.exp: Change 'help status' to allow for target
15311 dependent output differences.
15312
15313 2002-04-22 Michael Chastain <mec@shout.net>
15314
15315 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
15316
15317 2002-04-22 Michael Chastain <mec@shout.net>
15318
15319 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
15320
15321 2002-04-17 David S. Miller <davem@redhat.com>
15322
15323 * gdb.asm/sparc64.inc: New file.
15324 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
15325
15326 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
15327
15328 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
15329 instruction file directly into the build tree. Clean up at end of
15330 test.
15331
15332 2002-04-18 David S. Miller <davem@redhat.com>
15333
15334 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
15335 handle 64-bit platforms correctly.
15336 * gdb.base/maint.exp: Likewise.
15337
15338 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15339
15340 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
15341 ``-fpic'' when compiling files comprising a shared library, but
15342 it does need additional linker flags in order to find shared
15343 libraries at run time.
15344
15345 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15346
15347 * gdb.base/cvexpr.c (use): New function.
15348 (main): Invoke use() on all global variables to prevent
15349 some linkers from deleting these otherwise unused symbols.
15350
15351 2002-04-17 Michael Chastain <mec@shout.net>
15352 From David S. Miller <davem@redhat.com>
15353
15354 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
15355 handle 64-bit platforms correctly.
15356
15357 2002-04-12 Michael Snyder <msnyder@redhat.com>
15358 From Jim Blandy <jimb@redhat.com>
15359 * gdb.base/foo.c (foox): Remove section attribute; the linker
15360 script can handle this instead.
15361 * gdb.base/bar.c (barx): Same.
15362 * gdb.base/baz.c (bazx): Same.
15363 * gdb.base/grbx.c (grbxx): Same.
15364
15365 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
15366 manager doesn't automatically unmap overlays unnecessarily.
15367
15368 2002-04-10 Martin M. Hunt <hunt@redhat.com>
15369
15370 * gdb.base/ending-run.exp: Fix pattern for Mips targets
15371 stepping out of main.
15372
15373 2002-04-09 Michael Chastain <mec@shout.net>
15374
15375 * gdb.c++/local.cc (main): Move call to marker1() inside nested
15376 scope so that the nested scope tests will make sense.
15377 * gdb.c++/local.exp: Write patterns that actually work with gcc
15378 (the HP patterns "were never known to work with gcc").
15379 Keep the old aCC patterns too.
15380
15381 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
15382
15383 * gdb.base/attach.exp: Correct target board test.
15384
15385 2002-04-08 Michael Chastain <mec@shout.net>
15386
15387 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
15388 in a const method. Add some xfail and fail cases for configurations
15389 that do not emit the "const ...".
15390
15391 2002-04-07 Michael Chastain <mec@shout.net>
15392
15393 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
15394 Accept "A * const" and "const A * const" as type of "this".
15395 Fix spelling of getFunky throughout. Make messages uniform.
15396
15397 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15398
15399 Work around for PR gdb/285:
15400 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
15401
15402 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15403
15404 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
15405 instructions file at run time instead of configure time.
15406 Sometimes we run the test in a directory that is not the one we
15407 configured in.
15408 * gdb.asm/configure.in: Delete creation of symlink.
15409 * gdb.asm/configure: Regenerate.
15410
15411 2002-04-05 J. Brobecker <brobecker@gnat.com>
15412
15413 * gdb.gdb/xfullpath.exp: New test, to exercise the new
15414 xfullpath () function.
15415
15416 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15417
15418 * gdb.asm/Makefile.in: Correct dependencies.
15419
15420 * gdb.asm/powerpc.inc: New file.
15421 * gdb.asm/asm-source.exp: Add PowerPC.
15422 * gdb.asm/configure.in: Likewise.
15423 * gdb.asm/configure: Regenerated.
15424
15425 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15426
15427 * gdb.base/relocate.exp: New file.
15428 * gdb.base/relocate.c: New file.
15429
15430 2002-04-04 Fred Fish <fnf@redhat.com>
15431
15432 * gdb.base/step-test.exp: Update comment regarding stopping in
15433 memcpy/bcopy calls inserted as part of the compiler runtime.
15434
15435 2002-04-04 Michael Snyder <msnyder@redhat.com>
15436
15437 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
15438
15439 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
15440
15441 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
15442 (gdb_expect): Remove $notransfer hack.
15443
15444 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
15445
15446 * gdb.c++/classes.exp ("calling method for small class"): Match
15447 updated register output.
15448
15449 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15450
15451 Fix PR gdb/452
15452 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
15453 when finished. Make gdb_file_cmd send "exec-file" when
15454 appropriate.
15455
15456 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15457
15458 * gdb.base/attach.exp: Remove extra setup_xfail.
15459
15460 2002-03-26 Michael Snyder <msnyder@redhat.com>
15461
15462 * gdb.base/default.exp: Add tests for dump, append, and restore.
15463 * gdb.base/help.exp: Add tests for dump, append, and restore.
15464 * gdb.base/dump.exp: New file, test dump, append and restore.
15465 * gdb.base/dump.c: New file.
15466
15467 2002-03-27 Michael Snyder <msnyder@redhat.com>
15468
15469 * gdb.base/help.exp: Modify expect strings to reflect
15470 clean-ups in help messages.
15471
15472 2002-03-26 Fred Fish <fnf@redhat.com>
15473
15474 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
15475 have debugging info for those functions and the compiler uses them
15476 internally to copy structs around.
15477
15478 2002-03-26 Fred Fish <fnf@redhat.com>
15479
15480 * gdb.base/list.exp: Revert the change made yesterday and add note
15481 about why we don't list the default lines for remote targets.
15482
15483 2002-03-25 Michael Snyder <msnyder@redhat.com>
15484
15485 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
15486
15487 2002-03-25 Fred Fish <fnf@redhat.com>
15488
15489 * gdb.base/list.exp: This test works on remote targets so remove
15490 the short circuit for remote targets. Update copyright.
15491
15492 2002-03-25 Fred Fish <fnf@redhat.com>
15493
15494 * gdb.base/attach.exp: Fix logic error that was suppressing this
15495 test for all non hppa*-*-hpux* targets, instead of the hp target.
15496 Move comments closer to the suppression point. Also now need to
15497 check that we are running natively.
15498
15499 2002-03-22 Michael Snyder <msnyder@redhat.com>
15500
15501 * gdb.base/default.exp: Add test for gcore. Update copyright.
15502 * gdb.base/help.exp: Add test for gcore. Update copyright.
15503
15504 2002-03-06 Fred Fish <fnf@redhat.com>
15505
15506 * gdb.base/funcargs.c: Remove extraneous ';' character.
15507 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
15508
15509 2002-03-04 Michael Chastain <mec@shout.net>
15510
15511 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
15512 accommodate gcc v3 function signature.
15513 * gdb.mi/mi0-var-cmd-exp: Ditto.
15514
15515 2002-02-24 Andrew Cagney <ac131313@redhat.com>
15516
15517 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
15518 ``GNU/Linux'' or ``Linux kernel''
15519 * testsuite/gdb.threads/pthreads.c: Ditto.
15520
15521 2002-02-24 Michael Chastain <mec@shout.net>
15522
15523 * gdb.threads/pthreads.c (thread1): Add a return statement.
15524 (thread2): Likewise.
15525 (foo): Likewise.
15526
15527 2002-02-23 Michael Chastain <mec@shout.net>
15528
15529 * gdb.threads/linux-dp.c (philosopher): Add a return statement
15530 to placate gcc.
15531
15532 2002-02-23 Michael Chastain <mec@shout.net>
15533
15534 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
15535 test "ptype bint". The test passes on all my stabs configurations.
15536
15537 2002-02-21 Jim Blandy <jimb@redhat.com>
15538
15539 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
15540 filename at a time, and watch for the ones we want to see.
15541
15542 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
15543 types of pointers to prototyped functions.
15544
15545 2002-02-20 Andrew Cagney <ac131313@redhat.com>
15546
15547 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
15548 signed, unsigned and straight char.
15549 (padding_char, padding_short, padding_int, padding_long,
15550 padding_long_long, padding_float, padding_double,
15551 padding_long_double): New global variables.
15552 (fill, fill_structs): New functions.
15553
15554 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
15555 for correctly sized writes. Update copyright.
15556 (get_valueof): New procedure.
15557 (get_sizeof): Call get_valueof.
15558 (check_valueof): New procedure.
15559 (check_padding): New procedure.
15560
15561 2002-02-20 Michael Chastain <mec@shout.net>
15562
15563 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
15564 to setup_xfail. Document some of the remaining calls.
15565
15566 2002-02-18 Michael Chastain <mec@shout.net>
15567
15568 * gdb.c++/userdef.exp: Update copyright year.
15569
15570 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
15571
15572 * gdb.c++/userdef.exp: Test overloaded operators properly.
15573 Remove xfails.
15574
15575 2002-02-14 Michael Snyder <msnyder@redhat.com>
15576
15577 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
15578
15579 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
15580
15581 * gdb.base/a2-run.exp: Check for a remote target properly.
15582 * gdb.base/annota1.exp: Likewise.
15583 * gdb.base/list.exp: Likewise.
15584 * gdb.base/reread.exp: Likewise.
15585 * gdb.base/scope.exp: Likewise.
15586 * gdb.base/shlib-call.exp: Likewise.
15587 * gdb.base/term.exp: Likewise.
15588 * gdb.c++/annota2.exp: Likewise.
15589
15590 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
15591
15592 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
15593
15594 2002-02-10 Michael Chastain <mec@shout.net>
15595
15596 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
15597 (call_after_alloca): Ditto.
15598
15599 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
15600
15601 * gdb.base/ending-run.exp: Guard "cont" test with
15602 gdb_skip_stdio_test.
15603
15604 2002-02-06 Jim Blandy <jimb@redhat.com>
15605
15606 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
15607 from here...
15608 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
15609 To here. Disable this test on non-HP platforms. Add big comment.
15610
15611 2002-02-04 Michael Snyder <msnyder@redhat.com>
15612
15613 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
15614 other than d10v and m32r.
15615
15616 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
15617
15618 * gdb.base/default.exp: Rewrite test patterns to reduce time
15619 taken to match them.
15620
15621 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15622
15623 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
15624 Allow a start function above main.
15625 * gdb.threads/linux-dp.exp: Fix copyright date.
15626
15627 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15628
15629 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
15630 (check_philosopher_stack): Check for manager thread before checking
15631 for a just-starting thread.
15632
15633 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15634
15635 From Neil Booth <neil@daikokuya.demon.co.uk>:
15636 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
15637 warnings.
15638
15639 2002-01-21 Fred Fish <fnf@redhat.com>
15640
15641 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
15642 not caller.
15643
15644 2002-01-21 Jim Blandy <jimb@redhat.com>
15645
15646 * gdb.base/reread.exp: Check that GDB properly re-reads the
15647 executable file when it changes while no inferior is running.
15648
15649 2002-01-21 Fred Fish <fnf@redhat.com>
15650
15651 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
15652 optionally accept the "shlib events" variation.
15653
15654 2002-01-21 Jim Blandy <jimb@redhat.com>
15655
15656 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
15657 call `fflush' after every `printf', so that the output is produced
15658 at predictable points, regardless of whatever buffering does (or
15659 doesn't) take place.
15660 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
15661 at different points.
15662
15663 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15664
15665 * gdb.c++/inherit.exp: Update copyright years.
15666 * gdb.c++/method.exp: Likewise.
15667
15668 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15669
15670 * gdb.c++/classes.exp: Update for improved v3 support and skipping
15671 artificial methods/arguments.
15672 * gdb.c++/derivation.exp: Likewise.
15673 * gdb.c++/inherit.exp: Likewise.
15674 * gdb.c++/method.exp: Likewise.
15675 * gdb.c++/virtfunc.exp: Likewise.
15676
15677 2002-01-18 Andrew Cagney <ac131313@redhat.com>
15678
15679 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
15680 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
15681 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
15682 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
15683 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
15684 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
15685
15686 2002-01-17 Jim Blandy <jimb@redhat.com>
15687
15688 * gdb.asm/asm-source.exp (info symbol): Take another shot at
15689 anchoring the pattern matching the entry point symbol's name.
15690
15691 2002-01-17 Andrew Cagney <ac131313@redhat.com>
15692
15693 * gdb.base/maint.exp: Update ``maint internal-error'' to match
15694 continue/quit query. Update copyright.
15695
15696 2002-01-14 Michael Snyder <msnyder@redhat.com>
15697
15698 * gdb.base/gcore.exp: Remove extra debugging output.
15699
15700 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15701
15702 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
15703 for slightly dubious v2 mangled string.
15704
15705 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15706
15707 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
15708
15709 2002-01-10 Jason Merrill <jason@redhat.com>
15710
15711 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
15712
15713 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
15714 constructors.
15715 * gdb.c++/derivation.exp: Likewise.
15716 * gdb.c++/templates.exp: Likewise.
15717 * gdb.c++/virtfunc.exp: Likewise.
15718
15719 2002-01-10 Michael Snyder <msnyder@redhat.com>
15720
15721 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
15722
15723 2002-01-08 Michael Snyder <msnyder@redhat.com>
15724
15725 * gdb.base/gcore.exp: New test for generate-core-file command.
15726 * gdb.base/gcore.c: Testcase for above.
15727 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
15728
15729 2002-01-08 Jason Merrill <jason@redhat.com>
15730
15731 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
15732
15733 2002-01-07 Fred Fish <fnf@redhat.com>
15734
15735 * gdb.c++/overload.exp: Remove unconditional xfails for:
15736 print foo_instance1.overloadargs(1)
15737 print foo_instance1.overloadargs(1, 2)
15738 print foo_instance1.overloadargs(1, 2, 3)
15739 print foo_instance1.overloadargs(1, 2, 3, 4)
15740 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
15741 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
15742 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
15743 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
15744 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
15745 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
15746 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
15747 print foo_instance1.overload1arg()
15748 print foo_instance1.overload1arg((char)arg2)
15749 print foo_instance1.overload1arg((signed char)arg3)
15750 print foo_instance1.overload1arg((unsigned char)arg4)
15751 print foo_instance1.overload1arg((int)arg7)
15752 print foo_instance1.overload1arg((unsigned int)arg8)
15753 print foo_instance1.overload1arg((float)arg11)
15754 print foo_instance1.overload1arg((double)arg12)
15755
15756 2002-01-07 Michael Snyder <msnyder@redhat.com>
15757
15758 * gdb.base/huge.exp: New test. Print a very large target data object.
15759 (skip_huge_test): New test variable. Define if you want to skip this
15760 test. The test reads an 8 megabyte data object from the target, so it
15761 might be very time consuming on remote targets with a slow connection.
15762 * gdb.base/huge.c: New file. Test case for above.
15763
15764 2002-01-07 Fred Fish <fnf@redhat.com>
15765
15766 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
15767 g_instance.bfoo, and g_instance.cfoo.
15768
15769 2002-01-07 Jeffrey A Law <law@redhat.com>
15770
15771 * gdb.base/break.c (multi_line_if_conditional): New function.
15772 (multi_ilne_while_conditional): Likewise.
15773 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
15774 IF or WHILE condition puts the breakpoint at the start of
15775 the condition.
15776
15777 * gdb.base/selftest.exp (backtrace through signal handler): Remove
15778 hppa*-*-hpux* expected failure.
15779 * gdb.base/structs.exp (do_function_calls): Similarly.
15780
15781 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
15782 watchpoints.
15783
15784 2002-01-06 Andrew Cagney <ac131313@redhat.com>
15785
15786 Fix PR gdb/66.
15787 * gdb.base/structs.exp: Replace skip for a29k with skip for
15788 gdb,cannot_call_functions.
15789 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
15790 * gdb.base/callfuncs.exp: Ditto.
15791 * gdb.base/call-rt-st.exp: Ditto.
15792 * gdb.base/call-strs.exp: Ditto.
15793 * gdb.base/callfwmall.exp: Ditto.
15794 * gdb.base/scope.exp: Obsolete xfail a29k.
15795 * gdb.c++/misc.exp: Ditto.
15796 * gdb.c++/cplusfuncs.exp: Ditto.
15797 * gdb.base/ptype.exp: Ditto.
15798 * gdb.base/printcmds.exp: Ditto.
15799 * gdb.base/opaque.exp: Ditto.
15800 * gdb.base/list.exp: Ditto.
15801 * gdb.base/funcargs.exp: Ditto.
15802 * gdb.base/default.exp: Ditto.
15803
15804 2002-01-04 Michael Snyder <msnyder@redhat.com>
15805
15806 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
15807 * gdb.base/maint.exp: Add tests for maint info sections options.
15808
15809 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
15810
15811 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
15812
15813 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
15814
15815 * gdb.asm/arm.inc: New file.
15816 * gdb.asm/asm-source.exp: Add arm targets.
15817 * gdb.asm/configure.in: Ditto.
15818 * gdb.asm/configure: Recreated from configure.in.
15819
15820 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
15821
15822 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
15823 with HP's compiler.
15824 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15825 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15826 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15827 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15828
15829 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
15830 either HP's compilers or GCC.
15831
15832 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
15833 a SIGBUS or SIGSEGV.
15834
15835 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
15836
15837 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
15838 can be compiled with either HP's compiler or GCC.
15839
15840 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
15841 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
15842 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
15843
15844 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
15845 to match current gdb output. Update due to using auto-solib-limit
15846 for limiting instead of overloading auto-solib-add.
15847 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
15848 test program.
15849
15850 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
15851 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
15852 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15853 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15854 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15855 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15856 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
15857 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
15858 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
15859 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
15860 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
15861 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
15862 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
15863
15864 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
15865 a SIGTRAP to the inferior.
15866
15867 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
15868
15869 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
15870 Substitute call to target_link by call to gdb_compile.
15871
15872 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
15873
15874 * gdb.base/break.exp: Fix HP specific search string when testing
15875 backtracing in a called function.
15876
15877 * gdb.base/constvars.exp: Only set lang to C++ if we're
15878 compiling the test with HP's compilers.
15879 * gdb.base/volatile.exp: Similarly.
15880
15881 2001-12-19 Jim Blandy <jimb@redhat.com>
15882
15883 * gdb.base/printcmds.exp: Expect the null character to be printed
15884 as '\0', and the '\013' to be printed as '\v'.
15885 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
15886 * gdb.base/setvar.exp: Same.
15887
15888 2001-12-17 Jim Blandy <jimb@redhat.com>
15889
15890 * gdb.base/completion.exp: Rather than completing very long
15891 filenames, which can make the readline library produce output we
15892 don't recognize, cd to the directory first, and then complete
15893 using nice, short relative paths.
15894
15895 * gdb.base/completion.exp: On some systems, there is, in fact, a
15896 variable named `b' in scope, since GDB treats all static
15897 variables as being in scope. So use `no_var_named_this'
15898 instead of `b'.
15899
15900 * gdb.base/corefile.exp: Recognize the message saying that GDB
15901 can't find the core file's registers as a failure.
15902
15903 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
15904
15905 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
15906 test expect string more specific.
15907
15908 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
15909
15910 * gdb.asm/asm-source.exp: Add support for xstormy16.
15911 * gdb.asm/configure.in: Ditto.
15912 * gdb.asm/configure: Rebuild.
15913 * gdb.asm/xstormy16.inc: New file.
15914
15915 2001-12-10 Fred Fish <fnf@redhat.com>
15916
15917 * gdb.base/maint.exp: Update to match changes in type dumping code.
15918
15919 2001-12-10 Jim Blandy <jimb@redhat.com>
15920
15921 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
15922 matching the entry point symbol's name at the beginning of the
15923 line.
15924
15925 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15926
15927 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
15928 gdb.c++/inherit.exp, gdb.c++/method.exp,
15929 gdb.c++/namespace.exp, gdb.c++/templates.exp,
15930 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
15931 and class layout support.
15932
15933 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15934
15935 * gdb.c++/classes.exp: Add test for static member function.
15936 * gdb.c++/misc.cc: Add class with static member function.
15937
15938 2001-12-07 Jim Blandy <jimb@redhat.com>
15939
15940 If GDB says it can't find the struct the function returned, report
15941 those tests as `unsupported'.
15942 * gdb.base/call-rt-st.exp (print_struct_call): New function.
15943 Rewrite subsequent tests to use it.
15944
15945 If GDB says it can't find the struct the function returned, report
15946 those tests as `unsupported'.
15947 * gdb.base/structs.exp (call_struct_func): New function.
15948 (do_function_calls): Use call_struct_func to call the functions
15949 returning structs.
15950
15951 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
15952 whether functions are prototyped or not, so we can't possibly pass
15953 arguments to t_float_values2 properly.
15954
15955 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
15956 value of `timeout' for targets other than the mips*tx39-*.
15957
15958 2001-12-06 Michael Snyder <msnyder@redhat.com>
15959
15960 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
15961 and detect whether the start symbol has a leading underscore.
15962
15963 2001-12-04 Jim Blandy <jimb@redhat.com>
15964
15965 * gdb.base/completion.exp: Clarify indentation.
15966
15967 2001-12-03 Jim Blandy <jimb@redhat.com>
15968
15969 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
15970 variables on the S/390, not `.word'.
15971
15972 2001-11-30 Jim Blandy <jimb@redhat.com>
15973
15974 Add assembly-source tests for s390-ibm-linux.
15975 * gdb.asm/s390.inc: New file.
15976 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
15977 the S/390 architecture.
15978 * gdb.asm/configure: Regenerated.
15979
15980 2001-11-30 Michael Snyder <msnyder@redhat.com>
15981
15982 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
15983 next, info source, info sources, info line, global and static
15984 variables, and static functions.
15985 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
15986 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
15987 * gdb.asm/asmsrc1.s: Add a static function and some variables.
15988 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
15989 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
15990 (gdbasm_leave): Restore frame pointer.
15991 (gdbasm_startup): Copy stack set-up from crt0.S.
15992
15993 2001-11-26 Fernando Nasser <fnasser@redhat.com>
15994
15995 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
15996 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
15997 to a local (non-static) variable. Copy tstruct.a to a static buffer
15998 and return a pointer to that buffer.
15999 * gdb.base/callfwmall.c (t_structs_a): Ditto.
16000
16001 2001-11-24 Mark Kettenis <kettenis@gnu.org>
16002
16003 * gdb.asm/configure.in: Fix recognition of ix86 target.
16004 * gdb.asm/configure: Regenerate.
16005
16006 2001-11-21 Michael Snyder <msnyder@redhat.com>
16007
16008 * gdb.asm/sparc.inc: New file.
16009 * gdb.asm/asm-source.exp: Recognize sparc target.
16010 * gdb.asm/configure.in: Recognize sparc target.
16011 * gdb.asm/configure: Regenerate.
16012
16013 2001-11-21 Michael Snyder <msnyder@redhat.com>
16014
16015 * gdb.asm/m32r.inc: New file.
16016 * gdb.asm/asm-source.exp: Recognize m32r target.
16017 * gdb.asm/configure.in: Recognize m32r target.
16018 * gdb.asm/configure: Regenerate.
16019
16020 2001-11-20 Michael Snyder <msnyder@redhat.com>
16021
16022 * gdb.asm/i386.inc: New file.
16023 * gdb.asm/asm-source.exp: Recognize ix86 target.
16024 * gdb.asm/configure.in: Recognize ix86 target.
16025 * gdb.asm/configure: Regenerate.
16026
16027 * gdb.c++/namespace.exp: Fix quotes in output messages.
16028
16029 2001-11-14 Michael Snyder <msnyder@redhat.com>
16030
16031 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
16032 qualifier in a type cast expression, to designate an address
16033 in the instruction space (Harvard architecture).
16034
16035 2001-11-13 Michael Snyder <msnyder@redhat.com>
16036
16037 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
16038 Tests for expressions using 'const' and 'volatile'.
16039
16040 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
16041
16042 * gdb.asm/asm-sources.exp: Allow defining linker flags.
16043
16044 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
16045
16046 * lib/mi-support.exp (mi_run_to_helper): Move comments
16047 outside of gdb_expect.
16048
16049 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
16050
16051 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
16052 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
16053 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
16054 mi0_run_to): New functions.
16055 * gdb.mi/mi-simplerun.exp: Use them.
16056 * gdb.mi/mi0-simplerun.exp: Likewise.
16057 * gdb.mi/mi-var-cmd.exp: Likewise.
16058 * gdb.mi/mi0-var-cmd.exp: Likewise.
16059
16060 2001-11-10 Andrew Cagney <ac131313@redhat.com>
16061
16062 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
16063 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
16064
16065 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16066
16067 * gdb.base/restore.exp: Include $expected value in restored test
16068 message.
16069
16070 2001-11-09 Andrew Cagney <ac131313@redhat.com>
16071
16072 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
16073 implemented.
16074
16075 2001-11-08 Michael Snyder <msnyder@redhat.com>
16076
16077 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
16078 Add pass/fail message for stop at breakpoint in call dummy function.
16079
16080 2001-11-07 Michael Snyder <msnyder@redhat.com>
16081
16082 * gdb.c++/templates.exp (test_template_breakpoints):
16083 If we get an overload menu, but it does not match what
16084 we expect, we still need to issue the "cancel" command.
16085 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
16086 making the whitespace optional. Argument for "new" may be
16087 "unsigned" as well as "unsigned int/long".
16088 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
16089 making the whitespace optional. Also replace "(void) with
16090 "((void|)), making the keyword "void" optional.
16091 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
16092 making the whitespace optional. Also replace "(void) with
16093 "((void|)), making the keyword "void" optional.
16094 * gdb.base/callfuncs.c (t_float_values): This function must
16095 _not_ be prototyped, and the following function (t_float_values2)
16096 must be prototyped (if the compiler supports it), so that GDB
16097 can be tested against both cases. Usually one case involves
16098 promotion of float to double, while the other does not.
16099 * gdb.base/callfwmall.c: Ditto.
16100 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
16101 includes a stack frame for "start".
16102
16103 2001-11-05 Jim Blandy <jimb@redhat.com>
16104
16105 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
16106 pointers are 32 bits long, and that offsets of relocs are always
16107 stored in the data (REL-style), and not in the reloc entry itself
16108 (RELA-style).
16109 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
16110 stabs.
16111
16112 2001-11-01 Michael Snyder <msnyder@redhat.com>
16113
16114 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
16115 and regular expression operators by using quoting.
16116
16117 2001-10-31 Michael Snyder <msnyder@redhat.com>
16118
16119 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
16120 depending on what the symbol table contains.
16121 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
16122 the output of the ptype command. Similarly, accept both "const &"
16123 and "const&".
16124
16125 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
16126
16127 * gdb.base/miscexprs.c (main): Add usage of preprocessor
16128 symbol `STORAGE' to allow to choose the storage class of
16129 the local datastructures.
16130 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
16131 compiler directive.
16132
16133 2001-10-30 Michael Snyder <msnyder@redhat.com>
16134
16135 * gdb.base/jump.exp: Allow it to run for all targets.
16136
16137 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16138
16139 * gdb.base/call-ar-st.c (print_double_array): Match for loop
16140 with new double_array size.
16141 (main): Change storage class of all local variables to static.
16142 Reduce size of double_array to 9.
16143 * gdb.base/call-ar-st.exp: Increase timeout value.
16144 Change expected output for double array to match new size in
16145 call-ar-st.c.
16146
16147 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
16148
16149 * gdb.base/ending-run.exp: Create identical output when passing
16150 `step to end of run' case. Add regular expression branch satisfying
16151 Stormy16 target.
16152
16153 2001-10-28 Mark Kettenis <kettenis@gnu.org>
16154
16155 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
16156 that we catch the expected failure under Linux/x86.
16157
16158 2001-10-29 Orjan Friberg <orjanf@axis.com>
16159
16160 * gdb.base/setvar.exp: Escape curly braces.
16161 * gdb.stabs/weird.exp: Ditto.
16162
16163 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
16164
16165 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16166 * gdm.mi/mi0-hack-cli.exp: Likewise.
16167
16168 2001-10-25 Andrew Cagney <ac131313@redhat.com>
16169
16170 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16171 messages.
16172
16173 2001-10-21 Andrew Cagney <ac131313@redhat.com>
16174
16175 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16176 checking MI enabled.
16177
16178 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
16179
16180 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16181
16182 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
16183
16184 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16185 if gdb child process crashes, just signal an error.
16186
16187 2001-10-02 Jim Blandy <jimb@redhat.com>
16188
16189 * lib/gdb.exp (test_xfail_format): Simplify.
16190
16191 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16192 front of the variable name `format'. Simplify `if'.
16193
16194 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16195
16196 * gdb.threads/pthreads.exp: Wait for output and delay
16197 before sending ^C.
16198
16199 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16200
16201 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16202 some incorrect output instead of timing out.
16203 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16204
16205 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
16206
16207 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
16208 check to allow additional `int'.
16209
16210 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
16211
16212 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
16213 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
16214
16215 2001-09-27 Michael Snyder <msnyder@redhat.com>
16216
16217 * lib/gdb.exp (test_debug_format): New proc.
16218 (setup_xfail_format): Use new proc test_debug_format.
16219 * gdb.base/constvars.exp (local_compiler_xfail_check): New
16220 proc; use new service proc test_debug_format.
16221 Replace all other "gcc_compiled" tests with this test.
16222 * gdb.base/volatile.exp (local_compiler_xfail_check): New
16223 proc; use new service proc test_debug_format.
16224 Replace all other "gcc_compiled" tests with this test.
16225
16226 2001-09-27 Michael Snyder <msnyder@redhat.com>
16227
16228 * gdb.base/cvexpr.exp: New file.
16229 * gdb.base/cvexpr.c: New file
16230 Test for expressions using const and volatile keywords.
16231
16232 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
16233
16234 * gdb.base/constvars.exp: Check for different orders of keywords
16235 and additional "int" strings in output.
16236
16237 2001-09-22 Andrew Cagney <ac131313@redhat.com>
16238
16239 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
16240 responses from "help maint".
16241
16242 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
16243
16244 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
16245 to localhost:NNN instead of :NNN, in case Xvfb is listening
16246 only on TCP.
16247
16248 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
16249
16250 * gdb.base/recurse.exp: When checking leaving the watchpoint
16251 scope, recognize when gdb is in function's epilogue and pass.
16252
16253 2001-09-18 Keith Seitz <keiths@redhat.com>
16254
16255 * lib/insight-support.exp (_gdbtk_export_target_info): Add
16256 support for running tests against sid targets.
16257 (gdbtk_done): Ditto.
16258
16259 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
16260
16261 * gdb.base/ending-run.c (main): Set stdout buffersize
16262 to the same reasonable value for any target.
16263 * gdb.base/ending-run.exp: Add a regular expression
16264 to make testsuite happy on Sanyo Stormy16 target.
16265
16266 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
16267
16268 * gdb.base/display.c (do_loops): Add float variable `f'.
16269 Increment f in loop.
16270 * gdb.base/display.exp: Increment timeout by 60 seconds.
16271 Change float display test to use variable `f'.
16272
16273 2001-09-17 Jim Blandy <jimb@redhat.com>
16274
16275 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
16276 overflowing the limited breakpoint tables on some ROM monitors
16277 (like the ROM68K).
16278
16279 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
16280
16281 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
16282 the "-ac" (disable access control) flag.
16283
16284 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
16285
16286 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
16287 ints.
16288
16289 2001-08-30 Keith Seitz <keiths@redhat.com>
16290
16291 * lib/gdb.exp: Move all insight-related functionality into
16292 separate file.
16293 * lib/insight-support.exp: New file.
16294
16295 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
16296
16297 * config/sid.exp (sid_start): Never set sid verbosity; disable
16298 expect_background {} that consumed its stdout; tolerate </dev/null.
16299 Attempt to set endianness override in "sid" protocol mode. Cleanup.
16300
16301 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16302
16303 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
16304 CLI jump command to start it.
16305 (mi_run_to_main): Fail immediatly when unexpected output.
16306
16307 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16308
16309 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
16310 beginning of function. Fix PR gdb/191.
16311
16312 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
16313
16314 * config/sid.exp (sid_start): Don't warn if we cannot figure out
16315 what to force sid endianness to.
16316
16317 2001-08-15 Keith Seitz <keiths@redhat.com>
16318
16319 * lib/gdb.exp (gdbtk_start): Don't set environment
16320 variables for TCL_LIBRARY and friends. Insight will
16321 now figure these out for itself.
16322
16323 2001-08-02 Michael Snyder <msnyder@redhat.com>
16324
16325 * gdb.base/completion.exp: Remove the symbol "a64l" from
16326 the expect string; this is target-specific, and not related
16327 to what is being tested.
16328
16329 2001-08-02 Dave Brolley <brolley@redhat.com>
16330
16331 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
16332
16333 2001-07-25 Michael Snyder <msnyder@redhat.com>
16334
16335 * gdb.base/consecutive.exp: New file. Test stepping over
16336 breakpoints on consecutive instructions.
16337 * gdb.base/consecutive.c: New file.
16338
16339 * gdb.base/call-rt-st.exp: Use double-backslash to quote
16340 curly braces in regular expressions.
16341
16342 2001-07-25 Michael Snyder <msnyder@redhat.com>
16343
16344 * gdb.base/ending-run.exp: Accept "Program exited normally" as
16345 legitimate output from stepping out of main.
16346
16347 2001-07-22 Keith Seitz <keiths@redhat.com>
16348
16349 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
16350 the empty string, do not run the tests.
16351
16352 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16353
16354 * gdb.base/long_long.exp: Detect size of pointer. Take into
16355 account 2-byte pointers when testing for p/a results.
16356
16357 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16358
16359 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
16360 and defined to 1K for m68hc11.
16361 (random_data): Reduce table to 1K for embedded platforms (68hc11).
16362 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
16363 (sizeof_random_data): New variable to tell the size of the data table;
16364 don't test past this size; always run to main.
16365
16366 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16367
16368 * gdb.base/return2.exp: return of long long and double fails for
16369 68HC11; don't execute these tests on that platform.
16370 * gdb.base/return.exp: Return of a double fails for 68hc11.
16371
16372 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16373
16374 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
16375 tests that print a float.
16376 * call-rt-st.exp: Likewise.
16377
16378 2001-07-12 Mark Kettenis <kettenis@gnu.org>
16379
16380 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
16381 running this test on Linux.
16382
16383 2001-06-24 Michael Chastain <chastain@redhat.com>
16384
16385 * gdb.base/arithmet.exp: Remove some tests to make all test names
16386 unique.
16387
16388 2001-07-03 Michael Snyder <msnyder@redhat.com>
16389
16390 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
16391 the output of the ptype command.
16392
16393 2001-07-02 Michael Snyder <msnyder@redhat.com>
16394
16395 * gdb.base/completion.exp: Don't assume that break.c is the only
16396 source file that may contain functions named "marker".
16397 * gdb.base/corefile.exp: Quote the curly braces in regexp.
16398
16399 2001-06-28 Andrew Cagney <ac131313@redhat.com>
16400
16401 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
16402 of files to delete.
16403
16404 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
16405 * gdb.disasm/h8300s.exp: New file.
16406 gdb.disasm/h8300s.s: Likewise.
16407
16408 2001-06-27 Andrew Cagney <ac131313@redhat.com>
16409
16410 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
16411 empty breakpoint tables.
16412
16413 2001-06-25 Andrew Cagney <ac131313@redhat.com>
16414
16415 * lib/mi-support.exp: Update args=... part of stop-reason
16416 patterns. Accept either a list or a tuple.
16417
16418 2001-06-23 Andrew Cagney <ac131313@redhat.com>
16419
16420 * lib/mi-support.exp: Remove local emacs variable defining
16421 change-log-default-name.
16422
16423 2001-06-22 Michael Chastain <chastain@redhat.com>
16424
16425 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
16426 This is operationally compatible with the previous version.
16427
16428 2001-06-13 Jim Blandy <jimb@redhat.com>
16429
16430 * lib/gdb.exp (gdb_test): Doc fix.
16431
16432 2001-06-10 Michael Chastain <chastain@redhat.com>
16433
16434 * gdb.base/exprs.exp: Remove a duplicate test.
16435
16436 2001-06-06 Jim Blandy <jimb@redhat.com>
16437
16438 * gdb.base/return2.exp (main): Use values to test float and double
16439 returns that are not NaN's, to avoid being confused by IEEE
16440 comparison rules.
16441
16442 2001-06-04 Michael Snyder <msnyder@redhat.com>
16443
16444 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
16445 non-zero if control_c fails. Terminate the test on failure,
16446 rather than wait for 12 more tests to time out.
16447
16448 2001-06-06 Jim Blandy <jimb@redhat.com>
16449
16450 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
16451 Don't forget to match the GDB prompt.
16452
16453 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
16454
16455 2001-06-04 Jim Blandy <jimb@redhat.com>
16456
16457 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
16458 command.
16459
16460 2001-05-31 Kevin Buettner <kevinb@redhat.com>
16461
16462 * gdb.base/annota1.exp (info break): Match four or more spaces
16463 after "Address".
16464
16465 2001-05-31 Michael Chastain <chastain@redhat.com>
16466
16467 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
16468 (dm_type_int_star): Likewise.
16469 (dm_type_long_star): Likewise.
16470 (dm_type_void_star): Likewise.
16471
16472 2001-05-29 Kevin Buettner <kevinb@redhat.com>
16473
16474 * gdb.base/completion.exp (INPUTRC): Set this environment variable
16475 to a known value in order to get consistent results regardless
16476 of the setting of INPUTRC or the presence or contents of .inputrc.
16477
16478 2001-05-24 Michael Snyder <msnyder@redhat.com>
16479
16480 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
16481 Don't require that the main thread and the manager thread are the
16482 first in the list.
16483
16484 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
16485 debugging. If test fails, issue an "unsupported" not a "fail".
16486
16487 2001-05-24 Jim Blandy <jimb@redhat.com>
16488
16489 Don't assume that short is shorter than int.
16490 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
16491 assume that shorts are smaller than ints. On a 16-bit machine,
16492 this isn't true.
16493 ("print unsigned char == (~0)"): Add test that verifies that ~0,
16494 an int, is not equal to ~0 stored in an unsigned char. This tests
16495 the same thing that the previous test meant to, but works on
16496 16-bit machines, too.
16497 ("print unsigned char != (~0)"): Same test, complemented.
16498
16499 2001-05-24 Michael Snyder <msnyder@redhat.com>
16500
16501 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
16502 test for (full_coverage == 0). This makes the test run faster,
16503 and prevents dejagnu getting out of step.
16504
16505 2001-05-23 Kevin Buettner <kevinb@redhat.com>
16506
16507 * gdb.base/finish.exp (finish_void): Revise pattern for
16508 stopping on the call statement to not permit stopping at
16509 the start of the instructions comprising the call sequence.
16510
16511 2001-05-19 Michael Chastain <chastain@redhat.com>
16512
16513 * gdb.base/callfuncs.exp: Make all test names unique.
16514 * gdb.base/commands.exp: Make all test names unique.
16515 * gdb.base/condbreak.exp: Make all test names unique.
16516 * gdb.base/dbx.exp: Make all test names unique.
16517 * gdb.base/default.exp: Make all test names unique.
16518 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
16519 and TIMEOUT messages to their corresponding PASS message.
16520 * gdb.base/ending-run.exp: Make all test names unique.
16521 * gdb.base/long_long.exp: Remove duplicate test.
16522
16523 2001-05-21 Kevin Buettner <kevinb@redhat.com>
16524
16525 * gdb.base/finish.exp (finish_void): Allow "finish" command to
16526 stop on the call statement as well as the statement after the
16527 call.
16528
16529 2001-05-21 Michael Snyder <msnyder@redhat.com>
16530
16531 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
16532
16533 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16534
16535 * gdb.base/completion.exp: Revamp test. Make it execute on all
16536 platforms.
16537
16538 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16539
16540 * config/gdbserver.exp (gdb_load): Handle the case
16541 in which the arguments to gdbserver are given in the
16542 baseboard configuration file.
16543 Also handle the case in which the server needs to do a
16544 load.
16545
16546 2001-05-07 Keith Seitz <keiths@cygnus.com>
16547
16548 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
16549 set up the display for testing.
16550 (gdbtk_start): Convert all paths to paths that tcl will like.
16551 Export target information to environment.
16552 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
16553 necessary.
16554 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
16555 (to_tcl_path): New proc to convert a given pathname into
16556 a path acceptible as an argument to a tcl command.
16557 (_gdbtk_export_target_info): New proc to export target info
16558 into the environment for gdbtk testing.
16559 (gdbtk_done): New proc to signal end-of-test.
16560
16561 2001-05-06 Jim Blandy <jimb@redhat.com>
16562
16563 * restore.c: Make the code of caller0 correspond to its comment.
16564
16565 2001-05-03 Michael Snyder <msnyder@redhat.com>
16566
16567 * config/sid.exp (gdb_target_sid): Check for error messages.
16568 On error or timeout, don't make expect exit (which will terminate
16569 all subsequent tests); instead just make gdb exit.
16570 (gdb_load): Check for error messages. On error or timeout,
16571 return a negative value.
16572
16573 2001-04-24 Jim Blandy <jimb@redhat.com>
16574
16575 * gdb.c++/templates.exp: If we see the prompt for the overload
16576 list, but we haven't recognized any of the longer patterns,
16577 arrange for this test to fail, not hang.
16578
16579 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
16580 variations.
16581
16582 2001-04-22 Michael Chastain <chastain@redhat.com>
16583
16584 * gdb.c++/local.exp: Use the 'runto' library function.
16585 * gdb.c++/namespace.exp: Likewise.
16586 * gdb.c++/overload.exp: Likewise.
16587
16588 2001-03-26 Kevin Buettner <kevinb@redhat.com>
16589
16590 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
16591 * gdb.base/step-line.exp: New file. Test step/next in presence of
16592 #line directives.
16593 * gdb.base/step-line.c: New file. Test program for the above.
16594 * gdb.base/step-line.inp: New file. We pretend that this file has
16595 been transformed by some other tool into step-line.c.
16596
16597 2001-03-21 Jim Blandy <jimb@redhat.com>
16598
16599 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
16600 unmangled operator names.
16601
16602 2001-03-20 Jim Blandy <jimb@redhat.com>
16603
16604 * gdb.threads/linux-dp.exp: Recognize an additional message
16605 generated by GDB when it doesn't understand how to debug threads
16606 on the target system.
16607
16608 2001-03-19 Andrew Cagney <ac131313@redhat.com>
16609
16610 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
16611
16612 2001-03-12 Michael Chastain <chastain@redhat.com>
16613
16614 * gdb.c++/derivation.exp: Use the 'runto' library function.
16615
16616 2001-03-12 Michael Chastain <chastain@redhat.com>
16617
16618 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
16619
16620 2001-02-24 Michael Chastain <chastain@redhat.com>
16621
16622 * gdb.c++/ref-types.exp: Change handwritten code to library
16623 function 'runto'.
16624
16625 2001-03-16 Orjan Friberg <orjanf@axis.com>
16626
16627 * gdb.base/signals.exp: Set count to 0 explicitly.
16628
16629 2001-03-15 Mark Salter <msalter@redhat.com>
16630
16631 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
16632 (gdb_target_monitor): Add check of gdb_target_cmd return value.
16633 (gdb_load): Add support for additional target_info: gdb_download_size
16634 and gdb_load_timeout.
16635
16636 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
16637
16638 * gdb.base/annota1.exp: Move test of isnative to earlier in the
16639 file -- to prevent failing when the compile fails but we have no
16640 intention of running the tests anyway.
16641
16642 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
16643 tests if set.
16644
16645 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
16646 integers.
16647
16648 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
16649 * gdb.c++/namespace.exp: Ditto.
16650
16651 2001-03-07 Orjan Friberg <orjanf@axis.com>
16652
16653 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
16654 * gdb.base/pointers.exp: Relax pattern match of decimals.
16655
16656 2001-03-06 Kevin Buettner <kevinb@redhat.com>
16657
16658 * Makefile.in, config/abug.exp, config/cfdbug.exp,
16659 config/cpu32bug.exp, config/dve.exp, config/est.exp,
16660 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
16661 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
16662 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
16663 config/sh.exp, config/sid.exp, config/slite.exp,
16664 config/sparclet.exp, config/udi.exp, config/unknown.exp,
16665 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
16666 config/vxworks.exp, config/vxworks29k.exp,
16667 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
16668 gdb.base/all-bin.exp, gdb.base/annota1.exp,
16669 gdb.base/arithmet.exp, gdb.base/assign.exp,
16670 gdb.base/async.exp, gdb.base/attach.exp,
16671 gdb.base/bitfields.exp, gdb.base/bitops.exp,
16672 gdb.base/break.exp, gdb.base/call-ar-st.exp,
16673 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
16674 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
16675 gdb.base/commands.exp, gdb.base/completion.exp,
16676 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16677 gdb.base/constvars.exp, gdb.base/corefile.exp,
16678 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
16679 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
16680 gdb.base/ending-run.exp, gdb.base/environ.exp,
16681 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16682 gdb.base/finish.exp, gdb.base/foll-exec.exp,
16683 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
16684 gdb.base/funcargs.exp, gdb.base/help.exp,
16685 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
16686 gdb.base/logical.exp, gdb.base/long_long.exp,
16687 gdb.base/maint.exp, gdb.base/mips_pro.exp,
16688 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
16689 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
16690 gdb.base/pointers.exp, gdb.base/printcmds.exp,
16691 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
16692 gdb.base/regs.exp, gdb.base/relational.exp,
16693 gdb.base/remote.exp, gdb.base/reread.exp,
16694 gdb.base/restore.exp, gdb.base/return2.exp,
16695 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
16696 gdb.base/selftest.exp, gdb.base/setshow.exp,
16697 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
16698 gdb.base/sigall.exp, gdb.base/signals.exp,
16699 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
16700 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16701 gdb.base/step-test.exp, gdb.base/structs.c,
16702 gdb.base/structs.exp, gdb.base/structs2.exp,
16703 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
16704 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
16705 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
16706 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16707 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
16708 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
16709 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
16710 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
16711 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
16712 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
16713 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
16714 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
16715 gdb.fortran/types.exp, gdb.java/jmisc.exp,
16716 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16717 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
16718 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16719 gdb.trace/circ.exp, gdb.trace/collection.exp,
16720 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
16721 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16722 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
16723 gdb.trace/report.exp, gdb.trace/save-trace.exp,
16724 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16725 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16726 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
16727 notices.
16728
16729 2001-02-27 Michael Snyder <msnyder@cygnus.com>
16730
16731 * gdb.base/varargs.c (find_max_double): Fix printf format string:
16732 first arg is int not float.
16733
16734 2001-02-22 Michael Snyder <msnyder@cygnus.com>
16735
16736 * gdb.base/reread.exp: Unsupported for non-native targets;
16737 doesn't work for remote debugging.
16738
16739 2001-02-19 Fernando Nasser <fnasser@redhat.com>
16740
16741 From Drew Moseley <dmoseley@redhat.com>
16742 * gdb.base/ending-run.exp: Properly handle the BSP state when
16743 stepping past the end of main.
16744
16745 2001-02-19 John Moore <jmoore@redhat.com>
16746
16747 * gdb.base/commands.exp (infrun_breakpoint_command_test):
16748 Converted HPUX fix for non-expected items following multiple
16749 step commands into general solution for all platforms.
16750
16751 2001-02-18 Michael Chastain <chastain@redhat.com>
16752
16753 * gdb.c++/classes.exp (do_tests): Change runto statements
16754 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16755 statements demangler agnostic.
16756 * gdb.c++/virtfunc.exp (do_tests): Likewise.
16757 (gdb_virtfunc_restart): Likewise.
16758
16759 2001-02-14 Michael Chastain <chastain@redhat.com>
16760
16761 * gdb.c++/inherit.exp (do_tests): Change runto statements
16762 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16763 statements demangler agnostic.
16764
16765 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
16766
16767 * gdb.threads/pthreads.exp: Unify pass/fail messages for
16768 ``continue to bkpt at common_routine in thread 2'' and ``stopped
16769 before calling common_routine 15 times'' tests.
16770
16771 2001-02-11 Michael Chastain <chastain@redhat.com>
16772
16773 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
16774 Helps the test script figure out which demangler is in use.
16775 (dm_type_foo_ref): Ditto.
16776 (dm_type_int_star): Ditto.
16777 (dm_type_long_star): Ditto.
16778 (dm_type_unsigned_int): Ditto.
16779 (dm_type_void): Ditto.
16780 (dm_type_void_star): Ditto.
16781 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
16782 Probe the gdb demangler and set variables to accommodate
16783 formatting differences.
16784 (info_func_regexp): New function. Same as info_func, but
16785 matches against a regexp.
16786 (info_func): Match against a literal string.
16787 (print_addr_2): New function. Match against a literal string,
16788 which can be different from the input to gdb.
16789 (print_addr): Simply call print_addr_2 with the same argument twice.
16790 (test_lookup_operator_functions): Use demangler formatting variables.
16791 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
16792 the tests in the same order as the C++ class declaration.
16793 (test_paddr_operator_functions): Ditto.
16794 (test_paddr_overloaded_functions): Ditto.
16795 (test_paddr_hairy_functions): Use demangler formatting variables.
16796 Add reference to gdb/19 for related tests.
16797 (do_tests): Call probe_demangler.
16798
16799 2001-01-30 Kevin Buettner <kevinb@redhat.com>
16800
16801 * gdb.c++/templates.cc (printf): Remove unused function definition.
16802
16803 2001-01-26 Felix Lee <flee@redhat.com>
16804
16805 * sid.exp (sid_exit): Pass host, not target, to remote_close.
16806
16807 2001-01-25 matthew green <mrg@redhat.com>
16808
16809 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
16810 up sid.
16811 (sid_exit): Call `remote_pop_conn' after GDB is gone.
16812
16813 2001-01-25 matthew green <mrg@redhat.com>
16814
16815 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
16816 Deprecate $sid_spawn_id.
16817 (sid_exit): Remove code necessary only for `spawn.'
16818
16819 2001-01-25 matthew green <mrg@redhat.com>
16820
16821 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
16822
16823 2001-01-28 Michael Chastain <chastain@redhat.com>
16824
16825 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
16826 to call when tests fail. It takes gdb out of the overloaded
16827 function choice menu back to the main prompt, so that the test
16828 program stays synchronized.
16829 (set_bp_overloaded): New proc to collect all the common
16830 code for setting a breakpoint on an overloaded name. Calls
16831 take_gdb_out_of_choice_menu when needed.
16832 (menu_overload1arg): New variable to collect the repeated
16833 instances of the expected menu for an overloaded name. Change
16834 the regular expression to handle changes in g++ type encoding:
16835 "void" can be either "void" or "", and "unsigned int" can be
16836 either "unsigned int" or "unsigned".
16837 (continue_to_bp_overloaded): Change regular expressions to handle
16838 changes in g++ type encoding.
16839 (no proc): Call take_gdb_out_of_choice_menu when needed.
16840 Remove redundant calls to "info break". Accept either "canceled"
16841 or "cancelled". Change regular expressions in "info break"
16842 calls to handle changes in g++ type encoding. Give all tests
16843 unique strings.
16844
16845 2001-01-17 Ben Elliston <bje@redhat.com>
16846
16847 * config/sid.exp: New file.
16848
16849 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
16850
16851 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
16852
16853 2000-12-21 Michael Snyder <msnyder@cygnus.com>
16854
16855 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
16856 Add a RE to accept a non-ascii char if one is ever presented.
16857
16858 2000-12-20 Fernando Nasser <fnasser@redhat.com>
16859
16860 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
16861
16862 2000-12-18 Michael Snyder <msnyder@cygnus.com>
16863
16864 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
16865 in regexp. One '\' does not suffice on Linux.
16866
16867 2000-12-09 Michael Chastain <chastain@redhat.com>
16868
16869 * gdb.base/break.exp (test_clear_command): Use a marker function
16870 rather than 'main' for the test function. Also move this
16871 test to an execution point where the marker function names are
16872 guaranteed to be bound to functions. (Executing tests after a
16873 'finish' from main runs into name conflicts with local names
16874 in __libc_start_main).
16875
16876 2000-12-07 Michael Snyder <msnyder@cygnus.com>
16877
16878 * gdb.base/finish.exp: New test for gdb's "finish" command.
16879 * gdb.base/return2.exp: New test for gdb's "return" command.
16880 * gdb.base/return2.c: New source file for above.
16881
16882 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16883
16884 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
16885 * gdb.base/miscexprs.exp: Ditto.
16886 * gdb.base/pointers.exp: Ditto.
16887 * gdb.c++/derivation.exp: Ditto.
16888 * gdb.c++/local.exp: Ditto.
16889 * gdb.c++/namespace.exp: Ditto.
16890 * gdb.c++/overload.exp: Ditto.
16891 * gdb.c++/ref-types.exp: Ditto.
16892
16893 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16894
16895 * gdb.base/constvars.exp: Test result of "up" command.
16896 * gdb.base/miscexprs.exp: Ditto.
16897 * gdb.base/pointers.exp: Ditto.
16898 * gdb.base/scope.exp: Ditto.
16899 * gdb.c++/derivation.exp: Ditto.
16900 * gdb.c++/local.exp: Ditto.
16901 * gdb.c++/namespace.exp: Ditto.
16902 * gdb.c++/overload.exp: Ditto.
16903 * gdb.c++/ref-types.exp: Ditto.
16904
16905 2000-11-22 Michael Chastain <chastain@redhat.com>
16906
16907 * mips_pro.exp: Accept either "middle -> top -> main" or
16908 "middle -> main" in the backtrace, because gcc can optimize
16909 tail calls to jumps. Remove setup_xfail for the hppa case.
16910 Add a comment with the original warning messages from PR 3016,
16911 which was filed in 1993, to preserve them for posterity.
16912
16913 2000-11-17 Nick Duffek <nsd@redhat.com>
16914
16915 * lib/gdb.exp (gdb_test): Override timeout with board info.
16916
16917 2000-11-17 Nick Duffek <nsd@redhat.com>
16918
16919 * gdb.base/display.exp: Don't kill running stub. Add "again" to
16920 the second kill and detach messages.
16921
16922 2000-11-17 Nick Duffek <nsd@redhat.com>
16923
16924 * configure.in: Add AC_EXEEXT.
16925 * configure: Regenerate.
16926 * Makefile.in (just-check): Export EXEEXT.
16927 * lib/gdb.exp ($EXEEXT): Import from environment.
16928 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
16929 expect "maint dump-me" on Cygwin.
16930 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
16931 $EXEEXT.
16932
16933 2000-11-17 Nick Duffek <nsd@redhat.com>
16934
16935 * gdb.base/break.exp: Test backtrace and finish from called
16936 function on all platforms, not just HP-UX.
16937
16938 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16939
16940 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
16941 code from gdb_target_monitor, so it can be used independantly
16942 for gdbserver. Also comment out an unnecessary PUTS.
16943
16944 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16945
16946 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
16947 * gdb.base/corefile.exp: Expect the message "Program is being
16948 debugged already" when we send the "corefile" command, since
16949 the preceeding gdb_load may have connected gdb to a remote target.
16950 * gdb.base/display.exp: Disable hardware watchpoints if new
16951 board info variable "no_hardware_watchpoints" is true.
16952 Replace single-letter commands with more readable ones.
16953 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
16954 if new board info variable "no_hardware_watchpoints" is true.
16955 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
16956 to see if stdio (printf) testing is possible.
16957 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
16958 board info variable "no_hardware_watchpoints" is true. Use new
16959 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
16960
16961 2000-11-13 Fernando Nasser <fnasser@redhat.com>
16962
16963 From Orjan Friberg <orjanf@axis.com>:
16964 * gdb.base/printcmds.exp: Escape curly braces followed by a number
16965 in array print pattern match.
16966
16967 2000-11-09 Fernando Nasser <fnasser@redhat.com>
16968
16969 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
16970 spelling "cancelled" to U.S. spelling "canceled" to match changes
16971 made to gdb.
16972 * gdb.c++/ovldbreak.exp: Ditto.
16973
16974 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16975
16976 * gdb.base/callfuncs.c (main): Moved to end of file, call
16977 t_double_values to initialize the FPU before inferior calls are made.
16978 * gdb.base/callfuncs.exp: Test for register preservation after calling
16979 inferior functions. Add tests for continuining, finishing and
16980 returning from a stop in a call dummy.
16981
16982 2000-10-24 Michael Snyder <msnyder@cygnus.com>
16983
16984 * gdb.base/commands.exp: Break up long lines, and re-indent.
16985
16986 2000-10-19 Michael Snyder <msnyder@cygnus.com>
16987
16988 * config/gdbserver.exp: Rewritten from the ground up, to make it
16989 compatible with the current dejagnu tree, and to make it work with
16990 the new "gdbserver" in libremote.
16991
16992 2000-10-16 Michael Snyder <msnyder@cygnus.com>
16993
16994 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
16995 * gdb.base/varargs.exp: Skip entire test if no printf support.
16996 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
16997 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
16998
16999 2000-10-13 Michael Snyder <msnyder@cygnus.com>
17000
17001 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
17002 no floating point support.
17003 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
17004 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
17005 * gdb.base/call-rt-st.exp: Ditto.
17006 * gdb.base/call-strs.exp: Ditto.
17007
17008 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
17009
17010 * gdb.base/sizeof.c: include <stdio.h>.
17011
17012 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
17013 'finish', otherwise uncaptured gdb_prompt would potentially
17014 throw remaining test points out of sync.
17015
17016 2000-07-26 Scott Bambrough <scottb@netwinder.org>
17017
17018 * gdb.base/recurse.exp: Run tests for all targets.
17019 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
17020 gnu-oldld case on ARM.
17021 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
17022 for ARM targets.
17023
17024 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
17025
17026 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
17027 * gdb.java/configure: Rebuild.
17028
17029 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
17030
17031 * gdb.java/jv-exp.exp: New file.
17032
17033 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
17034
17035 * configure: Rebuilt.
17036 * configure.in (configdirs): Add gdb.java.
17037 * gdb.java/jmisc.java: New file.
17038 * gdb.java/jmisc.exp: New file.
17039 * gdb.java/Makefile.in: New file.
17040 * gdb.java/configure: Rebuilt.
17041 * gdb.java/configure.in: New file.
17042 * lib/java.exp: New file.
17043
17044 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
17045
17046 * gdb.base/exprs.exp: Test casts to a pointer including over and
17047 underflow.
17048
17049 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
17050
17051 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
17052 and the compilers sizes.
17053
17054 2000-07-09 Nick Duffek <nsd@redhat.com>
17055
17056 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
17057 (use_methods): New function.
17058 (main): Call use_methods().
17059 * gdb.c++/classes.exp (test_method_param_class): New procedure.
17060 (do_tests): Call test_method_param_class.
17061
17062 2000-07-09 Nick Duffek <nsd@redhat.com>
17063
17064 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
17065 spelling.
17066 (test_enums): New procedure. Move enum tests from end of script
17067 to here. Set breakpoint on function name instead of line number.
17068 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
17069 (enums2): New marker function.
17070 (enums1): New function.
17071 (main): Call enums1(). Move enum tests to enums1().
17072
17073 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
17074
17075 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
17076 compile/link program. Update line numbers.
17077 * gdb.asm/d10v.inc: Define ``startup''.
17078 * gdb.asm/asmsrc1.s: Add definition of _start.
17079
17080 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
17081
17082 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
17083
17084 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17085
17086 * gdb.base/maint.exp: Add 'maint print architecture' item to output
17087 of 'help maint print' command.
17088
17089 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
17090
17091 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
17092 they use gdb_expect_list.
17093
17094 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
17095
17096 * gdb.base/commands.exp: Use ``set remote
17097 memory-read-packet-size'' instead of ``set endian big'' to test
17098 long commands.
17099
17100 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
17101
17102 * gdb.c++/templates.exp (do_tests): Make all of these work under
17103 g++, and stop skipping them.
17104
17105 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
17106 work under g++.
17107
17108 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
17109 initialization.
17110
17111 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17112
17113 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
17114 the regular expression: accept an (almost) arbitrary sequence of
17115 "frames-invalid" and "breakpoints-invalid" messages both before
17116 and after the "starting" message.
17117
17118 2000-06-02 Michael Snyder <msnyder@cygnus.com>
17119
17120 * gdb.c++/local.exp: This test has never been known to work with g++.
17121
17122 2000-05-18 Michael Snyder <msnyder@cygnus.com>
17123
17124 * gdb.base/annota1.exp (annotate-signal-handler-caller):
17125 Relax the regular expression a little, make it pass on Solaris 8.
17126
17127 2000-05-12 Kevin Buettner <kevinb@redhat.com>
17128
17129 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
17130 a call, do not require that gdb stop on the line after the call.
17131 Instead, it is permissible for gdb to stop on the line of the
17132 call itself.
17133
17134 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
17135
17136 * gdb.base/break.exp (bp on small function, optimized file):
17137 Add a second pass pattern. The behavior differs here between stabs
17138 and dwarf for one-line functions. Stabs preserves two line symbols
17139 (one before the prologue and one after) with the same line number,
17140 but dwarf regards these as duplicates and discards one of them.
17141 Therefore the address after the prologue (where the breakpoint is)
17142 has no exactly matching line symbol, and GDB reports the breakpoint
17143 as if it were in the middle of a line rather than at the beginning.
17144
17145 2000-05-08 Michael Snyder <msnyder@cygnus.com>
17146
17147 * gdb.base/interrupt.exp: Make "pass" message say "send"
17148 rather than "send_gdb" (for consistancy).
17149
17150 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
17151
17152 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
17153 * gdb.c++/templates.cc: Properly check for GCC version number.
17154 * lib/compiler.cc: Likewise
17155
17156 2000-04-28 Michael Snyder <msnyder@cygnus.com>
17157
17158 * gdb.base/break.exp: When compiled with -O2 optimization,
17159 gdb may not stop at the first line of main, due to code motion.
17160
17161 2000-04-26 Michael Snyder <msnyder@cygnus.com>
17162
17163 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17164 This test depends on parsing the printf output from the target.
17165 Since the sparclet stub doesn't do stdio, this will never work.
17166 * gdb.base/call-rt-st.exp: ditto.
17167 * gdb.base/call-strs: ditto.
17168
17169 2000-04-24 Michael Snyder <msnyder@cygnus.com>
17170
17171 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17172
17173 * gdb.base/ending-run.exp: After connecting to a remote target,
17174 but before running, the target will appear to be in a random
17175 location. Specify both a file and a line for breakpoints.
17176 Also, the function that calls main may be called 'init'
17177 rather than 'start'.
17178
17179 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17180
17181 * gdb.base/help.exp: Update output for add-symbol-file command.
17182
17183 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
17184
17185 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17186 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17187
17188 2000-04-07 J.T. Conklin <jtc@redback.com>
17189
17190 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17191
17192 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17193
17194 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17195
17196 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
17197 values that can be represented exactly.
17198 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17199 above change, and to not check against the directory part of the source
17200 file name.
17201 (step into print_long_arg_list): Likewise.
17202 (print print_small_structs from print_long_arg_list): Likewise.
17203 (print print_long_arg_list): Likewise.
17204
17205 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17206
17207 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
17208
17209 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
17210
17211 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
17212
17213 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
17214
17215 * gdb.base/commands.exp (deprecated_command_test): Add test for
17216 deprecate with no arguments.
17217
17218 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
17219
17220 * gdb.base/break.exp: Add new test for setting breakpoints on
17221 optimized code so we can test breakpoints work even when function
17222 prologues may be optimized away
17223
17224 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
17225
17226 From David Whedon <dwhedon@gordian.com>
17227 * gdb.base/commands.exp : Added command deprecator tests.
17228
17229 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
17230
17231 * gdb.base/help.exp: Added test for new apropos command.
17232
17233 2000-03-21 Kevin Buettner <kevinb@redhat.com>
17234
17235 * gdb.base/pointers.c (usevar): New function.
17236 (main): Make sure that global variables v_int_pointer2, rptr,
17237 and y are all referenced someplace in the program by calling
17238 usevar() on them. [Some linkers delete symbols which are
17239 never referenced. The space remains, but there's no way to
17240 get a (symbolic) handle on the variable from the debugger.]
17241
17242 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17243
17244 * gdb.base/printcmds.c: Add typedeffed arrays.
17245
17246 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
17247 procedure to test arrays that are typedef'd.
17248
17249 2000-03-13 James Ingham <jingham@leda.cygnus.com>
17250
17251 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
17252 the library directories.
17253
17254 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
17255
17256 * configure.in (configdirs): Add sub directory gdb.mi.
17257 * configure: Re-generate.
17258
17259 * gdb.mi: New directory.
17260
17261 2000-02-25 Scott Bambrough <scottb@netwinder.org>
17262
17263 * gdb.base/long_long.exp: Correct test suite failure when printing
17264 a long long value as a double on ARM platforms.
17265
17266 2000-02-16 Jim Blandy <jimb@redhat.com>
17267
17268 * gdb.base/break.exp ("breakpoint line number"): Make sure the
17269 default source file is set properly before running this test.
17270
17271 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17272
17273 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
17274 gdbtk/library directory, not in gdbtcl2.
17275
17276 2000-02-04 Jim Blandy <jimb@redhat.com>
17277
17278 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
17279 backslash from regexp pattern.
17280
17281 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
17282 procedure. Use it to run all the "continue to bp overloaded"
17283 tests. Note that this changes the names of the tests slightly.
17284 If the breakpoint hit message includes a hex PC value, because
17285 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
17286 from the real source code, still consider that a pass.
17287
17288 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
17289 XFAIL here if the breakpoint message contains a hex address. Note
17290 similar change on 1999-11-02.
17291
17292 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
17293
17294 * gdb.base/ptype.exp: Establish a default source file before
17295 calling get_debug_format.
17296
17297 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
17298
17299 * gdb.base/watchpoint.exp: Remove duplication of test messages.
17300
17301 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17302
17303 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
17304 of successive stepi commands -- while in the prologue we should see
17305 the function entry bracket.
17306
17307 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17308
17309 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
17310 reach __change_mode() when stepping through the end of main().
17311
17312 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
17313
17314 * gdb.base/default.exp: Fix expected pattern.
17315 * gdb.base/help.exp: Same.
17316
17317 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17318
17319 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
17320 Don't use xfail's because that affects only the following test.
17321
17322 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
17323 solaris or linux.
17324
17325 * gdb.base/selftest.exp: Update to reflect changes to main.c.
17326
17327 2000-01-07 Michael Snyder <msnyder@cygnus.com>
17328
17329 * gdb.base/display.exp: Some yacc parsers like to say
17330 "A syntax error" rather than "A parse error". Accept both.
17331
17332 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
17333
17334 * gdb.base/default.exp: Remove OS dependent string from "target
17335 remote" test.
17336 * gdb.base/help.exp: Same for "help target remote" test.
17337
17338 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17339
17340 From Jim Kingdon <kingdon@redhat.com>:
17341
17342 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
17343 prompt (cleanup rather than necessity, but still might keep output
17344 from spilling to next test).
17345
17346 2000-01-02 Fred Fish <fnf@cygnus.com>
17347
17348 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
17349 AIX, which defines them in <sys/types.h>.
17350
17351 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
17352
17353 * gdb.base/default.exp: Match arm* etc instead of arm in "info
17354 float" test.
17355
17356 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
17357
17358 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
17359
17360 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
17361 outermost frame disallowed".
17362
17363 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
17364
17365 * gdb.base/setvar.exp: New tests for setting the value of a struct
17366 with a constant list.
17367
17368 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17369
17370 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
17371 require the user to type a cast before setting the value of a struct.
17372
17373 1999-12-06 Jim Blandy <jimb@cygnus.com>
17374
17375 * gdb.base/default.exp: Expect the new 'info float' command on
17376 all i386 platforms.
17377
17378 * gdb.threads/linux-dp.exp: Expand our ability to recognize
17379 LinuxThreads libraries that don't support debugging.
17380
17381 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17382
17383 * gdb.base/remote.c: Fill the buffer with truely random data.
17384 Change the buffer type to ``unsigned char'' to simplify size
17385 arithmetic.
17386
17387 * gdb.base/remote.exp: Reduce download numbers by one. Typical
17388 stub only handles 400-1 byte packets. Verify that the download
17389 worked.
17390
17391 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
17392
17393 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
17394 tests, using UNRESOLVED for the untested cases. Also, does not wait
17395 for a timeout if the prompt was received before a recognizable pattern.
17396
17397 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
17398
17399 * lib/gdb.exp (gdb_expect_list): Fix spelling.
17400
17401 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17402
17403 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
17404 watchpoints.
17405
17406 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
17407
17408 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
17409
17410 * gdb.c++/local.exp: Be more flexible in recognizing local class
17411 name mangling. Don't allow horribly truncated method names.
17412 * gdb.c++/derivation.exp: Expect protected inheritance.
17413 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
17414 * gdb.c++/virtfunc.exp: Likewise.
17415 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
17416 when printing a nested enum.
17417
17418 1999-11-22 Jim Blandy <jimb@cygnus.com>
17419
17420 * gdb.base/step-test.exp: Properly await GDB's response to setting
17421 a breakpoint on the call to large_struct_by_value.
17422
17423 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
17424 just because we have debug info for the `start' function.
17425
17426 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
17427
17428 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
17429 "Unknown signal" messages, which indicate (on LinuxThreads) that
17430 GDB doesn't know how to debug threads on this system. This is
17431 better than hanging while philosopher 0 dumps chatter into gdb.log.
17432
17433 1999-11-18 Tom Tromey <tromey@cygnus.com>
17434
17435 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
17436
17437 1999-11-18 Fred Fish <fnf@cygnus.com>
17438
17439 * gdb.base/coremaker2.c: Add sample program for generating
17440 cores that is more self contained than coremaker.c. Eventually
17441 I'll add more code to this and tie it into the testsuite.
17442
17443 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
17444
17445 * gdb.base/dollar.exp: Remove, now in gdb.hp.
17446
17447 1999-11-10 Jimmy Guo <guo@cup.hp.com>
17448
17449 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
17450 from $srcdir/lib/.
17451 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
17452 and gdb.c++/.
17453
17454 * gdb.c++/derivation.exp: remove redundant get compiler info code.
17455
17456 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
17457 'continue with watch' test point.
17458
17459 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
17460
17461 Merged from p2linux-990323-branch:
17462
17463 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
17464
17465 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
17466
17467 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
17468 {limit,fixed}''. Test ``set download-write-size''.
17469
17470 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
17471
17472 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
17473 gdb_expect_list.
17474
17475 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
17476
17477 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
17478
17479 1999-11-03 Mark Salter <msalter@cygnus.com>
17480
17481 * gdb.base/break.exp: Fix "stub continue" pattern.
17482
17483 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
17484
17485 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
17486
17487 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
17488
17489 * gdb.base/display.exp ("finish"): Add timeout clause.
17490
17491 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
17492 plain prompt clause, so this doesn't have to time out in order to
17493 fail.
17494
17495 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
17496 breakpoint hit messages include an address.
17497
17498 * gdb.base/display.exp: Don't forget to escape parens in regular
17499 expressions. Unix regexp notatation sucks.
17500
17501 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17502
17503 * gdb.base/annota1.exp: Test for annotate-signalled: change output
17504 order for 'signalled' message.
17505
17506 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
17507
17508 From Jimmy Guo <guo@cup.hp.com>:
17509 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
17510 * gdb.base/annota1.c: Add code for tests to work with.
17511
17512 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
17513
17514 * gdb.base/remote.exp: New test for remote downloading settings.
17515 * gdb.base/remote.c: New file with large .data.
17516
17517 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
17518
17519 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
17520 for LinuxThreads support, merged from the Code Fusion branch.
17521
17522 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
17523
17524 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
17525 containing exp_continue into a while within an expect. Don't
17526 attempt a start more than three times. Check return value from
17527 gdb_load.
17528
17529 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
17530
17531 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
17532 a pass case.
17533
17534 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
17535
17536 * gdb.base/break.c (main): Added a statement that we can step
17537 off of.
17538 * gdb.base/break.exp: Added tests for setting a breakpoint
17539 at an offset and stepping onto a breakpoint.
17540
17541 1999-10-01 Fred Fish <fnf@cygnus.com>
17542
17543 * gdb.base/help.exp (help add-symbol-file): Update to match current
17544 gdb output.
17545
17546 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
17547
17548 * gdb.base/break.exp: Code locations are in hex, don't forget!
17549 (For HP-UX.)
17550
17551 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
17552
17553 * condbreak.exp: Use break.c as test program.
17554 * condbreak.c: Remove, redundant with break.c.
17555
17556 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
17557
17558 * config/monitor.exp (gdb_target_monitor): Disable X- and
17559 Z-packets if the target needs it.
17560
17561 1999-09-13 James Ingham <jingham@leda.cygnus.com>
17562
17563 * gdb.c++/overload.exp: Added tests for listing overloaded
17564 functions with function pointers in the arg, explicitly calling
17565 out the version you want.
17566
17567 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
17568
17569 * long_long.exp: Add variations of test cases that work for
17570 targets with 16-bit ints and 32-bit doubles.
17571
17572 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
17573
17574 * break.c (main): Compare a possibly-uninitialized argc with an
17575 unlikely value that fits in 16 bits.
17576
17577 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
17578
17579 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
17580 0xfeeb, don't want negative numbers if ints are 16 bits.
17581
17582 * lib/gdb.exp (skip_cplus_tests): New proc.
17583 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17584 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
17585 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
17586 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
17587 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
17588 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
17589 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
17590 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
17591
17592 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
17593
17594 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
17595
17596 * gdb.base/corefile.exp (up): Allow a parameter to appear
17597 in the frame that we're going up to.
17598
17599 From Jim Blandy <jimb@cygnus.com>:
17600
17601 * gdb.base/default.exp (info float): Expect some output now.
17602
17603 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
17604 returning floating-point values to fail on the x86.
17605 * gdb.base/callfwmall.exp (do_function_calls): Same.
17606
17607 * gdb.base/list.exp (test_listsize): Correct expectations for
17608 listing line 1 with listsize 2. Also, listing a single line
17609 works now, as does listing three lines. [Kevin's note: There
17610 were a number of other cases fixed too where the expectations
17611 differed...]
17612
17613 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
17614
17615 * gdb.base/selftest.exp: Add case for when version prints as
17616 constant string instead of char pointer.
17617
17618 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
17619
17620 * gdb.base/ending-run.exp: Add Solaris case for what happens when
17621 stepping out of main.
17622
17623 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
17624 G++ used.
17625
17626 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
17627 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
17628
17629 * gdb.c++/ovldbreak.exp: Update match string in test that
17630 includes a warning of multiple breakpoints.
17631
17632 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
17633
17634 * gdb.base/display.exp: Improve precision of step-after-finish
17635 added yesterday.
17636
17637 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
17638 test.
17639
17640 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
17641 configs when using G++, not just hppa*.
17642
17643 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17644
17645 * gdb.base/async.c: New file.
17646 * gdb.base/async.exp: New file.
17647
17648 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
17649
17650 * gdb.base/break.exp: Tweak PA specific tests to properly handle
17651 PA64.
17652
17653 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
17654
17655 * gdb.base/display.exp: "finish" can leave us mid-line on many
17656 targets, deal with it. Add a small constant to main, instead of
17657 1000 since main+1000 may not be a valid address in the target.
17658
17659 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
17660 on hpux11.
17661
17662 * gdb.base/attach.exp: Handle another hpux11 error message variant
17663 when attaching to a process that does not exist.
17664
17665 1999-08-19 J.T. Conklin <jtc@redback.com>
17666
17667 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
17668 characters in 'continue to 1241' test.
17669
17670 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
17671
17672 * gdb.base/call-ar-st.exp: Add a shorter match case for the
17673 stop in print_long_arg_list, define and use a whitespace
17674 variable in print_small_structs test, add an XFAIL for Solaris.
17675 * gdb.base/dbx.exp: XFAIL func commands until somebody is
17676 interested enough to fix.
17677
17678 1999-08-13 Keith Seitz <keiths@cygnus.com>
17679
17680 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
17681 (dbx_gdb_load): Remove. Use gdb_load instead, since that
17682 proc knows about targets other than the natives.
17683 (test_assign): Use "gdb_run_cmd" to "run" the target.
17684 Check that we've actually hit the breakpoint at main.
17685 When we attempt to assign a value to a local variable, check
17686 that the variable is in the current scope, i.e., don't use
17687 a test with an empty result.
17688
17689 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
17690
17691 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
17692 command.
17693
17694 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
17695
17696 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17697 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
17698 gdb.compat, gdb.threads-hp.
17699 gdb.hp/configure, gdb.hp/configure.in: New files.
17700 gdb.hp/Makefile.in: Recurse into new subdirs.
17701 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
17702 gdb.hp/gdb.objdbg: New directory, tests for debugging info
17703 in object files.
17704 gdb.hp/tools: New directory, aux tools for HP-specific tests.
17705
17706 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
17707
17708 * gdb.base/display.exp: Help expect by putting a newline in the
17709 funky printf, remove a bogus p/a test.
17710
17711 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17712
17713 * gdb.base/display.exp: Make sure that when we say 'run', we are
17714 connected to the target. This is necessary when running not
17715 natively.
17716
17717 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
17718
17719 * gdb.base/step-test.exp: Removed some extraneous messages.
17720
17721 * gdb.base/long_long.exp: Don't run memory examination tests
17722 on little-endian targets (they will need a different set of
17723 results to match).
17724
17725 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
17726
17727 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
17728 until somebody decides to fix GDB.
17729
17730 * gdb.base/long_long.c: Stop compiler complaint by specifying long
17731 constant as "ULL".
17732 * gdb.base/long_long.exp: Loosen x/c test, add partial result
17733 matches for a couple x/2 commands.
17734
17735 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
17736
17737 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
17738 by merging in ref-types2 tests.
17739 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
17740
17741 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17742 * gdb.c++/Makefile.in: Add standard actions.
17743 (EXECUTABLES): Rename from PROGS, update list.
17744 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
17745 from gdb.hp.
17746 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
17747 foo and bar locals.
17748 * gdb.c++/anon-union.exp: Fix tests to match.
17749 * gdb.c++/classes.exp: Run if HP compiler used, add extra
17750 expect matches to handle output variations.
17751 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
17752 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
17753 output, add HP alternatives for new and delete prints.
17754 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
17755 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
17756 * gdb.c++/demangle.exp: Use $style when reporting failure.
17757 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
17758 * gdb.c++/inherit.exp: Run if HP compiler used, add some
17759 match alternatives.
17760 * gdb.c++/local.exp: Add match alternatives or xfails for HP
17761 compilers.
17762 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
17763 * gdb.c++/method.exp: Add match alternatives.
17764 * gdb.c++/misc.cc: Add bool types.
17765 * gdb.c++/misc.exp: Add tests for bool types.
17766 * gdb.c++/overload.exp: Add xfails.
17767 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
17768 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
17769 add some more template parameter tests (only for HP currently).
17770 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
17771 * gdb.c++/virtfunc.cc: Add return type and value for main.
17772 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
17773 match alternatives.
17774
17775 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17776
17777 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
17778
17779 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
17780
17781 * gdb.base/signals.exp: Don't expect getting a backtrace from
17782 within a signal handler to fail on Linux.
17783
17784 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
17785
17786 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17787 * lib/gdb.exp: Remove some gratuitious semicolons.
17788 (delete_breakpoints): Increase timeout.
17789 (gdb_expect): Add -notransfer option.
17790 (gdb_test): Use -notransfer option.
17791 (get_compiler_info): Add f77 case.
17792 (get_compiler): New proc, split out from gdb_preprocess, add f77
17793 case.
17794 (gdb_preprocess): Call get_compiler.
17795
17796 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
17797 * gdb.base/attach.exp, gdb.base/display.exp,
17798 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
17799 gdb.base/long_long.exp, gdb.base/printcmds.exp,
17800 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
17801 third arg to gdb_test.
17802 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
17803 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
17804 HP-UX xfails, add others.
17805 * gdb.base/completion.exp: Reflect name change of self-test.
17806 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
17807 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
17808 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
17809 HP failure number.
17810 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
17811 useless HP-UX 10.30 references.
17812 * gdb.base/maint.exp: Loosen matches.
17813 * gdb.base/pointers.c (main): Declare more_code.
17814 * gdb.base/pointers.exp: Match on output of a `next'.
17815 * gdb.base/structs.c: Add prototypes.
17816 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
17817 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
17818
17819 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17820
17821 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
17822 command.
17823
17824 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17825
17826 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
17827 Fix run to main failures. Watchpoint can be hardware watchpoint.
17828
17829 * gdb.base/annota1.exp: Clean up some more, in case printf has
17830 debug info. Deal with lack of signal hanlder info in stack.
17831
17832 From Jim Kingdon <kingdon@redhat.com>:
17833 * gdb.base/annota1.exp: If printf has debug info, deal with it.
17834
17835 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
17836
17837 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
17838 gdb.base/foll-vfork.exp: Don't run for crosses.
17839
17840 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17841
17842 * gdb.base/configure.in: Check for gdbvars.exp instead of
17843 a1-selftest.exp.
17844 * gdb.base/configure: Re-generate.
17845
17846 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
17847
17848 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
17849 in trying to run first and name is too long.
17850
17851 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
17852 pointers2.c and pointers2.exp, respectively.
17853 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
17854 doschk happier.
17855
17856 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
17857
17858 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
17859 callfuncs2.c and callfuncs2.exp.
17860
17861 * gdb.base/list.exp: Remove mistaken xfails.
17862 * gdb.base/list0.h: Add optional prototypes.
17863
17864 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
17865
17866 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
17867 calling malloc.
17868 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
17869 * ptype.exp: Move test for get_debug_format to before its first
17870 use.
17871
17872 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17873
17874 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
17875 * gdb.base/annota2.cc, annota2.exp: Move from here.
17876 * gdb.c++/annota2.cc, annota2.exp: To here.
17877 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
17878
17879 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
17880
17881 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
17882 a consistent format.
17883
17884 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
17885
17886 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17887 * lib/gdb.exp (get_compiler_info): Add detection for assorted
17888 HP compilers, also set the globals $true and $false.
17889
17890 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
17891 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
17892 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
17893 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
17894 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
17895 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
17896 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
17897 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
17898 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
17899 whatis.c} Add C++ compatible function definitions and return
17900 types, add includes for library functions.
17901 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
17902 * gdb.base/step-test.c (myglob): Rename from glob.
17903 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
17904 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
17905 files, move here from gdb.hp.
17906 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
17907 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
17908 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
17909 Adjust line numbers in regexps.
17910
17911 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
17912 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
17913 instead of 0/1.
17914
17915 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
17916 foll-vfork.exp: New files, move here from gdb.hp.
17917 * gdb.base/page.exp: New file, test of pagination command.
17918
17919 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
17920 recursion test.
17921 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
17922
17923 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
17924 gdb.base/solib.exp: Fix compiler invocation process.
17925
17926 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
17927 HP-UX 11, turn off overload resolution explicitly.
17928 * gdb.base/commands.exp: Set argument list explicitly, add
17929 watchpoint test.
17930 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
17931 them work.
17932 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
17933 expressions properly.
17934 * gdb.base/corefile.exp: Loosen the match slightly.
17935 * gdb.base/default.exp: Allow "Error accessing memory" message
17936 also.
17937 * gdb.base/display.exp: Skip over x/0 j if PA64.
17938 * gdb.base/funcargs.exp: Add xfails for HP-UX.
17939 * gdb.base/interrupt.exp: Ditto.
17940 * gdb.base/langs.exp: Add symbolic matches governed by compiler
17941 in use.
17942 * gdb.base/list.exp: Add xfails for HP-UX.
17943 * gdb.base/long_long.exp: Refine some of the numeric matches.
17944 * gdb.base/mips_pro.exp: Xfail on HP-UX.
17945 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
17946 * gdb.base/nodebug.exp: Succeed on more varieties of output.
17947 * gdb.base/opaque.exp: Remove some HP-UX xfails.
17948 * gdb.base/ptype.exp: Succeed on more varieties of output.
17949 * gdb.base/scope.exp: Add xfails for HP-UX.
17950 * gdb.base/sect-cmd.exp: Add more cases.
17951 * gdb.base/setvar.exp: Add xfails for HP-UX.
17952 * gdb.base/shlib-call.exp: Loosen some matches slightly.
17953 * gdb.base/signals.exp: Match on void symbolically.
17954 * gdb.base/step-test.exp: Add case for PA64.
17955 * gdb.base/term.exp: Add exit and restart.
17956 * gdb.base/twice.exp: Clean up after self.
17957 * gdb.base/varargs.exp: Disable overload resolution explicitly.
17958 * gdb.base/whatis.exp: Allow more ways to pass tests.
17959
17960 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
17961 no longer useful.
17962
17963 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
17964
17965 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
17966 list of patterns.
17967 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
17968 print_double_array(double_array)", "continuing to breakpoint
17969 1018", "print print_double_array(array_d)" and "continuing to
17970 1034" tests.
17971
17972 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
17973
17974 * Makefile.in: Add empty html and install-html targets.
17975
17976 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
17977
17978 * config/mt-*: Remove, these haven't been used since 1996.
17979
17980 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
17981
17982 * gdb.base/call-strs.c, gdb.base/ending-run.c,
17983 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
17984 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
17985
17986 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
17987
17988 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
17989 simpler match case for the ptype of the big class.
17990
17991 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17992
17993 * gdb.exp: Fix test for gdb_prompt existence.
17994
17995 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17996
17997 * gdb.exp (gdb_test): Add fail after calls to perror.
17998
17999 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18000
18001 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
18002
18003 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
18004
18005 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
18006
18007 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
18008
18009 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
18010 malloc() is linked in.
18011
18012 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
18013
18014 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
18015 step at end.
18016
18017 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
18018
18019 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
18020
18021 * gdb.java/jv-print.exp: New file. (Our first Java test!)
18022
18023 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
18024
18025 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
18026 * gdb.base/mips_pro.exp: Likewise.
18027
18028 1999-06-02 Keith Seitz <keiths@cygnus.com>
18029
18030 * gdb.c++/templates.cc: Change all "new" operators to throw
18031 an exception.
18032 * gdb.c++/cplusfuncs.cc: Likewise.
18033
18034 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
18035
18036 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
18037
18038 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
18039 * gdb.base/ending-run.exp: When stepping out of main, accept a
18040 step into an arbitrary assembler file.
18041
18042 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18043
18044 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
18045 "breakpoint-invalid" to be printed.
18046 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
18047 number of "frames-invalid" and "breakpoint-invalid" to be printed.
18048 * gdb.base/annota2.cc: Initialize a.x to 0.
18049
18050 1999-05-17 Keith Seitz <keiths@cygnus.com>
18051
18052 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
18053 when "skip_float_tests" set.
18054 Ditto for "print print_double_array(array_d)", "print print_small_structs",
18055 "print print_ten_doubles", and "step into print_long_arg_list".
18056 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
18057 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
18058 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
18059 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
18060 "skip_float_tests" is set.
18061 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
18062 when "skip_float_tests" set.
18063
18064 1999-05-06 Keith Seitz <keiths@cygnus.com>
18065
18066 * gdb.base/annota2.cc: Include stdio.h.
18067
18068 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
18069
18070 * gdb.base/crossload.exp: Remove, this has been disabled ever
18071 since BFD stopped including all targets, and cross-GDB gets
18072 plenty of testing anyway.
18073 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
18074 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
18075 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
18076 * gdb.base/README: Remove, was doc for this.
18077 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
18078 needed.
18079
18080 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18081
18082 * gdb.base/call-ar-st.exp: Fix one regular expression in test
18083 output.
18084
18085 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
18086 * gdb.base/annota2.exp: New file. More annotation tests.
18087 * gdb.base/annota1.c: New file. Source file for annota1.exp.
18088 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
18089
18090 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
18091
18092 * config/cfdbug.exp: New file.
18093
18094 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
18095
18096 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
18097 Marcus Daniel's and Dale Hawkins's demangler crashes.
18098
18099 * gdb.c++/demangle.exp (test_gnu_style_demangling,
18100 test_lucid_style_demangling, test_arm_style_demangling,
18101 test_hp_style_demangling): Try Tom Tromey's core-dumping
18102 identifier under each demangling style.
18103
18104 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
18105
18106 * gdb.c++/demangle.exp: Include the current demangling style
18107 in all test names.
18108 (current_demangling_style): New global variable.
18109 (set_demangling_style, test_demangling_core, test_demangling,
18110 test_demangling_exact): New functions.
18111 (test_gnu_style_demangling, test_lucid_style_demangling,
18112 test_arm_style_demangling, test_hp_style_demangling): Use those,
18113 instead of calling gdb_test and gdb_test_exact directly.
18114 (catch_demangling_errors): New function, which reports errors
18115 signalled by the demangling test functions in an orderly way.
18116 (do_tests): Use catch_demangling_errors.
18117
18118 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
18119
18120 * gdb.base/signals.exp (test_handle_all_print): Use () for
18121 grouping in expressions, not {}.
18122
18123 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
18124 initialized yet.
18125
18126 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
18127
18128 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
18129 are listed.
18130
18131 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
18132
18133 * gdb.stabs/weird.exp: Test for CC being defined before
18134 looking at its value.
18135
18136 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
18137
18138 * gdb.base/call-ar-st.exp: Remove stray '#'.
18139 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
18140 "short int" and "long int".
18141 * gdb.c++/overload.cc: Cast the string added in the previous
18142 change, to mollify finicky HP compiler.
18143 * gdb.hp/reg-test.exp (testfile): Fix file name.
18144 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
18145
18146 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
18147 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
18148 alternate form of enum ptype.
18149
18150 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
18151
18152 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
18153 * gdb.hp/*.exp: Change all to run compiler probe only after
18154 passing skip_hp_tests, so as not to waste time on guaranteed
18155 failure.
18156
18157 * gdb.c++/overload.cc: Pass string instead of char addr, always
18158 init ccpfoo.
18159 * gdb.c++/templates.cc: Fix syntax error.
18160
18161 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18162
18163 * gdb.base/commands.exp: Add test for correct position of '>'
18164 when issuing the 'commands' command after a 'while' or 'if'
18165 command.
18166
18167 1999-03-18 James Ingham <jingham@cygnus.com>
18168
18169 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18170
18171 * gdb.c++/method.exp: It was testing an uninitialized int on the
18172 stack and assuming it was positive.
18173
18174 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18175
18176 * gdb.base/step-test.exp: Catch a case where finish is broken and
18177 keep it from killing the rest of the tests.
18178 Use gdb_continue_to_end.
18179
18180 * gdb.base/sigall.exp: use gdb_continue_to_end.
18181
18182 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18183
18184 * gdb.base/display.exp: use runto_main, not run.
18185
18186 * gdb.base/default.exp: Check for the current error message in the
18187 r abbreviation test.
18188 Add strongarm to the targets that know info float.
18189
18190 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
18191 run which doesn't work with monitors.
18192
18193 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18194
18195 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18196
18197 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
18198 program. Traps the case (in Cygmon) when the program never really
18199 exits. Same as Mark's continue_to_exit, but I had put it in a lot
18200 more places, so I used my name. Sorry Mark...
18201
18202 * config/monitor.exp (gdb_target_monitor): added another
18203 target_info parameter: remotebinarydownload. This will set the
18204 remotebinarydownload flag if this is causing some boards trouble.
18205
18206 1999-03-18 Mark Salter <msalter@cygnus.com>
18207
18208 * lib/gdb.exp (continue_to_exit): New function.
18209
18210 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
18211 * gdb.base/ending-run.exp: Ditto.
18212 * gdb.base/step-test.exp: Ditto.
18213
18214 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
18215
18216 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
18217 (suggested by Art Haas <ahaas@neosoft.com>).
18218
18219 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
18220
18221 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
18222
18223 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
18224
18225 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
18226 descriptions of types (short unsigned int vs unsigned short, etc).
18227
18228 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
18229
18230 * gdb.base/call-strs.exp: Don't assume that `step' will step over
18231 a call to strlen; sometimes we do have sources.
18232
18233 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18234
18235 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
18236 character, so GDB won't print garbage after its end.
18237
18238 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
18239 breakpoint there instead. Sometimes GCC emits memcpy to handle
18240 the large structures being passed by value, so we step into that
18241 instead of sum_array_print, which obscures what we're really testing.
18242 * gdb.base/step-test.exp: However, we do want a test that notices
18243 the bizarre steps into memcpy, so do that here. Add check for
18244 stepping into function calls that pass large structures by value.
18245 ("Is that a noun clause, or are you just happy to see me?")
18246 Remove all references to specific line numbers.
18247 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
18248 New type and function.
18249 (main): Call large_struct_by_value, passing it a large struct by value.
18250 * lib/gdb.exp (gdb_get_line_number): New function.
18251
18252 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
18253 more portable.
18254
18255 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18256
18257 * lib/gdb.exp: Doc fixes.
18258
18259 1999-03-05 Nick Clifton <nickc@cygnus.com>
18260
18261 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
18262
18263 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
18264
18265 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
18266 commands. They're not germane to this test, and they don't work
18267 that way on remote targets.
18268
18269 1999-03-01 James Ingham <jingham@cygnus.com>
18270
18271 * Changelog entries merged over from gdb development branch.
18272
18273 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
18274
18275 * lib/gdb.exp (gdbtk_analyze_results): Generic function
18276 for outputting results of test run.
18277
18278 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
18279
18280 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
18281
18282 1999-02-25 Felix Lee <flee@cygnus.com>
18283
18284 * lib/gdb.exp (debug_format): initialize
18285
18286 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
18287
18288 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
18289 * gdb.base/call-rt-st.c: Ditto.
18290
18291 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
18292
18293 * gdb.threads/pthreads.exp (horiz): New variable.
18294 (test_startup): Fix regexps that capture thread numbers.
18295
18296 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
18297
18298 * gdb.base/smoke.exp: Disambiguate two test case names (both
18299 called ``print'').
18300
18301 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18302
18303 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
18304 compilation.
18305
18306 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18307
18308 * gdb.base/miscexprs.exp: Change patterns to match GDB's
18309 actual output formatting.
18310 * gdb.base/smoke.exp: GDB removes leading 0's.
18311 * gdb.base/volatile.exp: Don't check type of remuneration;
18312 that variable is no longer defined in constvars.c.
18313 * gdb.base/step-test.c (main): Exit with explicit exit code.
18314 * gdb.base/step-test.exp: Remove two nexti checks--they are
18315 not portable.
18316
18317 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18318
18319 * gdb.base/help.exp ("help delete display"): Fix test to match
18320 gdb's output.
18321
18322 * gdb.base/long_long.c (known_types): Initialize values to zero.
18323 * gdb.base/long_long.exp: Step one more line
18324 so 'dec' is initialized in "get to known place". GDB removes
18325 leading zeros. Explicitly ask for hex formatting. Use
18326 unique test case names.
18327
18328 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18329
18330 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
18331
18332 * gdb.c++/method.exp: Add missing close brace.
18333
18334 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
18335
18336 * gdb.base/maint.exp: Use 'set height 0' to disable page
18337 prompting, not 'set height 400'.
18338
18339 Fix a bunch of timeouts.
18340 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
18341 four separate tests, so expect doesn't take forever to match a ton
18342 of text against a regexp with lots of .* forms.
18343 ("maint print psymbols", "maint print symbols"): Make some of
18344 these greps more selective, so that expect doesn't try to wade
18345 through huge piles of output and time out.
18346
18347 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
18348
18349 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
18350 tests: one which doesn't expect shlib events to be reported, and
18351 another which does, but is XFAIL for all platforms other than
18352 HP/UX.
18353
18354 * gdb.base/break.exp: Teach the test suite that the `catch
18355 fork', `catch vfork', and `catch exec' commands produce error
18356 messages on platforms that don't provide these features.
18357
18358 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18359
18360 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
18361 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
18362 (shortening names from solib_threshold.exp etc), won't run on
18363 anything but HP-UX for the foreseeable future.
18364 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
18365 reflect move.
18366
18367 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
18368
18369 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
18370 gdb.trace/Makefile.in (clean): Remove all test executables.
18371
18372 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
18373
18374 * gdb.base/shlib-call.exp: add test cases to verify that gdb
18375 successfully re-sets breakpoints in shared libraries.
18376 * gdb.base/shmain.c (main): return 0, don't fall off the end.
18377
18378 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18379
18380 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
18381 and compiled w/o GCC.
18382
18383 * gdb.hp/watch-cmd.exp: ditto.
18384
18385 * gdb.hp/watch-hp.exp: ditto.
18386
18387 * gdb.hp/xdb1.exp: ditto.
18388
18389 * gdb.hp/xdb2.exp: ditto.
18390
18391 * gdb.hp/dbx.exp: ditto.
18392
18393 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
18394
18395 * constvars.c: Remove C++-isms.
18396 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
18397 with GCC.
18398
18399 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
18400
18401 The following changes are part of the HP merge.
18402
18403 * gdb.base/break.exp: new tests to verify that catchpoints for
18404 fork, vfork, and exec don't trigger inappropriately.
18405
18406 * gdb.base/opaque.exp: compile one file at a time, then link.
18407
18408 * gdb.base/signals.exp: be more restrictive about which hppa
18409 systems receive a setup_xfail. new tests.
18410
18411 * gdb.base/solib_threshold.build: new file.
18412 * gdb.base/solib_threshold.exp: new file.
18413 * gdb.base/solib_threshold.link_opts: new file.
18414 * gdb.base/solib_threshold.mk: new file.
18415 * gdb.base/gen_solib_threshold.c: new file.
18416
18417 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
18418 tests. New tests for enums inside classes.
18419
18420 * gdb.c++/compiler.cc: indicate support of template debugging.
18421
18422 * gdb.c++/demangle.exp: run hp style demangling tests.
18423
18424 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
18425 tests.
18426
18427 * gdb.c++/misc.cc: changes to support new tests.
18428
18429 * gdb.c++/templates.cc: changes to support HP's compiler; changes
18430 to support new tests.
18431
18432 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
18433 gcc, then skip these tests.
18434
18435 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
18436
18437 The following files are part of the HP merge; some had longer
18438 names at HP, but have been renamed to be no more than 14
18439 characters in length.
18440
18441 * gdb.hp/ambiguous.cc: new file.
18442 * gdb.hp/ambiguous.exp: new file.
18443 * gdb.hp/attach.exp: new file.
18444 * gdb.hp/attach2.exp: new file.
18445 * gdb.hp/classes-hp.exp: new file.
18446 * gdb.hp/ctti.exp: new file.
18447 * gdb.hp/ctti-add.cc: new file.
18448 * gdb.hp/ctti-add1.cc: new file.
18449 * gdb.hp/ctti-add2.cc: new file.
18450 * gdb.hp/ctti-add3.cc: new file.
18451 * gdb.hp/dbx.exp: new file.
18452 * gdb.hp/exception.cc: new file.
18453 * gdb.hp/exception.exp: new file.
18454 * gdb.hp/foll-exec.c: new file.
18455 * gdb.hp/foll-exec.exp: new file.
18456 * gdb.hp/foll-fork.c: new file.
18457 * gdb.hp/foll-fork.exp: new file.
18458 * gdb.hp/foll-vfork.c: new file.
18459 * gdb.hp/foll-vfork.exp: new file.
18460 * gdb.hp/inherit-hp.exp: new file.
18461 * gdb.hp/more-steps.exp: new file.
18462 * gdb.hp/namespace.cc: new file.
18463 * gdb.hp/namespace.exp: new file.
18464 * gdb.hp/optimize.exp: new file.
18465 * gdb.hp/pxdb.c: new file.
18466 * gdb.hp/pxdb.exp: new file.
18467 * gdb.hp/quicksort.exp: new file.
18468 * gdb.hp/reg-test.exp: new file.
18469 * gdb.hp/reg-test.s: new file.
18470 * gdb.hp/sized-enum.c: new file.
18471 * gdb.hp/sized-enum.exp: new file.
18472 * gdb.hp/start-stop.exp: new file.
18473 * gdb.hp/templ-hp.cc: new file.
18474 * gdb.hp/templ-hp.exp: new file.
18475 * gdb.hp/thr-lib.c: new file.
18476 * gdb.hp/thr-lib.exp: new file.
18477 * gdb.hp/thr-lib.h: new file.
18478 * gdb.hp/thr-liblib.c: new file.
18479 * gdb.hp/virtfun-hp.c: new file.
18480 * gdb.hp/virtfun-hp.exp: new file.
18481 * gdb.hp/watch-cmd.exp: new file.
18482 * gdb.hp/watch-hp.exp: new file.
18483 * gdb.hp/xdb1.exp: new file.
18484 * gdb.hp/xdb2.exp: new file.
18485 * gdb.hp/xdb3.exp: new file.
18486
18487 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
18488
18489 The following files are part of the HP merge; some had longer
18490 names at HP, but have been renamed to be no more than 14
18491 characters in length.
18492
18493 * gdb.base/ss.h: new file.
18494 * gdb.base/call-ar-st.c: new file.
18495 * gdb.base/call-ar-st.exp: new file.
18496 * gdb.base/call-rt-st.c: new file.
18497 * gdb.base/call-rt-st-exp: new file.
18498 * gdb.base/call-strs.exp: new file.
18499 * gdb.base/ena-dis-br.exp: new file.
18500 * gdb.base/environ.exp: new file.
18501 * gdb.base/long_long.exp: new file.
18502 * gdb.base/sect-cmd.exp: new file.
18503 * gdb.base/shlib-cl2.exp: new file.
18504 * gdb.base/smoke.exp: new file.
18505 * gdb.base/so-impl-ld.c: new file.
18506 * gdb.base/so-impl-ld.exp: new file.
18507 * gdb.base/so-indr-cl.c: new file.
18508 * gdb.base/so-indr-cl.exp: new file.
18509 * gdb.base/varargs.exp: new file.
18510 * gdb.base/volatile.exp: new file.
18511 * gdb.base/whatis-exp.exp: new file.
18512 * gdb.base/display.exp: new file.
18513 * gdb.c++/derivation.exp: new file.
18514 * gdb.c++/local.exp: new file.
18515 * gdb.c++/member-ptr.exp: new file.
18516 * gdb.c++/overload.exp: new file.
18517 * gdb.c++/ovldbreak.exp: new file.
18518 * gdb.c++/ref-types.exp: new file.
18519 * gdb.c++/ref-types2.exp: new file.
18520 * gdb.c++/userdef.exp: new file.
18521
18522 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
18523
18524 * gdb.base/default.exp: Reflect wording change in remote.c.
18525
18526 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
18527
18528 * gdb.base/help.exp: Update to reflect current text.
18529
18530 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
18531
18532 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
18533 they're stack variables and contain garbage.
18534 * gdb.c++/anon-union.exp: new file.
18535
18536 The following changes were made by David Taylor
18537 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18538 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18539 in changes by HP.
18540
18541 * gdb.base/bitops.exp: new file.
18542 * gdb.base/default.exp: change expected messages for catch and
18543 info catch tests to reflect HP merge changes.
18544 * gdb.base/enable-disable-break.exp
18545 * gdb.base/ending-run.c: new file.
18546 * gdb.base/long_long.c: new file.
18547 * gdb.base/maint.exp: new file.
18548 * gdb.base/pointers2.exp: new file.
18549 * gdb.base/shlib-call2.exp: new file.
18550 * gdb.base/solib.exp: new file.
18551 * gdb.base/step-test.c: new file.
18552 * gdb.c++/anon-union.cc: new file.
18553 * gdb.c++/local.cc: new file.
18554 * gdb.c++/member-pointer.cc: new file.
18555 * gdb.c++/method.cc: new file.
18556 * gdb.c++/ref-types.cc: new file.
18557 * gdb.c++/ref-types2.cc: new file.
18558 * gdb.c++/userdef.cc: new file.
18559
18560 * gdb.base/scope.exp: compile one file at a time, then link.
18561 * gdb.base/langs.exp: ditto.
18562 * gdb.base/list.exp: ditto.
18563
18564 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
18565
18566 The following changes were made by David Taylor
18567 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18568 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18569 in changes by HP.
18570
18571 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
18572 skip tests. When compiling pass c++ flag to gdb_compile.
18573 * gdb.c++/
18574
18575 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
18576 test for on hppa*-*-hpux*; use args to see if c++ was specified.
18577 (skip_hp_tests): new function.
18578 (gdb_preprocess): new function.
18579
18580 * configure.in (hpdir): decide whether to configure gdb.hp.
18581 * configure: regenerated.
18582
18583 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
18584 to delete on clean.
18585 (EXECUTABLES): update to reflect new additions.
18586 * gdb.base/commands.exp: update message expected.
18587 * gdb.base/default.exp: add copyright notice.
18588 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
18589 * gdb.base/help.exp: update messages to reflect current text.
18590 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
18591 targets for recurse tests.
18592 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
18593 skip this file.
18594
18595 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
18596 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
18597 compilation.
18598 * gdb.c++/misc.exp: ditto.
18599 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
18600 run the tests. tell gdb_compile that it's a c++ compilation.
18601
18602 * gdb.threads/pthreads.exp: fix typo in message.
18603
18604 * gdb.base/all-bin.exp: new file.
18605 * gdb.base/arithmet.exp: new file.
18606 * gdb.base/assign.exp: new file.
18607 * gdb.base/completion.exp: new file.
18608 * gdb.base/cond-expr.exp: new file.
18609 * gdb.base/condbreak.exp: new file.
18610 * gdb.base/define.exp: new file.
18611 * gdb.base/dollar.exp: new file.
18612 * gdb.base/environment.exp: new file.
18613 * gdb.base/eval-skip.exp: new file.
18614 * gdb.base/jump.exp: new file.
18615 * gdb.base/logical.exp: new file.
18616 * gdb.base/pointers.exp: new file.
18617 * gdb.base/relational.exp: new file.
18618 * gdb.base/section_command.exp: new file.
18619 * gdb.base/whatis-expr.exp: new file.
18620
18621 * gdb.base/all-types.c: new file.
18622 * gdb.base/call-array-struct.c: new file.
18623 * gdb.base/call-return-struct.c: new file.
18624 * gdb.base/call-strings.c: new file.
18625 * gdb.base/callfuncs2.c: new file.
18626 * gdb.base/condbreak.c: new file.
18627 * gdb.base/constvars.c: new file.
18628 * gdb.base/display.c: new file.
18629 * gdb.base/int-type.c: new file.
18630 * gdb.base/jump.c: new file.
18631 * gdb.base/miscexprs.c: new file.
18632 * gdb.base/pointers.c: new file.
18633 * gdb.base/pointers2.c: new file.
18634 * gdb.base/shmain.c: new file.
18635 * gdb.base/shr1.c: new file.
18636 * gdb.base/shr2.c: new file.
18637 * gdb.base/solib.c: new file.
18638 * gdb.base/solib1.c: new file.
18639 * gdb.base/solib2.c: new file.
18640 * gdb.base/varargs.c: new file.
18641 * gdb.c++/derivation.cc: new file.
18642 * gdb.c++/overload.cc: new file.
18643 * gdb.c++/ovldbreak.cc: new file.
18644 * gdb.hp/attach.c: new file.
18645 * gdb.hp/attach2.c: new file.
18646 * gdb.hp/average.c: new file.
18647 * gdb.hp/compiler.c: new file.
18648 * gdb.hp/compiler.cc: new file.
18649 * gdb.hp/execd-program.c: new file.
18650 * gdb.hp/follow-exec.c: new file.
18651 * gdb.hp/follow-fork.c: new file.
18652 * gdb.hp/follow-vfork-and-exec.c: new file.
18653 * gdb.hp/misc-hp.cc: new file.
18654 * gdb.hp/more-steps.c: new file.
18655 * gdb.hp/optimize.c: new file.
18656 * gdb.hp/quicksort.c: new file.
18657 * gdb.hp/run-hp.c: new file.
18658 * gdb.hp/start-stop.c: new file.
18659 * gdb.hp/sum.c: new file.
18660 * gdb.hp/templates-hp.cc: new file.
18661 * gdb.hp/thread-local-in-lib.c: new file.
18662 * gdb.hp/thread-local-in-lib.h: new file.
18663 * gdb.hp/thread-local-in-lib.lib.c: new file.
18664 * gdb.hp/vforked-program.c: new file.
18665 * gdb.hp/virtfunc-hp.cc: new file.
18666 * gdb.hp/watchpoint-hp.c: new file.
18667 * gdb.hp/xdb.c: new file.
18668 * gdb.hp/xdb0.c: new file.
18669 * gdb.hp/xdb0.h: new file.
18670 * gdb.hp/xdb1.c: new file.
18671
18672 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
18673
18674 The following change was made by Edith Epstein
18675 <eepstein@cygnus.com> as part of a project to merge in changes
18676 originally made by HP; HP did not create ChangeLog entries.
18677
18678 * gdb.c++/demangle.exp: changed the expected output for some
18679 ARM-style mangling -- removed second reference to datatype.
18680 For example, maint demangle __dt__11T1__pt__2_cFv
18681 T1<char>::~T1<char>(void)
18682 becomes,
18683 maint demangle __dt__11T1__pt__2_cFv
18684 T1<char>::~T1(void)
18685
18686 (test_hp_style_demangling): new hp specific demangling test cases.
18687
18688 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
18689
18690 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
18691 * gdb.trace/backtrace.exp: Likewise.
18692 * gdb.trace/circ.exp: Likewise.
18693 * gdb.trace/collection.exp: Likewise.
18694 * gdb.trace/deltrace.exp: Likewise.
18695 * gdb.trace/infotrace.exp: Likewise.
18696 * gdb.trace/limits.exp: Likewise.
18697 * gdb.trace/packetlen.exp: Likewise.
18698 * gdb.trace/passc-dyn.exp: Likewise.
18699 * gdb.trace/passcount.exp: Likewise.
18700 * gdb.trace/report.exp: Likewise.
18701 * gdb.trace/save-trace.exp: Likewise.
18702 * gdb.trace/tfind.exp: Likewise.
18703 * gdb.trace/tracecmd.exp: Likewise.
18704 * gdb.trace/while-dyn.exp: Likewise.
18705 * gdb.trace/while-stepping.exp: Likewise.
18706
18707 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
18708
18709 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
18710
18711 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
18712
18713 From Brendan Kehoe:
18714 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
18715 int return types.
18716
18717 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
18718
18719 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
18720 remote dos host testing right.
18721
18722 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
18723
18724 * gdb.base/corefile.exp: remove some xfails.
18725
18726 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
18727
18728 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
18729 have different timestamps.
18730
18731 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
18732
18733 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
18734 gdb.base/default.exp: Replace "exec" with "executable".
18735
18736 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
18737
18738 * gdb.base/default.exp: Change else if to elseif from previous
18739 delta.
18740
18741 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
18742
18743 * gdb.base/default.exp: Add brace missing from previous delta.
18744
18745 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
18746
18747 * gdb.base/default.exp: Support test for info float for all
18748 varieties of arm toolchain.
18749
18750 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
18751
18752 * gdb.trace/*.exp: remove "remote_download" command.
18753
18754 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
18755
18756 * gdb.trace/*.exp: remove -gdwarf from compile.
18757
18758 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
18759
18760 * gdb.trace/configure.in(AC_INIT): typo
18761 * gdb.trace/configure: regenerated
18762
18763 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
18764
18765 * config/m68k-emc.exp: New file.
18766 * lib/<emc-support.exp trace-support.exp}: New files.
18767 * configure.in: add new test directory gdb.trace.
18768 * gdb.trace/{configure configure.in Makefile.in}: New files.
18769 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
18770 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
18771 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
18772 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
18773 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
18774 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
18775 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
18776
18777 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
18778
18779 * gdb.c++/classes.exp: Change all regular expressions to match
18780 arbitrary combinations of newline/carriage-return, so that they
18781 will work equally well on Unix and Windows.
18782 * gdb.c++/inherit.exp: ditto.
18783 * gdb.c++/virtfunc.exp: ditto.
18784
18785 1998-08-11 Dawn Perchik <dawn@cygnus.com>
18786
18787 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
18788
18789 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
18790
18791 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
18792 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
18793 to use a0-a3/d0-d3 as needed.
18794
18795 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
18796
18797 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
18798 * gdb.disasm/am33.exp: Corresponding changes.
18799
18800 1998-07-11 Felix Lee <flee@cygnus.com>
18801
18802 * gdb.base/callfuncs.exp: add cmp10 test.
18803 * gdb.base/callfuncs.c (cmp10): new function.
18804
18805 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
18806
18807 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
18808 into two parts to get around a synchronization problem in expect.
18809
18810 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
18811
18812 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
18813
18814 * configure.in: Add options for gdbtk testsuite.
18815
18816 * configure: Regenerate.
18817
18818 * gdb.gdbtk: New directory to hold gdbtk tests.
18819
18820 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18821
18822 * gdb.fortran/types.exp: Escape brackets in expect patterns
18823 for test_float_literal_types_accepted tests.
18824 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
18825 before run test.
18826
18827 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
18828
18829 * am33.exp: Just compile, do not link the testcase.
18830 * am33.s: Add ".am33" pseudoop to force am33 mode.
18831
18832 1998-06-25 Felix Lee <flee@cygnus.com>
18833
18834 * gdb.base/setshow.exp: make sure $pc is sane.
18835
18836 * gdb.stabs/weird.exp: split expect patterns properly.
18837
18838 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
18839
18840 * gdb.disasm/am33.s: New disassembler testfile for the am33.
18841 * gdb.disasm/am33.exp: Run it.
18842
18843 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
18844
18845 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
18846 match processing (and eliminate spurious timeouts when running).
18847
18848 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
18849
18850 * gdb.base/signals.exp (test_handle_all_print): put back Mach
18851 exception test, but conditionalize it on target [mach | gnu].
18852
18853 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
18854
18855 * gdb.base/overlays.exp: fixup compile line for linker script.
18856
18857 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
18858
18859 * gdb.fortran/types.exp: don't guess at float size.
18860
18861 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
18862
18863 * gdb.base/exprs.exp: delete test that depends on int size.
18864
18865 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
18866
18867 * config/sim.exp: Removed checks for target triplets.
18868 (gdb_target_sim): Use gdb,target_sim_options.
18869
18870 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
18871
18872 * gdb.base/reread.exp: New file.
18873 * gdb.base/reread1.c: New file.
18874 * gdb.base/reread2.c: New file.
18875
18876 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
18877
18878 * config/sim.exp: Use 'target sim -sparclite' when running
18879 SPARClite programs.
18880
18881 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
18882
18883 * gdb.base/structs2.exp: New file.
18884 * gdb.base/structs2.c: New file.
18885
18886 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
18887
18888 * gdb.asm/common.inc: New file.
18889 * gdb.asm/d10v.inc: New file.
18890 * asm-source.exp: Pass -I's to gas to find .inc files.
18891 Update line numbers in expected output.
18892 * asmsrc1.s: Rewrite.
18893 * asmsrc2.s: Rewrite.
18894 * configure.in: Create arch.inc symlink.
18895 * configure: Regenerate.
18896 * Makefile.in (distclean): Delete arch.inc.
18897
18898 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
18899
18900 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
18901 (t_enum_value2): ditto
18902 (t_enum_value3): ditto
18903 (main): ditto
18904 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18905
18906 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
18907 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
18908 change.
18909 Use gdb_test instead of send_gdb/gdb_expect sequences.
18910
18911 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
18912
18913 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
18914 not void.
18915
18916 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
18917
18918 * gdb.base/branches.c: Code with lots of loops and
18919 subroutines. Used to test gdbs ability to single step through PC
18920 changes, especially to test mips-tdep.c:mips_next_pc
18921
18922 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
18923
18924 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
18925 more rigorous EGCS C++ error checking.
18926
18927 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18928
18929 * gdb.base/help.exp: Clean up `help set args' and `help show args'
18930 tests.
18931 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
18932 function when asleep.
18933 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
18934 for i*86 Linux and SVR4 signal handling problems.
18935 Remove linux xfail for `next to handler in signals_tests_1', fixed
18936 by recent infrun.c change.
18937 Limit backtrace to 10 frames to avoid timeout problems with infinite
18938 stack backtraces.
18939 Adjust expect pattern in `handle all print' test to match Apr 28 1997
18940 target.[ch] change.
18941
18942 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
18943
18944 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
18945 for a newline from gdb before continuing.
18946 (default_gdb_exit): Just look for y or n.
18947 (gdb_test): Detect abnormal exit from GDB running on DOS; if
18948 it does, fail the rests of the tests in the file.
18949
18950 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
18951
18952 * config/cygmon.exp: New file.
18953
18954 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
18955
18956 * gdb.base/list.exp: Fix problem with "list default lines around
18957 main" test on remote targets.
18958
18959 * gdb.base/scope.exp: Fix problem with filelocal_bss before
18960 run test on remote targets.
18961
18962 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
18963
18964 * gdb.asm: New directory.
18965 * configure.in: Configure it.
18966 * configure: Regenerate.
18967 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
18968 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
18969
18970 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
18971
18972 * config/mn10300-eval.exp: New file to support MN10300 eval board.
18973
18974 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
18975
18976 * gdb.base/overlays (several files): Merge the two overlay
18977 managers into one. Change variables (foox, barx, bazx, grbxx)
18978 back into ints but force them to load in their proper sections.
18979
18980 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
18981
18982 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
18983 on-chip insn memory and IMAP1 to upper 128k.
18984 (D10VCopy): Handle memory regions crossing 16k boundaries.
18985 (D10VCopy): Transfer data in 32 bit chunks.
18986
18987 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
18988
18989 * gdb.base/overlays.c (main): Exit normally when result is
18990 correct.
18991
18992 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
18993 map. Include space for printf in .text segment.
18994
18995 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
18996 updated d10v memory VMA/LMA map.
18997 (D10VCopy): Call D10VTranslate.
18998
18999 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
19000
19001 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
19002
19003 * gdb.base/bar.c (barx, bar): Change variable to small array so
19004 that it won't be put into the .sdata - small data -
19005 section. Update reference.
19006 * gdb.base/baz.c (bazx, baz): Ditto.
19007 * gdb.base/foo.c (foox, foo): Ditto.
19008 * gdb.base/grbx.c (grbxx, grbx): Ditto.
19009
19010 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
19011 to be arrays.
19012
19013 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
19014
19015 * gdb.base/overlays.exp: fix up and get working again.
19016 Add tests for backtraces from an overlay function.
19017
19018 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
19019
19020 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
19021 "calling function with watchpoint enabled".
19022
19023 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
19024
19025 * gdb.base/break.exp (test_next_with_recursion): Remove
19026 gdb_suppress_tests for d10v-*-*.
19027 * lib/gdb.exp (gdb_suppress_tests): Disable this function
19028 pending review of whether it is useful or not.
19029
19030 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
19031
19032 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
19033
19034 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
19035
19036 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
19037 * config/dve.exp: New file to support Densan boards.
19038
19039 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
19040
19041 * gdb.base/interrupt.exp: Document problem of simulators, signals,
19042 reads and BSD.
19043
19044 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
19045
19046 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
19047 response.
19048
19049 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
19050
19051 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
19052
19053 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
19054 test.
19055
19056 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
19057 target_sizeof_long and target_bigendian_p.
19058 (structs_by_value, structs_by_reference): Check values according
19059 to targets word size and endianess.
19060
19061 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
19062
19063 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
19064 output.
19065
19066 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
19067
19068 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
19069 Update test of set args help to match source change.
19070
19071 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
19072
19073 * gdb.base/default.exp: Expect help system output to be in
19074 alphabetical order.
19075 * gdb.base/help.exp: Ditto.
19076
19077 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
19078
19079 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
19080 "i*86-pc-linux-gnu*".
19081 * gdb.base/interrupt.exp: Ditto.
19082 * gdb.base/corefile.exp: Ditto.
19083
19084 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
19085 define vxworks when building the testcase.
19086
19087 * gdb.base/ptype.exp: Fix testnames to be unique.
19088 * gdb.base/radix.exp: Ditto.
19089 * gdb.base/term.exp: Ditto.
19090 * gdb.base/whatis.exp: Ditto.
19091 * gdb.c++/classes.exp: Ditto.
19092
19093 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
19094
19095 * gdb.base/callfuncs.exp: Fix indentation.
19096
19097 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
19098 suppress_flag has been set.
19099 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
19100 target feature.
19101
19102 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
19103
19104 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
19105 the testcase.
19106
19107 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
19108 set_debug_traps() and breakpoint().
19109 * gdb.c++/misc.cc (main): Ditto.
19110 * gdb.c++/templates.cc (main): Ditto.
19111 * gdb.c++/virtfunc.cc (main): Ditto.
19112
19113 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
19114
19115 * lib/gdb.exp(gdb_step_for_stub): New function.
19116 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
19117 exists, reload the executable and do a "continue" instead of
19118 doing a jump.
19119 (runto_main): Use gdb_step_for_stub.
19120
19121 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
19122 tests to have unique names.
19123 * gdb.base/callfuncs.exp: Ditto.
19124 * gdb.base/commands.exp: Ditto.
19125 * gdb.base/default.exp: Ditto.
19126 * gdb.base/help.exp: Ditto.
19127 * gdb.base/list.exp: Ditto.
19128 * gdb.base/opaque.exp: Ditto.
19129 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
19130 similar tests.
19131
19132 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
19133 * gdb.c++/cplusfuncs.cc: Ditto.
19134 * gdb.c++/virtfunc.cc: Ditto.
19135
19136 * config/monitor.exp: Keep track of the last file we saw, rather
19137 than trying to get the info from gdb.
19138
19139 * gdb.fortran/types.exp: Move comment to previous line.
19140
19141 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
19142
19143 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
19144 target mode.
19145
19146 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
19147
19148 From Bob Manson:
19149 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
19150 string from GDB when it connects.
19151
19152 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
19153
19154 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
19155
19156 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
19157 if we can't get a debug format from GDB (we may be testing an
19158 older GDB). Use a 10 second timeout when checking for the format.
19159
19160 * gdb.stabs/weird.exp: Fix quoting.
19161
19162 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19163
19164 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19165
19166 * config/arm-ice.exp: New file.
19167
19168 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19169
19170 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
19171 until it has been modified to work with the new testsuite.
19172
19173 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
19174 testcase won't compile, cause all of the testcases in the file to
19175 fail instead.
19176
19177 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19178 (gdb_clear_suppressed): New procedure.
19179 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19180 it contains a positive value.
19181
19182 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19183
19184 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19185
19186 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19187
19188 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19189
19190 * lib/gdb.exp (setup_xfail_format): New function.
19191 (get_debug_format): New function to get debug format.
19192 (debug_format): New global variable to hold last value set
19193 by get_debug_format.
19194 * gdb.base/list.exp: Call get_debug_format and expect some
19195 tests to fail for DWARF 1 and COFF formats.
19196 * gdb.c++/ptype.exp: Ditto.
19197 * gdb.c++/classes.exp: Ditto.
19198 * gdb.c++/cplusfuncs.exp: Ditto.
19199 * gdb.c++/inherit.exp: Ditto.
19200 * gdb.c++/templates.exp: Ditto.
19201 * gdb.c++/virtfunc.exp: Ditto.
19202
19203 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19204
19205 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
19206 host doesn't have a currently-open connection.
19207
19208 * config/sparclet.exp: Cleanups and fixes to make it generic for
19209 any gdb stub target. Handle cases where gdb doesn't respond when
19210 interrupted in a sane fashion.
19211
19212 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
19213 same thing in a totally different way.
19214
19215 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
19216 setting "timeout".
19217 (gdb_start): We set the global gdb_prompt variable in
19218 default_gdb_init now.
19219
19220 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
19221
19222 * gdb.base/printcmds.exp: Fix "check for floating addition"
19223 regexp to accept results within approx +/- .01 of exact value.
19224 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
19225
19226 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
19227
19228 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
19229 properly.
19230 (gdb_expect): Add optional timeout parameter, and add timeout
19231 value to various calls.
19232 (gdb_suppress_tests): Only give one warning message per group.
19233
19234 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
19235
19236 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
19237 global variables. Handle getting a value for $timeout more
19238 gracefully.
19239
19240 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19241
19242 * lib/gdb.exp: Close connection to remote host if gdb doesn't
19243 initialize.
19244 (default_gdb_init): New procedure; allow gdb_init to be overridden
19245 by a target configuration file.
19246 (gdb_expect): Pass the timeout to remote_expect.
19247
19248 * config/monitor.exp(gdb_load): Fix typo in regexp.
19249
19250 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
19251
19252 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
19253
19254 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
19255
19256 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
19257 here. Call gdb_target_exec before rebooting the target, to make
19258 sure the connection to the target is closed.
19259 (gdb_load): Pass the name of the executable to gdb_target_monitor.
19260 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
19261 Also detect "Timeout reading from remote" error.
19262
19263 * config/gdbserver.exp: Pass the executable being loaded to
19264 gdb_target_monitor. Don't call gdb_file_cmd here; let
19265 gdb_target_monitor do it.
19266
19267 * gdb.disasm/hppa.exp: Don't use exec_output.
19268
19269 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
19270
19271 * gdb.base/list.exp: If we're debugging a non-native target,
19272 try to set the pc register to point to the start of the
19273 program before doing the first list command.
19274
19275 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
19276 test_calls after restarting.
19277
19278 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
19279 reloading.
19280
19281 * gdb.base/watchpoint.exp: Fix typo.
19282
19283 * gdb.base/setshow.exp: Check for use_gdb_stub.
19284
19285 * gdb.base/break.exp: Fix continue until exit test for the gdb
19286 stub case.
19287 * gdb.base/langs.exp: Ditto.
19288
19289 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
19290 gdb_load_offset. If we weren't given a file to load, figure out
19291 what the current file is and use it.
19292
19293 * config/i386-bozo.exp: New file.
19294
19295 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
19296
19297 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
19298 feature.
19299
19300 * config/proelf.exp: New entry.
19301
19302 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
19303
19304 * lib/gdb.exp: Remove spurious .* patterns at the beginning
19305 of regexps.
19306
19307 * gdb.base/watchpoint.exp: Don't run the test_stepping
19308 tests if gdb can't call functions on the target.
19309
19310 * gdb.base/setshow.exp: Don't run the set prompt tests if
19311 the board has gdb_prompt set.
19312
19313 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
19314
19315 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
19316 * gdb.base/commands.exp: Likewise.
19317 * gdb.base/setshow.exp: Likewise.
19318
19319 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
19320
19321 * config/monitor.exp(gdb_start): Look for gdb_prompt target
19322 feature.
19323
19324 * config/i960.exp: New file.
19325
19326 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
19327
19328 * gdb.base/funcargs.exp: Check for gdb,short_int target
19329 feature instead of looking for explicit target triplets.
19330
19331 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
19332
19333 * gdb.base/printcmds.exp: add a couple more tests a la
19334 "p 123DEADBEEF", to check parse_number.
19335 * top.c: change "to enable to enable" to "to enable" in a couple
19336 of help strings.
19337
19338 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
19339
19340 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
19341 on the mn10300.
19342
19343 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
19344
19345 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
19346 where the test executable is run with explicit args.
19347 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
19348
19349 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
19350
19351 * gdb.base/run.c: Use FAKEARGV to build test executable that
19352 does not require a command line arg, since most simulators
19353 don't currently support passing such an arg into the simulated
19354 program.
19355 * gdb.base/commands.exp: Change tests to insert the proper
19356 value as the arg to the first recursive factorial call. Change
19357 compilation line to define FAKEARGV at compile time.
19358
19359 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
19360
19361 * gdb.base/recurse.exp: Enable these tests for the mn10300.
19362 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
19363 function with watchpoint enabled" test.
19364
19365 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
19366
19367 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
19368 Don't call gdb_test when the command doesn't return to a gdb prompt.
19369
19370 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
19371 "Tests restarted" messages.
19372
19373 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
19374
19375 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
19376
19377 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
19378
19379 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
19380 for INFO SYMBOL; add help tests for OVERLAY commands.
19381 * gdb.base/default.exp: add tests for INFO SYMBOL command;
19382 add tests for OVERLAY commands
19383 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
19384 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
19385 * gdb.base/sigall.c: add usestubs code frag
19386 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
19387
19388 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
19389
19390 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
19391 failures.
19392 (gdb_stop_suppressing_tests): Note that tests have restarted.
19393
19394 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
19395
19396 * config/h8300.exp: New file.
19397
19398 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
19399
19400 * gdb.base/setshow.exp: Check for the existence of a
19401 feature, not its value.
19402
19403 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
19404
19405 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
19406
19407 * gdb.base/scope.exp: It's now init0(), not init().
19408
19409 * gdb.base/scope0.c: For now, change init() to be init0().
19410
19411 * config/monitor.exp: Use gdb_serial in preference to serial
19412 or netport.
19413
19414 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
19415 and it's not already set.
19416
19417 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
19418
19419 * gdb.base/setshow.exp: Only test the run command if the target
19420 isn't using a stub and if it supports argument passing.
19421
19422 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
19423
19424 * config/udi.exp(gdb_start): Make sure UDICONF is set
19425 properly before starting gdb.
19426
19427 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
19428
19429 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
19430 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
19431 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
19432
19433 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
19434
19435 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
19436 specialized code to reboot the board, use remote_reboot instead.
19437
19438 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
19439
19440 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
19441
19442 * config/monitor.exp: Make sure we disconnect from the target.
19443 Also, try a reboot/reload cycle instead of failing if the
19444 load fails.
19445
19446 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
19447
19448 * gdb.base/default.exp: Don't set match_max.
19449 * gdb.base/help.exp: Ditto.
19450 * gdb.base/list.exp: Ditto.
19451 * gdb.base/signals.exp: Ditto.
19452
19453 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
19454 set, use remote_ld to download the testcase instead of
19455 the GDB loader.
19456
19457 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
19458
19459 * config/vr5000.exp: New file.
19460
19461 * config/monitor.exp(gdb_target_monitor): Add pattern for
19462 "Ending remote" to detect errors in connecting.
19463
19464 * gdb.base/setshow.exp: Add .* within auto language test.
19465
19466 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
19467 target feature.
19468
19469 * config/monitor.exp(gdb_load): Check for a failure when loading,
19470 and reboot the board if necessary.
19471
19472 * gdb.base/setvar.exp(test_set): Handle multiple prints within
19473 a set of tests. Remove print.* from the patterns being checked.
19474
19475 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
19476
19477 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
19478 refer to gdb_spawn_id.
19479
19480 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
19481 longer used.
19482 * config/sparclet.exp: Ditto.
19483 * config/sparclet-old.exp: Ditto.
19484 * config/slite.exp: Ditto.
19485 * config/sim.exp: Ditto.
19486 * gdb.base/funcargs.exp: Ditto.
19487
19488 * lib/gdb.exp:Remove references to gdb_spawn_id.
19489 (gdb_expect): Move to remote.exp.
19490
19491 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
19492
19493 * config/monitor.exp: Detect the "Couldn't establish connection"
19494 message from GDB.
19495
19496 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
19497
19498 * gdb.base/bitfields.exp: Use runto instead of explicit
19499 gdb_run_cmd/gdb_expect sequences.
19500
19501 * gdb.base/break.exp(text_next_with_recursion): Add match for
19502 gdb_expect call.
19503
19504 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
19505 We also need to handle the "A program is being debugged already"
19506 prompt from gdb. Use gdb_test to set the baud rate.
19507
19508 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
19509 to 20000. Really. I mean it.
19510
19511 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19512
19513 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
19514 fails. If suppress_flag is set, skip perror message about not
19515 being able to send to GDB.
19516 (send_gdb): If suppress_flag is set, don't try to send commands to
19517 GDB.
19518 (gdb_expect): If suppress_flag is set, always fail immediately.
19519 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
19520 (gdb_init): Call gdb_stop_suppressing_tests.
19521 (default_gdb_exit): Ditto.
19522 (default_gdb_start): Ditto.
19523
19524 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
19525 gdb_stop_suppressing_tests as appropriate.
19526 * gdb.base/break.exp: Ditto.
19527 * gdb.base/callfuncs.exp: Ditto.
19528 * gdb.base/commands.exp: Ditto.
19529 * gdb.base/exprs.exp: Ditto.
19530 * gdb.base/funcargs.exp: Ditto.
19531 * gdb.base/list.exp: Ditto.
19532 * gdb.base/recurse.exp: Ditto.
19533 * gdb.base/scope.exp: Ditto.
19534 * gdb.base/structs.exp: Ditto.
19535 * gdb.c++/inherit.exp: Ditto.
19536
19537 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
19538
19539 * config/vr4300.exp: New file.
19540
19541 * gdb.*/*.exp: Call gdb_expect instead of expect.
19542
19543 * lib/gdb.exp(gdb_expect): New function.
19544
19545 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
19546
19547 * lib/gdb.exp(gdb_init): New function.
19548
19549 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
19550 for each individual variable set.
19551
19552 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
19553 name.
19554
19555 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
19556
19557 * gdb.base/scope.exp: Use gdb_test.
19558
19559 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
19560 aborting; the testsuite driver will do that for us (see
19561 gdb_finish). Also, use gdb_test in a few more places.
19562
19563 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
19564
19565 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
19566
19567 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
19568
19569 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
19570 and "add_tests" are not at the same address.
19571
19572 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
19573
19574 * gdb.base/ptype.exp: Use gdb_test.
19575
19576 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
19577
19578 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
19579 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
19580 left in. No longer expect them to fail.
19581
19582 * gdb.stabs/*.mt; Deleted, no longer used.
19583 * gdb.stabs/configure.in: Remove references to target makefile
19584 frags.
19585 * gdb.stabs/configure: Rebuilt.
19586
19587 * gdb.disasm/*.mt: Deleted, no longer used.
19588 * gdb.disasm/configure.in: Remove references to target makefile
19589 frags. Use "sh3.s" as the unique filename for this directory.
19590 * gdb.disasm/configure: Rebuilt.
19591
19592 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
19593 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
19594 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
19595
19596 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
19597
19598 * config/udi.exp: Use mondfe,name instead of remote_host.
19599
19600 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
19601
19602 * gdb.base/watchpoint.exp: Don't expect a failure when calling
19603 a function with a watchpoint enabled on the mn10200.
19604
19605 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
19606 before trying to create it!
19607
19608 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
19609
19610 * config/vx.exp: Use hostname instead of netport.
19611
19612 * config/vxworks.exp: New file.
19613
19614 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
19615
19616 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
19617 gdb before assuming everything worked. Send a ^C if a timeout
19618 occurs.
19619
19620 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
19621 $gdb_spawn_id directly.
19622 (gdb_run_cmd): Try _start as well as start. Use the target feature
19623 gdb,start_symbol as the symbol to start from when jumping.
19624
19625 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
19626
19627 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
19628 redundant) test.
19629
19630 * gdb.base/recurse.exp: Relax final value test for 'b' so that
19631 it doesn't lose for 16bit integer systems.
19632
19633 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
19634
19635 * gdb.fortran/types.exp: If the target doesn't support "double"
19636 data types, then expect "real" types to only be 4 bytes.
19637
19638 * gdb.c++/virtfunc.exp: Expect failure for virtual function
19639 call tests if the target doesn't support inferior function calls.
19640
19641 * gdb.base/printcmds.exp: Allow minor deviation in FP values
19642 in printf tests.
19643
19644 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
19645
19646 * gdb.base/help.exp: Disable "help set", "help show", and
19647 "help support". Simplify regexp for "help stack".
19648
19649 * gdb.base/default.exp: Set match_max to 5000 and the timeout
19650 to 60 seconds. Temporarily set match_max to 15000 around the
19651 "info copying" test.
19652
19653 * gdb.base/nodebug.exp: Don't try to do an inferior function
19654 call if the target doesn't support them.
19655 * gdb.base/printcmds.exp: Likewise.
19656 * gdb.base/setvar.exp: Likewise.
19657 * gdb.base/structs.exp: Likewise.
19658 * gdb.c++/templates.exp: Likewise.
19659 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
19660
19661 * gdb.base/recurse.exp: Enable for the mn10200.
19662
19663 * configure.in: Do configure gdb.stabs directory for *-*-elf
19664 targets.
19665 * configure: Rebuilt.
19666
19667 * gdb.base/break.exp: Check for gdb,noresults before testing
19668 exit status and/or results from the target.
19669 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
19670 * lib/gdb.exp: Remove old (now bogus) initialization of
19671 noinferior, noargs, noresults and nosignals.
19672
19673 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
19674
19675 * config/sh.exp: New file.
19676
19677 * config/slite.exp: Try to connect multiple times to the board
19678 before rebooting. Only send a "monitor run" if need_monitor_run
19679 is set.
19680
19681 * gdb.base/break.exp: Don't do the "stub continue" test if
19682 the target has gdb_stub set.
19683
19684 * gdb.base/callfuncs.exp: Increase the timeout.
19685
19686 * gdb.base/interrupt.exp: Don't even try to compile the testcase
19687 if the target has gdb,noinferiorio set.
19688
19689 * gdb.base/list.exp: Increase match_max to 10000 characters.
19690
19691 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
19692
19693 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
19694 target.
19695
19696 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
19697
19698 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
19699
19700 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
19701 trying to delete the copy of gdb. Catch the file delete so we
19702 don't die if the delete fails; also, the file should be copied to
19703 the host, not to the build.
19704
19705 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
19706
19707 * lib/gdb.exp(gdb_test): Surround the result pattern with
19708 parenthesis in case it contains multiple regexps separated
19709 with |.
19710
19711 * gdb.base/watchpoint.exp: Use gdb_test.
19712 * gdb.base/default.exp: Ditto.
19713
19714 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
19715
19716 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
19717
19718 * gdb.base/scope.exp: Use gdb_test.
19719 * gdb.c++/classes.exp: Ditto.
19720 * gdb.c++/inherit.exp: Ditto.
19721
19722 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
19723
19724 * gdb.base/crossload.exp: Don't use execute_anywhere, use
19725 remote_exec instead.
19726 * gdb.base/corefile.exp: Don't be ridiculous.
19727 * gdb.base/*.c: Add missing stub invocations.
19728
19729 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
19730
19731 * config/slite.exp: Miscellaneous fixes.
19732
19733 * lib/gdb.exp: Fix runto.
19734
19735 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
19736 the target.
19737
19738 * gdb.base/watchpoint.exp: Fix regexp.
19739
19740 * lib/gdb.exp(default_gdb_exit): Add a catch to the
19741 close and wait commands, as the descriptor may now be
19742 invalid. Always call "remote_close host".
19743
19744 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
19745
19746 Major rewrite for testsuite revision.
19747
19748 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
19749 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
19750 instead of relying on spawn_id to always contain a valid
19751 spawn id.
19752 (get_compiler_info): New procedure to build the ${binfile}.ci
19753 file, instead of replicating this in N different places.
19754 (gdb_compile): New procedure.
19755
19756 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
19757 appropriate arguments) instead of compile. Use gdb_test in a lot
19758 more places. Use send_gdb instead of send. Always run gdb_start
19759 at the start of a testcase, as this is no longer done magically.
19760
19761 config/*-gdb.exp: Rename without the -gdb suffix.
19762
19763 config/mips.exp: Use remote_close instead of exit_remote_shell.
19764 config/monitor.exp: Use target_info instead of looking at
19765 baud, timeout, etc.
19766 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
19767
19768 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19769
19770 * gdb.c++/templates.exp (test_ptype_of_templates),
19771 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
19772 Update expect patterns for destructors and assignment operators
19773 to match corresponding c-typeprint.c changes.
19774 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
19775 to destructor breakpoint test, GDB should be able to set the
19776 destructor breakpoint without specifying arguments.
19777
19778 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
19779
19780 * gdb.threads/pthreads.exp: Change result for failure to compile due
19781 to lack of pthreads runtime support from an error to simply an
19782 unsupported test, per dejagnu standards.
19783
19784 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19785
19786 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
19787 where GDB exits to reduce pattern match time.
19788 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
19789
19790 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
19791
19792 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
19793
19794 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
19795 * gdb.base/default.exp: ditto.
19796 * gdb.base/nodebug.exp: ditto.
19797 * gdb.base/printcmds.exp: ditto.
19798 * gdb.base/ptype.exp: ditto.
19799 * gdb.base/setvar.exp: ditto.
19800 * gdb.base/structs.exp: ditto.
19801 * gdb.base/setshow.c: Guard against uninitialized values of argc.
19802
19803 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
19804
19805 * configure, */configure: Rebuild with autoconf 2.12.
19806
19807 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
19808
19809 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
19810 use new i*86-pc-linux*-gnu quads.
19811 * gdb.base/corefile.exp: Ditto.
19812 * gdb.base/signals.exp: Ditto.
19813 * gdb.base/sigall.exp: Ditto.
19814 * gdb.base/interrupt.exp: Ditto.
19815
19816 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
19817 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
19818 RedHat 4.0.
19819
19820 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
19821 linux. This allows the test case to at least compile on latest
19822 linux, but still not run due to missing the threads runtime library.
19823
19824 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19825
19826 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
19827 directory to search gdb directory. Accept and step over conditional
19828 stack alignment code. Consume $prompt in failure cases.
19829 Reset timeout to $oldtimeout instead of some arbitrary value.
19830 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
19831 timeout problems with infinite stack backtraces.
19832 * gdb.base/ptype.exp (ptype struct link, union tu_link):
19833 Accept function parameters for linkfunc member.
19834
19835 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
19836
19837 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
19838 (CXXFLAGS): Remove, unreferenced.
19839 (B_OPTIONS): Add for -B options and add code to initialize with
19840 previous -B options and also add -B option to pick up cross compiled
19841 runtime.
19842 (TARGET_INCLUDES): Add for -I options and add code to initialize when
19843 doing cross compiles.
19844 (target_alias): Declare global.
19845 (xgcc): Set variable to full path of gcc in build tree. Use findfile
19846 to verify that gcc exists in build tree, and if so set CC to that
19847 gcc and to use B_OPTIONS and TARGET_INCLUDES.
19848
19849 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
19850
19851 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
19852 ptype test for anonymous union. Fixup testcase to match
19853 current gcc debug output.
19854
19855 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
19856
19857 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
19858 force argument to an unsigned long type.
19859
19860 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
19861
19862 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
19863 tests and anonymous union print/ptype tests.
19864 * gdb.base/list.exp (test_forward-search): Increase timeout by
19865 5 minutes for the "search extremely long line" case.
19866 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
19867 completely optional and that the pass/fail messages use the command as
19868 the message if that third arg is a null string.
19869 (gdb_test_exact): Arrange that a null string pattern means match a
19870 null string output rather than any output, which might include random
19871 errors.
19872 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
19873 backtrace test.
19874 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
19875 always failing and failure is now exposed by gdb.exp changes.
19876
19877 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
19878
19879 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
19880 weren't being noted.
19881
19882 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19883
19884 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
19885 * gdb.stabs/weird.exp: Remove v_comb xfails.
19886
19887 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
19888
19889 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
19890 list.exp scope.exp watchpoint.exp]
19891 Make all timeout error msgs explicitly say "(timeout)".
19892
19893 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
19894
19895 * config/monitor.exp: Increase download timeout to 1000 seconds.
19896
19897 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
19898
19899 * config/m32r.exp: Increase timeout to 120 seconds.
19900
19901 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
19902
19903 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
19904 and accept older ordering as obsolescent gcc or gdb.
19905 * gdb.c++/templates.exp: Ditto.
19906 * gdb.c++/virtfunc.exp: Ditto.
19907
19908 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
19909
19910 * gdb.base/coremaker.c: Add code to mmap some data so we
19911 can check that it ends up in the core file.
19912 * gdb.base/corefile.exp: Add test to read mmapped data
19913 from core file.
19914
19915 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
19916
19917 * config/m32r.exp: New file.
19918
19919 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
19920
19921 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
19922 that cflags can contains -gstabs, and work correctly for other tests.
19923
19924 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
19925
19926 * gdb.base/setshow.exp: New file, tests show and set.
19927 * gdb.base/setshow.c: New file, tests show and set.
19928 * gdb.base/help.exp: Add test for help set|show annotate.
19929 * gdb.base/default.exp: Add test for set|show annotate.
19930
19931 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
19932
19933 * testsuite/gdb.base/break.exp: Make backtrace from factorial
19934 errors unique.
19935 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
19936 explicitly.
19937
19938 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
19939
19940 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
19941 and width commands. This is done elsewhere.
19942 * (gdb_start): Don't call gdb_start_sim here. That's already
19943 done in gdb_load. This fixes lots of failures in default.exp.
19944
19945 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
19946
19947 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
19948 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
19949 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
19950 in the same we we treat other failures (since it may be an expected
19951 condition), rather than as an error.
19952 * gdb.base/signals.exp (test_handle_all_print): Revert back to
19953 old test format.
19954
19955 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
19956
19957 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
19958 (distclean maintainer-clean realclean): No need to remove files
19959 twice. Nuke the duplicates.
19960 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
19961 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
19962 Remove config.h along with other config files.
19963
19964 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
19965
19966 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
19967 "p func1 ()" and note that rests of tests are skipped.
19968 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
19969 setup_xfails for "print func2::coremaker_local".
19970 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
19971 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
19972 affected by the previous run test.
19973 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
19974 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
19975 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
19976 "pass int powerset tuple" and "pass modeless int powerset tuple".
19977 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
19978 "real write 4" and "real write 8".
19979 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
19980 setup_xfails for "print vs1 after tuple assign 2",
19981 "print \$i after tuple assign 2", and
19982 "print vs2 after tuple assign 2".
19983 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
19984 meaningful error message and return -1 so the caller can
19985 suppress further tests and avoid a cascade of errors.
19986
19987 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
19988
19989 * gdb.base/a1-selftest.exp: Tweak tests to account for new
19990 format for printing version.
19991 * gdb.base/default.exp: Ditto.
19992 * gdb.base/interrupt.exp: Fix problem with cascade of
19993 errors if child process dies while calling a function.
19994
19995 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
19996
19997 * Makefile.in (VPATH): Add
19998 * Makefile.in (Makefile, config.status): Fix rules so things get
19999 remade when necessary.
20000
20001 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
20002
20003 * Makefile.in (just-check): Add path to sibling expect dir
20004 to environment variable specified by RPATH_ENVVAR.
20005
20006 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
20007
20008 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
20009 (just-check): Add shared library paths for libstdc++, tk,
20010 tcl, bfd, and opcodes to the environment variable specified
20011 in RPATH_ENVVAR.
20012 * configure.in: Add support to recognize --enable-shared flag
20013 and generate correct value for RPATH_ENVVAR.
20014 * configure: Regenerated with autoconf.
20015
20016 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
20017
20018 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
20019 include all osf versions.
20020 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
20021 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
20022 when target is linux. When failing to build pthreads test
20023 executable, give more meaningful message.
20024 * gdb.threads/pthreads.c: Hpux also uses old definition of second
20025 arg for pthread_create.
20026
20027 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
20028
20029 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
20030 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
20031 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
20032 and -lpthreads (everybody else).
20033 (test_startup): Fail gracefully if threads are not supported.
20034 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
20035 "p/c array_index("abcdef",2)" when not gcc compiled.
20036 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
20037 "print func2::coremaker_local" when not gcc compiled.
20038 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
20039 "ptype on opaque struct tagname (statically)",
20040 "ptype on opaque struct tagname (dynamically) 1", and
20041 "ptype on opaque struct tagname (dynamically) 2"
20042 for not compiled with gcc.
20043 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
20044 backtrace when compiled with gcc.
20045 * lib/gdb.exp (runto_main): Return result of "runto main" rather
20046 than always return success.
20047
20048 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
20049
20050 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
20051
20052 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
20053
20054 * gdb.base/structs.exp: Undo last change.
20055
20056 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
20057
20058 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
20059 encapsulate all the steps/nexts done during self test, starting
20060 at main, and makes them less sensitive to optimization issues.
20061 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
20062 signal handler" test.
20063 * gdb.threads/pthreads.exp: Only run this for native configs.
20064 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
20065 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
20066 tests.
20067 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
20068 for "runto test_calls(void)" test.
20069
20070 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
20071
20072 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
20073 and don't expect address info in breakpoint confirmations.
20074
20075 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
20076
20077 * gdb.base/list.exp (test_forward_search): Increase timeout
20078 temporarily by 60 seconds for searching extremely long line,
20079 and then reset to old value when done. Increase expect input
20080 buffer to 10000.
20081
20082 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
20083
20084 * gdb.base/list.exp (test_forward_search): Fix to handle very
20085 long source line without overflowing expect's input buffer.
20086
20087 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
20088
20089 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
20090 "buffer_full".
20091
20092 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
20093 "buffer_full".
20094
20095 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
20096 "buffer_full".
20097
20098 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
20099 "buffer_full".
20100
20101 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
20102
20103 * configure.in (configdirs): Add gdb.threads.
20104 * configure: Regenerated with autoconf.
20105 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
20106 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
20107 * gdb.threads/configure: New, generated with autoconf.
20108
20109 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
20110
20111 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
20112
20113 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
20114
20115 * gdb.base/signals.exp (test_handle_all_print): Test separately for
20116 each signal's status in the output of "handle all print".
20117 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
20118 the \r\n sequence that immediately precedes the gdb prompt.
20119 * gdb.base/a1-selftest.exp: Save original timeout and restore
20120 after test.
20121
20122 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
20123
20124 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
20125 symbol.
20126
20127 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
20128
20129 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
20130
20131 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
20132
20133 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
20134 timeout by 60 seconds.
20135
20136 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
20137
20138 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
20139 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
20140 error return.
20141
20142 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
20143
20144 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
20145 gdb initialization, also report how long dejagnu waited. Restore
20146 old timeout before doing error return. Temporarily increase timeout
20147 by 3 minutes to allow for slow startups over heavy NFS use.
20148
20149 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
20150
20151 * lib/gdb.exp: Report timeout value for verbosity level 2.
20152 * config/gdbserver.exp: Ditto.
20153 * config/hppro.exp: Ditto.
20154 * config/mips-gdb.exp: Ditto.
20155 * config/monitor.exp: Ditto.
20156 * config/netware.exp: Ditto.
20157 * config/sim-gdb.exp: Ditto.
20158 * config/slite-gdb.exp: Ditto.
20159 * config/udi-gdb.exp: Ditto.
20160 * config/unix-gdb.exp: Ditto.
20161 * config/vx-gdb.exp: Ditto.
20162 * gdb.base/a1-selftest.exp: Ditto.
20163 * gdb.base/a2-run.exp: Ditto.
20164 * gdb.base/break.exp: Ditto.
20165 * gdb.base/corefile.exp: Ditto.
20166 * gdb.base/list.exp: Ditto.
20167 * gdb.base/recurse.exp: Ditto.
20168 * gdb.base/scope.exp: Ditto.
20169 * gdb.base/signals.exp: Ditto.
20170
20171 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20172
20173 * gdb.threads/Makefile.in (docdir): Removed.
20174
20175 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20176
20177 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
20178 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
20179 @srcdir@.
20180 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
20181 autoconf 2.5 or higher.
20182 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20183
20184 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20185
20186 * configure: Regenerated.
20187 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20188 avoid name clashes with SunOS headers.
20189
20190 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20191
20192 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20193
20194 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20195
20196 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20197 prototype information ends up in the compiler info file.
20198
20199 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20200
20201 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20202 attempting to regenerate it. Eliminate use of a temporary file
20203 and just generate the info file directly. Source it immediately,
20204 for consistency of use.
20205 * gdb.base/corefile.exp: Ditto
20206 * gdb.base/exprs.exp: Ditto.
20207 * gdb.base/funcargs.exp: Ditto.
20208 * gdb.base/langs.exp: Ditto.
20209 * gdb.base/list.exp: Ditto.
20210 * gdb.base/mips_pro.exp: Ditto.
20211 * gdb.base/nodebug.exp: Ditto.
20212 * gdb.base/opaque.exp: Ditto.
20213 * gdb.base/ptype.exp: Ditto.
20214 * gdb.base/scope.exp: Ditto.
20215 * gdb.base/setvar.exp: Ditto.
20216 * gdb.base/signals.exp: Ditto.
20217 * gdb.base/whatis.exp: Ditto.
20218 * gdb.c++/templates.exp: Ditto.
20219 * gdb.c++/virtfunc.exp: Ditto.
20220 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
20221 whether or not to add -lstdc++ to the compile command line args.
20222
20223 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20224
20225 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
20226 it got fixed by the recent lookup_minimal_symbol_by_pc change.
20227 Increase timeout, a lot of single stepping might be needed if the
20228 target has no hardware watchpoints.
20229
20230 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
20231
20232 * gdb.base/break.exp: Ignore compiler warnings when compiling
20233 break.c.
20234 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
20235 * gdb.base/default.exp: Add h8300 xfails. Handle messages
20236 from remote-sim.
20237 * gdb.base/exprs.exp: Add h8300 xfails.
20238 * gdb.base/funcargs.exp: Likewise.
20239 * gdb.base/nodebug.exp: Likewise.
20240 * gdb.base/printcmds.exp: Likewise.
20241 * gdb.base/ptype.exp: Likewise.
20242 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
20243 h8300 xfails.
20244 * gdb.base/return.exp: Handle float/double precision problems
20245 on the h8300.
20246 * gdb.base/funcargs.c: Explicitly make last constant argument to
20247 call_after_alloca_subr an unsigned long type.
20248 * gdb.base/return.c: Include stdio.h.
20249
20250 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
20251
20252 * config/abug.exp: New file for the older Motorola Bug monitor
20253 that runs on the mvme13x series VME boards.
20254 * config/monitor.exp: Use the new config array for target settings
20255 if they exist.
20256
20257 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
20258
20259 * sim-gdb.exp: Make the SH simulator allocate less space when
20260 it is targeted.
20261
20262 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
20263
20264 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
20265 test.
20266
20267 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
20268
20269 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
20270 "rs6000-*-*" for "list function in include file" when gcc compiled.
20271 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
20272 for "p ctable1[120]".
20273 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
20274 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
20275 Remove setup_xfail for "rs6000-*-*" for
20276 "print 'scope0.c'::filelocal before run".
20277 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
20278 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
20279 since some compilers don't allow both options to be given
20280 on the same command line. Create object file and move it.
20281
20282 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
20283
20284 * gdb.base/corefile.exp: Always regenerate the core file, since
20285 we always regenerate the coremaker program. Detect special case
20286 where registers cannot be read from core file.
20287
20288 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
20289
20290 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
20291 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
20292 * gdb.c++/templates.exp: Only match on basename of file since
20293 some formats like xcoff don't encode directory information.
20294 * gdb.stabs/weird.exp: Use the right sed script for powerpc
20295 and rs6000 AIX xcoff targets.
20296 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
20297 * configure: Regenerate.
20298 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
20299 here, rather than in distclean.
20300
20301 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
20302
20303 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
20304 defined, and use it to compile the test case with -O2. The
20305 native compilation still uses no optimization.
20306 * gdb.base/mips_pro.c: Remove inline assembly code since
20307 it is compiled PIC by default, which results in assembler
20308 warnings that make the testsuite think the compilation
20309 was unsuccessful.
20310
20311 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
20312
20313 * gdb.c++/misc.exp: Add note to message for
20314 "print s.a for foo struct" that this is a known gcc 2.7.2
20315 and earlier bug.
20316
20317 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
20318
20319 * gdb.base/break.exp: Fix pattern for matching "Delete all
20320 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
20321 setup_xfail for deleting all breakpoints test. Fix various
20322 timeout messages to include "(timeout)".
20323 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
20324 for "p t_float_values2(3.14159,float_val2)".
20325 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
20326 for "continue to call2g" when gcc compiled.
20327 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
20328 "up to foo in langs.exp", "show language at foo in langs.exp",
20329 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
20330 and "show language at fsub in langs.exp".
20331 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
20332 "list line 1 in include file", "list message for lines past EOF",
20333 "list function in include file", "list list0.h:foo", and
20334 "list filename:function; nonexistant function".
20335 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
20336 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
20337 and "ptype t_char_array" to be for native cc only.
20338
20339 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
20340
20341 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
20342 setup_xfail for "print coremaker_bss", "print coremaker_ro",
20343 "print func2::coremaker_local", and "backtrace in corefile.exp".
20344
20345 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
20346
20347 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
20348 "bt in signals.exp". This problem only appears when running
20349 the testsuite, and then only intermittently.
20350
20351 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
20352
20353 * gdb.base/return.exp (return_tests): Differentiate between
20354 two tests of continuing.
20355
20356 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
20357
20358 * */Makefile.in (maintainer-clean): Remove config.log.
20359 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
20360 * gdb.c++/Makefile.in (PROGS): Add inherit.
20361 (clean): Remove *.ci.
20362
20363 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
20364
20365 * gdb.c++/misc.cc: Add test code from Mike Stump.
20366 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
20367
20368 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
20369
20370 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
20371 to "alpha-*-osf2*" and add comment.
20372 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
20373 setup_xfail for "step over execarg initialization" and
20374 "step over corearg initialization".
20375 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
20376 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
20377 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
20378 gcc compiled for "print coremaker_bss", "print coremaker_ro",
20379 "print func2::coremaker_local", and "backtrace in corefile.exp".
20380 * gdb.base/signals.exp: Build and source signals.ci.
20381 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
20382 to be for gcc only.
20383 * lib/gdb.exp: Move verbose statements outside conditionals.
20384
20385 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20386
20387 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
20388 Feb 3 procfs.c change.
20389
20390 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
20391
20392 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
20393
20394 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
20395
20396 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
20397 from dejagnu's apparent default of 10 seconds, which gives random
20398 results when running the tests over NFS on moderately loaded systems.
20399 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
20400
20401 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
20402
20403 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
20404 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
20405 result reports.
20406
20407 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
20408
20409 * configure.in (CY_AC_PATH_TCLH): Remove.
20410 * configure: Regenerate.
20411
20412 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
20413
20414 * gdb.c++/Makefile.in (clean): Add missing '{'.
20415
20416 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
20417
20418 * lib/gdb.exp: Provide a default value for noinferior.
20419
20420 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
20421 Load libgloss.exp.
20422
20423 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
20424
20425 * gdb.disasm/hppa.exp: Compile directly into an executable, use
20426 the executable, not the .o to run the tests from.
20427
20428 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
20429
20430 * gdb.base/break.exp: Don't test for program exit or exit status
20431 if $noresults if nonzero.
20432 * gdb.base/langs.exp: Likewise.
20433 * gdb.base/watchpoint.exp: Likewise.
20434
20435 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
20436 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
20437 trying to compile the testcase.
20438
20439 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
20440
20441 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
20442 * gdb.base/signals.exp (continue to handler): Likewise.
20443
20444 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
20445
20446 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
20447
20448 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
20449
20450 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
20451
20452 * gdb.base/corefile.exp: Recognize "not found" as failure
20453 when trying to determine if a core file was generated.
20454 If no core file was generate the first time, try again without
20455 the ulimit -c to work around braindamaged shells.
20456
20457 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
20458
20459 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
20460 [] tests with "test" and enclose string in quotes.
20461 * gdb.stabs/configure: Rebuild
20462
20463 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
20464
20465 Changes in sync with expect:
20466 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
20467 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
20468 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
20469 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
20470 argument to AC_REQUIRE.
20471 * configure: Regenerated.
20472
20473 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
20474
20475 * gdb.base/corefile.exp: When generating a core, discard any
20476 error messages about ulimit not found and the "core dumped"
20477 message from the shell that runs the coredumper.
20478
20479 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
20480
20481 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
20482
20483 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
20484 which sed script to run. Expect failure for v_comb test
20485 on PA targets too.
20486
20487 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
20488
20489 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
20490 "print func2::coremaker_local" and for "backtrace in corefile.exp"
20491
20492 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
20493
20494 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
20495 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
20496 "sparc-sun-solaris*" xfails for "p v_comb".
20497 * lib/gdb.exp (default_gdb_start): Fix typo.
20498 * gdb.base/corefile.exp: Allow "Core was generated by ..."
20499 messages to not include the full program name that caused
20500 the core dump since some systems (such as solaris) apparently
20501 truncate this path to about 80 characters.
20502 When generating a core file first try increasing the core file
20503 size limit to unlimited since some systems may default it to
20504 zero, and it is harmless to try it. Move the test for failing
20505 to generate a core file to where it will actually get executed.
20506 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
20507 new gdb result from g++ debug info improvements and make old
20508 pattern obsolescent. Also account for size_t differences
20509 (may be int or long).
20510 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
20511 initialization before function call is placed in the delay slot
20512 and thus appears to be skipped over by commands such as "next".
20513
20514 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
20515
20516 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
20517
20518 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
20519
20520 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
20521 input source file; fix code to compile test to deal with this
20522 convention.
20523 * gdb.c++/*.exp: Likewise.
20524
20525 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
20526
20527 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
20528 "bt in signals.exp".
20529
20530 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
20531
20532 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
20533 "step over execarg initialization" and
20534 "step over corearg initialization".
20535
20536 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
20537
20538 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
20539 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
20540
20541 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
20542
20543 From Rob Savoye (rob@poseidon.cygnus.com)
20544 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
20545 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
20546 configure.in}, gdb.disasm/{Makefile.in, configure.in},
20547 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
20548 configure.in}: Major reworking for autoconfig.
20549 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
20550 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
20551 New files.
20552 * config/unix-gdb.exp: Make GDB global.
20553 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
20554 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
20555 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
20556 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
20557 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
20558 term.exp, twice.exp, watchpoint.exp, whatis.exp},
20559 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
20560 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
20561 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
20562 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
20563 pr-8136.exp, result.exp, string.exp, tuples.exp},
20564 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
20565 to returns as necessary, arrange for test to compile own testcase
20566 executable.
20567 * lib/gdb.exp: Changes for testsuite to compile own test cases.
20568
20569 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
20570
20571 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
20572 clear_xfail at end of test which might not call either pass or fail.
20573 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
20574 "backtrace through signal handler".
20575
20576 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20577
20578 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
20579 continuing from a job control stop signal.
20580 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
20581
20582 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
20583
20584 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
20585 * gdb.base/corefile.exp: Likewise.
20586 * gdb.base/funcargs.exp: Likewise.
20587
20588 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
20589
20590 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
20591 * config/monitor.exp: Add support for setting baud rate.
20592
20593 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
20594
20595 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
20596 i*86-*-linux* xfails for "backtrace through signal handler".
20597 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
20598 "print func2::coremaker_local".
20599 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
20600 alpha-dec-osf2* xfail for
20601 "delete all breakpoints when none".
20602
20603 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
20604
20605 * gdb.base/break.exp: Change test that deletes all breakpoints
20606 when no user breakpoints are installed. A post 4.15 change
20607 causes gdb to no longer prompt in this case.
20608
20609 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
20610
20611 * gdb.base/return.exp (return_tests): Change xfail for test
20612 "correct value returned double test" to stop xfailing at
20613 Solaris 2.5. Apparently the bug has been fixed.
20614
20615 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
20616
20617 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
20618 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
20619
20620 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
20621
20622 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
20623 * gdb.disasm/hppa.s: Corresponding changes.
20624
20625 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
20626
20627 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
20628 makefile fragment.
20629 * config/mt-hpux: Deleted.
20630
20631 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
20632
20633 * Many files: When warning about suppressed tests due to a
20634 nonexistant test binary, avoid incrementing the warning count.
20635
20636 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
20637
20638 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
20639
20640 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20641
20642 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
20643 "sparc-*-solaris2*".
20644
20645 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20646
20647 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
20648 Add global and local variables and initialize them.
20649 * gdb.base/corefile.exp: Test correct mapping of corefile sections
20650 by printing variables. Remove rs6000 and powerpc xfails, BFD now
20651 extracts the file name and terminating signal from the core file.
20652 * TODO: Remove note about tests for correct mapping of corefile.
20653 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
20654 from optimizing it away.
20655 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
20656 handles common blocks.
20657
20658 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
20659
20660 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
20661 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
20662
20663 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
20664
20665 * Makefile.in (maintainer-clean): New target, synonym for
20666 realclean.
20667 * gdb.base/Makefile.in (maintainer-clean): Likewise.
20668 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
20669 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
20670 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
20671 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
20672 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
20673
20674 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
20675
20676 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
20677 xfails when not gcc compiled for "print foo::funclocal".
20678 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
20679 "print foo::funclocal at foo",
20680 "print 'scope1.c'::foo::funclocal at foo",
20681 "print foo::funclocal_bss at foo",
20682 "print 'scope1.c'::foo::funclocal_bss at foo",
20683 "print foo::funclocal_ro at foo",
20684 "print 'scope1.c'::foo::funclocal_ro at foo",
20685 "print bar::funclocal at foo" and
20686 "print 'scope1.c'::bar::funclocal at foo".
20687 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
20688 gcc compiled for "print foo::funclocal at bar".
20689 Expand all messages to ensure that they identify that
20690 the test is at bar().
20691 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
20692 gcc compiled for:
20693 "ptype on opaque struct pointer (statically)",
20694 "ptype on opaque struct tagname (statically)",
20695 "ptype on opaque struct pointer (dynamically) 1",
20696 "ptype on opaque struct tagname (dynamically) 1",
20697 "ptype on opaque struct pointer (dynamically) 2" and
20698 "ptype on opaque struct tagname (dynamically) 2
20699 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
20700 gcc compiled for:
20701 "p datalocal"
20702 "whatis datalocal",
20703 "ptype datalocal",
20704 "p bsslocal",
20705 "whatis bsslocal", and
20706 "ptype bsslocal".
20707 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
20708 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
20709 when not gcc compiled.
20710 * gdb.base/funcargs.exp (float_and_integral_args): Add
20711 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
20712 compiled.
20713 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
20714 "backtrace from call6a" when not gcc compiled.
20715 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
20716 "backtrace from call7a" when not gcc compiled.
20717 * gdb.base/callfuncs.exp (do_function_calls):
20718 Add "hppa*-*-hpux*" xfail when not gcc compiled for
20719 "p t_char_array_values(char_array_val2,char_array_val1)",
20720 "p t_char_array_values(char_array_val1,char_array_val2)",
20721 "p t_char_array_values("carray 1","carray 2")",
20722 "p t_char_array_values("carray 1",char_array_val2)",
20723 "p t_char_array_values(char_array_val1,"carray 2")",
20724 "p sum_args(1,{2})",
20725 "p sum_args(2,{2,3})",
20726 "p sum_args(3,{2,3,4})",
20727 "p sum_args(4,{2,3,4,5})"
20728 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
20729 "backtrace in corefile.exp" when not gcc compiled.
20730
20731 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20732
20733 * gdb.base/signals.exp: Rewrite `handle all print' test as
20734 a procedure. Accept blanks or TABs as whitespace, increase
20735 timeout and expect input buffer size for the large output
20736 from the command. Remove "i*86-*-bsdi2.0" xfail.
20737
20738 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20739
20740 * gdb.base/setvar.exp: Add new testcases for truncation when
20741 assigning invalid values to bitfields.
20742
20743 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
20744
20745 * gdb.base/callfuncs.exp (do_function_calls): Remove
20746 mips-sgi-irix* xfail for
20747 "call inferior func with struct - returns char *"
20748 and fix test so that an optional (unsigned char *) cast is
20749 accepted in the result.
20750
20751 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
20752
20753 * gdb.base/funcargs.exp (float_and_integral_args): Remove
20754 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20755 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
20756 * gdb.base/signals.exp: Remove duplicate "handle all print" test
20757 that accidentally got checked in.
20758
20759 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
20760
20761 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
20762 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
20763 compiled test.
20764 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
20765 Add mips-sgi-irix5* xfail for not gcc compiled.
20766 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
20767 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
20768 "p top", "whatis top", "p middle", and "whatis middle".
20769 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
20770 "whatis signed char" for not gcc compiled.
20771 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
20772 "set variable signed char=-1 (-1)" and
20773 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
20774 * gdb.base/funcargs.exp (float_and_integral_args):
20775 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
20776 Add mips-sgi-irix* xfail when not gcc compiled for
20777 "continue to call2b".
20778 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
20779 "continue to call2g".
20780 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
20781 "backtrace from call6a"
20782 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
20783 "backtrace from call7k".
20784 Add mips-sgi-irix5* xfail when not gcc compiled for
20785 "backtrace from call7a".
20786 (localvars_after_alloca): Fix gdb_test cmds for
20787 "print * after runto ...".
20788 Remove rs6000-*-* xfails for
20789 "print i after runto localvars_after_alloca" and
20790 "print l after runto localvars_after_alloca"
20791 for all compilers.
20792 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
20793 when not compiled with gcc, for:
20794 "print signed char == (minus)",
20795 "print signed char != (minus)",
20796 "print signed char < (minus)",
20797 "print signed char > (minus)".
20798 * gdb.base/callfuncs.exp (do_function_calls):
20799 Add mips-sgi-irix* xfail, when compiled with native compiler, for
20800 "call inferior func with struct - returns char *".
20801 * gdb.base/return.exp (return_tests): Change xfail for
20802 "correct value returned double test" to include Solaris 2.4.
20803 * gdb.base/funcargs.exp (float_and_integral_args):
20804 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20805
20806 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20807
20808 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
20809 enumeration bitfields if compiling with GNU C.
20810 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
20811 to empty' prompt.
20812
20813 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
20814
20815 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
20816 test for PRO targets.
20817
20818 * gdb.base/funcargs.exp: Avoid ever setting more than 8
20819 breakpoints in the inferior at any given time by making
20820 two groups of breakpoints for call2*, call6* and call7*
20821 tests.
20822
20823 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20824
20825 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
20826 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
20827 from optimizing it away.
20828 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
20829 "call inferior func with struct".
20830
20831 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
20832
20833 * configure.in: Only configure gdb.chill for particular targets.
20834
20835 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
20836
20837 * gdb.base/Makefile.in: Add action to .c.o transformation
20838 rule that generates a .ci file for each .o file and remove
20839 explicit .c.o rules except for callfuncs.o.
20840 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
20841 generates a .ci file for each .o file and remove explicit
20842 .cc.o rules.
20843 (clean): Remove *.tmp *.ci files.
20844 (EXECUTABLES): Remove templ-info.exp.
20845 * gdb.base/compiler.c: New file.
20846 * gdb.c++/compiler.cc: New file
20847 * gdb.base/scope.exp: Source gdb.base/scope.ci.
20848 Change rs6000-*-* xfail for
20849 "print 'scope0.c'::filelocal_ro" and
20850 "print 'scope1.c'::filelocal" and
20851 "print 'scope1.c'::filelocal_bss" and
20852 "print 'scope1.c'::filelocal_ro" and
20853 "print 'scope1.c'::foo::funclocal" and
20854 "print 'scope1.c'::foo::funclocal_ro" and
20855 "print 'scope1.c'::bar::funclocal" and
20856 "print 'scope0.c'::filelocal_ro" and
20857 "print 'scope1.c'::filelocal at foo" and
20858 "print 'scope1.c'::filelocal_bss at foo" and
20859 "print 'scope1.c'::filelocal_ro at foo" and
20860 "print 'scope1.c'::foo::funclocal at foo" and
20861 "print 'scope1.c'::foo::funclocal_bss at foo" and
20862 "print 'scope1.c'::foo::funclocal_ro at foo" and
20863 "print 'scope1.c'::bar::funclocal at foo" and
20864 "print 'scope0.c'::filelocal_ro" and
20865 "print 'scope1.c'::filelocal" and
20866 "print 'scope1.c'::filelocal_bss" and
20867 "print 'scope1.c'::filelocal_ro" and
20868 "print 'scope1.c'::foo::funclocal" and
20869 "print 'scope1.c'::foo::funclocal_bss" and
20870 "print 'scope1.c'::foo::funclocal_ro" and
20871 "print 'scope1.c'::bar::funclocal" and
20872 "print 'scope1.c'::bar::funclocal_bss"
20873 to only be xfail'd when not compiled with gcc.
20874 Add rs6000-*-* xfail for
20875 "print 'scope0.c'::filelocal_bss before run"
20876 when compiled with gcc.
20877 (test_at_main): Add rs6000-*-* xfail for
20878 "print filelocal_ro in test_at_main"
20879 when compiled with gcc.
20880 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
20881 Add rs6000-*-aix* xfail for
20882 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
20883 "ptype t_char_array", not compiled with gcc.
20884 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
20885 xfail for "list foo (in include file)" when gcc compiled.
20886 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
20887 (integral_args): Add rs6000-*-* xfail for
20888 "run to call0a" if not compiled with gcc.
20889 (unsigned_integral_args): Add rs6000-*-* xfail for
20890 "run to call1a" if not compiled with gcc.
20891 (float_and_integral_args): Add rs6000-*-* xfail for
20892 "run to call2a" if not compiled with gcc and for
20893 "continue to call2b" for any compiler.
20894 Add rs6000-*-* xfail to
20895 "print f1 after run to call2a" for gcc compiled.
20896 (discard_and_shuffle): Add rs6000-*-* xfail for
20897 "run to call6a".
20898 (shuffle_round_robin): Add rs6000-*-* xfail for
20899 "backtrace from call7a" if not compiled with gcc.
20900 Add rs6000-*-* xfail for
20901 "backtrace from call7b" if compiled with gcc.
20902 (call_after_alloca): Add rs6000-*-* xfail for
20903 "print c in call_after_alloca" and
20904 "print s in call_after_alloca" and
20905 "backtrace from call_after_alloca_subr"
20906 if not compiled with gcc.
20907 (localvars_in_indirect_call): Add rs6000-*-* xfail for
20908 "print c in localvars_in_indirect_call" and
20909 "print c in localvars_in_indirect_call" and
20910 "backtrace in indirectly called function" and
20911 "stepping into indirectly called function"
20912 if not compiled with gcc.
20913 (localvars_after_alloca): Add rs6000-*-* xfail for
20914 "print c after runto localvars_after_alloca" and
20915 "print s after runto localvars_after_alloca" and
20916 "print i after runto localvars_after_alloca" and
20917 "print l after runto localvars_after_alloca"
20918 for all compilers.
20919 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
20920 than whatis-info.exp.
20921 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
20922 than opaque-info.exp.
20923 Setup rs6000-*-* xfail for
20924 "ptype on opaque struct pointer (statically)" and
20925 "ptype on opaque struct pointer (dynamically)" when
20926 not compiled with gcc.
20927 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
20928 rather than callf-info.exp.
20929 (do_function_calls): Add clear_xfail for rs6000-*-* for
20930 "p t_float_values2(3.14159,float_val2)". Seems to work
20931 fine there, both with xlc and gcc. Need to find out what
20932 it is doing right and fix other platforms.
20933 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
20934 "call inferior func with struct - returns int",
20935 "call inferior func with struct - returns long",
20936 "call inferior func with struct - returns float",
20937 "call inferior func with struct - returns double",
20938 "call inferior func with struct - returns char *",
20939 but only if not gcc compiled (presumes xlc compiled).
20940 Change rs6000-*-* xfails for
20941 "call inferior func with struct - returns char" and
20942 " call inferior func with struct - returns short" to only
20943 xfail if not using gcc.
20944 (clean mostlyclean): Remove *.ci and *.tmp files.
20945 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
20946 than templ-info.exp.
20947 * gdb.base/langs.exp: Source gdb.base/langs.ci.
20948 Add rs6000-*-* xfail for "up to foo in langs.exp"
20949 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
20950 when not gcc compiled.
20951
20952 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20953
20954 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
20955 * gdb.base/corefile.exp: Likewise.
20956 * gdb.base/list.exp: Likewise.
20957 * gdb.base/scope.exp: Likewise.
20958 * gdb.base/siganls.exp: Likewise.
20959
20960 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
20961 compiler output.
20962 * gdb.base/whatis.exp: Likewise.
20963
20964 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
20965
20966 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
20967 failure (opcode table has been fixed to match reality).
20968
20969 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
20970
20971 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
20972 "call inferior func with struct - returns char",
20973 "call inferior func with struct - returns short"
20974
20975 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
20976 "print 'scope0.c'::filelocal at main",
20977 "print 'scope0.c'::filelocal_bss in test_at_main",
20978 "print 'scope0.c'::filelocal at foo",
20979 "print 'scope0.c'::filelocal_bss in test_at_foo",
20980 "print 'scope0.c'::filelocal at bar",
20981 "print 'scope0.c'::filelocal_bss in test_at_bar"
20982
20983 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
20984 in source file 1". This bug seems to have been fixed with both
20985 gcc and native cc (was native assembler bug?).
20986
20987 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
20988
20989 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
20990 "backtrace through signal handler" to "i*86-*-sysv4*".
20991 * gdb.base/signals.exp: Add xfail for "'next' behaved as
20992 continue" case. Add "known SVR4 bug" to fail message.
20993 Add "i*86-*-bsdi2.0" xfail for "handle all print".
20994 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
20995 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
20996 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
20997 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
20998 "up to foo in langs.exp", "show language at foo in
20999 langs.exp", "up to cppsub_ in langs.exp", "show
21000 language at cppsub_ in langs.exp", "up to fsub in
21001 langs.exp", and "show language at fsub in langs.exp".
21002 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
21003 "bactrace in corefile.exp".
21004 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
21005 "call inferior function with struct - returns float" and
21006 "call inferior function with struct - returns double".
21007
21008 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
21009
21010 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
21011 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
21012 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
21013 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
21014
21015 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
21016
21017 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
21018 (or overriden) "CHILL" macro rather then bare "gcc".
21019 Also look for ../../gcc/xgcc since that is what we will
21020 actually need, not "Makefile". Remove following assignment
21021 of CHILL to CHILL_FOR_TARGET because that results in
21022 recursive definition.
21023
21024 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
21025
21026 * gdb.base/corefile.exp: Change xfail for backtrace in
21027 corefile.exp from linuxaout to all linux.
21028 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
21029 cases where we miss the breakpoint at the signal handler
21030 for some reason. Setup xfail for linuxoldld/linuxaout and
21031 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
21032 hitting SIGURG breakpoint.
21033 * gdb.base/signals.exp: Setup xfail for "next" acting like
21034 continue to add linuxoldld. Setup xfail for all linux for
21035 "next to handler in signals_tests_1", "backtrace in
21036 signals_tests_1", "continue to func1", "pass SIGUSR1",
21037 and continue to handler".
21038
21039 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
21040
21041 * Update all FSF addresses except those in COPYING* files.
21042
21043 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
21044
21045 * gdb.base/a2-run.exp: Change messages to be more explicit about
21046 the status of args, and quote binfile in results.
21047
21048 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
21049
21050 * gdb.base/callfuncs.exp: Add tests for passing structs to
21051 inferior functions and return various types.
21052 * gdb.base/callfuncs.c: Add functions to receive a struct
21053 and return a member of the struct, in various types.
21054
21055 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21056
21057 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
21058
21059 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
21060
21061 * config/vxworks29k.exp: New file, sources vxworks.exp.
21062
21063 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21064
21065 * config/gdbremote.exp: New file. Testing framework using
21066 gdbserver.
21067
21068 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
21069
21070 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
21071 "call function when asleep" and "send end of file".
21072 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
21073 for "backtrace in corefile.exp".
21074 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
21075 for "backtrace through signal handler".
21076 * gdb.base/corefile.exp: Make sure we actually generate a core file
21077 before trying the core tests. Some systems allow the user to suppress
21078 generation of core files and default to that (linux for example).
21079 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
21080 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
21081
21082 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21083
21084 * gdb.threads: New directory with some crude multi-threaded
21085 gdb tests (step.exp and step2.exp).
21086 * config/mt-lynx (STEP_EXECUTABLE): Define.
21087 (THREADFLAGS): Define.
21088
21089 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
21090
21091 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
21092
21093 * gdb.base/signals.exp: Disable whole file for lynx until
21094 further notice.
21095
21096 * gdb.base/signals.exp: xfail test where "next" acts like
21097 "continue" for lynx.
21098
21099 * gdb.base/interrupt.exp: xfail test for calling function while
21100 inferior is asleep for lynx.
21101
21102 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
21103 than one cr-lf after each command.
21104
21105 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21106
21107 * configure.in: Reinstate setting of stabsdirs variable, fix
21108 typo in setting up configdirs for native builds.
21109
21110 * gdb.base/return.exp: Fix typo in return double test.
21111 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
21112 compiler from optimizing them away.
21113
21114 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
21115
21116 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
21117 sequences to be echo'd by gdb when using gdb_test.
21118 * gdb.chill/chexp.exp: Likewise.
21119 * gdb.fortran/exprs.exp: Likewise
21120
21121 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
21122
21123 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
21124 after the inferior gdb has started.
21125
21126 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
21127 after each command.
21128 * gdb.base/funcargs.exp: Likewise.
21129 * gdb.base/gdbvars.exp: Likewise.
21130 * gdb.base/interrupt.exp: Likewise.
21131 * gdb.base/list.exp: Likewise.
21132 * gdb.base/watchpoint.exp: Likewise.
21133 * gdb.c++/demangle.exp: Likewise.
21134 * gdb.c++/inherit.exp: Likewise.
21135 * gdb.chill/chexp.exp: Likewise.
21136 * gdb.fortran/exprs.exp: Likewise.
21137
21138 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
21139 test if we can't handle IO to/from the inferior.
21140
21141 * gdb.c++/misc.exp: Always check for a program already being
21142 started after sending a "run" command to gdb.
21143
21144 * gdb.base/twice.exp: Start with a fresh gdb.
21145
21146 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
21147 only depend on gdb's expression code, not the chill runtime.
21148
21149 * gdb.base/return.c: Put return values into variables so we
21150 can have gdb print them rather than depending on the program
21151 to print them.
21152 * gdb.base/return.exp: Corresponding changes.
21153
21154 * lib/gdb.exp: Provide default value for noinferiorio.
21155 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
21156 the inferior.
21157
21158 * gdb.base/break.exp: Always check for a program already being
21159 started after sending a "run" command to gdb.
21160 (text_next_with_recursion): Don't check the output from the
21161 program's printf statement. Instead just make sure the program
21162 exited.
21163
21164 * gdb.base/commands.exp: Protect tests which need arguments with
21165 $noargs conditionals.
21166
21167 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21168
21169 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21170 of structure member arrays to match gdb/valops.c:value_addr change.
21171
21172 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21173
21174 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21175 cases.
21176
21177 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21178
21179 * configure.in (configdirs): Remove gdb.chill from default list
21180 of subdirs and then add it back in only if doing a native build.
21181 The current chill compiler does not yet work in any cross build.
21182 * Revert all signal changes from Jul 6.
21183 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21184 for sh-hms targets, allowing these tests to link, with no other
21185 changes. Testing is suppressed by setting "nosignals" in site.exp.
21186
21187 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21188
21189 * configure.in (signaldirs): Define and add to configdirs for all
21190 targets except some specific ones that are known to not support signals.
21191 Also clean up formatting.
21192 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21193 (signals, sigall): Remove rules to build.
21194 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21195 Moved to new gdb.signals directory.
21196 * gdb.signals: New test directory.
21197 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21198 signals.c signals.exp}: New or moved files.
21199
21200 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21201
21202 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21203
21204 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21205
21206 * gdb.base/return.exp: Xfail `return double' test failure
21207 on at least Solaris 2.3 and handle future/past versions on
21208 a case by case basis as appropriate. Also update message
21209 to include i*86 failures.
21210
21211 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21212
21213 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
21214
21215 * lib/gdb.exp: Fix comment which erroneously identified
21216 gdb_file_cmd as gdb_load (the 19 May change was in fact to
21217 gdb_file_cmd not gdb_load).
21218 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
21219
21220 * gdb.base/setvar.exp: Make test names consistent between pass and
21221 fail cases. Use gdb_test more.
21222
21223 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21224
21225 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
21226
21227 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21228
21229 * gdb.base/help.exp: Fix expected help string for `show commands'.
21230
21231 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
21232
21233 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
21234
21235 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
21236 of a text section.
21237
21238 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
21239
21240 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
21241 that loop eventually terminates. Fix Connection refused logic so
21242 that testsuite will expire nicely.
21243
21244 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
21245
21246 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
21247 config/rom68k.exp: New tcl glue for the appropriate monitors.
21248 These all just end up calling monitor.exp.
21249 * config/monitor.exp (gdb_target_monitor): Handle `Connection
21250 refused' by retrying. Cleanup some timeout issues.
21251 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
21252 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
21253 callers don't have to set/restore global timeout variable.
21254
21255 * The following set of changes centralizes management of the global
21256 timeout variable. This way, it can be set in one target dependent
21257 place instead of dozens of places scattered throughout the test suite.
21258 If you need to lengthen a timeout, then you should either set timeout
21259 in one of the config/{target}.exp files, or multiply it by a factor.
21260 Setting it to an absolute value is always going to lose for some
21261 targets.
21262 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
21263 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
21264 * gdb.base/funcargs.exp: Don't set timeout.
21265 * gdb.base/list.exp (test_forward_search): Only use local timeout.
21266 * gdb.base/printcmds.exp (test_print_string_constants
21267 test_print_array_constants): Don't set timeout.
21268 * gdb.base/ptype.exp: Don't set timeout.
21269 * gdb.base/recurse.exp: Don't set timeout.
21270 * gdb.base/return.exp: Don't set timeout.
21271 * gdb.base/watchpoint.exp: Don't set timeout.
21272 * gdb.c++/classes.exp (do_tests): Don't set timeout.
21273 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
21274
21275 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
21276
21277 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
21278
21279 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21280
21281 * lib/gdb.exp: Disable chill tests for irix5.
21282
21283 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21284
21285 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
21286 each test pass or fail.
21287
21288 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21289
21290 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
21291 xlc not gcc.
21292
21293 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
21294
21295 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
21296
21297 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
21298
21299 * config/est.exp: Fix copyright and comments. Remove dead code.
21300 Use targetname, serialport and baud variables instead of fixed
21301 constants.
21302 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
21303 * config/cpu32bug.exp: New file to support cpu32bug monitors.
21304
21305 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21306
21307 * gdb.base/watchpoint.exp: Don't run
21308 test_watchpoint_triggered_in_syscall for sunos.
21309
21310 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21311
21312 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
21313 they don't seem to exist. Do include stdio.h.
21314
21315 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21316
21317 * gdb.base/a1-selftest.exp: Add alpha xfail.
21318
21319 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21320
21321 * gdb.base/watchpoint.c (main): Prompt before calling read().
21322 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21323 Revise accordingly. Remove cruft about sending "123" several
21324 times, until it gets noticed. Clean up the "print buf[0]" stuff
21325 so that it passes or fails, and waits for prompts in the usual way.
21326
21327 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21328
21329 * gdb.base/recurse.exp: Fix comment.
21330
21331 * TODO: Remove item about printing variables in nodebug.exp. Add
21332 item about enabling tests which are only run on some targets.
21333
21334 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
21335 fail, make test names unique, use new gdb_test convention
21336 regarding pattern, use gdb_test more, etc.).
21337
21338 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
21339 fail, make test names unique, etc.).
21340
21341 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21342
21343 * gdb.base/nodebug.c: Change return type of top and middle to
21344 short.
21345 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
21346 are fixed by the recent mdebugread.c changes. Allow `short ()'
21347 as type for top and middle.
21348
21349 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21350
21351 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
21352 nearly as I can tell, the whole thing was an accident in Stu's
21353 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
21354 to replace a send/expect pair with gdb_test, but ended up only
21355 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
21356 of 30 Mar 1995 took care of it, but left this vestigial comment
21357 which I am now nuking.
21358
21359 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21360
21361 * gdb.base/break.exp: Look for different line number for
21362 breakpoint at main depending on usestubs.
21363
21364 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21365
21366 * gdb.base/list.exp: Adjust some alternate expect patterns to
21367 match recent list0.c change. Add alternate expect pattern for
21368 output from `list default lines around main' for optimizing
21369 compilers.
21370
21371 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21372
21373 * lib/gdb.exp: If nosignals is not set, set it to 0.
21374
21375 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
21376
21377 * config/slite-gdb.exp: Responds to load symbol table prompt.
21378 * gdb.base/break.exp: Adjust line number, fix rerun.
21379 * gdb.base/langs0.c: Add #ifdef usestubs.
21380
21381 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
21382
21383 * gdb.base/list.exp: Adjust line contents after adding new lines in
21384 list0.c. Also fix a syntax error.
21385
21386 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
21387 * gdb.base/break.exp: ditto.
21388 * gdb.base/list.exp: ditto.
21389 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
21390 * gdb.base/run.c: ditto.
21391 * gdb.base/list0.c: ditto.
21392 * gdb.base/funcargs.c: ditto.
21393
21394 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
21395
21396 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
21397 $targetname, $serialport and $baud instead of hardwired variables.
21398 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
21399 target doesn't support signals.
21400
21401 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
21402
21403 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
21404
21405 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21406
21407 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
21408 Don't rely on the value of an auto variable before it has been
21409 initialized. Use gdb_test more.
21410
21411 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21412
21413 * lib/gdb.exp (default_gdb_version): A version number must start
21414 with a digit, but other than that contains all characters up to
21415 the first whitespace character.
21416
21417 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21418
21419 * gdb.base/commands.exp (breakpoint_command_test): New tests.
21420
21421 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21422
21423 * gdb.c++/*.exp: Warn if executable does not exist. The original
21424 reason for skipping the warning was that configure.in sometimes
21425 intentionally skipped building the executables but the tcl code
21426 had no way of knowing. That (a) was always bogus with respect to
21427 error handling, (b) is no longer true (right now there is no way
21428 to skip C++ tests).
21429
21430 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
21431
21432 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21433
21434 * gdb.base/list.exp: Add expect patterns for output from
21435 SunPRO compiled executables.
21436 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
21437 types.
21438
21439 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21440
21441 * gdb.base/break.exp (test_next_with_recursion): Accept any line
21442 number (we are already testing that the correct source line text
21443 gets printed).
21444
21445 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
21446 that is what is intended, but something needed to be done to get
21447 sunos4 native working again.
21448
21449 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
21450
21451 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
21452 apparently went with a (very) old xfail.
21453
21454 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
21455
21456 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
21457 runto_main is a proc in gdb.exp that will do 'step' for target use
21458 stubs.
21459 * gdb.base/exprs.exp: ditto.
21460 * gdb.base/interrupt.exp: ditto.
21461 * gdb.base/opaque.exp: ditto.
21462 * gdb.base/printcmds.exp: ditto.
21463 * gdb.base/ptype.exp: ditto.
21464 * gdb.base/scope.exp: ditto.
21465 * gdb.base/setvar.exp: ditto.
21466 * gdb.base/signals.exp: ditto.
21467 * gdb.base/twice.exp: ditto.
21468 * gdb.c++/classes.exp: ditto.
21469 * gdb.c++/inherit.exp: ditto.
21470 * gdb.c++/templates.exp: ditto.
21471 * gdb.base/break.exp: no run and hit main for stubs. Change line
21472 numbers for breakpoints and info breakpoint.
21473 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
21474 breakpoint().
21475 * gdb.base/callfuncs.c: ditto.
21476 * gdb.base/exprs: ditto.
21477 * gdb.base/interrupt.c: ditto.
21478 * gdb.base/opaque0.c: ditto.
21479 * gdb.base/printcmds.c: ditto.
21480 * gdb.base/ptype.c: ditto.
21481 * gdb.base/scope0.c: ditto.
21482 * gdb.base/setvar.c: ditto.
21483 * gdb.base/signals.c: ditto.
21484 * gdb.base/twice.c: ditto.
21485 * gdb.c++/misc.cc: ditto.
21486 * gdb.c++/templates.cc: ditto.
21487
21488 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21489
21490 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
21491
21492 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
21493 somewhere between `read' and `main.c'. I'm pretty sure the
21494 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
21495 and it isn't particularly useful.
21496
21497 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
21498
21499 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21500
21501 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
21502
21503 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
21504
21505 * config/mt-slite: add LIBS and -nostdlib.
21506 * config/slite-gdb.exp: add this new file to support sparclite target.
21507
21508 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
21509
21510 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
21511
21512 * gdb.base/a2-run.exp: Change argument to istarget from
21513 "*-*-vxworks" to "*-*-vxworks*".
21514 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
21515
21516 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
21517
21518 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
21519 will not runto main but do a 'step' to step out of breakpoint().
21520 * config/mt-slite: add -Dusestubs.
21521
21522 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21523
21524 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
21525 instead of just @.
21526
21527 * gdb.base/signals.exp: Add test for "handle all print".
21528 * TODO: Remove "handle all print". Also remove item about
21529 checking copyright date (I don't like the idea of a spurious FAIL
21530 based on when we run the tests).
21531
21532 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
21533 for SunOS4 (reason for failure not investigated). Remove
21534 redundant test for $binfile.
21535
21536 * gdb.base/nodebug.c (array_index): Call malloc.
21537
21538 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
21539
21540 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
21541
21542 * gdb.base/recurse.exp: Update gdb_test invocation to use new
21543 conventions and slightly simplify the matching regexp.
21544
21545 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21546
21547 * gdb.base/break.exp: Update gdb_test invocation to use new
21548 convention.
21549
21550 * lib/gdb.exp: If noargs is not set, set it to 0.
21551
21552 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
21553 tests unique.
21554
21555 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
21556
21557 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21558
21559 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
21560 one argument of type "<non-float parameter>".
21561
21562 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
21563
21564 * config/rom68k.exp: New file to support Motorola IDP board.
21565 * gdb.base/a2-run.exp: Skip this file if noargs is set.
21566 * gdb.base/break.c: Change things around so that this program
21567 doesn't depend upon args. This is necessary to make remote
21568 targets work (in general, they can't take args).
21569 * gdb.base/break.exp: Don't try to send args to program. Don't
21570 expect output. Also, replace lots of code with gdb_test.
21571
21572 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21573
21574 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
21575 printing of '\'' (which is what the comment says we are testing,
21576 even though we were not), not '''.
21577 (test_integer_literals_rejected): Test that printing ''' is an error.
21578
21579 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21580 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
21581 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
21582 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
21583 Use gdb_test not test_print_accept.
21584 * lib/gdb.exp: Remove test_print_accept.
21585
21586 * gdb.base/signals.exp (signal_tests_1): Make pass message
21587 consistent with fail message.
21588
21589 * gdb.base/whatis.exp: Remove xfails for printing char vs.
21590 unsigned char; the bug (PR 1821) is fixed.
21591
21592 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
21593
21594 * gdb.base/scope.exp (test_at_localscopes): Call pass for
21595 successful tests--makes xfailing them work right.
21596
21597 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21598
21599 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
21600 only \r\n, not .*. The test can pass .* as the last thing in
21601 $pattern if that is what it wants. In addition to providing this
21602 flexibility, this change should speed up pattern matching in cases
21603 where the pattern already ended with .* (there were a number of
21604 them). This change also helps catch bad patterns--in the old
21605 scheme the typo "char \*" instead of "char \\*" would pass. Now
21606 it is caught.
21607 * Many .exp files: Update callers.
21608
21609 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
21610 clearer and does not spuriously match multiple ('s. Likewise for
21611 ) and *.
21612
21613 * gdb.base/nodebug.exp: Test ability to call a function and pass
21614 it a string (even with no debugging info).
21615
21616 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
21617 "p '\'", which is the same as "p ''" once tcl gets done with
21618 quoting, to "p '\\'", which I suspect is what is intended (one
21619 backslash gets sent to GDB).
21620
21621 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
21622
21623 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21624
21625 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
21626 1817) was fixed literally years ago.
21627
21628 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21629
21630 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
21631 test, it causes stepping out of call_after_alloca_subr with
21632 optimizing compilers.
21633 (localvars_in_indirect_call): Consume GDB prompt if `finish'
21634 fails.
21635
21636 * gdb.c++/templates.exp: Source templ-info.exp only if
21637 the templates executable exists.
21638
21639 * gdb.c++/misc.cc (class Contains_static_instance,
21640 class Contains_nested_static_instance),
21641 gdb.c++/classes.exp (test_static_members): Test printing of
21642 a class that contains a static instance of the class.
21643
21644 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21645
21646 * gdb.base/langs2.c (cppsub_): Don't prototype.
21647 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
21648 only, I believe).
21649
21650 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21651
21652 * lib/gdb.exp (skip_chill_tests): New procedure.
21653
21654 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
21655
21656 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
21657
21658 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
21659 each expect pattern. Cuts runtime from 12 to about 4 seconds.
21660
21661 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21662
21663 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
21664
21665 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
21666 disassemble 8, not 16, instructions for part 4.
21667
21668 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
21669 support the latter anymore.
21670
21671 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
21672 -DNO_PROTOTYPES.
21673 * gdb.base/callfuncs.c: Control use of prototypes based on
21674 NO_PROTOTYPES, not __STDC__.
21675 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
21676 t_float_values2 tests if prototypes in use.
21677
21678 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
21679 t_double_values): When checking differences against DELTA, check
21680 that difference is within the range (-DELTA,DELTA), not just
21681 (-infinity,DELTA).
21682
21683 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
21684
21685 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
21686 'file' command firts, then 'target', then 'load', this is due to gdb
21687 target set up.
21688 * config/mips-gdb.exp: Fix a couple regular exp bugs.
21689
21690 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
21691
21692 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
21693 FP load/store variants.
21694 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
21695
21696 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21697
21698 * gdb.base/term.exp: Do not give a warning if not native, it is
21699 not an abnormal condition.
21700
21701 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
21702
21703 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
21704 t_char_array".
21705
21706 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21707
21708 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
21709 are getting the version number.
21710
21711 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
21712 if not native, it is not an abnormal condition.
21713
21714 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21715
21716 * lib/gdb.exp: Just use "file exists", rather than undocumented
21717 dejagnu procedure "findfile".
21718
21719 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21720
21721 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
21722 (LDFLAGS): Set to -Xlinker -Ur.
21723
21724 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
21725 Removed, these values are set by lib/gdb.exp.
21726
21727 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
21728
21729 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21730
21731 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
21732 of replicating gdb startup code.
21733
21734 * config/mt-vxworks (LDFLAGS): Set to -r.
21735 (CFLAGS_FOR_TARGET): Removed.
21736
21737 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
21738 (gdb) and gdb for vxworks uses (vxgdb).
21739
21740 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
21741 executable is not in the tree and host != target, use sed and
21742 program_transform_name to determine the gdb name used by the
21743 target.
21744
21745 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
21746 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
21747
21748 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21749
21750 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
21751 floats, chars, and shorts where there are ANSI-style function
21752 definitions.
21753
21754 * gdb.base/langs.exp, gdb.base/langs*: New test.
21755 * gdb.base/Makefile.in: Build it.
21756 * TODO: Remove item about checking that C names don't get C++
21757 demangling applied; this test tests it.
21758
21759 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21760
21761 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
21762 went with the const70 xfail. The xfail went away a year ago.
21763
21764 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
21765
21766 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
21767 for hp300.
21768
21769 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
21770
21771 * gdb.base/a1-selftest.exp: Don't run on hp300.
21772
21773 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21774
21775 * Makefile.in (site.exp): Set host_alias and target_alias as well
21776 as host_triplet and target_triplet.
21777
21778 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21779
21780 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
21781
21782 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
21783 places as other ecoff systems).
21784
21785 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
21786 ultrix.
21787
21788 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21789
21790 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
21791 remove them.
21792 * gdb.base/nodebug.exp: Accept "function" in addition to "text
21793 variable and "variable" in addition to "data variable".
21794 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
21795
21796 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
21797 2.
21798 * gdb.base/list1.c (long_line): Add additional statement at start
21799 of function.
21800 * gdb.base/list.exp (test_forward_search): Update line number to
21801 reflect new statement.
21802
21803 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21804
21805 * gdb.base/signals.exp: Reinitialize searched source directories
21806 after gdb_start call.
21807
21808 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
21809
21810 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
21811 * gdb.stabs/Makefile.in: Likewise.
21812
21813 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
21814 change. Instead split the tests into smaller pieces.
21815 * gdb.disasm/hppa.s: Corresponding changes.
21816
21817 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21818
21819 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21820 Quote ^C when passing it to stty. For some shells ^ is a pipe.
21821
21822 * gdb.base/funcargs.exp: Modify many tests so that every test
21823 either passes or fails. Make some test names unique.
21824
21825 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21826
21827 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21828 Call stty to set interrupt character.
21829
21830 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
21831 for HP assembler versus GNU assembler based on actual behavior of
21832 $(CC), rather than assuming that $(AS) is always the GNU assembler.
21833
21834 * TODO: Suggest a few more stepping tests.
21835
21836 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
21837
21838 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
21839 restart GDB for h8300 after a continue.
21840 (return): Add pattern to match a29k-udi behavior.
21841 * gdb.base/nodebug.exp: Remove obsolete comment.
21842 * gdb.base/regs.exp: New file, testing of register displays.
21843 * gdb.base/return.exp: Fix typo in reference to $objdir.
21844 * gdb.base/whatis.exp: Always start with a fresh GDB.
21845
21846 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21847
21848 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
21849 higher, these tests generate a lot of output.
21850
21851 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21852
21853 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
21854 code following the catch silently ignored some errors; without the
21855 catch they should be thrown like any other tcl error. Also, the
21856 catch used "" instead of {} which meant all the callers who wanted
21857 to include one of the characters "[]$ had to quote it an extra time.
21858 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
21859 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
21860 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
21861 Remove extra quoting.
21862
21863 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
21864
21865 * gdb.base/commands.exp: Make test names unique; every test either
21866 passes or fails. Update some comments.
21867
21868 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
21869
21870 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21871
21872 The following fixes a FAIL caused by the fact that the alpha stabs
21873 configuration didn't use the ".if alpha" code in weird.def.
21874 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
21875 bit pointer, so the 32 bit version works even on the alpha.
21876 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
21877 Remove the stuff which allowed us to have separate versions for
21878 alpha and everything else.
21879
21880 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
21881 regexp which "info func operator\[\](" is supposed to match. Fix
21882 string to send to GDB. Note that GDB still doesn't work right. Add a
21883 new test for "info func .perator\[\](" which GDB does handle correctly.
21884
21885 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
21886
21887 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21888
21889 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
21890 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
21891 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
21892 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
21893 it makes the tests harder to understand and confuses test-o-matic.
21894 The preferred style is that each test provides a PASS or a FAIL,
21895 and has a unique message (e.g. "continue #54" not just "continue")
21896 which is the same for the pass and the fail.
21897 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21898 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
21899 to lib/gdb.exp.
21900 * gdb.base/printcmds.exp: Use test_print_accept. Remove
21901 prt_accept which was basically the same thing. Likewise for
21902 test_print_reject and prt_reject.
21903 * lib/gdb.exp (test_print_reject): Add some more error message
21904 patterns to match from the former printcmds.exp (prt_reject).
21905 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
21906 One defect of the passcount stuff is that some of it failed to
21907 report XPASS where appropriate.
21908 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
21909 stuff before and after arg in expected pattern.
21910 (test_paddr_operator_functions): Re-do test without print_addr_of;
21911 this is the only test which seems to want extra stuff there.
21912
21913 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21914
21915 * gdb.base/nodebug.exp: Update new tests to reflect improved
21916 wording of gdb output.
21917
21918 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
21919 and "ptype" work on variables in files compiled without -g.
21920 Replaces commented out "maint print msymbol" tests.
21921
21922 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21923
21924 * gdb.base/setvar.c (dummy): Call malloc.
21925
21926 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
21927 losing with the irix4 sed.
21928
21929 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
21930 ALRM" on irix4.
21931
21932 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21933
21934 * TODO: Remove items about corefile.exp testing new exec-file and
21935 backtrace; both are now done. Add items about printing enums.
21936
21937 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21938
21939 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
21940 "get signal $thissig" test fails.
21941
21942 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
21943
21944 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21945
21946 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
21947 compiler warning with dec alpha compiler.
21948
21949 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
21950 extra \n from gdb_test call (this explains why the prompt test
21951 that I removed yesterday was there).
21952 (user_defined_command_test): Remove extra \n and prompt test.
21953
21954 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
21955 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
21956 doesn't exist.
21957 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
21958 Also remove alpha workaround, which turns out to be because
21959 SIGABRT == SIGLOST.
21960
21961 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
21962
21963 * gdb.base/help.exp: Don't test "help show".
21964
21965 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21966
21967 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
21968 "set print address" is on.
21969 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
21970 pass prompt to gdb_test; gdb_test already looks for the prompt.
21971
21972 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
21973
21974 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
21975 was a vestige of the manual TESTSTRATEGY, and the purpose of it
21976 was to make sure that gdb can read a core file. But (a) the "read
21977 the corefile" part didn't make it to a1-selftest.exp, we just
21978 delete the corefile after creating it, and (b) we test reading
21979 corefiles in corefile.exp anyway. Also, this test left around a
21980 xgdb process on Solaris.
21981
21982 * gdb.base/corefile.exp: Also test backtrace.
21983
21984 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
21985
21986 * gdb.base/commands.exp: Test a simple user defined command with
21987 arguments and if/while statements; verify the full user command is
21988 printed by "show user".
21989
21990 * gdb.base/commands.exp: Test if/while commands as part of a
21991 breakpoint command list; verify they appear in breakpoint
21992 information.
21993
21994 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21995
21996 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
21997 than by dividing by zero.
21998
21999 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
22000
22001 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
22002 performing an inferior call with watchpoints enabled.
22003 * gdb.base/watchpoint.c (main): Delete second unnecessary read
22004 call.
22005
22006 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22007
22008 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
22009 of "file" command.
22010
22011 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
22012 Add additional pattern for when "int operator int(void);" appears
22013 in a different order.
22014
22015 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
22016
22017 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
22018
22019 * gdb.base/help.exp: Replace most of docstrings for "info signals"
22020 and "signal" with ".*".
22021
22022 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22023
22024 * TODO: Add note about "handle all nostop".
22025
22026 * gdb.base/{sigall.c, sigall.exp}: New test.
22027 * gdb.base/Makefile.in: Add it.
22028
22029 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
22030
22031 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
22032 when invoking GDB, suppresses any windowing interface.
22033
22034 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
22035
22036 * config/sim-gdb: New file, simulator testing support.
22037
22038 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
22039
22040 * gdb.base/interrupt.exp: Test calling func1 twice.
22041
22042 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
22043
22044 * gdb.base/list.exp (test_forward_search): Set timeout higher
22045 when we'll be getting lots of output from gdb.
22046
22047 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
22048 "init_malloc" to after the expect statement. Run it if that
22049 regexp is taken, but also for two others which happen if source
22050 cannot be found.
22051
22052 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22053
22054 * gdb.base/printcmds.exp: New test, for printing register before
22055 program is running.
22056
22057 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22058
22059 * gdb.base/list.exp: Correct some alternate expect patterns
22060 to reflect changes in list1.c.
22061
22062 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22063
22064 * TODO: Add item regarding large frames.
22065
22066 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
22067
22068 * TODO: Remove item about enabling return.exp; it
22069 is enabled. Suggest a few more "return" tests.
22070
22071 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22072
22073 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
22074 anonymous unions.
22075
22076 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22077
22078 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
22079 and pr-5646.o, so "make" is the same as "make all", not "make
22080 pr-4975.o".
22081
22082 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
22083
22084 * gdb.base/list.exp: Adjust expectations to reflect changes in
22085 list1.c.
22086 (test_forward_search): New test proc.
22087 * gdb.base/list1.c (long_line): New function, has long source line.
22088
22089 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
22090
22091 * gdb.base/a1-selftest.exp: Change initial stepping to know about
22092 additional line of code that was added.
22093
22094 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
22095
22096 * gdb.disasm/hppa.s: Break the large branching tests into smaller
22097 tests so as not to overflow expect's input buffers.
22098 * gdb.disasm/hppa.exp: Corresponding changes.
22099
22100 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22101
22102 Beginnings of template debugging tests.
22103 * gdb.c++/templ-info.cc: New file to test for template
22104 debugging capability of the compiler.
22105 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
22106 templ-info.cc.
22107 * gdb.c++/templates.cc: Add explicit template instantiations
22108 to enable compiling with -fno-implicit-templates. Add destructor
22109 and 'value' method to T5 class for template tests.
22110 * gdb.c++/templates.exp: Add testcases for printing of template
22111 types, setting breakpoints on template methods and calling a
22112 template method.
22113
22114 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
22115
22116 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
22117 branch target since some assemblers (gas-2.5) may emit a
22118 relocation for the branch instead of resolving it in the
22119 assembler.
22120
22121 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22122
22123 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
22124 through signal handler.
22125
22126 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22127
22128 * configure.in (*-*-netware): Use config/mt-netware.
22129
22130 * config/mt-netware: New file.
22131 * config/mt-i386-netware: Removed, separate configs for different
22132 netware architectures are no longer needed now that we have
22133 --with-headers.
22134
22135 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22136
22137 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
22138 by the recent changes to use ANSI C arithmetic conversions.
22139
22140 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22141
22142 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
22143 bug involving using inferior_pid to figure out whether to select a
22144 frame.
22145
22146 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
22147
22148 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
22149 match the current disassembler output.
22150
22151 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
22152
22153 * gdb.fortran/exprs.exp: Expect VOID instead of void.
22154 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
22155 types, expect "int" as type of integer values (for now).
22156
22157 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22158
22159 * gdb.base/commands.exp: New tests for if/while commands.
22160
22161 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22162
22163 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22164 by .*, since hex values have different syntax in Chill mode.
22165
22166 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22167
22168 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22169 linefeed from expect pattern for repeated types with indices > 9.
22170
22171 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22172
22173 First part of Fortran test suite.
22174 * gdb.fortran: New directory.
22175 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22176
22177 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22178
22179 * gdb.base/default.exp: Update expect pattern for load command
22180 without arguments.
22181
22182 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22183
22184 * configure.in: Change i386 to i[345]86.
22185 * gdb.base/configure.in: Likewise.
22186 * gdb.c++/configure.in: Likewise.
22187 * gdb.chill/configure.in: Likewise.
22188
22189 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22190
22191 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22192 patterns, since that is not a valid context for comments.
22193
22194 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22195
22196 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22197 repeated types and repeated types with indices > 9.
22198
22199 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22200
22201 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22202 2417; old bug has been fixed.
22203
22204 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22205
22206 * gdb.base/interrupt.exp: When trying to wake up the inferior,
22207 send the newline ourselves instead of assuming gdb_test will do
22208 so when passed an empty input string.
22209
22210 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
22211 stabs testcode.
22212
22213 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22214
22215 * lib/gdb.exp (gdb_test): Don't send anything if the first
22216 argument is an empty string. This makes cases where we want to
22217 match output that is already in expect's buffers (for example,
22218 matching a breakpoint after gdb_run_cmd has been called) work
22219 reliably.
22220
22221 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22222
22223 * config/netware.exp: New file.
22224
22225 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22226
22227 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
22228 the -B and -L prefixes so we can find the debugging stub.
22229
22230 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
22231 there and we are using the gcc from the tree.
22232
22233 * gdb.base/types.c: Removed.
22234
22235 * gdb.base/configure.in: Look for makefile fragments in ../config.
22236 Recognize i386-*-netware.
22237 * gdb.c++/configure.in: Likewise.
22238
22239 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22240
22241 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
22242 the correct TCL syntax.
22243
22244 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22245
22246 * gdb.base/opaque.exp: use runto instead of messing around with
22247 breakpoints. Simplify by using gdb_test.
22248
22249 * gdb.base/bitfields.exp: restart between tests on netware targets
22250 because breakpoints aren't relocated after target death. Run
22251 processes to completion.
22252
22253 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
22254
22255 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
22256
22257 * Makefile.in: Remove extra tabs that confuse some versions
22258 of "make". Use the newly built gdb to test with by default,
22259 rather than the first one in the tester's search path.
22260
22261 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
22262
22263 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
22264
22265 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
22266 condition help.
22267
22268 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22269
22270 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
22271
22272 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
22273 running.
22274 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
22275 * gdb.base/funcargs.exp: Likewise.
22276
22277 * gdb.base/bitfields.exp: Simplify by using gdb_test.
22278 * gdb.base/funcargs.exp: Likewise.
22279
22280 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
22281 message is "".
22282
22283 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22284
22285 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
22286 return,signals,twice}.exp: Handle non-existant binaries
22287 consistantly.
22288
22289 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
22290 * gdb.base/Makefile.in: Don't try to generate a core dump, we
22291 might testing a cross development system.
22292
22293 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22294
22295 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
22296 runtest script is relative to ${srcdir}, not ${rootdir}.
22297
22298 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
22299
22300 * gdb.base/signals.exp: Allow for optionality of breakpoint
22301 address.
22302
22303 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22304
22305 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
22306
22307 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22308
22309 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
22310 for size_t definition.
22311 * gdb.c++/templates.cc: Likewise
22312
22313 * config/mt-i386-netware: New file.
22314
22315 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
22316 defined.
22317
22318 * gdb.base/Makefile.in: Added support for systems that name core
22319 files by appending "core" to the program name.
22320 * gdb.base/a1-selftest.exp: Likewise.
22321
22322 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22323
22324 * gdb.base/return.exp: Add comment and message for `return double'
22325 test failure on Sparc Solaris.
22326
22327 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
22328
22329 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
22330
22331 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22332
22333 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
22334 from optimizing them away.
22335 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
22336 patterns to include default constructors and assignment operators,
22337 to match gcc versions beyond 2.5.8. Accept any cplus demangling
22338 character in the output of the virtual base pointer.
22339
22340 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22341
22342 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
22343 expression match in print_addr_of to avoid unintented matches.
22344 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
22345 versions up to 2.5.8.
22346
22347 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22348
22349 * gdb.base/list.exp: Tweak alternate pattern for listing of an
22350 included file to run under newer versions of expect.
22351 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
22352 consecutive >'s in templates to accomodate recent cplus-dem.c change.
22353 Remove xfail for the virtual table of BDDHookV.
22354
22355 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
22356
22357 * lib/gdb.exp (string_to_regexp): Set a default result.
22358 (default_gdb_start): Fix misleading message.
22359
22360 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
22361
22362 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
22363 Remove all CC, etc definitions.
22364 * config/mt-hpux: New file.
22365 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
22366 (CFLAGS, LDFLAGS): Define.
22367 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
22368
22369 * Makefile.in (site.exp): Don't insert host_os, etc.
22370 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
22371 (distclean): Check existence of subdir.
22372 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
22373 * gdb.base/Makefile.in: General cleanup and simplification.
22374 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22375 to build executables. Use default rule to build .o files.
22376 (EXPECT, RUNTEST, CC): Fix relative pathname.
22377 (site.exp): Don't insert host_os, etc.
22378 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
22379 and/or SIGUSR1 defined.
22380 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
22381 * gdb.c++/Makefile.in: General cleanup and simplification.
22382 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22383 (CFLAGS): Remove.
22384 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
22385
22386 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
22387
22388 * gdb.base/recurse.exp: Misc changes to get tests running again
22389 after Kung's changes to the watchpoint code.
22390 * gdb.base/watchpoint.exp: Likewise.
22391
22392 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
22393
22394 * lib/gdb.exp (string_to_regexp): Convert {\} also.
22395
22396 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
22397
22398 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
22399 * lib/gdb.exp (default_gdb_start): Define.
22400 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
22401 gdb.base/funcargs.exp, gdb.base/opaque.exp,
22402 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
22403 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
22404 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
22405 Don't call gdb_target_udi in between tests.
22406
22407 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22408
22409 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
22410 (which was basically just a local version of the same thing). In
22411 addition to avoiding duplication, gdb_test_exact is faster.
22412 * lib/gdb.exp (gdb_test_exact): Fix typo.
22413
22414 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
22415 don't give an error.
22416
22417 * gdb.base/term.exp: Call delete_breakpoints before starting.
22418
22419 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
22420 (t10): Add comment.
22421
22422 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22423
22424 Reorganization of the GDB Test Suite.
22425
22426 * gdb.base: New directory, contains all the basic tests.
22427 * gdb.c++: New directory, tests specific to C++.
22428 * gdb.chill: New directory, tests specific to Chill.
22429 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
22430 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
22431 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
22432 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
22433 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
22434 t30-31 to chill).
22435 * */gdbme.*: Rename to match appropriate expect scripts.
22436 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
22437 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
22438 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
22439 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
22440 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
22441 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
22442 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
22443 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
22444 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
22445 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
22446 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
22447 gdb.c++/virtfunc.cc: New names of C++ files.
22448 * gdb.chill/chillvars.ch: New name of Chill file.
22449 * gdb.base/configure.in, gdb.c++/configure.in,
22450 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
22451 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
22452 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
22453 * configure.in (configdirs): Update to reflect directory changes.
22454 (target_abbrev): No longer define for any configuration.
22455 * Makefile.in: Cosmetic improvements to header comments.
22456
22457 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
22458
22459 Various changes to gdb.t31:
22460
22461 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
22462 * gdbme.ch: Make all key-words and predefineds be upper-case.
22463 * chillvars.exp: Expect key-words and predefinds in upper-case.
22464
22465 * chillvars.exp: Use gdb_test_exact many places.
22466 Change expected output for arrays (which now includes index labels).
22467
22468 * pr-5020.exp, gdme.ch (module PR_5020):
22469 New test, for PR-5020.
22470
22471 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
22472
22473 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
22474 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
22475
22476 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
22477
22478 * Makefile.in: Fix bit-rot in definitions of CHILL,
22479 CHILL_FOR_TARGET and Chill_LIB.
22480 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
22481 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
22482 CHILL, and CHILL_LIB.
22483
22484 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
22485
22486 * Revert the previous changes. Please see Rob's directory
22487 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
22488
22489 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
22490
22491 * Makefile.in, configure.in, config/mips-gdb.exp,
22492 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
22493 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
22494 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
22495 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
22496 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
22497 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
22498 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
22499 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
22500 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
22501 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
22502 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
22503 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
22504 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
22505 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
22506 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
22507 changes from 94Q1.
22508
22509 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
22510
22511 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
22512 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
22513 Rob's new testing fragments.
22514
22515 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
22516
22517 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
22518 lib/gdb.exp: Replace error proc calls with perror.
22519
22520 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22521
22522 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
22523 version also, match on casted version strings, and match on
22524 gdb startup case where the line numbers might be messed up.
22525
22526 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
22527
22528 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
22529 (CFLAGS): Delete it from here.
22530
22531 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
22532
22533 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
22534
22535 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
22536
22537 * Makefile.in (RUNTEST): Default to just "runtest".
22538
22539 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22540
22541 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
22542 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
22543 the code has been restructured.
22544
22545 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22546
22547 * gdb.t00/default.exp (set write): Allow any number of \r and/or
22548 \n, not just one of each.
22549
22550 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
22551 /bin/cc gives a warning if you do.
22552
22553 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
22554
22555 * gdb.t24/demangle.exp: change expect pattern of
22556 __t10ListS_link1ZUiRCUiPT0
22557
22558 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22559
22560 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
22561 on local variables in recursive functions.
22562
22563 * gdb.t07/Makefile.in: Build the new test.
22564
22565 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22566
22567 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
22568 directly. Instead compare the return values from actual calls.
22569
22570 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
22571
22572 * Makefile.in (check): Set TCL_LIBRARY for runtest.
22573
22574 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22575
22576 * From Peter Schauer with minor modifications.
22577 * gdb.t15/return.exp (return_tests): Handle targets where "return"
22578 stops in mid-line in the caller. Add xfail for returning a float
22579 value on X86 targets.
22580
22581 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22582
22583 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
22584 to avoid expect lossage.
22585 (fmem_LRbug_tests): Likewise.
22586 * gdb.disasm/hppa.s: Corresponding changes.
22587
22588 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
22589 conditions to work with latest dejagnu/expect.
22590
22591 * gdb.t15/funcargs.exp (finish from indirect call): No longer
22592 expected to fail on the PA.
22593 (backtrace in call with trampolines): Explicitly require main
22594 to be frame #1 (no trampolines should show up in backtrace).
22595
22596 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
22597 "continue -expect".
22598 * gdb.t06/break.exp: Likewise.
22599 * gdb.t07/watchpoint.exp: Likewise.
22600 * gdb.t13/bitfields.exp: Likewise.
22601 * gdb.t15/{funcargs,return}.exp: Likewise.
22602 * gdb.stabs/weird.exp: Likewise.
22603 * config/{mips,udi}-gdb.exp: Likewise.
22604
22605 * hppa.sed: Enclose comments within a sed command to avoid
22606 losing with the old OSF1 sed.
22607
22608 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22609
22610 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
22611 sequent dynix.
22612 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
22613 * gdb.t15/funcargs.exp: Conditionally step again to really
22614 finish from marker_call_with_trampolines. Handle the case where
22615 the first step from within call_with_trampolines already steps
22616 us back to main.
22617 * gdb.t15/gdbme.c: Add comment to closing brace of
22618 call_with_trampolines for funcargs.exp.
22619
22620 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22621
22622 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22623 Fix typo(s).
22624
22625 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22626
22627 * gdb.t07/gdbme.c: More code for watchpoint testing.
22628
22629 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
22630 "Hardware watchpoint" throughout file.
22631 (test_watchpoint_triggered_in_syscall): New test.
22632 (test_complex_watchpoint): New test.
22633
22634 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22635
22636 * gdbme.c (call_with_trampolines): New function to try and step
22637 into. Tests trampoline problems on the PA.
22638
22639 * funcargs.exp (localvars_in_indirect_call): No longer expect
22640 stepping into indirect call to fail on PAs.
22641 (test_stepping_over_trampolines): New test.
22642
22643 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22644
22645 * TODO: Add suggestions for static member function tests, and
22646 completion tests.
22647
22648 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22649
22650 * TODO: Add suggestions for "p/a" tests.
22651
22652 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
22653 (default_gdb_exit): Replace all the hair with sending "quit" to
22654 the process with a simple close.
22655
22656 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22657
22658 * TODO: Add suggestions for shared library tests.
22659
22660 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22661
22662 * TODO: Add suggestions for x/s tests.
22663
22664 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22665
22666 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
22667 "enable once", and "enable breakpoints once" with ".*".
22668
22669 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22670
22671 * TODO: Add suggestions about structure passing tests.
22672
22673 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22674
22675 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
22676 the primary1 test, use work around if __GNUC__ < 2.
22677 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
22678 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
22679 Test for bad output rather than waiting for timeout. Issue
22680 second continue only if first continue failed.
22681
22682 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22683
22684 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
22685 operator[] test with gdb_test because the old code didn't seem to
22686 be getting the quoting right with the new dejagnu.
22687
22688 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
22689
22690 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
22691 one from the path.
22692 * Makefile.in: Use a fresh expect if there is one, use runtest
22693 from the src tree if there is one.
22694
22695 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22696
22697 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
22698 next over recursive call. Revise the tests from that point on
22699 (which had been skipped) to match GDB's actual (correct) output.
22700
22701 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
22702 with next over a breakpoint whose condition is false.
22703
22704 * gdb.t00/help.exp: Comment out "help set print" tests just like
22705 (and for same reason as) "help set" test.
22706
22707 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22708
22709 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
22710 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
22711
22712 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22713
22714 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
22715 necessary gdb_target_udi.
22716
22717 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
22718
22719 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
22720 1838 and 2417; they are fixed.
22721
22722 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
22723 gdb.t03/ptype.exp (ptype structure, ptype union):
22724 Remove xfails; the test is looser than when the xfails were added.
22725
22726 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
22727 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
22728
22729 * gdb.t01/run.exp: Only run shell test if isnative.
22730
22731 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
22732 since "run" automatically loads if necessary. Call gdb_target_udi
22733 after the "file" since "file" kills any execution target.
22734
22735 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
22736 GDB. GDB doesn't work that way (not anymore at least) on UDI.
22737 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
22738 argument for UDI.
22739
22740 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22741
22742 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
22743
22744 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
22745
22746 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22747
22748 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
22749 properly quoting regexps. This makes the second argument to
22750 demangle a fixed string, which matches the callers, instead of a
22751 shell-style pattern which is what the previous implementation
22752 used. Update some of the callers.
22753
22754 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22755
22756 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
22757 (comib_nullified_tests): Fix typo.
22758 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
22759 strings. No longer expected to fail.
22760
22761 * gdb.disasm/hppa.s (addib_tests): Fix typo.
22762 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
22763 strings. No longer expected to fail.
22764
22765 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
22766 string. No longer expected to fail.
22767
22768 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22769
22770 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
22771 No longer expected to fail.
22772
22773 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
22774 string. No longer expected to fail.
22775
22776 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22777
22778 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
22779 only in the names (I probably got most of them). I was even
22780 generous with some which differed in underscores in names, and
22781 probably missed a few, and I *still* was able to remove almost a
22782 third of the file with almost no impact on testsuite coverage.
22783
22784 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22785
22786 * gdb.t00/default.exp: Match udi_attach error message as well as
22787 the one from child_attach.
22788
22789 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
22790
22791 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
22792
22793 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
22794 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
22795
22796 * Move test with enums and partial symbols back to
22797 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
22798 Reverts the change of 26 May 93. Per today's change to
22799 stabs.texinfo, the behavior that weird.exp was expecting was
22800 unreasonable; what is important is that the compiler+gdb get
22801 things right, which happens with a recent gcc. Also fix the test
22802 to deal with native compilers which put out the stab gdb can't
22803 deal with.
22804
22805 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22806
22807 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
22808 in the names. The main thing these accomplish is to slow things down.
22809 Many more such duplicates surely remain.
22810
22811 * gdb.t00/help.exp: Comment out "help support" test just like
22812 (and for same reason as) "help set" test.
22813
22814 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
22815
22816 * gdb.t06/break.exp: Remove setup_xfails for
22817 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
22818 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
22819 about known bug in gcc to include up through 2.5.8.
22820 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
22821 well as "_vb$".
22822 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
22823 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
22824 with latest gcc and gdb.
22825 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
22826 well as "_vb$".
22827
22828 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22829
22830 * configure.in (hppa*-*-*): Also configure and build stabs-only
22831 tests.
22832
22833 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22834
22835 * gdb.t10/hppa.mt: A makefile fragment for the PA.
22836 * gdb.t10/configure.in (hppa*-*-*): Use it.
22837
22838 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22839
22840 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
22841
22842 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22843
22844 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
22845 versions prior to 1.13.5.
22846
22847 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22848
22849 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
22850 the prompt is at the start of a line.
22851
22852 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22853
22854 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
22855 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
22856 in the copr tests now.
22857 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
22858 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
22859 expected to fail.
22860
22861 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
22862
22863 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
22864 gdb.t31/chillvars.exp, lib/gdb.exp:
22865 Tweak to run under either version of expect.
22866 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
22867 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
22868 * gdb.t11/list.exp: Remove extraneous whitespace.
22869
22870 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22871
22872 * gdb.t16/printcmds.exp (test_print_strings): Accept
22873 "(unsigned char *) " before the string.
22874
22875 * TODO: Add notes about printing of fancy types and GDB expressions.
22876
22877 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
22878
22879 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
22880 * gdb.t06/configure.in: Don't try to compile signals test program
22881 if doing mips-idt-ecoff.
22882
22883 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
22884
22885 * Most .exp files: Tweak to run under either version of expect.
22886
22887 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22888
22889 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
22890 xfails; I'm not sure why they are failing, but not because of PR 1806.
22891
22892 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
22893
22894 * config/unix-gdb.exp: Remove gdb_unload cause it's already
22895 defined in lib/gdb.exp.
22896
22897 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22898
22899 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
22900 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
22901 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
22902 have to be typeless.
22903
22904 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22905
22906 * TODO: Add suggestion for copyright year test.
22907
22908 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
22909
22910 * configure.in (*-*-lynxos*): Add stabs tests.
22911
22912 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22913
22914 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
22915 so insert a tab before any assembler directive in column zero.
22916
22917 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
22918 stores.
22919 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
22920 stores.
22921 (fpu_short_memory_tests): Likewise.
22922
22923 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22924
22925 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
22926 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
22927 .stabs directives in comments.
22928
22929 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22930
22931 * TODO: New file, describing tests we could write.
22932 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
22933
22934 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22935
22936 * gdb.t06/signals.exp: Add kludge to force re-sync.
22937
22938 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
22939 to xgdb instead of gdb, get out of gdb.
22940
22941 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
22942
22943 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
22944 for info.
22945
22946 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22947
22948 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
22949 * gdb.stabs/configure.in (hppa*-*-*): Use it.
22950 * gdb.stabs/hppa.sed: New sed script for the PA.
22951
22952 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22953
22954 * gdb.stabs: Re-write weird.def and configuration to use sed
22955 instead of cpp. sed is portable and POSIX; cpp is neither.
22956
22957 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22958
22959 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
22960
22961 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22962
22963 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
22964
22965 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22966
22967 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
22968 "_vb$".
22969 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
22970 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
22971
22972 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22973
22974 * lib/gdb.exp: Comment out code which depends on non-existent
22975 `transform' procedure.
22976
22977 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
22978
22979 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
22980 * lib/gdb.exp: Transform tool name.
22981 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
22982 1.1's new error handling system.
22983
22984 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22985
22986 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
22987
22988 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22989
22990 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
22991 They made pattern matching so slow that timeouts happened on
22992 heavily loaded systems. Now any output from "show print" which
22993 gets us back to the GDB prompt is a PASS.
22994
22995 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
22996
22997 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
22998
22999 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23000
23001 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
23002
23003 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
23004 It is not from PR 3220.
23005
23006 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23007
23008 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
23009 just started failing because they depended on the order the
23010 subcommands are presented, or exact docstring text. This kind of
23011 test is a pain and has minimal benefit.
23012
23013 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23014
23015 * gdb.t09/corefile.exp: At end of test, use "core" command with
23016 no arguments.
23017
23018 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
23019
23020 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
23021 17}/Makefile.in: Make it possible to run the testsuite with Sun
23022 make and CC = cross gcc by adding explicit build rules for .o
23023 files.
23024
23025 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23026
23027 * gdb.t15/funcargs.exp: Don't put comments on same line as
23028 setup_xfail (@#$*%& tcl braindamage!).
23029
23030 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23031
23032 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
23033
23034 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
23035
23036 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
23037 * gdb.t20/inherit.exp: remove three dumplicate entries.
23038
23039 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23040
23041 * gdb.t06/break.exp: For "next over recursive call", fail on any
23042 incorrect output, not just on "factorial (value=2)".
23043
23044 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23045
23046 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
23047 working now. Add an xfail if accesing a bss variable causes
23048 a memory error if the target is not yet run.
23049
23050 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23051
23052 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
23053 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
23054 name of __st* demangling (2 strings). Did Kung really get the
23055 more than 95 others right without testing them?
23056
23057 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
23058
23059 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
23060
23061 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
23062
23063 * configure.in (configdirs): Add gdb.disasm
23064 * gdb.disasm: New directory for GDB disassembler tests.
23065 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
23066
23067 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23068
23069 * gdb.t00/help.exp: Don't test "help set".
23070
23071 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
23072 from within expect statements. None of these happen anymore and
23073 they cause regressions to be silently unnoticed.
23074
23075 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
23076 messages) about known failures with gcc cygnus-2.4.5-930417.
23077
23078 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
23079 comp-info.exp so it gets built if it doesn't exist.
23080
23081 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
23082 it is no longer used.
23083 * gdb.t13/comp-info.c: Removed.
23084
23085 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23086
23087 * gdb.t06/signals.exp: Add xfail for sun3.
23088
23089 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23090
23091 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
23092 relevant because ^C doesn't get sent but failure can be reproduced
23093 interactively).
23094
23095 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23096
23097 * gdb.stabs/alpha.mt: New configuration file for alpha.
23098 * gdb.stabs/configure.in: Use it.
23099 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
23100 sharing with alpha.mt, redefine long to word via preprocessor.
23101 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
23102 for alpha.
23103 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
23104 native cc.
23105 * gdb.t00/teststrategy.exp: Change expect string so that we
23106 consume the `(xgdb)' from the command echo and from the gdb prompt.
23107 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
23108 gdb currently compares all values as long, so this failure probably
23109 applies to any configuration where LONGEST is bigger than a target int.
23110 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
23111 with gcc.
23112 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
23113 to handle opaque pointers, gcc is.
23114 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
23115 as first argument. Include <sys/types.h> and change all operator
23116 new definitions to use size_t.
23117 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
23118 now that we use size_t.
23119
23120 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23121
23122 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
23123 a long or float array cast all array members to the same type.
23124 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
23125 with 64 bit longs.
23126 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
23127 on alpha.
23128 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
23129
23130 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23131
23132 * gdb.t24 (demangle.exp): Constructors of templates have names like
23133 vector<int>::vector(int) not vector<int>::vector<int>(int). See
23134 section 14.6 of the ARM.
23135
23136 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
23137 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
23138 accomplish little and slow down the testsuite.
23139
23140 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
23141 Accept spaces various places.
23142
23143 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23144
23145 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
23146 with watchpoint enabled.
23147
23148 * Makefile.in: Remove definition of CC and remove the second
23149 definition of CXX (the "CXX = gcc" one remains). These definitions
23150 were causing backquotes to be expanded within backquotes, which
23151 doesn't work.
23152
23153 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
23154
23155 * gdb.t17/callfuncs.exp: Add "return 0" to end.
23156
23157 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23158
23159 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23160 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
23161 by mips cc and contains no stabs entries.
23162
23163 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23164
23165 * config/vx-gdb.exp: Use fake device to load files rather than
23166 NFS.
23167 * lib/gdb.exp: New proc to do "file" command.
23168 * config/unix-gdb.exp: Use new "file" proc.
23169
23170 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23171
23172 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23173 Rework board rebooting slightly.
23174 (gdb_exit): Don't exit from the remote shell; there isn't one.
23175 * gdb.stabs/weird.exp: If a program is being debugged already,
23176 kill it.
23177 * gdb.t04/setvar.exp: Stop and restart gdb.
23178 * gdb.t05/expr.exp: Likewise.
23179 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23180 restart gdb and reload the program.
23181 * gdb.t08/opaque.exp: Likewise.
23182 * gdb.t12/scope.exp: Likewise.
23183 * gdb.t13/bitfields.exp: Likewise.
23184 * gdb.t15/funcargs.exp: Likewise.
23185 * gdb.t20/classes.exp: Likewise.
23186 * gdb.t03/ptype.exp: Increase timeout.
23187 * gdb.t16/printcmds.exp (test_print_string_constants,
23188 test_print_array_constants): Likewise.
23189 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23190 * gdb.t20/classes.exp (do_tests): Likewise.
23191 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23192
23193 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23194
23195 * gdb.stabs: Renamed *wierd* to *weird*.
23196
23197 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23198
23199 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23200 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23201
23202 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23203
23204 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23205 (do_tests): Remove xfail for whatis on one_var and two_var.
23206
23207 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
23208
23209 * Makefile.in: Made cross building work better by adding
23210 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
23211
23212 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23213
23214 * gdb.t15/{return.c,return.exp,Makefile.in}:
23215 New test, currently commented out.
23216
23217 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
23218
23219 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
23220 still running and removes the leftover named socket so GDb can do
23221 clean restarts.
23222
23223 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
23224
23225 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
23226 console, not GDB.
23227 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
23228 cross testing works better with "make check"
23229 * config/unix-gdb: Use default procedures for exit and version.
23230 * config/vx-gdb.exp: Cleaned up and massaged back to working order
23231 with the newest VxWorks.
23232
23233 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23234
23235 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
23236 old form.
23237
23238 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
23239 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
23240
23241 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
23242
23243 * config/unix-gdb.exp: Remove this version of gdb_exit
23244 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
23245 Rob says he'll look at it when he gets back to testing boards.
23246
23247 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
23248
23249 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
23250 an expected fail for certain ptype commands.
23251
23252 * gdb.t20/classes.exp: Update expected results of "ptype class
23253 Base1" to account for the constructor that now appears in the type.
23254
23255 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
23256
23257 * configure.in (configdirs): Restore gdb.t04, which mysteriously
23258 disappeared from list.
23259 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
23260 "alldone" proc with call to cleanup and exit.
23261 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
23262 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
23263 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
23264 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
23265 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
23266 "alldone" proc with simple returns that suppress remaining
23267 tests. The alldone proc went away many months ago.
23268
23269 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23270
23271 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
23272
23273 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
23274
23275 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23276
23277 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
23278 as vax gdb will display them.
23279
23280 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23281
23282 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
23283 optimizers.
23284
23285 * scope.exp: Change "bad value for localval" messages so each one
23286 is unique.
23287
23288 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
23289 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
23290
23291 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
23292
23293 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23294
23295 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
23296 doesn't exist (due to optimization).
23297
23298 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23299
23300 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
23301 contains \r because the filename is long.
23302
23303 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
23304 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
23305
23306 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23307
23308 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
23309 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
23310 Ultrix.
23311 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
23312 int tests.
23313 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
23314
23315 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
23316
23317 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
23318
23319 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
23320 to match does not match the passing case but still matches the
23321 failing case.
23322
23323 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23324
23325 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
23326
23327 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
23328
23329 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
23330 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
23331 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
23332 Remove various versions of gdb_exit.
23333 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
23334 gdb_exit.
23335 * config/unix-gdb.exp: gdb_exit remains here, and should override
23336 the generic version, since it's doing a lot of wierd stuff that
23337 the other versions aren't. FIXME, fold it in, or abandon this
23338 version.
23339
23340 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23341
23342 * gdb.t24/demangle.exp: Add tests for PR 3220.
23343
23344 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23345
23346 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
23347
23348 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
23349
23350 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
23351 "i386-*-*". Works for i486 as well.
23352
23353 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
23354 bug, and expand domain of xfail to all SVR4 systems, since the
23355 actual problem is likely to be in generic SVR4 /proc support.
23356
23357 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23358
23359 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
23360
23361 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
23362
23363 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
23364 xfails for other systems. Match a missing 'Continuing.' as an
23365 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
23366
23367 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
23368 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
23369 Only issue warning for missing executables if -all option is used.
23370
23371 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
23372 file if -all option is used. It's like an unpredictable XFAIL.
23373
23374 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23375
23376 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
23377 for dynamically linked binaries.
23378
23379 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
23380
23381 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23382
23383 * gdb.t20/inherit.exp: Change message for "print tagless struct"
23384 to state that this is a known bug in old versions of g++.
23385
23386 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23387
23388 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
23389 while waiting for `Continuing'.
23390
23391 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
23392
23393 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
23394 in text, data, and bss.
23395 * gdb.t10/nodebug.c: Add local and global test variables for
23396 initialized and uninitialized data.
23397
23398 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23399
23400 * config/unix-gdb.exp (gdb_exit): Add "wait".
23401
23402 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23403
23404 * gdb.t06/signals.exp: xfail the continue from the handler for all
23405 targets.
23406
23407 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
23408 function with watchpoints enabled, the i386 call dummy starts with
23409 a call.
23410
23411 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
23412 386 bsd names its corefiles.
23413
23414 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
23415
23416 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
23417 compilers don't grok it.
23418 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
23419 with small octal ints rather than character constants, which
23420 are signed and might not fit if first promoted to int.
23421
23422 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
23423
23424 * gdb.t09/Makefile.in (clean): Remove corefile.
23425
23426 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23427
23428 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
23429
23430 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23431 and Jim Kingdon (kingdon@cygnus.com)
23432
23433 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
23434 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
23435 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
23436
23437 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23438
23439 * gdb.t17/interrupt.exp: Add xfail for hppa.
23440
23441 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23442
23443 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
23444 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
23445 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
23446 to determine signed-ness of bitfields and use the result to setup
23447 the xfail.
23448 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
23449 * gdb.t15/funcargs.exp: Use them to step until the second indirect
23450 call line is reached if necessary.
23451
23452 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23453
23454 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
23455
23456 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23457
23458 * gdb.t06/break.exp: Also test `clear' command.
23459
23460 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23461
23462 * gdb.t00/teststrategy.exp: Remove extra quote.
23463
23464 * gdb.t07/watchpoint.exp: Change xfail for calling function with
23465 watchpoint enabled to be for all non-68k machines.
23466
23467 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
23468
23469 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23470
23471 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
23472 targets use aout.mt instead of ecoff.mt as gas understands
23473 standard aout format.
23474
23475 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23476
23477 * lib/gdb.exp (runto): Don't insist that function we are running to
23478 was compiled with -g.
23479
23480 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
23481
23482 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
23483 to get back into the read system call.
23484 Accept leading newline in case where we woke it up.
23485
23486 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23487
23488 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
23489 to make the stabs test work on ecoff systems using gcc and -with-stabs.
23490 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
23491 enable ecoff configuration.
23492
23493 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23494
23495 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
23496
23497 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23498
23499 * gdb.t16/printcmds.exp: Add another printf test.
23500
23501 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
23502
23503 * configure.in: If configured -with-stabs on any target, add
23504 stabsdirs to configdirs.
23505
23506 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23507
23508 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
23509 fun" so pattern does not match the command itself.
23510
23511 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23512
23513 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
23514
23515 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23516
23517 * gdb.t17/interrupt.exp: Test for more things.
23518
23519 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23520
23521 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
23522 compiler arranges the code and line numbers.
23523
23524 * gdb.t17/interrupt.exp: Don't send \n after ^C.
23525
23526 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23527
23528 * gdb.t00/help.exp: Increase expect input buffer size.
23529
23530 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23531
23532 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
23533
23534 * gdb.t07/watchpoint.exp: Add xfail for hppa.
23535
23536 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
23537
23538 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
23539 [0-9]*, not just [0-9].
23540
23541 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23542
23543 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
23544
23545 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
23546
23547 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23548
23549 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
23550
23551 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23552
23553 * gdb.t06/signals.c: Add xfails for sun3.
23554
23555 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
23556
23557 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
23558 test_stepping tests.
23559
23560 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23561
23562 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
23563
23564 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
23565
23566 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
23567 rather than actually putting it through cpp twice.
23568
23569 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
23570
23571 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
23572
23573 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
23574 no longer needed.
23575
23576 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23577
23578 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
23579
23580 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
23581 C++ features prints as "struct", make it a pass, not an xfail.
23582
23583 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23584
23585 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
23586 Don't require VA to print as "class" rather than "struct".
23587
23588 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
23589
23590 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
23591
23592 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23593
23594 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
23595
23596 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23597
23598 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
23599 order.
23600
23601 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23602
23603 * gdb.t16/printcmds.exp: Add printf tests.
23604
23605 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
23606
23607 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
23608
23609 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
23610
23611 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
23612 pass counts, to counteract any existing or future setup_xfails.
23613
23614 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23615
23616 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
23617 {BEGIN,END}_COMMON for common block instead of STAB.
23618 * gdb.stabs/wierd.exp: Add xfail for rs6000.
23619
23620 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
23621 intp_var should be N_GSYM not N_LSYM.
23622 wierd-aout.S: Use a label for the value of the N_SO.
23623 wierd.def: Remove all backslashes.
23624 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
23625
23626 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23627
23628 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
23629 get the expected next to inheritance3.
23630
23631 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23632
23633 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
23634 now that gcc-2.4 gets it right.
23635
23636 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23637
23638 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
23639
23640 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
23641 generating comp-info.exp which works for cross-compilation.
23642
23643 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
23644
23645 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
23646 "*-*-sysv4.*".
23647
23648 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
23649
23650 * gdb.t01/run.exp: Start with a fresh gdb.
23651 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
23652 SVR4.x.
23653
23654 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
23655
23656 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
23657 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
23658 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
23659 Makefile.in (distclean, realclean): Remove gdbme.c from list of
23660 things to remove.
23661
23662 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
23663
23664 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
23665 test cases from bug reports.
23666
23667 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
23668
23669 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
23670 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
23671 avoid spurious xfails.
23672 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
23673 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
23674 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
23675
23676 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
23677
23678 * gdb.t00/teststrategy.exp: Rework to provide more useful
23679 description of each test, fix problem with systems that define
23680 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
23681 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
23682 results for "next over recursive call" so timeouts aren't taken
23683 by error.
23684
23685 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
23686
23687 * gdb.t12/scope.exp: Test printing of variables before run.
23688
23689 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
23690 printed in wrong order due to sorting.
23691
23692 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
23693
23694 * gdb.t00/teststrategy.exp: Fix expected results for printing
23695 user entered string constant. Is array of char, prints with no
23696 address.
23697
23698 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
23699 commands.
23700 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
23701 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
23702 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
23703 of struct of char arrays.
23704 * gdb.t00/radix.exp: New tests for radix commands.
23705
23706 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
23707
23708 * gdb.t16/printcmd.exp: Print a variable before running program
23709 (with xfail for AIX).
23710
23711 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
23712
23713 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
23714
23715 * gdb.t16/printcmd.exp: Don't print variables before running program.
23716
23717 * gdb.t06/break.exp: Don't require envp argument to main.
23718
23719 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
23720
23721 * gdb.t02/whatis.exp, gdb.t11/list.exp:
23722 Add xfails for rs6000.
23723
23724 * gdb.t02/whatis.exp: Change other tests not to re-test something
23725 we already tested.
23726
23727 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
23728 each type used has a variable of that type.
23729
23730 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
23731
23732 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
23733
23734 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
23735
23736 * configure.in: change srctrigger to be a file, not a directory
23737
23738 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
23739
23740 * configure.in (mips-idt-ecoff*): Added trailing '*'.
23741
23742 * gdb.t11/list.exp: Fixed a couple of typos.
23743
23744 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
23745
23746 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
23747 is fixed and PR is closed.
23748 * gdb.t16 (gdbme.c): Add simple test string variable.
23749 * gdb.t16 (printcmds.exp): Add tests with simple test string
23750 variable, primarily for boundaries on "set print elements".
23751
23752 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
23753
23754 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
23755 Make leading 0's optional and don't expect a tab in the middle
23756 of the number.
23757
23758 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
23759
23760 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
23761 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
23762 don't end command passed to gdb_test with newline.
23763
23764 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
23765 signed keyword away, don't expect signed bitfields to be signed.
23766
23767 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
23768 printing with only as many 1's as are in the field as well as printing
23769 with 32 1's (see comment).
23770
23771 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
23772
23773 * gdb.t00/default.exp: Start with a fresh gdb.
23774 * configure.in (configdirs): Remove gdb.t31 until the chill
23775 compiler works again. It no longer is able to find chillrt0
23776 since it isn't in libchill.a anymore.
23777 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
23778 wierd.o, make more modular.
23779 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
23780 spurious newlines that caused problems.
23781
23782 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23783
23784 * Move test with enums and partial symbols from gdb.t03/ptype.exp
23785 to gdb.stabs/wierd.exp since GCC has worked around the bug.
23786 gdb.stabs/wierd.{exp,def}: Many new tests.
23787
23788 * gdb.t00/default.exp: update info line for new message.
23789
23790 * gdb.t02/{whatis.exp,gdbme.c}:
23791 Test that "char *" doesn't print as "caddr_t".
23792
23793 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23794
23795 * gdb.t00/help.exp: Use .* in place of some help messages which
23796 just changed.
23797 gdb.t00/default.exp: Update "info frame" test for new message.
23798 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
23799 Remove some xfails
23800
23801 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23802
23803 * gdb.t03/{gdbme.c,ptype.exp}:
23804 Add tests for typedef'd struct and union without tags.
23805 Also check "whatis" on a variable of a typedef'd enum without a tag.
23806
23807 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
23808 PRMS 1823; the bug still exists but isn't reproduced by this test
23809 anymore), and remove rs6000 XFAIL (the bug is fixed).
23810
23811 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
23812 duplicated from whatis.exp. For those that are left, accept
23813 "long", "long int", or "int" for long variables (whatis.exp already
23814 has an XFAIL for "int", so no need to fail it here).
23815
23816 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
23817 Deal with GCC's names for types now that GDB uses the compiler's names.
23818
23819 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
23820 setup_xfail's for sunos4. If we #defined the signed keyword away,
23821 don't expect GDB to know that char it is signed.
23822
23823 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
23824
23825 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
23826
23827 * configure.in (configdirs): Add gdb.t24 for C++ tests that
23828 should work on any system, regardless of debugging format.
23829 * gdb.t21/demangle.exp: Move to gdb.t24.
23830 * gdb.t24/demangle.exp: Move from gdb.t21.
23831 * gdb.t24/{Makefile.in, configure.in}: New files.
23832
23833 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23834
23835 * configure.in: Do gdb.stabs and C++ tests only for stabs.
23836 * gdb.stabs: New directory.
23837
23838 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23839
23840 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
23841 not just "Quit anyway?".
23842
23843 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
23844
23845 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
23846 that all setup_xfails are immediately followed by clear_xfails.
23847
23848 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
23849
23850 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
23851 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
23852 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
23853 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
23854 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
23855 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23856 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23857 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
23858 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
23859 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
23860 gdb.t31/chillvars.exp, lib/gdb.exp:
23861 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
23862 bug-gdb@prep.ai.mit.edu.
23863
23864 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
23865
23866 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
23867 with 0.0, not integer 0.
23868
23869 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
23870
23871 * gdb.t06/break.exp: Update for "Kill the program" message change.
23872
23873 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
23874
23875 * Makefile.in (GDBFLAGS): Set to -nx.
23876 * Makefile.in (site.exp): Use GDBFLAGS.
23877
23878 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23879
23880 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
23881 Makefiles.
23882 (check): depend on just-check.
23883 (just-check): added so that tests can be run without a noop
23884 build pass.
23885
23886 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23887
23888 Switch to using configure's configdirs.
23889 * Makefile.in (Makefile): add configure.in dependency.
23890 (SUBDIRS): removed redundant assignment.
23891 * configure.in: switch subdirs assignment to configdirs.
23892 * gdb.t*/configure.in: new files.
23893
23894 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
23895
23896 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
23897 works.
23898
23899 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
23900
23901 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
23902 in explicit rules. Apparently this is not supported by some makes.
23903
23904 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
23905
23906 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
23907
23908 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23909
23910 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
23911 disappeared.
23912
23913 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
23914
23915 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
23916
23917 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
23918
23919 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
23920 watchpoint problem that is now fixed.
23921 * gdb.t30/chexp.exp: Remove setup_xfail for printing
23922 uninitialized convenience variables.
23923 * gdb.t31/chillvars.exp: Fix expected patterns for printing
23924 structures.
23925
23926 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23927
23928 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
23929 which causes expect to get out of sync with gdb on long output
23930 from help set.
23931 * gdb.t09/corefile.exp: Make expected pattern for core file
23932 failing signal and frame output format less sun specific.
23933
23934 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
23935
23936 * gdb.t31/chillvars.exp: Add and remove initial dummy
23937 breakpoint, so that symbol table is forced in.
23938 (Needed at least on Sunos4, though it seems not SVR4.)
23939 * gdb.t31/chillvars.exp: Update for changed output format.
23940
23941 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
23942
23943 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
23944
23945 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
23946
23947 * Makefile.in: Added --srcdir when invoking runtest, removed the
23948 need for a local config file. (optional now)
23949
23950 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
23951
23952 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
23953 failure count used to force early termination. Add some more
23954 expected failures for gnu style demangling.
23955
23956 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23957
23958 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
23959 pmi variable from gdb.t20/gdbme to get optimized away.
23960 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
23961 Check for written corefile upon timeout _and_ eof.
23962
23963 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23964
23965 * config/unix-gdb.exp: Add missing return 0.
23966
23967 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23968
23969 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
23970 test termination.
23971
23972 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
23973
23974 * configure.in (subdirs): Put back gdb.t17 which mysteriously
23975 disappeared.
23976
23977 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
23978
23979 * gdb.t10/crossload.exp: Disable the i860-elf test until such
23980 time as i860 support works.
23981
23982 * gdb.t15/funcargs.exp: Fix expected outputs to include
23983 "backtrace 100\r" rather than just "backtrace\r", to match last
23984 change.
23985
23986 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
23987
23988 * config/udi-gdb.exp (gdb_exit): Remove close command.
23989 (gdb_target_udi): New procedure to set the UDI target.
23990 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
23991 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
23992 Added waits for prompts after several question responses. Added
23993 some more responses used by a29k-amd-udi-gdb.
23994 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
23995 pass different arguments, restart UDI connection after program
23996 completion.
23997 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
23998 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23999 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
24000 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
24001 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
24002 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
24003 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
24004 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
24005 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
24006 after program completion.
24007 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
24008 compiled with a SELECT_VECS setting.
24009 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
24010 infinite recursion.
24011
24012 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
24013 Added checks for COFF results, and made them expected failures for
24014 all targets. It would be better to make them expected failures
24015 for COFF targets only.
24016
24017 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
24018
24019 * Makefile.in: add null dvi target, don't bother to recurse
24020 through test directories for info and install-info; rename
24021 $(datadir) to be dejagnu instead of deja-gnu
24022
24023 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
24024
24025 * gdb.t31/gdbme.ch: Re-enable code that previously caused
24026 compiler to coredump.
24027 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
24028 code.
24029
24030 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
24031
24032 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
24033 coredump.
24034 * gdb.t31/chillvars.exp: Comment out tests that depend on that
24035 code.
24036
24037 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
24038
24039 * gdb.t03/ptype.exp: tests for return code from gdb_test.
24040 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
24041 which in a shell. Deletes xgdb when done.
24042 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
24043 Tests the return from the "set height" or "set width" commands.
24044 Added a few return codes where needed.
24045
24046 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
24047
24048 * Makefile.in (SUBDIRS): Add gdb.t17.
24049 * configure.in (subdirs): Add gdb.t17.
24050 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
24051 files to test gdb's calling of functions in the inferior with
24052 the correct arguments and gdb's ability to retrieve any
24053 result returned.
24054
24055 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
24056
24057 * config/unix-gdb.exp (gdb_exit): Remove close commands that
24058 may be called after gdb goes away. Previous versions of expect
24059 needed these to avoid file descriptor leaks, but they cause
24060 errors with the current revision of expect.
24061 * gdb.t00/gdbvars.exp: Use -re on expected output after
24062 setting sevenbit-strings.
24063 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
24064 to set sevenbit-strings consistent across tests.
24065 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
24066 set sevenbit-strings consistent across tests.
24067
24068 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
24069
24070 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
24071 expected output to match current "expect" expectations.
24072
24073 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
24074
24075 * gdb.t00/default.exp: Change expected output for default "source"
24076 command, to match new gdb behavior which requires a filename to
24077 source.
24078
24079 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
24080
24081 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
24082 expected fail for i486-*-* that misses the marker2 function.
24083 * gdb.t10/crossload.exp (bfddefault): Allow successful
24084 recognition of a format to pass even if no symbols are found.
24085 Explicitly catch failures where the format is not recognized
24086 or is ambiguous, and add the reason to the fail message.
24087 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
24088 the cause is and invalid target and add reason to failure message.
24089 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
24090 elf32-i386, elf32-sparc, and elf32-i860.
24091 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
24092 Set up expected failure for 'filename'::variable scope resolution,
24093 which is now apparently broken on all targets.
24094 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
24095 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
24096 gdb.t23/templates.exp: Change failure for missing binfile into
24097 just a warning.
24098 gdb.t21/demangle.exp: Change all cfront references to 'arm'
24099 references.
24100
24101 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
24102
24103 * gdb.t00/default.exp: Add expected output for default "source"
24104 command, to match new gdb behavior.
24105 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
24106
24107 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
24108
24109 * config/*-gdb.exp: returns an error, rather than exiting on
24110 internal errors.
24111
24112 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
24113
24114 * gdb.t03/gdbme.c: Add pointer to struct variable.
24115 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
24116 referencing struct members.
24117
24118 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
24119
24120 * configure.in (mips-idt-ecoff): New target.
24121 * config/mips-gdb.exp: New file for remote board using MIPS remote
24122 debugging protocol.
24123
24124 * Redid configuration scheme. Removed gdb.t*/configure.in.
24125 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
24126 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
24127 distclean targets. Built executables via .o files. Adjusted
24128 tests to account for source files in $(srcdir) rather than
24129 $(objdir).
24130 * lib/gdb.exp (runto): Don't expect () after the function name,
24131 because it may have arguments.
24132
24133 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
24134
24135 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
24136 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
24137 expected failures for mips-idt-* and mips-sgi-*.
24138 * gdb.t00/default.exp (attach): Kill process if requested.
24139 * gdb.t00/help.exp (help target core, help target): Accept a gdb
24140 that does not read core files.
24141 * gdb.t01/run.exp: Removed checks for exit status code.
24142 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
24143 it is linked in.
24144 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
24145 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
24146 appropriate, rather than doing it by hand.
24147 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
24148 execution.
24149 * gdb.t10/crossload.exp: Kill existing program if needed.
24150 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
24151 appropriate, rather than doing it by hand. Always increase
24152 timeout for this test, not just for VxWorks.
24153
24154 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
24155
24156 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
24157 of Chill STRUCT types and STRUCT values.
24158 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24159 than "char".
24160 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
24161 struct2): New struct definitions and initializations to test
24162 simple Chill STRUCT types.
24163
24164 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24165
24166 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24167 the null byte at the end of strings.
24168 * gdb.t00/default.exp: Make show version insensitive to copyright
24169 date.
24170 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24171 to avoid dependencies on target char signedness.
24172 * gdb.t16/printcmds.exp: Update expected results for explicitly
24173 unsigned char.
24174 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24175 now work.
24176 * gdb.t21/demangle.exp: Add many more patterns for template
24177 demangling, most of them being expected failures.
24178 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24179 string we are matching for, to match on the whole string.
24180 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24181 and fix a whole bunch that had incorrect expected output but were
24182 passing anyway because of the bug in "proc demangle".
24183 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24184 type.
24185 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24186
24187 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24188
24189 * gdb/testsuite: made modifications to testcases, etc., to allow
24190 them to work properly given the reorganization of deja-gnu and the
24191 relocation of the testcases from deja-gnu to a "tool" subdirectory.
24192
24193 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24194
24195 * gdb/testsuite: Initial creation of gdb/testsuite.
24196 Migrated dejagnu testcases and support files for testing nm to
24197 gdb/testsuite from deja-gnu. These files were moved "as is"
24198 with no modifications. This migration is part of a major overhaul
24199 of dejagnu. The modifications to these testcases, etc., which
24200 will allow them to work with the new version of dejagnu will be
24201 made in a future update.
24202
24203 For additional changes see gdb.mi/ChangeLog-1999-2003.
24204 \f
24205 ;; Local Variables:
24206 ;; mode: change-log
24207 ;; left-margin: 8
24208 ;; fill-column: 74
24209 ;; version-control: never
24210 ;; End:
24211
24212 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
24213 2003, 2004, 2005 Free Software Foundation, Inc.
24214 Copying and distribution of this file, with or without modification,
24215 are permitted provided the copyright notice and this notice are preserved.