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 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 (éå)


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