diff options
author | Kung Hsu <kung@cygnus> | 1994-11-22 18:31:18 +0000 |
---|---|---|
committer | Kung Hsu <kung@cygnus> | 1994-11-22 18:31:18 +0000 |
commit | 48855ed5ceb1b4a592517293488a35c7e6ce79f4 (patch) | |
tree | f004095bc78f145aac194c340cef83aa1a3340f9 /gdb/a29k-tdep.c | |
parent | 3a443b1efe0784b644237e954a8429bfbf387f9a (diff) | |
download | gdb-48855ed5ceb1b4a592517293488a35c7e6ce79f4.zip gdb-48855ed5ceb1b4a592517293488a35c7e6ce79f4.tar.gz gdb-48855ed5ceb1b4a592517293488a35c7e6ce79f4.tar.bz2 |
* a29k-tdep.c (examine_tag): Fix a bug in stack frame size.
Diffstat (limited to 'gdb/a29k-tdep.c')
-rw-r--r-- | gdb/a29k-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/a29k-tdep.c b/gdb/a29k-tdep.c index 432f816..e3a855f 100644 --- a/gdb/a29k-tdep.c +++ b/gdb/a29k-tdep.c @@ -355,9 +355,9 @@ examine_tag (p, is_trans, argcount, msize, mfp_used) return 0; if (tag1 & (1<<23)) /* A two word tag */ { - tag2 = read_memory_integer (p+4, 4); + tag2 = read_memory_integer (p-4, 4); if (msize) - *msize = tag2; + *msize = tag2 * 2; } else /* A one word tag */ { |