RFC: gdbglobals.[ch]

Eli Zaretskii eliz@delorie.com
Wed Dec 13 03:41:00 GMT 2000


> 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.


More information about the Gdb mailing list