[PATCH] Unary plus
Nathan Sidwell
nathan@codesourcery.com
Wed Feb 9 13:37:00 GMT 2005
Hi,
gdb doesn't parse or evaluate the unary plus operator (but does have one).
gdb.trace/collection.exp contains such an expression -- 'a[+b]'. This patch
adds the necessary parsing and evaluation machinery.
built & tested on i686-px-linux-gnu and an unreleased architecture. ok?
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unop_plus.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20050209/65fc593a/attachment.ksh>
More information about the Gdb-patches
mailing list