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: FYI: add some breakpoint setter methods


Joel Brobecker wrote:

>> As an aside, it seems to me that the breakpoint observers should
>> probably take a 'struct breakpoint *' as an argument, rather than a
>> breakpoint number.  This would be more efficient: I think most users
>> will want to have access to the actual breakpoint anyhow, and this would
>> avoid a search through all breakpoints for the number.  Perhaps I will
>> implement this.
> 
> Seems like a good idea.

I will be submitting a patch for that very soon.

- Volodya


-- 
Vladimir Prus
Mentor Graphics
+7 (812) 677-68-40



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