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]

remote/2184: under MingW, cross compile with target=arm-gdb-elf


>Number:         2184
>Category:       remote
>Synopsis:       under MingW, cross compile with target=arm-gdb-elf
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 11 02:48:01 UTC 2006
>Closed-Date:
>Last-Modified:
>Originator:     huabo Guan
>Release:        6.5, not release
>Organization:
>Environment:
host: Mingw /Windows XP with sp2
>Description:
under mingw envirment, compile gdb with target=arm-gdb-elf,
in file "Remote-rdp.c", line 334:
    ...
    sleep(3);
    ...
    
should be change to :
	...
    Sleep(3);
    ...
    
because in mingw, should use windows API provide by mingw, no sleep(), we should call Sleep() instead.
>How-To-Repeat:
Under MingW enviroment:
1) configrure --target=arm-gdb-elf
2) make
>Fix:
file gdb\remote-rdp.c, line 334, 
replace system call sleep(3) with Sleep(3).
>Release-Note:
>Audit-Trail:
>Unformatted:


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