This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Move catch syscall to inferior-data.


On 03/12/2012 02:13 PM, Yao Qi wrote:

> 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.


It's never completely decoupled as other parts of inferior control
need to know about catch syscall, but, patch is okay.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]