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/23104] New: Test case gdb.base/info-shared.exp fails on FreeBSD


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

            Bug ID: 23104
           Summary: Test case gdb.base/info-shared.exp fails on FreeBSD
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: rajendra.sy at gmail dot com
  Target Milestone: ---

Issue:
Linking "-dl" library when compiling test source fails on FreeBSD platform

I tried adding  "debug shlib_load" to prepare_for_testing solves the
compilation error but breaks the test case on Linux & FreeBSD with 6 failures.

Failed test cases:
FAIL: gdb.base/info-shared.exp: continue to breakpoint: library load #1
FAIL: gdb.base/info-shared.exp: continue to breakpoint: library load #2
FAIL: gdb.base/info-shared.exp: continue to breakpoint: library load #3
FAIL: gdb.base/info-shared.exp: continue to breakpoint: library load #4
FAIL: gdb.base/info-shared.exp: continue to breakpoint: library unload #1
FAIL: gdb.base/info-shared.exp: continue to breakpoint: library unload #2

Expected output does not match:
Earlier: Breakpoint 2, 0x000000000040064a in stop ()

With shlib_load change : Breakpoint 2, stop () at
/homes/syrajendra/Rajendra/projects/compiler/gdb/gdb-8.0/binutils-gdb/gdb/testsuite/gdb.base/info-shared.c:23

The gdb/testsuite/lib/gdb.exp:577 function gdb_continue_to_breakpoint does not
seem to handle this new output.

-- 
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]