diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/aix-thread.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cc9020e41ed..d94d7cf9d58 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-03-17 Joel Brobecker <brobecker@adacore.com> + + * aix-thread.c (pdc_read_regs): Minor reformatting. + 2008-03-17 Vladimir Prus <vladimir@codesourcery.com> * thread.c (print_thread_info): Don't insist diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c index c620ce3a428..a956df2596f 100644 --- a/gdb/aix-thread.c +++ b/gdb/aix-thread.c @@ -365,7 +365,7 @@ pdc_read_regs (pthdb_user_t user, { if (!ptrace32 (PTT_READ_FPRS, tid, (int *) fprs, 0, NULL)) memset (fprs, 0, sizeof (fprs)); - memcpy (context->fpr, fprs, sizeof(fprs)); + memcpy (context->fpr, fprs, sizeof(fprs)); } /* Special-purpose registers. */ |