summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/structs3.c
diff options
context:
space:
mode:
authorMichael Chastain <mec.gnu@mindspring.com>2001-01-30 02:49:36 +0000
committerMichael Chastain <mec.gnu@mindspring.com>2001-01-30 02:49:36 +0000
commite1b553a338d8643505143eb6df8e3b9488b7f9e8 (patch)
treee96d9d1d3fa06a541fb001dc8bfec8c0efe522eb /gdb/testsuite/gdb.base/structs3.c
parent0e0fc19112ea68bb4745322caec2e379319a7b75 (diff)
downloadgdb-e1b553a338d8643505143eb6df8e3b9488b7f9e8.tar.gz
2001-01-29 Michael Chastain <chastain@redhat.com>
* symtab.c (block_lookup_symbol): Use 'namespace' parameter in symbol comparisons in binary search.
Diffstat (limited to 'gdb/testsuite/gdb.base/structs3.c')
-rw-r--r--gdb/testsuite/gdb.base/structs3.c57
1 files changed, 57 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/structs3.c b/gdb/testsuite/gdb.base/structs3.c
new file mode 100644
index 00000000000..a1afb80f771
--- /dev/null
+++ b/gdb/testsuite/gdb.base/structs3.c
@@ -0,0 +1,57 @@
+/* gdb-gnats gdb/15 */
+
+struct tag_00 * tag_00 (int a0)
+{
+ return 0;
+}
+
+int
+main ()
+{
+#ifdef usestubs
+ set_debug_traps ();
+ breakpoint ();
+#endif
+
+ tag_00( 0 );
+ return 0;
+}
+
+int sym_0;
+int sym_1;
+int sym_2;
+int sym_3;
+int sym_4;
+int sym_5;
+int sym_6;
+int sym_7;
+int sym_8;
+int sym_9;
+int sym_10;
+int sym_11;
+int sym_12;
+int sym_13;
+int sym_14;
+int sym_15;
+int sym_16;
+int sym_17;
+int sym_18;
+int sym_19;
+int sym_20;
+int sym_21;
+int sym_22;
+int sym_23;
+int sym_24;
+int sym_25;
+int sym_26;
+int sym_27;
+int sym_28;
+int sym_29;
+int sym_30;
+int sym_31;
+int sym_32;
+int sym_33;
+int sym_34;
+int sym_35;
+int sym_36;
+int sym_37;