aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2008-08-15 08:08:27 +0000
committerVladimir Prus <vladimir@codesourcery.com>2008-08-15 08:08:27 +0000
commitdde7c0a962ffd92cbf5c55530bea21838083ae4a (patch)
treef190914e104648f2fb4f3f96db5efedb0c3515bc
parentd85c80a35397436352e65447cc42e5a0cde9c51a (diff)
downloadgdb-dde7c0a962ffd92cbf5c55530bea21838083ae4a.zip
gdb-dde7c0a962ffd92cbf5c55530bea21838083ae4a.tar.gz
gdb-dde7c0a962ffd92cbf5c55530bea21838083ae4a.tar.bz2
* ia64-linux.nat (_initialize_ia64_linux_nat): Don't
call linux_target twice.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ia64-linux-nat.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2269d44..417fed9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-15 Vladimir Prus <vladimir@codesourcery.com>
+
+ * ia64-linux.nat (_initialize_ia64_linux_nat): Don't
+ call linux_target twice.
+
2008-08-14 Aleksandar Ristovski <aristovski@qnx.com>
* 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 dc39935..45befb0 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 ();