Thread View: gnu.gdb.bug
2 messages
2 total messages
Started by Clark L. Coleman
Mon, 01 Apr 2002 00:07
AIX 4.3.3: gdb 4.16 cannot understand archive format
Author: 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
Re: AIX 4.3.3: gdb 4.16 cannot understand archive format
Author: Tim Mooney
Date: Mon, 01 Apr 2002 23:56
Date: Mon, 01 Apr 2002 23:56
18 lines
2094 bytes
2094 bytes
In article <a888c1$3dn$1@murdoch.acc.Virginia.EDU>, Clark L. Coleman <clc5q@cobra.cs.virginia.edu> wrote: > 1) Does anyone know for sure what causes this problem? AIX 4.3.x has LP64 support, and "big format" is one facet of that. Older gdbs didn't know anything about big format. > 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). Yes. -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J6, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads