This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: RFC: gdbglobals.[ch]
- To: fnasser at cygnus dot com
- Subject: Re: RFC: gdbglobals.[ch]
- From: Eli Zaretskii <eliz at delorie dot com>
- Date: Wed, 13 Dec 2000 06:41:41 -0500 (EST)
- CC: gdb at sources dot redhat dot com
- References: <3A368138.A7360C4A@cygnus.com>
- Reply-to: Eli Zaretskii <eliz at is dot elta dot co dot il>
> Date: Tue, 12 Dec 2000 14:49:12 -0500
> From: Fernando Nasser <fnasser@cygnus.com>
>
> enum var_types
> {
Why is a `double' missing from this enum?
> /* Obtain the current value of a global. */
>
> extern gdb_global_rc
> gdb_global_get_value (gdb_global_handle global, char **cur_val);
Shouldn't the last argument be a "void **"?
> /* Set a new value in a global and notify consumers. */
>
> extern gdb_global_rc
> gdb_global_set_value (, char *new_val);
Something (a handle?) is missing here.