All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dev-manual/debugging: improve gdbserver debugfs docs
@ 2024-10-21 15:22 chris.laplante
  2024-10-21 19:54 ` [docs] " Adrian Freihofer
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: chris.laplante @ 2024-10-21 15:22 UTC (permalink / raw)
  To: docs; +Cc: Chris Laplante

From: Chris Laplante <chris.laplante@agilent.com>

1. Make it clear that IMAGE_FSTYPES has to contain tar.bz2
2. Fix the 'cp -a packages-split/bash-dbg/* path/debugfs' step to not
   literally try to copy a file called '*'

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
---
 documentation/dev-manual/debugging.rst | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/documentation/dev-manual/debugging.rst b/documentation/dev-manual/debugging.rst
index 92458a0c37..6b5d2dd820 100644
--- a/documentation/dev-manual/debugging.rst
+++ b/documentation/dev-manual/debugging.rst
@@ -1006,8 +1006,9 @@ debugger.
 
       IMAGE_GEN_DEBUGFS = "1"
       IMAGE_FSTYPES_DEBUGFS = "tar.bz2"
+      IMAGE_FSTYPES:append = " tar.bz2"
 
-   These options cause the
+   The first two lines cause the
    OpenEmbedded build system to generate a special companion filesystem
    fragment, which contains the matching source and debug symbols to
    your deployable filesystem. The build system does this by looking at
@@ -1016,8 +1017,9 @@ debugger.
 
    The companion debug filesystem is not a complete filesystem, but only
    contains the debug fragments. This filesystem must be combined with
-   the full filesystem for debugging. Subsequent steps in this procedure
-   show how to combine the partial filesystem with the full filesystem.
+   the full filesystem for debugging. The third line ensures that the
+   build system generates a tar.bz2-formatted copy of the full filesystem,
+   which will be used in subsequent steps in this procedure.
 
 #. *Configure the system to include gdbserver in the target filesystem:*
 
@@ -1142,7 +1144,7 @@ debugger.
       $ bitbake -c devshell bash
       $ cd ..
       $ scp packages-split/bash/bin/bash target:/bin/bash
-      $ cp -a packages-split/bash-dbg/\* path/debugfs
+      $ cp -a packages-split/bash-dbg/* path/debugfs
 
 Debugging with the GNU Project Debugger (GDB) on the Target
 ===========================================================
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-10-22 19:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-21 15:22 [PATCH] dev-manual/debugging: improve gdbserver debugfs docs chris.laplante
2024-10-21 19:54 ` [docs] " Adrian Freihofer
2024-10-22  8:19   ` Antonin Godard
2024-10-22  8:01 ` Antonin Godard
2024-10-22 11:57 ` Quentin Schulz
2024-10-22 12:10   ` Antonin Godard
2024-10-22 12:17     ` Quentin Schulz
2024-10-22 12:21       ` Antonin Godard
2024-10-22 14:39       ` chris.laplante
2024-10-22 14:52         ` Quentin Schulz
2024-10-22 19:59           ` chris.laplante

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.