From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4516 invoked by alias); 28 Feb 2011 09:09:17 -0000 Received: (qmail 4506 invoked by uid 22791); 28 Feb 2011 09:09:16 -0000 X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_50,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 Feb 2011 09:09:11 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1Ptz6M-0007OV-Am for gdb@sourceware.org; Mon, 28 Feb 2011 01:09:10 -0800 Message-ID: <31029983.post@talk.nabble.com> Date: Mon, 28 Feb 2011 09:09:00 -0000 From: santoshp To: gdb@sourceware.org Subject: Re: debug core file of size 50GB using GDB in RHEL5 In-Reply-To: <31029843.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <31029843.post@talk.nabble.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00146.txt.bz2 Hi Jan, Here is the info you asked for: 1) kernel version: 2.6.18-194.32.1.el5 2) gdb version: (gdb --version) GNU gdb Red Hat Linux (6.5-37.el5_2.2rh) This GDB was configured as "x86_64-redhat-linux-gnu". 3) readelf -Wa core.2135 ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: CORE (Core file) Machine: Advanced Micro Devices X86-64 Version: 0x1 Entry point address: 0x0 Start of program headers: 64 (bytes into file) Start of section headers: 0 (bytes into file) Flags: 0x0 Size of this header: 64 (bytes) Size of program headers: 56 (bytes) Number of program headers: 0 Size of section headers: 0 (bytes) Number of section headers: 0 Section header string table index: 0 There are no sections in this file. There are no sections in this file. There are no program headers in this file. There are no relocations in this file. There are no unwind sections in this file. No version information found in this file. No note segments present in the core file. 4) eu-readelf -a core.2135 ELF Header: Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian Ident Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: CORE (Core file) Machine: AMD x86-64 Version: 1 (current) Entry point address: 0 Start of program headers: 64 (bytes into file) Start of section headers: 0 (bytes into file) Flags: Size of this header: 64 (bytes) Size of program header entries: 56 (bytes) Number of program headers entries: 0 Size of section header entries: 0 (bytes) Number of section headers entries: 0 ([0] not available) Section header string table index: 0 Section Headers: [Nr] Name Type Addr Off Size ES Flags Lk Inf Al Thanks, Santosh santoshp wrote: > > Hi All, > I got a core file of size 50GB in Redhat Enterprise Linux 5 in amd64 > machine, but not able to load the core using gdb? Is there any core size > restrictions in gdb which stops it to work here. > > When I try to load the core using gdb, this is what I get: > > $gdb ./s_server core.2135 > > warning: Couldn't find general-purpose registers in core file. > > warning: Couldn't find general-purpose registers in core file. > #0 0x0000000000000000 in ?? () > > Any pointers? > > Thanks, > Santosh > -- View this message in context: http://old.nabble.com/debug-core-file-of-size-50GB-using-GDB-in-RHEL5-tp31029843p31029983.html Sent from the Sourceware - gdb list mailing list archive at Nabble.com.