This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Inferior function call command set
- From: Doug Evans <dje at transmeta dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 1 May 2003 14:12:24 -0700 (PDT)
- Subject: Inferior function call command set
- References: <3EB16A02.9080904@redhat.com>
Andrew Cagney writes:
> GDB has a number of commands for controlling the behavior of inferior
> function calls (developers think of them as call dummies). Looking in
> "infcall.c" I find:
>
> set/show coerce-float-to-double yes|no
> set/show unwindonsignal yes|no
>
> And I'm now looking to add a third:
>
> set/show call-location on-stack|at-start|auto
Questions:
Out of curiousity, is there any need to have a runtime choice?
What happens if a value is set that the target doesn't support?
I presume this will be flagged as an error, right?
Is there any target that actually supports more than one?
(and that has all forms consistently working, rather than the
usual one working and the others bitrotting away ...)