summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-05-18 17:52:02 +0000
committerMark Kettenis <kettenis@gnu.org>2003-05-18 17:52:02 +0000
commit47475141abc91610c1ec54120a361a059586b77a (patch)
tree7ff92984a2d7df8ef58013764406c976762291d8
parent7dd505bf5251e192fabc9d34d6add6bd9169496d (diff)
downloadgdb-47475141abc91610c1ec54120a361a059586b77a.tar.gz
* i386-tdep.c (i386_frame_cache): Fix indentation of comment.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/i386-tdep.c16
2 files changed, 12 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cc3381c5e34..334f52a8105 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2003-05-18 Mark Kettenis <kettenis@gnu.org>
+ * i386-tdep.c (i386_frame_cache): Fix indentation of comment.
+
+2003-05-18 Mark Kettenis <kettenis@gnu.org>
+
Merge from mainline.
* i386-tdep.h (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS,
I386_SIZEOF_XREGS): Remove defenitions.
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c
index 61075cb608c..8791df16714 100644
--- a/gdb/i386-tdep.c
+++ b/gdb/i386-tdep.c
@@ -703,14 +703,14 @@ i386_frame_cache (struct frame_info *next_frame, void **this_cache)
cache = i386_alloc_frame_cache ();
*this_cache = cache;
-/* In principle, for normal frames, %ebp holds the frame pointer,
- which holds the base address for the current stack frame. However,
- for functions that don't need it, the frame pointer is optional.
- For these "frameless" functions the frame pointer is actually the
- frame pointer of the calling frame. Signal trampolines are just a
- special case of a "frameless" function. They (usually) share their
- frame pointer with the frame that was in progress when the signal
- occurred. */
+ /* In principle, for normal frames, %ebp holds the frame pointer,
+ which holds the base address for the current stack frame.
+ However, for functions that don't need it, the frame pointer is
+ optional. For these "frameless" functions the frame pointer is
+ actually the frame pointer of the calling frame. Signal
+ trampolines are just a special case of a "frameless" function.
+ They (usually) share their frame pointer with the frame that was
+ in progress when the signal occurred. */
frame_unwind_register (next_frame, I386_EBP_REGNUM, buf);
cache->base = extract_unsigned_integer (buf, 4);