aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-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 ();