Re: [RFA] Add ix86 target to asm-source.exp test

Kuppuswamy, Priyadarshini
2001-11-30T13:53:00Z

In asm-source.exp file, initially it checks for the assembly source
file based on the target(d10v.inc, sparc.inc or intel[345]86.inc]. I
notice that the assembly file has been implemented for sparc, intel. I
ran the tests on alpha and I see that the assembly source file for alpha
has not been implemented and hence it's giving the following errors. So
all the test cases in that file are failing.

Running
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asm-source.e
xp ...
WARNING: Assembly source test -- not implemented for this target.

Executing on host: as
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s
-gstabs -I/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm
-I/mnt/u2/toolchain/buildsys/build/alpha7/basic-gcc_3.0.2/native/src-gdb
/gdb/testsuite/gdb.asm -o asmsrc1.o (timeout = 300)
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:
Assembler messages:^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:14
: Error: unknown opcode `gdbasm_startup'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:15
: Error: unknown opcode `gdbasm_call'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:16
: Error: unknown opcode `gdbasm_exit'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:25
: Error: unknown opcode `gdbasm_enter'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:29
: Error: unknown opcode `gdbasm_several_nops'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:33
: Error: unknown opcode `gdbasm_call'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:37
: Error: unknown opcode `gdbasm_exit'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:43
: Error: unknown opcode `gdbasm_enter'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:44
: Error: unknown opcode `gdbasm_leave'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:48
: Error: unknown opcode `gdbasm_exit'^M
assembler exited with status 1
assembler output is:
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:
Assembler messages:^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:14
: Error: unknown opcode `gdbasm_startup'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:15
: Error: unknown opcode `gdbasm_call'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:16
: Error: unknown opcode `gdbasm_exit'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:25
: Error: unknown opcode `gdbasm_enter'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:29
: Error: unknown opcode `gdbasm_several_nops'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:33
: Error: unknown opcode `gdbasm_call'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:37
: Error: unknown opcode `gdbasm_exit'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:43
: Error: unknown opcode `gdbasm_enter'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:44
: Error: unknown opcode `gdbasm_leave'^M
/mnt/u2/toolchain/buildsys/source/src/gdb/testsuite/gdb.asm/asmsrc1.s:48
: Error: unknown opcode `gdbasm_exit'^M

WARNING: Testcase compile failed, so all tests in this file will
automatically fail.

Or am I missing something here??

Thanks
Priya