diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-11-06 00:31:59 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-11-06 00:31:59 +0000 |
commit | c8ab4e6d75f72f96c36fce0418de253677c55713 (patch) | |
tree | ba667fce3ecb9621b4087471f32b8933e181bb9b /gdb | |
parent | 8114216ba356fb44540511c7f0233150bdb4625e (diff) | |
download | gdb-c8ab4e6d75f72f96c36fce0418de253677c55713.zip gdb-c8ab4e6d75f72f96c36fce0418de253677c55713.tar.gz gdb-c8ab4e6d75f72f96c36fce0418de253677c55713.tar.bz2 |
* gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
pointers are 32 bits long, and that offsets of relocs are always
stored in the data (REL-style), and not in the reloc entry itself
(RELA-style).
* gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
stabs.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/testsuite/gdb.stabs/weird.def | 57 | ||||
-rw-r--r-- | gdb/testsuite/gdb.stabs/weird.exp | 3 |
3 files changed, 9 insertions, 60 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f487325..9ca2c26 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2001-11-05 Jim Blandy <jimb@redhat.com> + + * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that + pointers are 32 bits long, and that offsets of relocs are always + stored in the data (REL-style), and not in the reloc entry itself + (RELA-style). + * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and + stabs. + 2001-11-01 Michael Snyder <msnyder@redhat.com> * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names diff --git a/gdb/testsuite/gdb.stabs/weird.def b/gdb/testsuite/gdb.stabs/weird.def index 134e371..33116b4 100644 --- a/gdb/testsuite/gdb.stabs/weird.def +++ b/gdb/testsuite/gdb.stabs/weird.def @@ -877,63 +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. - -.stabs "v_comb:G448=s24!2,020,445=s12!1,120,444=s4x:1,0,32;;;$vb444:446=@s32;*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 - .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 diff --git a/gdb/testsuite/gdb.stabs/weird.exp b/gdb/testsuite/gdb.stabs/weird.exp index 0e5d522..e584cba 100644 --- a/gdb/testsuite/gdb.stabs/weird.exp +++ b/gdb/testsuite/gdb.stabs/weird.exp @@ -202,9 +202,6 @@ field3 = 0x77888877\}" "print struct constant" gdb_test "p common0var1" "= 24" setup_xfail "*-*-*" gdb_test "p common0var2" "= 22" - - # this long line must be continous, not with "/" escaping the newline - gdb_test "p v_comb" "{<> = {<> = {x = 42}, \[_a-zA-Z$.\]* = \[0-9xa-fA-F\]*, a = 43}, <> = {\[_a-zA-Z$.\]* = \[0-9xa-fA-F\]*, b = 44}, comb = 45}" } proc print_weird_var { var } { |