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/18709] New: Compilation fails on Darwin 11.4.2 in darwin-nat.c


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.

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