diff options
author | Jeff Law <law@redhat.com> | 1993-11-14 07:20:53 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1993-11-14 07:20:53 +0000 |
commit | 20fde16acc8ce59bea2c1cb8939bebb8cf472a46 (patch) | |
tree | f27e44862bab91098cfdaec9495a7ca3125d2aaf /gdb | |
parent | dd06d920c86bf450011ccc7b964627eb02031bc5 (diff) | |
download | gdb-20fde16acc8ce59bea2c1cb8939bebb8cf472a46.zip gdb-20fde16acc8ce59bea2c1cb8939bebb8cf472a46.tar.gz gdb-20fde16acc8ce59bea2c1cb8939bebb8cf472a46.tar.bz2 |
* gdb.stabs/hppa.mt: A makefile fragment for the PA.
* gdb.stabs/configure.in (hppa*-*-*): Use it.
* gdb.stabs/hppa.sed: New sed script for the PA.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.stabs/.Sanitize | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.stabs/configure.in | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.stabs/hppa.mt | 3 | ||||
-rw-r--r-- | gdb/testsuite/gdb.stabs/hppa.sed | 19 |
5 files changed, 32 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2918643..7d19a43 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gdb.stabs/hppa.mt: A makefile fragment for the PA. + * gdb.stabs/configure.in (hppa*-*-*): Use it. + * gdb.stabs/hppa.sed: New sed script for the PA. + Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com) * gdb.stabs: Re-write weird.def and configuration to use sed diff --git a/gdb/testsuite/gdb.stabs/.Sanitize b/gdb/testsuite/gdb.stabs/.Sanitize index e6fa102..aae517b 100644 --- a/gdb/testsuite/gdb.stabs/.Sanitize +++ b/gdb/testsuite/gdb.stabs/.Sanitize @@ -28,6 +28,8 @@ configure.in ecoff.mt aout.sed ecoff.sed +hppa.mt +hppa.sed xcoff.sed weird.def weird.exp diff --git a/gdb/testsuite/gdb.stabs/configure.in b/gdb/testsuite/gdb.stabs/configure.in index 44e4f11..5dc247a 100644 --- a/gdb/testsuite/gdb.stabs/configure.in +++ b/gdb/testsuite/gdb.stabs/configure.in @@ -22,6 +22,8 @@ alpha-*-*) if [ x${with_gnu_as} = xyes ]; then fi ;; +hppa*-*-*) target_makefile_frag=hppa.mt ;; + mips-*-bsd*) target_makefile_frag=aout.mt ;; mips-*-*) if [ x${with_gnu_as} = xyes ]; then target_makefile_frag=aout.mt diff --git a/gdb/testsuite/gdb.stabs/hppa.mt b/gdb/testsuite/gdb.stabs/hppa.mt new file mode 100644 index 0000000..89a3190 --- /dev/null +++ b/gdb/testsuite/gdb.stabs/hppa.mt @@ -0,0 +1,3 @@ +weird.o: $(srcdir)/weird.def $(srcdir)/hppa.sed + sed -f $(srcdir)/hppa.sed <$(srcdir)/weird.def >weird.s + $(CC) -c weird.s diff --git a/gdb/testsuite/gdb.stabs/hppa.sed b/gdb/testsuite/gdb.stabs/hppa.sed new file mode 100644 index 0000000..05d15c9 --- /dev/null +++ b/gdb/testsuite/gdb.stabs/hppa.sed @@ -0,0 +1,19 @@ +# GDB legitimately expects a file name. +# The sun3 assembler bogusly requires that the value of this stab be a +# label. Placate it. +1i\ + .stabs "weird.c",0x64,0,0,Label0\ +Label0: +# +s/N_LSYM/0x80/ +s/N_GSYM/0x20/ +# Replace a single backslash with a doubled backslash +/\.stabs/s/\\/\\\\/ +s/\.begin_common\(.*\)/.stabs \1,0xe2,0,0,0/ +s/\.end_common\(.*\)/.stabs \1,0xe4,0,0,0/ +s/\.align_it/.align 4/ +s/\.globl/.export/ +/^#/d +/.if alpha/,/.endif alpha/d +/.if/d +/.endif/d |