* FYI: fix build failure
@ 2012-03-05 14:53 Tom Tromey
2012-03-05 14:56 ` Tristan Gingold
0 siblings, 1 reply; 2+ messages in thread
From: Tom Tromey @ 2012-03-05 14:53 UTC (permalink / raw)
To: gdb-patches
I'm checking this in.
I did a --enable-targets=all build and got a build failure:
/home/tromey/gnu/archer/build/gdb/../../archer/gdb/ia64-vms-tdep.c:162: multiple definition of `_initialize_ia64_hpux_tdep'
ia64-hpux-tdep.o:/home/tromey/gnu/archer/build/gdb/../../archer/gdb/ia64-hpux-tdep.c:431: first defined here
The fix is to rename the VMS function, which seems obviously misnamed to
me.
Tom
2012-03-05 Tom Tromey <tromey@redhat.com>
* ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Rename from
_initialize_ia64_hpux_tdep.
diff --git a/gdb/ia64-vms-tdep.c b/gdb/ia64-vms-tdep.c
index 859c0b4..66920b1 100644
--- a/gdb/ia64-vms-tdep.c
+++ b/gdb/ia64-vms-tdep.c
@@ -155,10 +155,10 @@ ia64_openvms_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
}
/* Provide a prototype to silence -Wmissing-prototypes. */
-extern initialize_file_ftype _initialize_ia64_hpux_tdep;
+extern initialize_file_ftype _initialize_ia64_vms_tdep;
void
-_initialize_ia64_hpux_tdep (void)
+_initialize_ia64_vms_tdep (void)
{
gdbarch_register_osabi (bfd_arch_ia64, 0, GDB_OSABI_OPENVMS,
ia64_openvms_init_abi);
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: FYI: fix build failure
2012-03-05 14:53 FYI: fix build failure Tom Tromey
@ 2012-03-05 14:56 ` Tristan Gingold
0 siblings, 0 replies; 2+ messages in thread
From: Tristan Gingold @ 2012-03-05 14:56 UTC (permalink / raw)
To: Tom Tromey; +Cc: gdb-patches
On Mar 5, 2012, at 3:53 PM, Tom Tromey wrote:
> I'm checking this in.
>
> I did a --enable-targets=all build and got a build failure:
>
> /home/tromey/gnu/archer/build/gdb/../../archer/gdb/ia64-vms-tdep.c:162: multiple definition of `_initialize_ia64_hpux_tdep'
> ia64-hpux-tdep.o:/home/tromey/gnu/archer/build/gdb/../../archer/gdb/ia64-hpux-tdep.c:431: first defined here
>
> The fix is to rename the VMS function, which seems obviously misnamed to
> me.
My fault. Sorry, I missed this renaming.
Thank you for fixing it.
Tristan.
>
> Tom
>
> 2012-03-05 Tom Tromey <tromey@redhat.com>
>
> * ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Rename from
> _initialize_ia64_hpux_tdep.
>
> diff --git a/gdb/ia64-vms-tdep.c b/gdb/ia64-vms-tdep.c
> index 859c0b4..66920b1 100644
> --- a/gdb/ia64-vms-tdep.c
> +++ b/gdb/ia64-vms-tdep.c
> @@ -155,10 +155,10 @@ ia64_openvms_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
> }
>
> /* Provide a prototype to silence -Wmissing-prototypes. */
> -extern initialize_file_ftype _initialize_ia64_hpux_tdep;
> +extern initialize_file_ftype _initialize_ia64_vms_tdep;
>
> void
> -_initialize_ia64_hpux_tdep (void)
> +_initialize_ia64_vms_tdep (void)
> {
> gdbarch_register_osabi (bfd_arch_ia64, 0, GDB_OSABI_OPENVMS,
> ia64_openvms_init_abi);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-05 14:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-05 14:53 FYI: fix build failure Tom Tromey
2012-03-05 14:56 ` Tristan Gingold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox