This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Fix `return' of long/long-long results with no debuginfo
- From: Tom Tromey <tromey at redhat dot com>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: jan dot kratochvil at redhat dot com, drow at false dot org, gdb-patches at sourceware dot org
- Date: Wed, 04 Mar 2009 17:15:08 -0700
- Subject: Re: [patch] Fix `return' of long/long-long results with no debuginfo
- References: <20090211194511.GA9324@host0.dyn.jankratochvil.net> <200902112040.n1BKdxb3028188@brahms.sibelius.xs4all.nl> <20090211205045.GB9762@caradoc.them.org> <200902112122.n1BLMf8q000100@brahms.sibelius.xs4all.nl> <20090211214646.GA22247@host0.dyn.jankratochvil.net> <200902112157.n1BLvplk011339@brahms.sibelius.xs4all.nl> <20090211220824.GA26040@host0.dyn.jankratochvil.net> <200902112237.n1BMbbOb006035@brahms.sibelius.xs4all.nl> <20090211225012.GA28683@host0.dyn.jankratochvil.net> <m3ocwimq9g.fsf@fleche.redhat.com> <200903042129.n24LTUKa000770@brahms.sibelius.xs4all.nl>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Mark" == Mark Kettenis <mark.kettenis@xs4all.nl> writes:
Mark> Do we have a way to figure out if such a cast is present in the
Mark> expression passed as an argument to the return command?
Yeah, it is not too hard. It just means having return_command call
parse_expression directly, then look at the resulting expression.
Tom