gdb 시작 테이프 실행 매개 변수

1187 단어 gdb
Liux 에서 gdb 시작 프로그램 으로 실행 파 라 메 터 를 추가 해 야 한다 면
일반 시작 프로그램 실행 가능 한 프로그램 매개 변수
root@B250M:~# ./SDK rtsp://192.168.2.38:5554/3

gdb 시작 파일
root@B250M:~# gdb SDK
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from SDK...done.
(gdb)

run / r 매개 변수
(gdb) r rtsp://192.168.2.38:5554/3

혹은 set args 인자
(gdb) set args rtsp://192.168.2.38:5554/3
(gdb) r

좋은 웹페이지 즐겨찾기