星期一, 五月 31, 2010
星期六, 五月 29, 2010
周6(日记)
星期五, 五月 28, 2010
星期四, 五月 27, 2010
星期三, 五月 26, 2010
星期二, 五月 25, 2010
星期一, 五月 24, 2010
星期五, 五月 21, 2010
星期四, 五月 20, 2010
星期三, 五月 19, 2010
Prec speed up demo patch(GDB)
To get message about the idea, Goto http://sourceware.org/ml/gdb/2010-04/msg00161.html .
星期二, 五月 18, 2010
星期一, 五月 17, 2010
星期五, 五月 14, 2010
星期四, 五月 13, 2010
星期三, 五月 12, 2010
Hellogcc IRC交流(IT)
服务器: irc.ubuntu.com
房间: #hellogcc
IRC的好处,是可以即时,群聊。
The topic for #hellogcc is: 讨论GNU工具链相关话题
星期二, 五月 11, 2010
星期一, 五月 10, 2010
2010-05-01 阳台山[1](徒步)
星期六, 五月 08, 2010
星期五, 五月 07, 2010
星期四, 五月 06, 2010
星期三, 五月 05, 2010
星期二, 五月 04, 2010
星期一, 五月 03, 2010
星期日, 五月 02, 2010
rbreak break every functions in a file -- new gdb breakpoint command(GDB)
Then if inferior exec to any part of this file, the inferior will be
break. But GDB simple break command doesn't support it.
Now, gdb-cvs-head have a new command rbreak:
`rbreak REGEX'
Set breakpoints on all functions matching the regular expression
REGEX. This command sets an unconditional breakpoint on all
matches, printing a list of all breakpoints it set. Once these
breakpoints are set, they are treated just like the breakpoints
set with the `break' command. You can delete them, disable them,
or make them conditional the same way as any other breakpoint.
The syntax of the regular expression is the standard one used with
tools like `grep'. Note that this is different from the syntax
used by shells, so for instance `foo*' matches all functions that
include an `fo' followed by zero or more `o's. There is an
implicit `.*' leading and trailing the regular expression you
supply, so to match only functions that begin with `foo', use
`^foo'.
When debugging C++ programs, `rbreak' is useful for setting
breakpoints on overloaded functions that are not members of any
special classes.
The `rbreak' command can be used to set breakpoints in *all* the
functions in a program, like this:
(gdb) rbreak .
`rbreak FILE:REGEX'
If `rbreak' is called with a filename qualification, it limits the
search for functions matching the given regular expression to the
specified FILE. This can be used, for example, to set breakpoints
on every function in a given file:
(gdb) rbreak file.c:.
The colon separating the filename qualifier from the regex may
optionally be surrounded by spaces.