public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug corefiles/11467] New: amd64 gdb generates corrupted 32bit core file
@ 2010-04-02 13:47 hjl dot tools at gmail dot com
  2010-04-02 13:54 ` [Bug corefiles/11467] " jan dot kratochvil at redhat dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-04-02 13:47 UTC (permalink / raw)
  To: gdb-prs

[hjl@gnu-6 avx]$ /export/build/gnu/gdb/build-x86_64-linux/gdb/gdb 32
GNU gdb (GDB) 7.1.50.20100402-cvs
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /export/home/hjl/bugs/gdb/avx/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]
/export/home/hjl/bugs/gdb/avx/.gdbinit:8: Error in sourced command file:
Argument required (one or more breakpoint numbers).
(gdb) b main
Breakpoint 1 at 0x8048438: file arg-1.c, line 25.
(gdb) r
Starting program: /export/home/hjl/bugs/gdb/avx/32 

Breakpoint 1, main () at arg-1.c:25
25	  test (n1, n2, n3);
(gdb) gcore core.i386-linux
Saved corefile core.i386-linux
(gdb) c
Continuing.

Program exited normally.
(gdb) q
[hjl@gnu-6 avx]$ /export/build/gnu/gdb/build-x86_64-linux/gdb/gdb 32 core.i386-linux
GNU gdb (GDB) 7.1.50.20100402-cvs
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /export/home/hjl/bugs/gdb/avx/32...done.
[New Thread 27328]

warning: Couldn't recognize general-purpose registers in core file.

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/avx/32'.
Program terminated with signal 5, Trace/breakpoint trap.

warning: Couldn't recognize general-purpose registers in core file.
#0  0x00000000 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]
/export/home/hjl/bugs/gdb/avx/.gdbinit:8: Error in sourced command file:
Argument required (one or more breakpoint numbers).
(gdb) q
[hjl@gnu-6 avx]$ file core.i386-linux
core.i386-linux: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV),
SVR4-style, from 'x/32'
[hjl@gnu-6 avx]$

-- 
           Summary: amd64 gdb generates corrupted 32bit core file
           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=11467

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2010-07-08 13:55 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-02 13:47 [Bug corefiles/11467] New: amd64 gdb generates corrupted 32bit core file hjl dot tools at gmail dot com
2010-04-02 13:54 ` [Bug corefiles/11467] " jan dot kratochvil at redhat dot com
2010-04-02 13:54 ` jan dot kratochvil at redhat dot com
2010-04-02 14:13 ` hjl dot tools at gmail dot com
2010-04-02 14:25 ` jan dot kratochvil at redhat dot com
2010-04-10 22:31 ` hjl dot tools at gmail dot com
2010-04-13 12:56 ` hjl dot tools at gmail dot com
2010-05-03 16:20 ` hjl dot tools at gmail dot com
2010-05-07 17:50 ` jan dot kratochvil at redhat dot com
2010-05-07 17:54 ` jan dot kratochvil at redhat dot com
2010-07-08 13:55 ` hjl dot tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).