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] |
On Tuesday 23 June 2009 16:17:58, Aleksandar Ristovski wrote:Pedro Alves wrote:On Monday 22 June 2009 20:38:50, Aleksandar Ristovski wrote:
Z0 and Z1 breakpoints also take a 'len' argument, just like Z2-Z4. You should also pass those down.
But, Let's take a step back --- why not just rename the insert_watchpoint|remove_watchpoint functions to insert_point,remove_point, and relax the type checks in server.c:
Ok, then that version is committed.But either way is fine with me - just let me know.I'd prefer the approach I suggested, and worry about splitting the breakpoints from watchpoints API if/when we actually need it.
Well, we had never seen "that" version, and you bypassed the "rename" suggestion...
Would you care to explain why are watchpoints guarded on require_running and breakpoints aren't? It's not super obvious to me.
In any case - advise on next step: -revert -rename -rename + guard
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |