[sonic-buildimage] Fix debug docker run instruction. (#5151)
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
This commit is contained in:
parent
9ad1971c78
commit
bb62f5663c
@ -243,7 +243,7 @@ _Recommend: Rename image built using INSTALL_DEBUG_TOOLS=y to mark it explicit.
|
|||||||
* To debug a core file in non-SONiC environment that supports docker
|
* To debug a core file in non-SONiC environment that supports docker
|
||||||
* `docker load -i docker-<name>-dbg.gz`
|
* `docker load -i docker-<name>-dbg.gz`
|
||||||
* copy your unzipped core file into ~/debug
|
* copy your unzipped core file into ~/debug
|
||||||
* `docker run -it -entrypoint=/bin/bash -v ~/debug:/debug <image id>`
|
* `docker run -it --entrypoint=/bin/bash -v ~/debug:/debug <image id>`
|
||||||
* `gdb /usr/bin/<your binary> -c /debug/<your core>`
|
* `gdb /usr/bin/<your binary> -c /debug/<your core>`
|
||||||
|
|
||||||
### Debug SONiC image
|
### Debug SONiC image
|
||||||
|
Loading…
Reference in New Issue
Block a user