gdb: Allow GDB to _not_ load a previous command history
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / exprs.c
index b35c3a58d2561a8fc7a150e440371181e049f760..cd605f39d307b5dd4187b327c7f9b9d2483c6f3e 100644 (file)
@@ -1,17 +1,6 @@
-#ifdef PROTOTYPES
 int main (int argc, char **argv, char **envp)
-#else
-main (argc, argv, envp)
-     int argc;
-     char **argv;
-     char **envp;
-#endif
 {
     extern void dummy();
-#ifdef usestubs
-    set_debug_traps();
-    breakpoint();
-#endif
     dummy();
     return 0;
     
@@ -75,6 +64,11 @@ unsigned long        v_unsigned_long_array[2];
 
 float          v_float_array[2];
 double         v_double_array[2];
+
+/**** initialized array *******/
+
+int            v_int_array_init[2] = { 10, 20 };
+
 /**** pointers *******/
 
 char           *v_char_pointer;
@@ -184,6 +178,7 @@ union tu_link {
 enum colors {red, green, blue} color;
 enum cars {chevy, ford, porsche} clunker;
 
+struct t_struct *null_t_struct;
 
 void dummy()
 {
This page took 0.025649 seconds and 4 git commands to generate.