forked from Imagelibrary/binutils-gdb
* gdb.base/setshow.exp: New file, tests show and set.
* gdb.base/setshow.c: New file, tests show and set. * gdb.base/help.exp: Add test for help set|show annotate. * gdb.base/default.exp: Add test for set|show annotate. PR 8511
This commit is contained in:
16
gdb/testsuite/gdb.base/setshow.c
Normal file
16
gdb/testsuite/gdb.base/setshow.c
Normal file
@@ -0,0 +1,16 @@
|
||||
/* IMPORTANT: leave this comment in the first line of this source file. */
|
||||
/* this will guarantee that line 1 contains no code. */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
char **argv;
|
||||
{
|
||||
int i = 1;
|
||||
|
||||
while (i < argc)
|
||||
printf ("%s ", argv[i++]);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user