From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4413 invoked by alias); 20 Apr 2010 16:38:05 -0000 Received: (qmail 4397 invoked by uid 48); 20 Apr 2010 16:38:03 -0000 Date: Tue, 20 Apr 2010 16:38:00 -0000 From: "hjl dot tools at gmail dot com" To: gdb-prs@sourceware.org Message-ID: <20100420163803.11523.hjl.tools@gmail.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug corefiles/11523] New: gdb failed to read 32bit AVX coredump by gcore X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2010-q2/txt/msg00138.txt.bz2 On Linux/AVX, I got [hjl@gnu-18 xml]$ ./gdb 32 GNU gdb (GDB) 7.1.50.20100419-cvs Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /export/home/hjl/bugs/gdb/xml/32...done. Setting up the environment for debugging gdb. Function "internal_error" not defined. Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal] Function "info_command" not defined. Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal] .gdbinit:8: Error in sourced command file: Argument required (one or more breakpoint numbers). (gdb) b main Breakpoint 1 at 0x80483e4: file x.c, line 12. (gdb) r Starting program: /export/home/hjl/bugs/gdb/xml/32 Breakpoint 1, main () at x.c:12 12 double y = foo (1.1); (gdb) p $ymm0 $1 = {v8_float = {0, 0, 0, 0, 0, 0, 0, 0}, v4_double = {0, 0, 0, 0}, v32_int8 = {0 }, v16_int16 = {0 }, v8_int32 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int64 = {0, 0, 0, 0}, v2_int128 = { 0x00000000000000000000000000000000, 0x00000000000000000000000000000000}} (gdb) gcore Saved corefile core.4776 (gdb) c Continuing. 1.100000 Program exited normally. (gdb) q [hjl@gnu-18 xml]$ ./gdb 32 core.4776 GNU gdb (GDB) 7.1.50.20100419-cvs Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /export/home/hjl/bugs/gdb/xml/32...done. [New Thread 4776] warning: Can't read pathname for load map: Input/output error. Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/ld-linux.so.2 Core was generated by `/export/home/hjl/bugs/gdb/xml/32'. Program terminated with signal 5, Trace/breakpoint trap. #0 0xa76d32e0 in ?? () Setting up the environment for debugging gdb. Function "internal_error" not defined. Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal] Function "info_command" not defined. Make breakpoint pending on future shared library load? (y or [n]) [answered N; input not from terminal] .gdbinit:8: Error in sourced command file: Argument required (one or more breakpoint numbers). (gdb) p $ymm0 $1 = void (gdb) p $xmm0 $2 = {v4_float = {0, 0, 0, 0}, v2_double = {0, 0}, v16_int8 = { 0 }, v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0}, v4_int32 = {0, 0, 0, 0}, v2_int64 = {0, 0}, uint128 = 0} (gdb) -- Summary: gdb failed to read 32bit AVX coredump by gcore Product: gdb Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: corefiles AssignedTo: unassigned at sourceware dot org ReportedBy: hjl dot tools at gmail dot com CC: gdb-prs at sourceware dot org http://sourceware.org/bugzilla/show_bug.cgi?id=11523 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.