This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/22531] New: FAIL: gdb.base/async.exp & gdb.base/skip.exp


https://sourceware.org/bugzilla/show_bug.cgi?id=22531

            Bug ID: 22531
           Summary: FAIL: gdb.base/async.exp & gdb.base/skip.exp
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: thopre01 at gcc dot gnu.org
  Target Milestone: ---

Created attachment 10648
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10648&action=edit
Executable async and skip produced by GCC trunk

Hi,

The following tests fail on arm-none-eabi targets with debug info generated by
GCC post commit r254010:

PASS->FAIL: gdb.base/async.exp: nexti&
PASS->FAIL: gdb.base/async.exp: finish&
PASS->FAIL: gdb.base/skip.exp: step after disabling 3: step 3
PASS->FAIL: gdb.base/skip.exp: step after disabling 3: step 5
PASS->FAIL: gdb.base/skip.exp: step using -fu for baz: step 3
PASS->FAIL: gdb.base/skip.exp: step using -fu for baz: step 5
PASS->FAIL: gdb.base/skip.exp: step using -rfu for baz: step 3
PASS->FAIL: gdb.base/skip.exp: step using -rfu for baz: step 5

GCC was configured as: --target=arm-none-eabi --with-newlib --with-mode=thumb
--with-cpu=cortex-m3

The 2 async tests fail because the addresses are missing:

-(gdb) 0x00008172        9        x = 5; x = 5; x = 5;
+(gdb) 9  x = 5; x = 5; x = 5;

-Run till exit from #0  0x00008172 in foo ()
+Run till exit from #0  foo ()

The skip tests fail because the wrong line is shown by gdb after doing step.

This bug was already reported against GCC (PR83199) and was triaged as being a
GDB issue.

Attached are the async and skip binary produced by GCC.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]