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

* [Bug corefiles/11467] amd64 gdb generates corrupted 32bit core file
  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 ` jan dot kratochvil at redhat dot com
  2010-04-02 13:54 ` jan dot kratochvil at redhat dot com
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-04-02 13:54 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From jan dot kratochvil at redhat dot com  2010-04-02 13:53 -------
http://cvs.fedoraproject.org/viewvc/rpms/gdb/devel/gdb-6.5-gcore-i386-on-amd64.patch?content-type=text%2Fplain&view=co


-- 


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

* [Bug corefiles/11467] amd64 gdb generates corrupted 32bit core file
  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
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-04-02 13:54 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan dot kratochvil at redhat
                   |                            |dot com


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

* [Bug corefiles/11467] amd64 gdb generates corrupted 32bit core file
  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
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-04-02 14:13 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From hjl dot tools at gmail dot com  2010-04-02 14:13 -------
So, it is a known problem with a patch back in 2006.
Any reason, why hasn't it been fixed in FSF gdb?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1


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

* [Bug corefiles/11467] amd64 gdb generates corrupted 32bit core file
  2010-04-02 13:47 [Bug corefiles/11467] New: amd64 gdb generates corrupted 32bit core file hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  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
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-04-02 14:25 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From jan dot kratochvil at redhat dot com  2010-04-02 14:25 -------
There are many patches in Fedora planned to be submitted for FSF GDB.
I am not confident the patch is currently in a shape for upstream, I would need
to check if it would not be better integrated putting part of it in bfd/ etc.

If you are confident the current form of the patch is right for FSF GDB HEAD
feel free to submit it.  Working on other issues now.  RH recently already
upstreamed (by different implementations) many RH C++ patches or the PIE patch.


-- 


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

* [Bug corefiles/11467] amd64 gdb generates corrupted 32bit core file
  2010-04-02 13:47 [Bug corefiles/11467] New: amd64 gdb generates corrupted 32bit core file hjl dot tools at gmail dot com
                   ` (3 preceding siblings ...)
  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
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-04-10 22:31 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From hjl dot tools at gmail dot com  2010-04-10 22:31 -------
BFD patch has been checked in:

http://sourceware.org/ml/gdb-patches/2010-04/msg00315.html

GDB patch is posted at

http://sourceware.org/ml/gdb-patches/2010-04/msg00316.html

-- 


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

* [Bug corefiles/11467] amd64 gdb generates corrupted 32bit core file
  2010-04-02 13:47 [Bug corefiles/11467] New: amd64 gdb generates corrupted 32bit core file hjl dot tools at gmail dot com
                   ` (4 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-04-13 12:56 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From hjl dot tools at gmail dot com  2010-04-13 12:56 -------
The updated patch is at

http://sourceware.org/ml/gdb-patches/2010-04/msg00346.html

-- 


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

* [Bug corefiles/11467] amd64 gdb generates corrupted 32bit core file
  2010-04-02 13:47 [Bug corefiles/11467] New: amd64 gdb generates corrupted 32bit core file hjl dot tools at gmail dot com
                   ` (5 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-05-03 16:20 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-04-14 00:38 -------
Subject: Bug 11467

CVSROOT:	/cvs/src
Module name:	src
Changes by:	hjl@sourceware.org	2010-04-14 00:38:05

Modified files:
	gdb            : ChangeLog 

Log message:
	Mention PR corefiles/11467.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11610&r2=1.11611


------- Additional Comments From hjl dot tools at gmail dot com  2010-05-03 16:20 -------
The updated patch is at

http://sourceware.org/ml/gdb-patches/2010-04/msg00425.html

-- 


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

* [Bug corefiles/11467] amd64 gdb generates corrupted 32bit core file
  2010-04-02 13:47 [Bug corefiles/11467] New: amd64 gdb generates corrupted 32bit core file hjl dot tools at gmail dot com
                   ` (6 preceding siblings ...)
  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
  9 siblings, 0 replies; 11+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-05-07 17:50 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From jan dot kratochvil at redhat dot com  2010-05-07 17:50 -------
*** Bug 8664 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cagney at gnu 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

* [Bug corefiles/11467] amd64 gdb generates corrupted 32bit core file
  2010-04-02 13:47 [Bug corefiles/11467] New: amd64 gdb generates corrupted 32bit core file hjl dot tools at gmail dot com
                   ` (7 preceding siblings ...)
  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
  9 siblings, 0 replies; 11+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-05-07 17:54 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From jan dot kratochvil at redhat dot com  2010-05-07 17:54 -------
*** Bug 9454 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pdubuc at cas 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

* [Bug corefiles/11467] amd64 gdb generates corrupted 32bit core file
  2010-04-02 13:47 [Bug corefiles/11467] New: amd64 gdb generates corrupted 32bit core file hjl dot tools at gmail dot com
                   ` (8 preceding siblings ...)
  2010-05-07 17:54 ` jan dot kratochvil at redhat dot com
@ 2010-07-08 13:55 ` hjl dot tools at gmail dot com
  9 siblings, 0 replies; 11+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-08 13:55 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From hjl dot tools at gmail dot com  2010-07-08 13:55 -------
Fixed by

http://sourceware.org/ml/gdb-cvs/2010-07/msg00038.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|7.1                         |7.2


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).