aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/structs3.c
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2001-01-30 02:49:36 +0000
committerMichael Chastain <mec@google.com>2001-01-30 02:49:36 +0000
commitc9049fc98f3281433941016016242a57577f5f10 (patch)
treecf9505c614b37ac0e20be75013c03fd9d7403a97 /gdb/testsuite/gdb.base/structs3.c
parent9add9c04bdf2c48bec05ba8eb2883c395e08b5ca (diff)
downloadgdb-c9049fc98f3281433941016016242a57577f5f10.zip
gdb-c9049fc98f3281433941016016242a57577f5f10.tar.gz
gdb-c9049fc98f3281433941016016242a57577f5f10.tar.bz2
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 0000000..a1afb80
--- /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;