This is the mail archive of the gdb-prs@sources.redhat.com 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]

gdb/1800: AIX 5.2 xlc compilation error in bfd/aix5ppc-core.c


>Number:         1800
>Category:       gdb
>Synopsis:       AIX 5.2 xlc compilation error in bfd/aix5ppc-core.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 28 10:18:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     roytman@cs.bgu.ac.il
>Release:        gdb-6.2.1
>Organization:
>Environment:
uname -a
  AIX green 2 5 0056444C4C00
lslpp -l vacpp.cmp.C
  5.0.2.0  COMMITTED  VisualAge C++ C Compiler
>Description:
When building gdb 6.2.1 on AIX 5.2 with VisualAge C compiler,
in the bfd/aix5ppc.c file there is an error:
  "aix5ppc-core.c", line 120.18: 1506-068 (W) Operation   between types "struct core_dumpxx*" and "unsigned char*" is not allowed.
  "aix5ppc-core.c", line 120.3: 1506-025 (S) Operand must be a modifiable lvalue.
  "aix5ppc-core.c", line 224.16: 1506-068 (W) Operation between types "struct bfd_target*" and "const struct bfd_target*" is not allowed.

>How-To-Repeat:

>Fix:
Change in bfd/aix5ppc.c line 120 from:
  core_hdr(abfd) = (char *)new_core_hdr;
to:
  abfd->tdata.any = new_core_hdr;
>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]