From 0ab6de23367da6fc61610bbabbb16cb1001aa20d Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Mon, 17 Jan 1994 23:27:07 +0000 Subject: [PATCH] Add patches from gdb 4.12 testing. --- gdb/testsuite/.Sanitize | 1 - gdb/testsuite/ChangeLog | 7 ++----- gdb/testsuite/TODO | 20 ++++---------------- 3 files changed, 6 insertions(+), 22 deletions(-) diff --git a/gdb/testsuite/.Sanitize b/gdb/testsuite/.Sanitize index d5914c0092..c4de1ea586 100644 --- a/gdb/testsuite/.Sanitize +++ b/gdb/testsuite/.Sanitize @@ -26,7 +26,6 @@ Things-to-keep: .gdbinit ChangeLog Makefile.in -TODO config configure.in gdb.disasm diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f40a118e5e..c47b960e5d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,9 +1,6 @@ -Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com) +Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com) - * gdb.t16/printcmds.exp (test_print_strings): Accept - "(unsigned char *) " before the string. - - * TODO: Add notes about printing of fancy types and GDB expressions. + * Most .exp files: Tweak to run under either version of expect. Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com) diff --git a/gdb/testsuite/TODO b/gdb/testsuite/TODO index 0550e6c4f4..153cb00bb1 100644 --- a/gdb/testsuite/TODO +++ b/gdb/testsuite/TODO @@ -41,6 +41,10 @@ weird.exp--test that unrecognized cross-reference types or unrecognized visibility or virtual characters get skipped properly (see stabs.texinfo). +Test "jump" including jump to a breakpoint (the latter will need an +xfail for UDI and probably VxWorks (PR 1786 for vxworks; PR 2416 +contains some info for 29k). + Test C++ nested types (especially if PR 1954 is fixed; even if not *some* things already should work even in the presence of nested types). Test classes nested more than 9 levels deep (g++ mangles @@ -48,18 +52,6 @@ these differently) (both a demangle test and some tests which also test the compiler). Test calling a method of a class nested more than 9 levels (for gdb_mangle_name and demangling). -Test printing complex types, including functions, pointers to arrays -of pointers of functions, functions which return pointers to -functions, etc. - -Test GDB expressions--test all operators (and overloaded operators for -C++). Test integer constants which are signed or unsigned int, long, -or long long. Test detection of overflow of an integer constant. -Here are a few integer constants to test (test they get the right -types): 5, 5LL, 5LuL, 5L6u (invalid), 5LU. Maybe things like -0x12345678, 0x87654321, etc., but their types depend on sizes of int, -long, etc. - Test that printing const-qualified versions of various types works. In particular, on the sparc and probably other machines, "double" is handled differently from most types because it requires more alignment @@ -125,10 +117,6 @@ If there are two breakpoints in the same place, and exactly one of them has its condition true, test that the correct breakpoint gets printed. -Test "jump" including jump to a breakpoint (the latter will need an -xfail for UDI and probably VxWorks (PR 1786 for vxworks; PR 2416 -contains some info for 29k). - Set a watchpoint on a local variable (to be interesting, make a few calls, to be more interesting, make a recursive call). Test that it gets disabled when leaving that scope.