[#6597] gdb test results on elf-sim different from 2010r1

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

[#6597] gdb test results on elf-sim different from 2010r1

Submitted By: Mingquan Pan

Open Date

2011-05-13 04:14:32    

Priority:

Medium     Assignee:

Glen Anderson

Board:

N/A     Silicon Revision:

Resolution:

Assigned (Not Started)     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

head     kernel rev.:

State:

Open     Found In Release:

N/A

Is this bug repeatable?:

N/A     

Summary: gdb test results on elf-sim different from 2010r1

Details:

 

gdb test results on elf-sim different from 2010r1.

 

test on elf-sim:

 

                       ******* gdb-6.6.sum ***********

=== gdb Summary ===             === gdb Summary ===      ()

# of expected passes            9778            # of expected passes            9846     (68)

# of unexpected failures        28              # of unexpected failures        64       (36)

# of expected failures          42              # of expected failures          42       (0)

# of known failures             56              # of known failures             56       (0)

                                                # of unresolved testcases       1        (1)

# of untested testcases         10              # of untested testcases         10       (0)

# of unsupported tests          36              # of unsupported tests          36       (0)

 

#

# Comparing gdb-6.6.sum

#

########################################

Tests that now fail, but worked before:

 

bfin-elf-sim: gdb.base/commands.exp: stray_arg0_test #1

bfin-elf-sim: gdb.base/ending-run.exp: step to end of run

bfin-elf-sim: gdb.mi/mi2-break.exp: list of breakpoints

bfin-elf-sim: gdb.mi/mi-break.exp: list of breakpoints

 

Tests that now work, but didn't before:

 

bfin-elf-sim: gdb.base/define.exp: test ifnospace is parsed correctly

bfin-elf-sim: gdb.base/define.exp: test whilenospace is parsed correctly

bfin-elf-sim: gdb.mi/mi2-break.exp: list of breakpoints

bfin-elf-sim: gdb.mi/mi-break.exp: list of breakpoints

 

New tests that FAIL:

 

bfin-elf-sim: gdb.base/a2-run.exp: run after setting args to nil

bfin-elf-sim: gdb.base/a2-run.exp: run "run" again after setting args

bfin-elf-sim: gdb.base/a2-run.exp: run "run" again with same args

bfin-elf-sim: gdb.base/a2-run.exp: run "run" with arg

bfin-elf-sim: gdb.base/commands.exp: run factorial until breakpoint

bfin-elf-sim: gdb.base/commands.exp: (timeout) run factorial until temporary breakpoint

bfin-elf-sim: gdb.base/ending-run.exp: step out of main (on sh)

bfin-elf-sim: gdb.base/fileio.exp: Closing an invalid file descriptor returns EBADF

bfin-elf-sim: gdb.base/fileio.exp: Creating already existing file returns EEXIST

bfin-elf-sim: gdb.base/fileio.exp: Fstat an invalid file descriptor returns EBADF

bfin-elf-sim: gdb.base/fileio.exp: Fstat an open file

bfin-elf-sim: gdb.base/fileio.exp: Isatty (invalid fd)

bfin-elf-sim: gdb.base/fileio.exp: Isatty (open file)

bfin-elf-sim: gdb.base/fileio.exp: Lseeking CUR a file

bfin-elf-sim: gdb.base/fileio.exp: Lseeking END a file

bfin-elf-sim: gdb.base/fileio.exp: Lseeking SET a file

bfin-elf-sim: gdb.base/fileio.exp: Open directory for writing returns EISDIR

bfin-elf-sim: gdb.base/fileio.exp: Open for write but no write permission returns EACCES

bfin-elf-sim: gdb.base/fileio.exp: Opening nonexistant file returns ENOENT

bfin-elf-sim: gdb.base/fileio.exp: Read using invalid file descriptor returns EBADF

bfin-elf-sim: gdb.base/fileio.exp: Rename a file

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

bfin-elf-sim: gdb.base/fileio.exp: Renaming a directory to a subdir of itself returns EINVAL

bfin-elf-sim: gdb.base/fileio.exp: Renaming a file to existing directory returns EISDIR

bfin-elf-sim: gdb.base/fileio.exp: Renaming a nonexistant file returns ENOENT

bfin-elf-sim: gdb.base/fileio.exp: Stat a file

bfin-elf-sim: gdb.base/fileio.exp: Stat an empty pathname returns ENOENT

bfin-elf-sim: gdb.base/fileio.exp: Stat a nonexistant file returns ENOENT

bfin-elf-sim: gdb.base/fileio.exp: Stat a NULL pathname returns ENOENT or EFAULT

bfin-elf-sim: gdb.base/fileio.exp: System(3) call

bfin-elf-sim: gdb.base/fileio.exp: System says shell is available

bfin-elf-sim: gdb.base/fileio.exp: System with invalid command returns 127

bfin-elf-sim: gdb.base/fileio.exp: Unlinking a file in a directory w/o write access returns EACCES

bfin-elf-sim: gdb.base/fileio.exp: Unlinking a nonexistant file returns ENOENT

bfin-elf-sim: gdb.base/fileio.exp: Write using invalid file descriptor returns EBADF

bfin-elf-sim: gdb.base/fileio.exp: Writing to a read-only file returns EBADF

 

New tests that PASS:

 

bfin-elf-sim: gdb.base/args.exp: argc for basic

bfin-elf-sim: gdb.base/args.exp: argc for one empty

bfin-elf-sim: gdb.base/args.exp: argc for one empty

bfin-elf-sim: gdb.base/args.exp: argc for two empty

...

...Old tests that passed, that have disappeared: (Eeek!)

 

bfin-elf-sim: gdb.asm/asm-source.exp: bt 2 in foo2

bfin-elf-sim: gdb.asm/asm-source.exp: bt 3 in foo3

bfin-elf-sim: gdb.asm/asm-source.exp: bt ALL in foo2

bfin-elf-sim: gdb.asm/asm-source.exp: disassem &globalvar &globalvar+1

bfin-elf-sim: gdb.asm/asm-source.exp: disassem &staticvar &staticvar+1

bfin-elf-sim: gdb.asm/asm-source.exp: f at main

bfin-elf-sim: gdb.asm/asm-source.exp: f in foo2

bfin-elf-sim: gdb.asm/asm-source.exp: finish from foo3

bfin-elf-sim: gdb.asm/asm-source.exp: info line

bfin-elf-sim: gdb.asm/asm-source.exp: info source asmsrc1.s

bfin-elf-sim: gdb.asm/asm-source.exp: info source asmsrc2.s

bfin-elf-sim: gdb.asm/asm-source.exp: info sources

bfin-elf-sim: gdb.asm/asm-source.exp: info symbol

bfin-elf-sim: gdb.asm/asm-source.exp: info target

bfin-elf-sim: gdb.asm/asm-source.exp: list

bfin-elf-sim: gdb.asm/asm-source.exp: look at global variable

bfin-elf-sim: gdb.asm/asm-source.exp: look at static function

bfin-elf-sim: gdb.asm/asm-source.exp: look at static variable

bfin-elf-sim: gdb.asm/asm-source.exp: n 2

bfin-elf-sim: gdb.asm/asm-source.exp: next over foo3

bfin-elf-sim: gdb.asm/asm-source.exp: next over macro

bfin-elf-sim: gdb.asm/asm-source.exp: n in foo2

bfin-elf-sim: gdb.asm/asm-source.exp: return from foo2

bfin-elf-sim: gdb.asm/asm-source.exp: s 2

bfin-elf-sim: gdb.asm/asm-source.exp: search

bfin-elf-sim: gdb.asm/asm-source.exp: step into foo2

bfin-elf-sim: gdb.asm/asm-source.exp: x/i &globalvar

bfin-elf-sim: gdb.asm/asm-source.exp: x/i &staticvar

bfin-elf-sim: gdb.base/condbreak.exp: break break.c:94 if (1==1)

bfin-elf-sim: gdb.base/condbreak.exp: break break.c:94 if 1==1

bfin-elf-sim: gdb.base/ending-run.exp: don't step after run

bfin-elf-sim: gdb.base/ending-run.exp: step out of main

 

 

detailed log is attched.

 

 

 

Follow-ups

 

--- Mike Frysinger                                           2011-06-10 13:57:21

this test looks like it fails because of the crt0 debugging issue we've

mentioned in the past.  so it'll probably pass on the release, but fail

otherwise until the test is fixed up:

bfin-elf-sim: gdb.base/ending-run.exp: step to end of run

 

the argument passing ones appear to be a bug in the sim, so i'll take care of

these in tracker [#6636]:

bfin-elf-sim: gdb.base/a2-run.exp: run after setting args to nil

bfin-elf-sim: gdb.base/a2-run.exp: run "run" again after setting

args

bfin-elf-sim: gdb.base/a2-run.exp: run "run" again with same args

bfin-elf-sim: gdb.base/a2-run.exp: run "run" with arg

 

i imagine all the gdb.base/fileio.exp failures are also a bug in the sim, so

i'll look at those too

 

the rest though i'll leave for the guys in Nashua

 

--- Mike Frysinger                                           2011-06-21 17:32:36

gdb.base/fileio.exp failures arent a regression.  the libgloss/sim port has

never supported errno passing.  in the past, all of the fileio stuff was skipped

because the sim couldnt even support that.

 

updating the libgloss/sim code to support errno passing should be easy though.

 

--- Mike Frysinger                                           2011-06-22 00:17:17

most of the fileio.exp issues should be fixed now.  any that arent, please open

a dedicated tracker item for them.

 

--- Mingquan Pan                                             2011-06-22 23:29:46

There is 11 more fileio cases pass in the up-to-date regression test.

 

Tests that now work, but didn't before:

 

bfin-elf-sim: gdb.base/fileio.exp: Closing an invalid file descriptor returns

EBADF

bfin-elf-sim: gdb.base/fileio.exp: Creating already existing file returns

EEXIST

bfin-elf-sim: gdb.base/fileio.exp: Open directory for writing returns EISDIR

bfin-elf-sim: gdb.base/fileio.exp: Open for write but no write permission

returns EACCES

bfin-elf-sim: gdb.base/fileio.exp: Opening nonexistant file returns ENOENT

bfin-elf-sim: gdb.base/fileio.exp: Read using invalid file descriptor returns

EBADF

bfin-elf-sim: gdb.base/fileio.exp: Stat an empty pathname returns ENOENT

bfin-elf-sim: gdb.base/fileio.exp: Stat a nonexistant file returns ENOENT

bfin-elf-sim: gdb.base/fileio.exp: Stat a NULL pathname returns ENOENT or

EFAULT

bfin-elf-sim: gdb.base/fileio.exp: Write using invalid file descriptor returns

EBADF

bfin-elf-sim: gdb.base/fileio.exp: Writing to a read-only file returns EBADF

 

But there is still more fileio related failures, I will report next.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

elf-sim-gdb.tar.gz    application/x-gzip    374249    Mingquan Pan

Attachments

Outcomes