diff options
author | Daniel Jacobowitz <drow@false.org> | 2003-03-05 18:01:46 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2003-03-05 18:01:46 +0000 |
commit | fe1f4a5eb6af1bb69854a55ab42feb74670ae3ce (patch) | |
tree | 96b9150cad6a2e450464836981103d3bc9cc0118 /gdb/hpacc-abi.c | |
parent | f12122454eb21598da0cdebbeabfd2c076dc0641 (diff) | |
download | gdb-fe1f4a5eb6af1bb69854a55ab42feb74670ae3ce.zip gdb-fe1f4a5eb6af1bb69854a55ab42feb74670ae3ce.tar.gz gdb-fe1f4a5eb6af1bb69854a55ab42feb74670ae3ce.tar.bz2 |
* cp-abi.c: Include "command.h", "gdbcmd.h", and "ui-out.h".
(auto_cp_abi): New variable.
(current_cp_abi, num_cp_abis): Make static.
(CP_ABI_MAX): Define.
(cp_abis): Turn into an array.
(value_virtual_fn_field): Fix formatting.
(switch_to_cp_abi, register_cp_abi): Update. register_cp_abi now
takes a pointer.
(set_cp_abi_as_auto_default, set_cp_abi_cmd, show_cp_abi_cmd)
(list_cp_abis, _initialize_cp_abi): New functions.
* cp-abi.h: Add prototype for set_cp_abi_as_auto_default. Remove
declarations for cp_abis, num_cp_abis, current_cp_abi, and
switch_to_cp_abi. Update prototype for register_cp_abi.
* Makefile.in (cp-abi.o): Update dependencies.
* minsyms.c (install_minimal_symbols): Call set_cp_abi_as_auto_default
instead of switch_to_cp_abi.
* gnu-v2-abi.c (_initialize_gnu_v2_abi): Likewise. Update call to
register_cp_abi.
* gnu-v3-abi.c (_initialize_gnu_v3_abi): Update call to
register_cp_abi.
* hpacc-abi.c (_initialize_hpacc_abi): Likewise.
Diffstat (limited to 'gdb/hpacc-abi.c')
-rw-r--r-- | gdb/hpacc-abi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/hpacc-abi.c b/gdb/hpacc-abi.c index 6753cd7..799d4c7 100644 --- a/gdb/hpacc-abi.c +++ b/gdb/hpacc-abi.c @@ -324,5 +324,5 @@ _initialize_hpacc_abi (void) regcomp (&operator_pattern, "^This will never match anything, please fill it in$", REG_NOSUB); - register_cp_abi (hpacc_abi_ops); + register_cp_abi (&hpacc_abi_ops); } |