summaryrefslogtreecommitdiff
path: root/open_issues/gdb_gcore.mdwn
blob: cadd9be1eb8e0412bb9d2f1ac3e84f9d8b49f6d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[[!meta copyright="Copyright © 2009, 2011, 2013 Free Software Foundation,
Inc."]]

[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Texts, and no Back-Cover Texts.  A copy of the license
is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]

[[!meta title="GDB: gcore"]]

[[!tag open_issue_gdb]]

GDB's `gcore` command doesn't work / needs to be implemented / ported in GDB:

    tschwinge@flubber:~ $ gcore 8371
    [New Thread 8371.1]
    [New Thread 8371.2]
    [New Thread 8371.3]
    /media/data/home/tschwinge/core.cA0ICY:2: Error in sourced command file:
    Undefined command: "gcore".  Try "help".
    gcore: failed to create core.8371

Will probably need to implement `gdb/gdbarch.sh:gdb_signal_from_target`,
`gdb/gdbarch.sh:gdb_signal_to_target`.

If someone is working in this area, they may want to port
<http://code.google.com/p/google-coredumper/>, too.