Re: [OBV PATCH 1/4] Add a newline in output messages

Yao Qi
2014-03-06T06:45:43Z

On 03/05/2014 10:22 PM, Joel Brobecker wrote:
> Obvious indeed.
>

Patch is pushed in.

> The error handling is a little different from the usual, where error
> would typically be used; especially since zero can be a valid number.

Yes, a message is printed out, and let the caller to decide whether to
throw an error.

> And this leads to this sort of odd behavior:
>
> (gdb) set $v := 1.1
> (gdb) b a
> Breakpoint 1 at 0x401558: file a.adb, line 3.
> (gdb) cond $v 1 = 1
> Convenience variable must have integer value.
> Bad breakpoint argument: '$v 1 = 1'

Sorry, I don't find anything odd here. Is the odd behavior to print two
lines for an invalid input?

--
Yao (é½å°§)