Article View: gnu.gdb.bug
Article #2414AIX 4.3.3: gdb 4.16 cannot understand archive format
From: Clark L. Coleman
Date: Mon, 01 Apr 2002 00:07
Date: Mon, 01 Apr 2002 00:07
42 lines
2408 bytes
2408 bytes
I am running the following old gdb: gdb --version GDB 4.16 (rs6000-ibm-aix3.2.5), Copyright 1996 Free Software Foundation, Inc. on an IBM PowerPC 604e CPU under AIX 4.3.3. When I try to debug an executable built with gcc 2.95.2: gcc -v Reading specs from /gnu/gcc-2.95.2/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/2.95.2/specs gcc version 2.95.2 19991024 (release) I get the following message: "/usr/lpp/pmtoolkit/lib/libpmapi.a": not in executable format: File format not recognized. This happens when I execute the "run" command after setting a single breakpoint in my own code (not the archive). The executable statically links together numerous *.o files of my own, plus two archives. When I execute the "file" command on the two archives, the one that causes no problems is just listed as an archive, while the one that causes the problem is listed as: archive (big format) My questions are: 1) Does anyone know for sure what causes this problem? 2) Will upgrading to a newer version of gdb fix this? (Probably cannot get sysadmins to upgrade "just to see if it helps" unless there is a solid reason to believe that it will help). 3) Any idea what "big format" means as output from the 'file' command? Thanks for any info. Clark Coleman
Technical Details
Message-ID:
<a888c1$3dn$1@murdoch.acc.Virginia.EDU>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed.earthlink.net!uunet!lax.uu.net!sac.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!clc5qShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,212116782bd4c1ec,start X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 2002-03-31 16:07:43 PST x-uunet-gateway: dfw7sosrv11.alter.net from bug-gdb to gnu.gdb.bug; Mon, 1 Apr 2002 00:07:42 GMT Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed.earthlink.net!uunet!lax.uu.net!sac.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!clc5q From: "Clark L. Coleman" <clc5q@cobra.cs.virginia.edu> Subject: AIX 4.3.3: gdb 4.16 cannot understand archive format Date: 1 Apr 2002 00:07:29 GMT Organization: University of Virginia Computer Science Department Message-ID: <a888c1$3dn$1@murdoch.acc.Virginia.EDU> NNTP-Posting-Host: cobra.cs.virginia.edu X-Trace: murdoch.acc.Virginia.EDU 1017619649 3511 128.143.137.16 (1 Apr 2002 00:07:29 GMT) X-Complaints-To: abuse@virginia.edu NNTP-Posting-Date: 1 Apr 2002 00:07:29 GMT Approved: bug-gdb-request@mail.gnu.org Newsgroups: gnu.gdb.bug Sender: bug-gdb-request@mail.gnu.org Lines: 42