public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/18709] New: Compilation fails on Darwin 11.4.2 in darwin-nat.c
@ 2015-07-23  5:18 jkordani at lsa2 dot com
  0 siblings, 0 replies; only message in thread
From: jkordani at lsa2 dot com @ 2015-07-23  5:18 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 18709
           Summary: Compilation fails on Darwin 11.4.2 in darwin-nat.c
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: jkordani at lsa2 dot com
  Target Milestone: ---

Created attachment 8451
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8451&action=edit
changes per compiler warnings.

cc1: warnings being treated as errors
darwin-nat.c: In function ‘darwin_ptrace’:
darwin-nat.c:259: warning: format ‘%x’ expects type ‘unsigned int’, but
argument 5 has type ‘caddr_t’
darwin-nat.c: In function ‘darwin_resume’:
darwin-nat.c:839: warning: format ‘%x’ expects type ‘unsigned int’, but
argument 4 has type ‘long int’
darwin-nat.c: In function ‘cancel_breakpoint’:
darwin-nat.c:1065: warning: format ‘%x’ expects type ‘unsigned int’, but
argument 3 has type ‘long int’
darwin-nat.c: In function ‘_initialize_darwin_inferior’:
darwin-nat.c:2174: warning: format ‘%lx’ expects type ‘long unsigned int’, but
argument 3 has type ‘mach_port_t’

patch attached, although I don't know if the change for line 259 and 2174 are
the right approach.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From gdb-prs-return-18393-listarch-gdb-prs=sources.redhat.com@sourceware.org Thu Jul 23 08:56:35 2015
Return-Path: <gdb-prs-return-18393-listarch-gdb-prs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-gdb-prs@sources.redhat.com
Received: (qmail 36927 invoked by alias); 23 Jul 2015 08:56:35 -0000
Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <gdb-prs.sourceware.org>
List-Subscribe: <mailto:gdb-prs-subscribe@sourceware.org>
List-Archive: <http://sourceware.org/ml/gdb-prs/>
List-Post: <mailto:gdb-prs@sourceware.org>
List-Help: <mailto:gdb-prs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: gdb-prs-owner@sourceware.org
Delivered-To: mailing list gdb-prs@sourceware.org
Received: (qmail 35507 invoked by uid 48); 23 Jul 2015 08:56:34 -0000
From: "ciro.santilli at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug testsuite/18067] many failures in testsuite
Date: Thu, 23 Jul 2015 08:56:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gdb
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 7.8
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ciro.santilli at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-18067-4717-tFerK28aa1@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-18067-4717@http.sourceware.org/bugzilla/>
References: <bug-18067-4717@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-q3/txt/msg00097.txt.bz2
Content-length: 365

https://sourceware.org/bugzilla/show_bug.cgi?id\x18067

--- Comment #4 from Ciro Santilli <ciro.santilli at gmail dot com> ---
ptrace may be done without sudo, it depends on the ptrace_scope kernel
parameter:
http://askubuntu.com/questions/41629/after-upgrade-gdb-wont-attach-to-process

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-23  5:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-23  5:18 [Bug gdb/18709] New: Compilation fails on Darwin 11.4.2 in darwin-nat.c jkordani at lsa2 dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).