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: RFC: MI output during program execution



On Aug 9, 2005, at 5:42 PM, Daniel Jacobowitz wrote:


On Tue, Aug 09, 2005 at 11:34:34AM -0700, Jim Ingham wrote:

How does -interpreter-exec console work in the case when the user
executes a command, that makes up several other commands?

define mess_with_mi_people
  b main
  r
  n
  n
end

I don't think this case would currently work as expected. Would it?


Remember that only one "run the target" command is allowed in a CLI define. All the others are ignored.


This is true (and documented, I think), but I still consider it a bug. It's just a particularly rotten one.

I agree, and it was filed as one by one of our users here... I looked a bit into what it would take to fix it and it was not pretty. Particularly for breakpoint commands, where it looked like it would require some serious surgery.


Jim


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