[#6661] gdb fileio cases fails on elf-sim testing.

Document created by Aaronwu Employee on Oct 17, 2013
Version 1Show Document
  • View in full screen mode

[#6661] gdb fileio cases fails on elf-sim testing.

Submitted By: Mingquan Pan

Open Date

2011-06-23 00:33:33    

Priority:

Medium     Assignee:

Mike Frysinger

Board:

N/A     Silicon Revision:

Resolution:

N/A     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Open     Found In Release:

2011R1

Is this bug repeatable?:

N/A     

Summary: gdb fileio cases fails on elf-sim testing.

Details:

 

gdb fileio cases fails on elf-sim testing.

 

test@43-bf561-toolchain:~/work/cruise/test_scripts/toolchain/toolchain-build/toolchain-2011_Jun_22_20_05> grep -r "fileio" tests/elf-sim/gdb-6.6.sum | grep FAIL

FAIL: gdb.base/fileio.exp: Lseeking CUR a file

FAIL: gdb.base/fileio.exp: Lseeking END a file

FAIL: gdb.base/fileio.exp: Lseeking SET a file

FAIL: gdb.base/fileio.exp: Stat a file

FAIL: gdb.base/fileio.exp: Fstat an open file

FAIL: gdb.base/fileio.exp: Fstat an invalid file descriptor returns EBADF

FAIL: gdb.base/fileio.exp: Isatty (invalid fd)

FAIL: gdb.base/fileio.exp: Isatty (open file)

FAIL: gdb.base/fileio.exp: System says shell is available

FAIL: gdb.base/fileio.exp: System(3) call

FAIL: gdb.base/fileio.exp: System with invalid command returns 127

FAIL: gdb.base/fileio.exp: Rename a file

FAIL: gdb.base/fileio.exp: Renaming a file to existing directory returns EISDIR

FAIL: gdb.base/fileio.exp: Renaming a directory to a non-empty directory returns ENOTEMPTY or EEXIST

FAIL: gdb.base/fileio.exp: Renaming a directory to a subdir of itself returns EINVAL

FAIL: gdb.base/fileio.exp: Renaming a nonexistant file returns ENOENT

FAIL: gdb.base/fileio.exp: Unlinking a file in a directory w/o write access returns EACCES

FAIL: gdb.base/fileio.exp: Unlinking a nonexistant file returns ENOENT

 

detailed log are attached.

 

Follow-ups

 

--- Mike Frysinger                                           2011-07-01 16:55:11

the lseek failures were due to a bug in libgloss's lseek.  ive committed a fix

for that to svn trunk.

 

--- Mike Frysinger                                           2011-07-01 17:46:04

the stat/fstat failures are partly libgloss bfin bugs (need to implement them in

syscall.c), and partly sim bugs (need to implement stat map).

 

the link/unlink failures are bugs in libgloss bfin (syscall.c missing).

 

isatty/rename failures are because libgloss doesnt have syscalls in the common

list.  will have to follow up with mainline before updating the bfin syscall.c.

 

that leaves the system failures.  i'm not sure this will ever work for sim.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

gdb_561.tar.gz    application/x-gzip    360611    Mingquan Pan

Attachments

Outcomes