Jim Ingham | 1 Oct 2002 22:38
Picon
Favicon

Re: RFC: ui_out type?

Daniel,

On Tuesday, October 1, 2002, at 01:17  PM, 
gdb-digest-help <at> sources.redhat.com wrote:

> (gdb) disas 'std::collate<char>::do_compare(char const*, char const*, 
> char const*, char const*) const'
> Unmatched single quote.
>
> [Er... that's not what I wanted to show.  Does anyone know why we're
> reporting an unmatched quote there?  "print" works but not "disas".]
>
>

"disassemble" doesn't use decode_line_1 to parse it's input.  It has 
its own simplified parser for arguments, which doesn't handle many of 
the more complex tricks decode_line_1 can handle...

Jim
--
Jim Ingham                                   jingham <at> apple.com
Developer Tools
Apple Computer


Gmane