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 | |
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.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/a29k-tdep.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 625e596..ad22eef 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Tue Nov 22 10:25:59 1994 Kung Hsu (kung@mexican.cygnus.com) + + * a29k-tdep.c (examine_tag): Fix a bug in stack frame size. + Sat Nov 19 03:10:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * config/i386/i386sol2.mh: Reenable core file support. 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 */ { |