NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/51557: gdb can't read core files



The following reply was made to PR toolchain/51557; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/51557: gdb can't read core files
Date: Fri, 14 Oct 2016 15:04:52 +0200

 The crash happens in:
 
 #0  0x0ca5af70 in get_core_register_section (
     regcache=regcache@entry=0x608688a0, regset=regset@entry=0x0, 
     name=0xcc61900 ".reg", min_size=min_size@entry=0, which=which@entry=0, 
     human_name=0xcc61908 "general-purpose", required=required@entry=1)
     at /usr/src/external/gpl3/gdb.old/lib/libgdb/../../dist/gdb/corelow.c:544
 
 (gdb) p size
 $3 = 68
 (gdb) p min_size
 $4 = 0
 (gdb) p regset
 $5 = (const struct regset *) 0x0
 
 This is called from:
 
 #1  0x0ca5b1d4 in get_core_registers (ops=<optimized out>, 
     regcache=0x608688a0, regno=<optimized out>)
     at /usr/src/external/gpl3/gdb.old/lib/libgdb/../../dist/gdb/corelow.c:629
 629     in /usr/src/external/gpl3/gdb.old/lib/libgdb/../../dist/gdb/corelow.c
 
 with a NULL pointer as regset and 0 as min_size.
 
 
 Martin
 


Home | Main Index | Thread Index | Old Index