Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Re: gdb with bigger than 2G 32bit core files
       [not found] <20040319101508.Y66700-100000@leaf.lumiere.net>
@ 2004-03-20  6:19 ` Kip Macy
  2004-03-20  7:00   ` Andrew Cagney
  0 siblings, 1 reply; 2+ messages in thread
From: Kip Macy @ 2004-03-20  6:19 UTC (permalink / raw)
  To: mrdavid; +Cc: gdb

Yes. You need:
--enable-64-bit-bfd


On Fri, 19 Mar 2004 mrdavid@leaf.lumiere.net wrote:

>
> hi,
>
> has anyone been able to analyze bigger than 2 gig core files?
>
> i am trying to analyze core files produced by a 32bit x86 linux 2.4 box
> with the O_LARGEFILE core patch like this :
>
> file = filp_open(corename, O_CREAT | 2 | O_NOFOLLOW | O_LARGEFILE, 0600);
>
> i know it can be done with linux 2.6 on 64bit arch box...
>
>
>
> ~david
>
>
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gdb with bigger than 2G 32bit core files
  2004-03-20  6:19 ` gdb with bigger than 2G 32bit core files Kip Macy
@ 2004-03-20  7:00   ` Andrew Cagney
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cagney @ 2004-03-20  7:00 UTC (permalink / raw)
  To: Kip Macy; +Cc: mrdavid, gdb

> Yes. You need:
> --enable-64-bit-bfd

With GDB 6.1 you don't need that.  With 6.0, you'd be wasting your time 
- the 6.0 code base doesn't use fseek64 et.al.

For reference there's a testcase (bigcore.exp) that is known to pass on 
certain GNU/Linux variants (RHEL for instance).

Andrew

>>>
>>> hi,
>>>
>>> has anyone been able to analyze bigger than 2 gig core files?
>>>
>>> i am trying to analyze core files produced by a 32bit x86 linux 2.4 box
>>> with the O_LARGEFILE core patch like this :
>>>
>>> file = filp_open(corename, O_CREAT | 2 | O_NOFOLLOW | O_LARGEFILE, 0600);
>>>
>>> i know it can be done with linux 2.6 on 64bit arch box...
>>>
>>>
>>>
>>> ~david



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-19 20:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20040319101508.Y66700-100000@leaf.lumiere.net>
2004-03-20  6:19 ` gdb with bigger than 2G 32bit core files Kip Macy
2004-03-20  7:00   ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox