This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: remove gdbarch from struct breakpoint
>>>>> "Ulrich" == Ulrich Weigand <uweigand@de.ibm.com> writes:
Ulrich> For example, today we could add a breakpoint like:
Ulrich> break spu.c:123 if var.offset == 123
Ulrich> while currently in PowerPC architecture. The way this was intended
Ulrich> to work is to set a breakpoint location on spu.c:123 (with a location
Ulrich> architecture of "spu"), while evaluating the condition using
Ulrich> PowerPC architecture settings.
Ok.
Ulrich> Well, in the cases I mentioned above (generated code, stack trampolines)
Ulrich> -- which are rare, but possible, breakpoint targets, especially for
Ulrich> single-step breakpoints -- there is no objfile either.
Yeah, I understand now.
Looking back, I am not certain there is an actual need for this patch.
I am going to see what happens if I just drop it.
If I do drop it, I will still pull in the tracepoint changes, since I
think those are probably good.
Tom