public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug corefiles/15349] New: gcore not implemented for AIX
@ 2013-04-09 11:18 raunaq at outlook dot com
  2013-04-09 11:22 ` [Bug corefiles/15349] " raunaq at outlook dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: raunaq at outlook dot com @ 2013-04-09 11:18 UTC (permalink / raw)
  To: gdb-prs

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

             Bug #: 15349
           Summary: gcore not implemented for AIX
           Product: gdb
           Version: 7.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: corefiles
        AssignedTo: unassigned@sourceware.org
        ReportedBy: raunaq@outlook.com
    Classification: Unclassified


On running "gcore -o filename PID" I get an error saying - 

Command not implemented for this target.

I also tried attaching the Process while running gdb and using gcore as a sub
command. Still giving the same issue. 

Is it very hard to get gcore working on AIX ?

-- 
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] 5+ messages in thread

* [Bug corefiles/15349] gcore not implemented for AIX
  2013-04-09 11:18 [Bug corefiles/15349] New: gcore not implemented for AIX raunaq at outlook dot com
@ 2013-04-09 11:22 ` raunaq at outlook dot com
  2013-04-12 17:51 ` tromey at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: raunaq at outlook dot com @ 2013-04-09 11:22 UTC (permalink / raw)
  To: gdb-prs

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

Raunaq M Bathija <raunaq at outlook dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |powerpc64-ibm-aix6.1.2.0
               Host|                            |powerpc-ibm-aix6.1.2.0

-- 
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] 5+ messages in thread

* [Bug corefiles/15349] gcore not implemented for AIX
  2013-04-09 11:18 [Bug corefiles/15349] New: gcore not implemented for AIX raunaq at outlook dot com
  2013-04-09 11:22 ` [Bug corefiles/15349] " raunaq at outlook dot com
@ 2013-04-12 17:51 ` tromey at redhat dot com
  2013-04-19  6:58 ` raunaq at outlook dot com
  2014-03-12 10:02 ` palves at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2013-04-12 17:51 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

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

--- Comment #1 from Tom Tromey <tromey at redhat dot com> 2013-04-12 17:51:00 UTC ---
(In reply to comment #0)

> Is it very hard to get gcore working on AIX ?

If you know the format of core files on AIX, then I think it
shouldn't be too hard.

-- 
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] 5+ messages in thread

* [Bug corefiles/15349] gcore not implemented for AIX
  2013-04-09 11:18 [Bug corefiles/15349] New: gcore not implemented for AIX raunaq at outlook dot com
  2013-04-09 11:22 ` [Bug corefiles/15349] " raunaq at outlook dot com
  2013-04-12 17:51 ` tromey at redhat dot com
@ 2013-04-19  6:58 ` raunaq at outlook dot com
  2014-03-12 10:02 ` palves at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: raunaq at outlook dot com @ 2013-04-19  6:58 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Raunaq M Bathija <raunaq at outlook dot com> 2013-04-19 06:58:36 UTC ---
(In reply to comment #1)
> (In reply to comment #0)
> 
> > Is it very hard to get gcore working on AIX ?
> 
> If you know the format of core files on AIX, then I think it
> shouldn't be too hard.

Ok, I know the format of core files on AIX. So basically, what that means is
that the AIX core file structure has a certain fields, I need to populate those
fields by gathering information (about the process being debugged) already
available to gdb and save it as a core file ?

If so, it would be really helpful if you could give me a an idea as to where in
gdb or which structure would save such information about the process being
debugged which would be helpful in filling the fields of the core structure.

-- 
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] 5+ messages in thread

* [Bug corefiles/15349] gcore not implemented for AIX
  2013-04-09 11:18 [Bug corefiles/15349] New: gcore not implemented for AIX raunaq at outlook dot com
                   ` (2 preceding siblings ...)
  2013-04-19  6:58 ` raunaq at outlook dot com
@ 2014-03-12 10:02 ` palves at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: palves at redhat dot com @ 2014-03-12 10:02 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=15349

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com
           Severity|normal                      |enhancement

--- Comment #3 from Pedro Alves <palves at redhat dot com> ---
The best in these cases really is to just pick a box that supports gcore (like
GNU/Linux), put a break on the gcore command entry point, and step through the
code to see how it's implemented there.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

end of thread, other threads:[~2014-03-12 10:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-09 11:18 [Bug corefiles/15349] New: gcore not implemented for AIX raunaq at outlook dot com
2013-04-09 11:22 ` [Bug corefiles/15349] " raunaq at outlook dot com
2013-04-12 17:51 ` tromey at redhat dot com
2013-04-19  6:58 ` raunaq at outlook dot com
2014-03-12 10:02 ` palves at redhat 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).