• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révision599bd15cdae16c5c420c85cf4853fcfd769bce75 (tree)
l'heure2015-04-02 21:38:29
AuteurGary Benson <gbenson@redh...>
CommiterGary Benson

Message de Log

Document "target:" sysroot changes

This commit documents the newly added "target:" sysroot feature.

gdb/ChangeLog:

* NEWS: Announce the new default sysroot of "target:".

gdb/doc/ChangeLog:

* gdb.texinfo (set sysroot): Document "target:".

Change Summary

Modification

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
11 2015-04-02 Gary Benson <gbenson@redhat.com>
22
3+ * NEWS: Announce the new default sysroot of "target:".
4+
5+2015-04-02 Gary Benson <gbenson@redhat.com>
6+
37 * main.c (captured_main): Set gdb_sysroot to "target:"
48 if not otherwise set.
59
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -24,6 +24,13 @@
2424 present in the debug info. This typically includes the compiler version
2525 and may include things like its command line arguments.
2626
27+* Directory names supplied to the "set sysroot" commands may be
28+ prefixed with "target:" to tell GDB to access shared libraries from
29+ the target system, be it local or remote. This replaces the prefix
30+ "remote:". The default sysroot has been changed from "" to
31+ "target:". "remote:" is automatically converted to "target:" for
32+ backward compatibility.
33+
2734 * Python Scripting
2835
2936 ** gdb.Objfile objects have a new attribute "username",
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
1+2015-04-02 Gary Benson <gbenson@redhat.com>
2+
3+ * gdb.texinfo (set sysroot): Document "target:".
4+
15 2015-04-01 Sasha Smundak <asmundak@google.com>
26
37 * doc/python.texi (Writing a Frame Unwinder in Python): Add
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -17854,15 +17854,20 @@ libraries, they need to be laid out in the same way that they are on
1785417854 the target, with e.g.@: a @file{/lib} and @file{/usr/lib} hierarchy
1785517855 under @var{path}.
1785617856
17857-If @var{path} starts with the sequence @file{remote:}, @value{GDBN} will
17858-retrieve the target libraries from the remote system. This is only
17859-supported when using a remote target that supports the @code{remote get}
17860-command (@pxref{File Transfer,,Sending files to a remote system}).
17861-The part of @var{path} following the initial @file{remote:}
17862-(if present) is used as system root prefix on the remote file system.
17863-@footnote{If you want to specify a local system root using a directory
17864-that happens to be named @file{remote:}, you need to use some equivalent
17865-variant of the name like @file{./remote:}.}
17857+If @var{path} starts with the sequence @file{target:} and the target
17858+system is remote then @value{GDBN} will retrieve the target binaries
17859+from the remote system. This is only supported when using a remote
17860+target that supports the @code{remote get} command (@pxref{File
17861+Transfer,,Sending files to a remote system}). The part of @var{path}
17862+following the initial @file{target:} (if present) is used as system
17863+root prefix on the remote file system. If @var{path} starts with the
17864+sequence @file{remote:} this is converted to the sequence
17865+@file{target:} by @code{set sysroot}@footnote{Historically the
17866+functionality to retrieve binaries from the remote system was
17867+provided by prefixing @var{path} with @file{remote:}}. If you want
17868+to specify a local system root using a directory that happens to be
17869+named @file{target:} or @file{remote:}, you need to use some
17870+equivalent variant of the name like @file{./target:}.
1786617871
1786717872 For targets with an MS-DOS based filesystem, such as MS-Windows and
1786817873 SymbianOS, @value{GDBN} tries prefixing a few variants of the target