From dde7c0a962ffd92cbf5c55530bea21838083ae4a Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Fri, 15 Aug 2008 08:08:27 +0000 Subject: [PATCH] * ia64-linux.nat (_initialize_ia64_linux_nat): Don't call linux_target twice. --- gdb/ChangeLog | 5 +++++ gdb/ia64-linux-nat.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 (); -- 2.30.2