aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorRichard Bunt <richard.bunt@linaro.org>2023-03-31 15:31:40 +0100
committerMaciej W. Rozycki <macro@embecosm.com>2023-03-31 15:31:40 +0100
commit03d83cd5f55abef6a8e6b8e1811cb86f8a05d616 (patch)
tree369805d17231ef7a67d59cc036fff2e4a2e0f4b9 /gdb/NEWS
parent5b2007ad26f51b244ce66ec65d13e7f71a7f22bc (diff)
downloadgdb-03d83cd5f55abef6a8e6b8e1811cb86f8a05d616.zip
gdb-03d83cd5f55abef6a8e6b8e1811cb86f8a05d616.tar.gz
gdb-03d83cd5f55abef6a8e6b8e1811cb86f8a05d616.tar.bz2
GDB: Add `info main' command
Allow consumers of GDB to extract the name of the main method. This is most useful for Fortran programs which have a variable main method. Used by both MAP and DDT e.g. it is used to detect the presence of debug information. Co-Authored-By: Maciej W. Rozycki <macro@embecosm.com>
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index ba5ae52..10a1a70 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -83,6 +83,9 @@ show always-read-ctf
When off, CTF is only read if DWARF is not present. When on, CTF is
read regardless of whether DWARF is present. Off by default.
+info main
+ Get main symbol to identify entry point into program.
+
* New convenience function "$_shell", to execute a shell command and
return the result. This lets you run shell commands in expressions.
Some examples: