From fcc1c85c675ef402ac37ecf4f7a1377f560d0ec0 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 4 Aug 2003 22:24:44 +0000 Subject: 2003-08-04 Andrew Cagney * gdbarch.sh (gdbarch_data_free_ftype): Delete declaration. (register_gdbarch_data): Delete "free" parameter. Update comments. * gdbarch.h, gdbarch.c: Re-generate. * reggroups.c (_initialize_reggroup): Update. * gnu-v3-abi.c (init_gnuv3_ops): Update. * frame-base.c (_initialize_frame_base): Update. * frame-unwind.c (_initialize_frame_unwind): Update. * user-regs.c (_initialize_user_regs): Update. * remote.c (_initialize_remote): Update. * regcache.c (_initialize_regcache): Update. --- gdb/reggroups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/reggroups.c') diff --git a/gdb/reggroups.c b/gdb/reggroups.c index a4e940e..791ec0a 100644 --- a/gdb/reggroups.c +++ b/gdb/reggroups.c @@ -259,7 +259,7 @@ extern initialize_file_ftype _initialize_reggroup; /* -Wmissing-prototypes */ void _initialize_reggroup (void) { - reggroups_data = register_gdbarch_data (reggroups_init, NULL); + reggroups_data = register_gdbarch_data (reggroups_init); /* The pre-defined list of groups. */ add_group (&default_groups, general_reggroup, XMALLOC (struct reggroup_el)); -- cgit v1.1