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: [WIP] TI msp430 CIO support


> It may be that this is considered to be (barely) acceptable behavior
> for dprintf.  Even if this is acceptable for dprintf, it is completely
> unacceptable for the CIO implementation.  It makes no sense whatsoever
> to turn a "next" into a "continue" when attempting to step over a
> statement which performs I/O.

Agreed. Having dprintf with limitations is probably better than
no dprintf at all, but that is a very very serious limitation, IMO.

> In order for this work to go into the GDB sources, the use of the
> shared library machinery needs to be removed and replaced with some
> other kind of breakpoint machinery which still provides correct
> behavior.   This same mechanism could be used to improve dprintf
> behavior as well.

Agreed again. I think this option has been delayed and delayed because
it might be hairy to implement right (messing with handle_inferior_event).

-- 
Joel


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