From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12947 invoked by alias); 17 Apr 2010 13:25:06 -0000 Received: (qmail 12927 invoked by uid 48); 17 Apr 2010 13:25:06 -0000 Date: Sat, 17 Apr 2010 13:25:00 -0000 From: "hjl dot tools at gmail dot com" To: gdb-prs@sourceware.org Message-ID: <20100417132505.11511.hjl.tools@gmail.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug corefiles/11511] New: gcore doesn't work with orig_rax on Linux/amd64 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/msg00116.txt.bz2 (gdb) b main Breakpoint 1 at 0x4005d2: file gcore.c, line 68. (gdb) r Starting program: /export/home/hjl/bugs/gdb/core/64 Breakpoint 1, main () at gcore.c:68 68 factorial_func (6); (gdb) info reg system orig_rax 0xffffffffffffffff -1 (gdb) gcore Saved corefile core.26537 (gdb) [hjl@gnu-6 core]$ ./gdb 64 core.26537 GNU gdb (GDB) 7.1.50.20100417-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/core/64...done. [New Thread 26537] warning: Can't read pathname for load map: Input/output error. Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib64/libc.so.6 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 Core was generated by `/export/home/hjl/bugs/gdb/core/64'. Program terminated with signal 5, Trace/breakpoint trap. #0 main () at gcore.c:68 68 factorial_func (6); 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) info reg system orig_rax 0x0 0 (gdb) -- Summary: gcore doesn't work with orig_rax on Linux/amd64 Product: gdb Version: 7.1 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=11511 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.