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 testsuite/16947] New: Fail to compile test case when board file local-remote-host.exp is used


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

            Bug ID: 16947
           Summary: Fail to compile test case when board file
                    local-remote-host.exp is used
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: unassigned at sourceware dot org
          Reporter: qiyao at gcc dot gnu.org

$ make check RUNTESTFLAGS='--host_board=local-remote-host foll-exec.exp' 
...
Running ../../../../git/gdb/testsuite/gdb.base/foll-exec.exp ...                
gdb compile failed,
/home/yao/Source/gnu/gdb/build-git/x86/gdb/testsuite/../../../../git/gdb/testsuite/gdb.base/foll-exec.c:
In function 'main':              
<command-line>:0:9: error: 'gdb' undeclared (first use in this function)        
/home/yao/Source/gnu/gdb/build-git/x86/gdb/testsuite/../../../../git/gdb/testsuite/gdb.base/foll-exec.c:20:11:
note: in expansion of macro 'BASEDIR'          
   execlp (BASEDIR "/execd-prog",                                               
           ^                                                                    
<command-line>:0:9: note: each undeclared identifier is reported only once for
each function it appears in                                                    
/home/yao/Source/gnu/gdb/build-git/x86/gdb/testsuite/../../../../git/gdb/testsuite/gdb.base/foll-exec.c:20:11:
note: in expansion of macro 'BASEDIR'          
   execlp (BASEDIR "/execd-prog",

Looks macro BASEDIR isn't replaced successfully.

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