From: Vladimir Prus Date: Fri, 15 Aug 2008 08:08:27 +0000 (+0000) Subject: * ia64-linux.nat (_initialize_ia64_linux_nat): Don't X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dde7c0a962ffd92cbf5c55530bea21838083ae4a;p=binutils-gdb.git * ia64-linux.nat (_initialize_ia64_linux_nat): Don't call linux_target twice. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2269d443b6a..417fed93cd0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-08-15 Vladimir Prus + + * ia64-linux.nat (_initialize_ia64_linux_nat): Don't + call linux_target twice. + 2008-08-14 Aleksandar Ristovski * nto-tdep.c (lm_info): Updated struct lm_info definition from diff --git a/gdb/ia64-linux-nat.c b/gdb/ia64-linux-nat.c index dc39935838f..45befb02203 100644 --- a/gdb/ia64-linux-nat.c +++ b/gdb/ia64-linux-nat.c @@ -810,7 +810,7 @@ void _initialize_ia64_linux_nat (void); void _initialize_ia64_linux_nat (void) { - struct target_ops *t = linux_target (); + struct target_ops *t; /* Fill in the generic GNU/Linux methods. */ t = linux_target ();