[PATCH] Move catch syscall to inferior-data.
Yao Qi
yao@codesourcery.com
Mon Mar 12 14:14:00 GMT 2012
On 03/12/2012 09:51 PM, Pedro Alves wrote:
>> > After trying some different methods, I realize that it is not a good
>> > way to put "DEF_VEC_I(foo)" in header file.
>
> Right. Just put DEF_VEC_I(int) in gdb_vecs.h and include that in
> places that need it.
Right, gdb_vecs.h can guarantee each DEF_VEC_I is included only once.
IMO, this patch is still beneficial, because inferior.h is de-coupled
from breakpoint.h with this patch applied.
--
Yao (é½å°§)
More information about the Gdb-patches
mailing list