include/
[external/binutils.git] / gdb / testsuite / gdb.stabs / weird.def
index d558f98..33116b4 100644 (file)
@@ -7,19 +7,19 @@
 
 # Try all possible symbol descriptors.  Note that GDB should merely
 # complain() even though these strings are totally bogus.  This allows
-# us to define new syntaxes.
+# future compilers to define new syntaxes.
 .stabs "sym32:  !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~",N_LSYM,0,0,0
 
 # Type descriptors.
 .stabs "type32:t32=  !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~",N_LSYM,0,0,0
 
-# Note that a 'G', N_GSYM symbol needs no value.  The name of the stab is
-# used to look up a non-stab symbol with the same name.  On some machines,
-# the non-stab symbols will normally have underscores, but if they lack
-# the underscores, then GDB will simply put the symbol in the minimal
-# symbol table all the same.  So we can use them without underscores and
-# that way we don't need to worry about which machines
-# to add underscores and so on.
+# Note that a 'G', N_GSYM symbol needs no value.  The name of the stab
+# is used to look up a non-stab symbol with the same name.  On some
+# machines, the non-stab symbols will normally have underscores, but
+# if they lack the underscores, then GDB will simply put the symbol in
+# the minimal symbol table all the same.  So we can use them without
+# underscores and that way we don't need to worry about which machines
+# need underscores.
 
 # Type attributes.
 .stabs "attr104:G404=@h !#$%&'()*+,-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~;1",N_GSYM,0,0, 0
@@ -289,7 +289,7 @@ attr69:
 .stabs "attr38:G338=@& !#$%&'()*+,-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~;1",N_GSYM,0,0, 0
 
 # Unrecognized negative type number.  
-.stabs "bad_neg0type:t201=s8field0:1,0,32;field2:-534,32,64;field3:-1,96,32;;", N_LSYM,0,0, 0
+.stabs "bad_neg0type:t201=s16field0:1,0,32;field2:-534,32,64;field3:-1,96,32;;", N_LSYM,0,0, 0
 
 .stabs "bad_neg0:G201", N_GSYM,0,0, 0
 
@@ -877,89 +877,6 @@ var2:
 var3:
 .long 42
 
-# Manually hacked version of the following.  The manual hacking is to
-# remove the extra names (which GDB 4.9 bogusly relies on).
-
-# Virtual base classes in which there are no variables of the base
-# class types.
-
-# class only_one_instance {
-#  public:
-#   int x;
-# };
-
-# class inherit_path_a : public virtual only_one_instance {
-#   int a;
-# };
-
-# class inherit_path_b : public virtual only_one_instance {
-#   int b;
-# };
-
-# class combine_paths : public inherit_path_a, public inherit_path_b {
-#   int comb;
-# };
-
-# combine_paths v_comb;
-
-# These are the unhacked stabs I started with (only change has been to
-# convert them to weird.def format, and change the numbers to the 400
-# range.  
-
-# .stabs "only_one_instance:Tt444=s4x:1,0,32;;", N_LSYM,0,0, 0
-# .stabs "inherit_path_a:Tt445=s12!1,120,444;$vb444:446=*444,0;a:/01,32,32;;",
-#       N_LSYM,0,0, 0
-# .stabs "inherit_path_b:Tt447=s12!1,120,444;$vb444:446,0;b:/01,32,32;;", N_LSYM,0,0, 0
-# .stabs "combine_paths:Tt448=s24!2,020,445;0264,447;comb:/01,128,32;;", N_LSYM,0,0, 0
-# .stabs "v_comb:G448", N_GSYM,0,0, 0
-
-# Hacked version, without class names.
-
-.if alpha
-.stabs "v_comb:G448=s48!2,020,445=s24!1,120,444=s4x:1,0,32;;;$vb444:446=*444,0;a:/01,64,32;;;02128,447=s24!1,120,444;$vb444:446,0;b:/01,64,32;;;comb:/01,256,32;;", N_GSYM,0,0, 0
-       .globl v_comb
-       .align 3
-v_comb:
-# virtual base class pointer for inherit_path_a 
-       .quad v_comb_shared 
-# a 
-       .long 43 
-       .align 3
-# virtual base class pointer for inherit_path_b 
-       .quad v_comb_shared 
-# b 
-       .long 44 
-       .align 3
-# comb 
-       .long 45 
-       .align 3
-v_comb_shared:
-# x 
-       .long 42 
-       .align 3
-.endif alpha
-
-.if notalpha
-.stabs "v_comb:G448=s24!2,020,445=s12!1,120,444=s4x:1,0,32;;;$vb444:446=*444,0;a:/01,32,32;;;0264,447=s12!1,120,444;$vb444:446,0;b:/01,32,32;;;comb:/01,128,32;;", N_GSYM,0,0, 0
-
-       .globl v_comb
-       .align 1
-v_comb:
-# virtual base class pointer for inherit_path_a 
-       .long v_comb_shared 
-# a 
-       .long 43 
-# virtual base class pointer for inherit_path_b 
-       .long v_comb_shared 
-# b 
-       .long 44 
-# comb 
-       .long 45 
-v_comb_shared:
-# x 
-       .long 42 
-.endif notalpha
-
 .stabs "sym92:\ !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~",N_LSYM,0,0,0
 .stabs "type92:t92=\ !#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~",N_LSYM,0,0,0
 .stabs "attr92:G392=@\ !#$%&'()*+,-./0123456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~;1",N_GSYM,0,0, 0