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] Fix create pending breakpoint handle extra_string issue if not parse_condition_and_thread


On 04/05/2013 10:50 AM, Pedro Alves wrote:
I think you're on the right track here.

That's good to know. :-) Honestly, though, that was just meant as an example -- not a definitive solution to the problem.

That'd mean that e.g., for a future MI dprintf command, we'd accept
the remainder of ARG as extra string.

Gah. I totally spaced on MI.

I made it "parse_arg", as that'll remain stable even
when more explicit parameters are added, and,

break_command_1:

   create_breakpoint (get_current_arch (),
		     arg,
		     NULL, 0, NULL, 1 /* parse arg */,

we even have comments calling it that already too.

A very welcome change.

WDYT?

It looks good to me.

Thank you again for your review of my review. Hopefully next time I'll be a bit better at it!

Keith


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