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]

build/2441: Building gdb 6.8 fails on OpenSolaris snv_85


>Number:         2441
>Category:       build
>Synopsis:       Building gdb 6.8 fails on OpenSolaris snv_85
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 02 07:38:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     bart.vanassche@gmail.com
>Release:        gdb-6.8
>Organization:
>Environment:
OpenSolaris build 85
>Description:
host triplet: i386-pc-solaris2.11

Building gdb on OpenSolaris fails because of mismatches between format strings and arguments. E.g. in remote.c it is attempted to print a pid_t via format %x, which assumes that pid_t is a typedef for int and not long.
>How-To-Repeat:
./configure && gmake
>Fix:
Cast pid_t variables to long and use format %lx.
>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]