summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2004-05-13 22:31:53 +0000
committerJoel Brobecker <brobecker@gnat.com>2004-05-13 22:31:53 +0000
commita2b12c9fd5ec7c0eda831d7ea831cfee40a716a1 (patch)
tree9c5eb03cc9d986d21e65eeb06b24c0fa00747677
parentd7b41a37a038b035898070f2dd2493988e325148 (diff)
downloadgdb-a2b12c9fd5ec7c0eda831d7ea831cfee40a716a1.tar.gz
* aix-thread.c (store_regs_kernel_thread): Fix a little obvious
error that was causing the build to fail.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/aix-thread.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 42b88a3b31a..1165a0c1e96 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2004-05-13 J. Brobecker <brobecker@gnat.com>
+ * aix-thread.c (store_regs_kernel_thread): Fix a little obvious
+ error that was causing the build to fail.
+
+2004-05-13 J. Brobecker <brobecker@gnat.com>
+
* aix-thread.c: #include "gdb_string.h". Needed for memset and memcopy.
* Makefile.in (aix-thread.o): Add dependency on gdb_string.h.
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index 5e8fadffe30..93c532b157b 100644
--- a/gdb/aix-thread.c
+++ b/gdb/aix-thread.c
@@ -1468,7 +1468,6 @@ store_regs_kernel_thread (int regno, pthdb_tid_t tid)
struct ptxsprs sprs64;
struct ptsprs sprs32;
int i;
- struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
if (debug_aix_thread)
fprintf_unfiltered (gdb_stdlog,