public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug corefiles/15475] New: gdb cannot sniff_core_bfd on ia64-hpux
@ 2013-05-16  8:15 caosd810929 at gmail dot com
  2013-05-16 10:20 ` [Bug corefiles/15475] " caosd810929 at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: caosd810929 at gmail dot com @ 2013-05-16  8:15 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15475

             Bug #: 15475
           Summary: gdb cannot sniff_core_bfd on ia64-hpux
           Product: gdb
           Version: 7.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: corefiles
        AssignedTo: unassigned@sourceware.org
        ReportedBy: caosd810929@gmail.com
    Classification: Unclassified


Environment:
  OS:HP-UX hp12161 B.11.31 U ia64 0546304299 不限用户数的许可证
  Compiler:gcc-4.7.2
  Configure:configure --enable-64-bit-bfd

When I use gdb to analyse the core dump,gdb print the following error:
       "/usr/local/gcc-4.7.2/bin/core": no core file handler recognizes format

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
>From gdb-prs-return-13686-listarch-gdb-prs=sources.redhat.com@sourceware.org Thu May 16 10:10:09 2013
Return-Path: <gdb-prs-return-13686-listarch-gdb-prs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-gdb-prs@sources.redhat.com
Received: (qmail 9915 invoked by alias); 16 May 2013 10:10:09 -0000
Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <gdb-prs.sourceware.org>
List-Subscribe: <mailto:gdb-prs-subscribe@sourceware.org>
List-Archive: <http://sourceware.org/ml/gdb-prs/>
List-Post: <mailto:gdb-prs@sourceware.org>
List-Help: <mailto:gdb-prs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: gdb-prs-owner@sourceware.org
Delivered-To: mailing list gdb-prs@sourceware.org
Received: (qmail 9887 invoked by uid 48); 16 May 2013 10:10:08 -0000
From: "palves at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug corefiles/15475] gdb cannot sniff_core_bfd on ia64-hpux
Date: Thu, 16 May 2013 10:10:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gdb
X-Bugzilla-Component: corefiles
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: palves at redhat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: CC
Message-ID: <bug-15475-4717-KXHcWkGeaJ@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15475-4717@http.sourceware.org/bugzilla/>
References: <bug-15475-4717@http.sourceware.org/bugzilla/>
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-SW-Source: 2013-q2/txt/msg00275.txt.bz2
Content-length: 613

http://sourceware.org/bugzilla/show_bug.cgi?id\x15475

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com

--- Comment #1 from Pedro Alves <palves at redhat dot com> 2013-05-16 10:10:07 UTC ---
Is this is a regression, or did it never work?

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug corefiles/15475] gdb cannot sniff_core_bfd on ia64-hpux
  2013-05-16  8:15 [Bug corefiles/15475] New: gdb cannot sniff_core_bfd on ia64-hpux caosd810929 at gmail dot com
@ 2013-05-16 10:20 ` caosd810929 at gmail dot com
  2013-05-16 10:37 ` palves at redhat dot com
  2013-05-19  4:13 ` caosd810929 at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: caosd810929 at gmail dot com @ 2013-05-16 10:20 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15475

