summaryrefslogtreecommitdiff
path: root/gdb/doc/gdb.texinfo
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2022-09-23 10:04:58 +0100
committerAndrew Burgess <aburgess@redhat.com>2022-12-14 13:57:22 +0000
commit5d80df4a109e7b648e324423a5fbc3c1ba02e816 (patch)
tree23ac758c75157eafef3f0b905a9c34ea3a0131c8 /gdb/doc/gdb.texinfo
parent740a579fd5f5cd56bfb42a3f62c61ffd42d43186 (diff)
downloadbinutils-gdb-5d80df4a109e7b648e324423a5fbc3c1ba02e816.tar.gz
gdb/maint: add core file name to 'maint info program-spaces' output
Each program space can have an associated core file. Include this information in the output of 'maint info program-spaces'.
Diffstat (limited to 'gdb/doc/gdb.texinfo')
-rw-r--r--gdb/doc/gdb.texinfo8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 5b566669975..755fbf72a7c 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -3465,6 +3465,10 @@ the program space number assigned by @value{GDBN}
the name of the executable loaded into the program space, with e.g.,
the @code{file} command.
+@item
+the name of the core file loaded into the program space, with e.g.,
+the @code{core-file} command.
+
@end enumerate
@noindent
@@ -3477,7 +3481,7 @@ example, the list of inferiors bound to the program space.
@smallexample
(@value{GDBP}) maint info program-spaces
- Id Executable
+ Id Executable Core File
* 1 hello
2 goodbye
Bound inferiors: ID 1 (process 21561)
@@ -3491,7 +3495,7 @@ the parent and child processes of a @code{vfork} call. For example,
@smallexample
(@value{GDBP}) maint info program-spaces
- Id Executable
+ Id Executable Core File
* 1 vfork-test
Bound inferiors: ID 2 (process 18050), ID 1 (process 18045)
@end smallexample