'개소리 왈왈' 카테고리의 다른 글
구글 메일은 첨부 파일을 싫어해? (4) | 2009.06.29 |
---|---|
티스토리 증후근 + 월요병 + 늬우스 (0) | 2009.06.29 |
천백이 키보드 두둥! (0) | 2009.06.27 |
어느 공대생 이야기 - 도전 만화가 (0) | 2009.06.25 |
구글 애널리틱스 - 브라우저 점유율 (6) | 2009.06.24 |
구글 메일은 첨부 파일을 싫어해? (4) | 2009.06.29 |
---|---|
티스토리 증후근 + 월요병 + 늬우스 (0) | 2009.06.29 |
천백이 키보드 두둥! (0) | 2009.06.27 |
어느 공대생 이야기 - 도전 만화가 (0) | 2009.06.25 |
구글 애널리틱스 - 브라우저 점유율 (6) | 2009.06.24 |
티스토리 증후근 + 월요병 + 늬우스 (0) | 2009.06.29 |
---|---|
덥다.. (2) | 2009.06.28 |
어느 공대생 이야기 - 도전 만화가 (0) | 2009.06.25 |
구글 애널리틱스 - 브라우저 점유율 (6) | 2009.06.24 |
도를 아십니까? (2) | 2009.06.24 |
(gdb) help break Set breakpoint at specified line or function. break [LOCATION] [thread THREADNUM] [if CONDITION] LOCATION may be a line number, function name, or "*" and an address. If a line number is specified, break at start of code for that line. If a function is specified, break at start of code for that function. If an address is specified, break at that exact address. With no LOCATION, uses current execution address of selected stack frame. This is useful for breaking on return to a stack frame. THREADNUM is the number from "info threads". CONDITION is a boolean expression. Multiple breakpoints at one place are permitted, and useful if conditional. Do "help breakpoints" for info on other commands dealing with breakpoints. -------------------------------------------------------------------------------- (gdb) help delete breakpoints Delete some breakpoints or auto-display expressions. Arguments are breakpoint numbers with spaces in between. To delete all breakpoints, give no argument. This command may be abbreviated "delete". |
(gdb) help next Step program, proceeding through subroutine calls. Like the "step" command as long as subroutine calls do not happen; when they do, the call is treated as one instruction. Argument N means do this N times (or till program stops for another reason). (gdb) help step Step program until it reaches a different source line. Argument N means do this N times (or till program stops for another reason). (gdb) help jump Continue program being debugged at specified line or address. Give as argument either LINENUM or *ADDR, where ADDR is an expression for an address to start at. |
(gdb) help list List specified function or line. With no argument, lists ten more lines after or around previous listing. "list -" lists the ten lines before a previous ten-line listing. One argument specifies a line, and ten lines are listed around that line. Two arguments with comma between specify starting and ending lines to list. Lines can be specified in these ways: LINENUM, to list around that line in current file, FILE:LINENUM, to list around that line in that file, FUNCTION, to list around beginning of that function, FILE:FUNCTION, to distinguish among like-named static functions. *ADDRESS, to list around the line containing that address. With two args if one is empty it stands for ten lines away from the other arg. |
gdb 스크립트를 이용한 자동화 - automation using script on gdb (3) | 2009.09.01 |
---|---|
gdb 명령어 - next / step / [엔터] (0) | 2009.07.01 |
간단한 gdb/gdbserver/insight 사용법 (0) | 2009.06.26 |
gdb/insight configure 도움말 (0) | 2009.06.26 |
GDB Insight FAQ - support target list (0) | 2009.06.26 |
For users interested in tuning the performance of their applications, the STLinux distribution includes two profilers - gprof and OProfile. The standard GNU profiler, gprof, has two key limitations for embedded Linux development: * It will only profile a single user mode application. * It will only profile an entire run of that application, and requires it to exit. Many embedded applications are never intended to exit! [링크 : http://stlinux.com/docs/manual/howto/how_to_guide37.php] |
VLC 와 pkg-config (0) | 2010.03.09 |
---|---|
ffmpeg 크로스컴파일시 오류발생 (STLinux2.2) (2) | 2010.03.08 |
python 2.5.4 컴파일시 bzip 에러 (0) | 2010.02.25 |
python2.4 on STLinux with google api(gdata) (0) | 2010.02.23 |
cross compiled python2.4 on STLinux2.3 (2) | 2010.02.23 |
gdb 명령어 - next / step / [엔터] (0) | 2009.07.01 |
---|---|
gdb help (0) | 2009.06.26 |
gdb/insight configure 도움말 (0) | 2009.06.26 |
GDB Insight FAQ - support target list (0) | 2009.06.26 |
insight - GDB GUI frontend (0) | 2009.06.26 |
$ ./configure --help `configure' configures this package to adapt to many kinds of systems. Usage: ./configure [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print `checking...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for `--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or `..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [/usr/local] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, `make install' will install all the files in `/usr/local/bin', `/usr/local/lib' etc. You can specify an installation prefix other than `/usr/local' using `--prefix', for instance `--prefix=$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --datadir=DIR read-only architecture-independent data [PREFIX/share] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] --target=TARGET configure for building compilers for TARGET [HOST] Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-libada build libada directory --enable-libssp build libssp directory --enable-stage1-languages[=all] choose additional languages to build during stage1. Mostly useful for compiler development. --enable-objc-gc enable use of Boehm's garbage collector with the GNU Objective-C runtime --enable-bootstrap enable bootstrapping [yes if native build] --enable-serial-[{host,target,build}-]configure force sequential configuration of sub-packages for the host, target or build machine, or all sub-packages --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --enable-stage1-checking[=all] choose additional checking for stage1 of the compiler --enable-werror enable -Werror in bootstrap stage2 and later Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-build-libsubdir=DIR Directory where to find libraries for build system --with-mpfr-dir=PATH this option has been REMOVED --with-mpfr=PATH specify prefix directory for installed MPFR package. Equivalent to --with-mpfr-include=PATH/include plus --with-mpfr-lib=PATH/lib --with-mpfr-include=PATH specify directory for installed MPFR include files --with-mpfr-lib=PATH specify directory for the installed MPFR library --with-gmp-dir=PATH this option has been REMOVED --with-gmp=PATH specify prefix directory for the installed GMP package. Equivalent to --with-gmp-include=PATH/include plus --with-gmp-lib=PATH/lib --with-gmp-include=PATH specify directory for installed GMP include files --with-gmp-lib=PATH specify directory for the installed GMP library --with-build-sysroot=SYSROOT use sysroot as the system root during the build --with-debug-prefix-map='A=B C=D ...' map A to B, C to D ... in debug information --with-build-time-tools=PATH use given path to find target tools during the build --with-datarootdir use datarootdir as the data root directory. --with-docdir install documentation in this directory. --with-pdfdir install pdf in this directory. --with-htmldir install html in this directory. Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a nonstandard directory <lib dir> CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have headers in a nonstandard directory <include dir> CXX C++ compiler command CXXFLAGS C++ compiler flags AR AR for the host AS AS for the host DLLTOOL DLLTOOL for the host LD LD for the host LIPO LIPO for the host NM NM for the host RANLIB RANLIB for the host STRIP STRIP for the host WINDRES WINDRES for the host WINDMC WINDMC for the host OBJCOPY OBJCOPY for the host OBJDUMP OBJDUMP for the host CC_FOR_TARGET CC for the target CXX_FOR_TARGET CXX for the target GCC_FOR_TARGET GCC for the target GCJ_FOR_TARGET GCJ for the target GFORTRAN_FOR_TARGET GFORTRAN for the target AR_FOR_TARGET AR for the target AS_FOR_TARGET AS for the target DLLTOOL_FOR_TARGET DLLTOOL for the target LD_FOR_TARGET LD for the target LIPO_FOR_TARGET LIPO for the target NM_FOR_TARGET NM for the target OBJDUMP_FOR_TARGET OBJDUMP for the target RANLIB_FOR_TARGET RANLIB for the target STRIP_FOR_TARGET STRIP for the target WINDRES_FOR_TARGET WINDRES for the target WINDMC_FOR_TARGET WINDMC for the target Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. |
$ ./gdb/insight warning: A handler for the OS ABI "GNU/Linux" is not built into this configuration of GDB. Attempting to continue with the default sh settings. |
gdb help (0) | 2009.06.26 |
---|---|
간단한 gdb/gdbserver/insight 사용법 (0) | 2009.06.26 |
GDB Insight FAQ - support target list (0) | 2009.06.26 |
insight - GDB GUI frontend (0) | 2009.06.26 |
gdb야 좀 대충 속아라~ 응?! 아 쫌! (6) | 2009.06.18 |
2.3 How do I know what targets are supported by Insight? There is no definitive list of targets supported by each version of GDB/Insight. The best place to look to find out if your target is supported is in the configure script and the source tree of the particular version of insight you are using. -> 번역 GDB/Insight의 각 버전별 지원 타겟의 목록은 없습니다. 가장 좋은 방법은 configure 스크립트와 소스를 뒤져보는 수밖에 없습니다. (장난해!!!!) [링크 : http://sources.redhat.com/insight/faq.php#q-2.2] |
# sh4-linux-gdb GNU gdb STMicroelectronics/Linux Base 6.4-12 [build Oct 15 2006] Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-pc-linux-gnu --target=sh4-linux". (gdb) |
간단한 gdb/gdbserver/insight 사용법 (0) | 2009.06.26 |
---|---|
gdb/insight configure 도움말 (0) | 2009.06.26 |
insight - GDB GUI frontend (0) | 2009.06.26 |
gdb야 좀 대충 속아라~ 응?! 아 쫌! (6) | 2009.06.18 |
gdb 한글 문서 (0) | 2009.06.18 |
gdb/insight configure 도움말 (0) | 2009.06.26 |
---|---|
GDB Insight FAQ - support target list (0) | 2009.06.26 |
gdb야 좀 대충 속아라~ 응?! 아 쫌! (6) | 2009.06.18 |
gdb 한글 문서 (0) | 2009.06.18 |
gdb 기동시 xterm 에러 - STLinux (2) | 2009.04.09 |
SYNOPSIS #define _GNU_SOURCE #include <stdio.h> ssize_t getline(char **lineptr, size_t *n, FILE *stream); ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream); DESCRIPTION getline() reads an entire line from stream, storing the address of the buffer containing the text into *lineptr. The buffer is null-terminated and includes the newline character, if one was found. If *lineptr is NULL, then getline() will allocate a buffer for storing the line, which should be freed by the user program. Alternatively, before calling getline(), *lineptr can contain a pointer to a malloc()-allocated buffer *n bytes in size. If the buffer is not large enough to hold the line, getline() resizes it with realloc(), updating *lineptr and *n as necessary. In either case, on a successful call, *lineptr and *n will be updated to reflect the buffer address and allocated size respectively. getdelim() works like getline(), except a line delimiter other than newline can be specified as the delimiter argument. As with getline(), a delimiter character is not added if one was not present in the input before end of file was reached. |
fstat - 파일의 상태 얻어오기 (2) | 2009.07.02 |
---|---|
Linux File Descriptor / File pointer (0) | 2009.06.30 |
fork에 관한 짧은 이야기 (2) | 2009.06.23 |
signal / kill / raise (0) | 2009.06.21 |
flock - apply or remove an advisory lock on an open file (0) | 2009.06.20 |
그림체 파괴 게임! (8) | 2009.07.27 |
---|---|
헬스장 + 다음 로드뷰(혹은 구글 스트리트뷰) (6) | 2009.07.14 |
mp3 쇳소리를 없앨수 있다면? (0) | 2009.06.02 |
자동으로 리부팅 되는 공유기 없나? (0) | 2009.04.29 |
지하철에 어느방향 열차가 들어 오는지 알려주는 표지판 (10) | 2009.04.27 |