diff options
author | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2020-06-27 22:08:50 +0200 |
---|---|---|
committer | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2020-07-11 14:21:05 +0200 |
commit | 0a278aa7552de49be4816409a793c2403f6e87be (patch) | |
tree | cb6c45d26801ec576eaef8f1b45e8bc2f2fdf8cb /gdb/doc | |
parent | a308b89de77e782b563fe5f712397848bfd4a897 (diff) | |
download | gdb-0a278aa7552de49be4816409a793c2403f6e87be.zip gdb-0a278aa7552de49be4816409a793c2403f6e87be.tar.gz gdb-0a278aa7552de49be4816409a793c2403f6e87be.tar.bz2 |
Fine tune exec-file-mismatch help and documentation.
It was deemed better to explicitly mention in help and doc that build IDs
are used for comparison, and that symbols are loaded when asking to
load the exec-file.
This is V2, fixing 2 typos and replacing 'If the user asks to load'
by 'If the user confirms loading', as suggested by Pedro.
gdb/ChangeLog
2020-07-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* exec.c (_initialize_exec): Update exec-file-mismatch help.
gdb/doc/ChangeLog
2020-07-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* gdb.texinfo (Attach): Update exec-file-mismatch doc.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 0538115..3626adc 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2020-07-11 Philippe Waroquiers <philippe.waroquiers@skynet.be> + + * gdb.texinfo (Attach): Update exec-file-mismatch doc. + 2020-07-08 Hannes Domani <ssbssa@yahoo.de> * gdb.texinfo: Document Windows drive conversion of diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 1514ff1..776c1ce 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -3016,6 +3016,8 @@ by @value{GDBN} and the executable file used to start the process. If @samp{ask}, the default, display a warning and ask the user whether to load the process executable file; if @samp{warn}, just display a warning; if @samp{off}, don't attempt to detect a mismatch. +If the user confirms loading the process executable file, then its symbols +will be loaded as well. @cindex show exec-file-mismatch @item show exec-file-mismatch |