diff options
author | Anthony Green <green@redhat.com> | 2005-03-25 20:40:02 +0000 |
---|---|---|
committer | Anthony Green <green@redhat.com> | 2005-03-25 20:40:02 +0000 |
commit | 170cd118a9e2169798247e70160f5a638b516661 (patch) | |
tree | 436ad208cacaf0e2adb115e8533b3ea36cd71590 /gdb/remote.c | |
parent | 7e813ac51f6ea5e3d9ffd1597db564ea23c49d27 (diff) | |
download | gdb-170cd118a9e2169798247e70160f5a638b516661.zip gdb-170cd118a9e2169798247e70160f5a638b516661.tar.gz gdb-170cd118a9e2169798247e70160f5a638b516661.tar.bz2 |
Fix memset thinkos.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index ed57631..4c8817d 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -3501,7 +3501,7 @@ remote_store_registers (int regnum) { int i; regs = alloca (rs->sizeof_g_packet); - memset (regs, rs->sizeof_g_packet, 0); + memset (regs, 0, rs->sizeof_g_packet); for (i = 0; i < NUM_REGS + NUM_PSEUDO_REGS; i++) { struct packet_reg *r = &rs->regs[i]; |