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: [ping] [PATCH] Different outputs affected by locale


> The character printed by GDB in this case is out the control of GDB,
> IMO.

IIRC, it is a little bit by ways of how it decodes multibyte characters?

> IOW, we can't tell what character printed is correct and what is
> incorrect.  Or we can relax the pattern to match either \242 or '¢'
> (cent sign) in the test.  WDYT?

That would have been my first approach, but I would prefer it if
someone who knows better about encodings commented on that. I could
be wrong!

-- 
Joel


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