Add patches from gdb 4.12 testing.

This commit is contained in:
Rob Savoye 1994-01-17 23:27:07 +00:00
parent 964affdcf8
commit 0ab6de2336
3 changed files with 6 additions and 22 deletions

View file

@ -26,7 +26,6 @@ Things-to-keep:
.gdbinit
ChangeLog
Makefile.in
TODO
config
configure.in
gdb.disasm

View file

@ -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)

View file

@ -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.