--- Comment #2 from Ann <caosd810929 at gmail dot com> 2013-05-16 10:20:01 UTC ---
it never work.it can run application 、attach process;bur can not sniff corefile
bfd.I noticed that in ia64-hpux platform gdb donot call
set_gdbarch_regset_from_core_section、 deprecated_add_core_fns Interface.Does
this mean that gdb does not support ia64-hpux? Is there any way to solve this
problem?(In reply to comment #1)
> Is this is a regression, or did it never work?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
>From gdb-prs-return-13688-listarch-gdb-prs=sources.redhat.com@sourceware.org Thu May 16 10:33:47 2013
Return-Path: <gdb-prs-return-13688-listarch-gdb-prs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-gdb-prs@sources.redhat.com
Received: (qmail 23009 invoked by alias); 16 May 2013 10:33:47 -0000
Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <gdb-prs.sourceware.org>
List-Subscribe: <mailto:gdb-prs-subscribe@sourceware.org>
List-Archive: <http://sourceware.org/ml/gdb-prs/>
List-Post: <mailto:gdb-prs@sourceware.org>
List-Help: <mailto:gdb-prs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: gdb-prs-owner@sourceware.org
Delivered-To: mailing list gdb-prs@sourceware.org
Received: (qmail 22987 invoked by uid 48); 16 May 2013 10:33:47 -0000
From: "brobecker at gnat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug build/15476] New: utils.h "enum errors" forward declaration
Date: Thu, 16 May 2013 10:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gdb
X-Bugzilla-Component: build
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: brobecker at gnat dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields:
Message-ID: <bug-15476-4717@http.sourceware.org/bugzilla/>
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-SW-Source: 2013-q2/txt/msg00277.txt.bz2
Content-length: 1014

http://sourceware.org/bugzilla/show_bug.cgi?id\x15476

             Bug #: 15476
           Summary: utils.h "enum errors" forward declaration
           Product: gdb
           Version: 7.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
        AssignedTo: unassigned@sourceware.org
        ReportedBy: brobecker@gnat.com
    Classification: Unclassified


gdb/utils.h contains a forward declaration of type "enum errors", and this
causes a build failure with old GCC compilers. I suspect the same is true of
non-GNU compiler, as enum forward declarations are a GNU extension.

Ref: http://www.sourceware.org/ml/gdb-patches/2013-04/msg00829.html

A fix was checked it at:
http://www.sourceware.org/ml/gdb-patches/2013-05/msg00522.html

This PR is to backport the patch to the GDB 7.6 branch.

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug corefiles/15475] gdb cannot sniff_core_bfd on ia64-hpux
  2013-05-16  8:15 [Bug corefiles/15475] New: gdb cannot sniff_core_bfd on ia64-hpux caosd810929 at gmail dot com
  2013-05-16 10:20 ` [Bug corefiles/15475] " caosd810929 at gmail dot com
@ 2013-05-16 10:37 ` palves at redhat dot com
  2013-05-19  4:13 ` caosd810929 at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: palves at redhat dot com @ 2013-05-16 10:37 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15475

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

--- Comment #3 from Pedro Alves <palves at redhat dot com> 2013-05-16 10:37:07 UTC ---
By "never worked" I mean, did this work with previous GDB releases.

> I noticed that in ia64-hpux platform gdb donot call
set_gdbarch_regset_from_core_section、 deprecated_add_core_fns Interface.
...
> Is there any way to solve this problem?

Sounds like core file debugg support for ia64-hpux is not implemented.
The way to solve it, would be to implement it.  :-)

I'd guess it'd be easy to copy from the hppa-hpux support.

See http://sourceware.org/gdb/contribute/

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
>From gdb-prs-return-13691-listarch-gdb-prs=sources.redhat.com@sourceware.org Thu May 16 10:39:19 2013
Return-Path: <gdb-prs-return-13691-listarch-gdb-prs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-gdb-prs@sources.redhat.com
Received: (qmail 27472 invoked by alias); 16 May 2013 10:39:19 -0000
Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <gdb-prs.sourceware.org>
List-Subscribe: <mailto:gdb-prs-subscribe@sourceware.org>
List-Archive: <http://sourceware.org/ml/gdb-prs/>
List-Post: <mailto:gdb-prs@sourceware.org>
List-Help: <mailto:gdb-prs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: gdb-prs-owner@sourceware.org
Delivered-To: mailing list gdb-prs@sourceware.org
Received: (qmail 27450 invoked by uid 48); 16 May 2013 10:39:19 -0000
From: "brobecker at gnat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug build/15476] utils.h "enum errors" forward (incomplete)
 declaration causes build failure
Date: Thu, 16 May 2013 10:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gdb
X-Bugzilla-Component: build
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: brobecker at gnat dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: brobecke at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: Summary
Message-ID: <bug-15476-4717-uvCxkas5X6@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15476-4717@http.sourceware.org/bugzilla/>
References: <bug-15476-4717@http.sourceware.org/bugzilla/>
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-SW-Source: 2013-q2/txt/msg00280.txt.bz2
Content-length: 680

http://sourceware.org/bugzilla/show_bug.cgi?id\x15476

Joel Brobecker <brobecker at gnat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|utils.h "enum errors"       |utils.h "enum errors"
                   |forward declaration         |forward (incomplete)
                   |                            |declaration causes build
                   |                            |failure

--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug corefiles/15475] gdb cannot sniff_core_bfd on ia64-hpux
  2013-05-16  8:15 [Bug corefiles/15475] New: gdb cannot sniff_core_bfd on ia64-hpux caosd810929 at gmail dot com
  2013-05-16 10:20 ` [Bug corefiles/15475] " caosd810929 at gmail dot com
  2013-05-16 10:37 ` palves at redhat dot com
@ 2013-05-19  4:13 ` caosd810929 at gmail dot com
  2 siblings, 0 replies; 4+ messages in thread
From: caosd810929 at gmail dot com @ 2013-05-19  4:13 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15475

--- Comment #4 from Ann <caosd810929 at gmail dot com> 2013-05-19 04:13:20 UTC ---

> I'd guess it'd be easy to copy from the hppa-hpux support.
> 
  i think they are different, IA64 and PA register structure.Can find a version
that support for ia64-hpux?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

end of thread, other threads:[~2013-05-19  4:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-16  8:15 [Bug corefiles/15475] New: gdb cannot sniff_core_bfd on ia64-hpux caosd810929 at gmail dot com
2013-05-16 10:20 ` [Bug corefiles/15475] " caosd810929 at gmail dot com
2013-05-16 10:37 ` palves at redhat dot com
2013-05-19  4:13 ` caosd810929 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).