This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb on KDUMP files
- From: Doug Evans <dje at google dot com>
- To: Pete Delaney <pdelaney at silver-peak dot com>
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>, Andreas Arnez <arnez at linux dot vnet dot ibm dot com>, "Discussion list for crash utility usage, maintenance and development" <crash-utility at redhat dot com>, GDB Development <gdb at sourceware dot org>, Piet Delaney <piet dot delaney at gmail dot com>
- Date: Thu, 23 Oct 2014 17:34:18 -0700
- Subject: Re: gdb on KDUMP files
- Authentication-results: sourceware.org; auth=none
- References: <b3a5a177772a47e8bf740e3422befa6a at BY2PR04MB173 dot namprd04 dot prod dot outlook dot com> <20141002102700 dot 3eba84a5 at suse dot cz> <87d29rhrce dot fsf at br87z6lw dot de dot ibm dot com> <20141017115550 dot GA7123 at host2 dot jankratochvil dot net> <edf4b8070b6c431e832841ebfb03ea84 at BY2PR04MB173 dot namprd04 dot prod dot outlook dot com>
On Tue, Oct 21, 2014 at 5:53 PM, Pete Delaney <pdelaney@silver-peak.com> wrote:
>> Nowadays it is only enough to use during configure:
>> --enable-64-bit-bfd
>
> I tried
> configure --enable-64-bit-bfd --enable-largefile
>
> And gdb still has problems accessing memory in the KDUMP that the crash-utility can read.
> For example crash can walk the task list but when the gdb macro tries
> To access the memory of the second task gdb says it can't access memory.
Hi.
It's not clear from the description that this is a largefile problem.
As an experiment, what happens if you build with CFLAGS="-g -O2
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" ?
[not all of these macros may be necessary, configure should be
defining _FILE_OFFSETS_BITS=64, THIS IS JUST AN EXPERIMENT]
>
> -----Original Message-----
> From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf Of Jan Kratochvil
> Sent: Friday, October 17, 2014 4:56 AM
> To: Andreas Arnez
> Cc: Discussion list for crash utility usage, maintenance and development; GDB Development
> Subject: Re: gdb on KDUMP files
>
> On Fri, 17 Oct 2014 13:24:01 +0200, Andreas Arnez wrote:
>> > 4. Ability to use 64-bit files on 32-bit platforms (to handle PAE)
>
> This was:
> https://bugzilla.redhat.com/show_bug.cgi?id=457187
> Nowadays it is only enough to use during configure:
> --enable-64-bit-bfd
>
>
> Additionally Fedora is carrying for Linux kernel support:
> http://pkgs.fedoraproject.org/cgit/gdb.git/tree/gdb-6.5-bz203661-emit-relocs.patch
> dsicussed in the thread:
> https://sourceware.org/ml/gdb/2006-08/msg00137.html
>
>
> Jan