aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShahab Vahedi <shahab@synopsys.com>2020-12-22 18:08:41 +0100
committerShahab Vahedi <shahab@synopsys.com>2020-12-23 00:52:45 +0100
commite512699ac8b2eaff318b6f3a60ffa203d3961a76 (patch)
treeed9d9b5d032c97d9fc28b9a2392689c8ffe62f33
parentacf10cacc6bd596ef7327063038bb1ee020c07d0 (diff)
downloadgdb-e512699ac8b2eaff318b6f3a60ffa203d3961a76.zip
gdb-e512699ac8b2eaff318b6f3a60ffa203d3961a76.tar.gz
gdb-e512699ac8b2eaff318b6f3a60ffa203d3961a76.tar.bz2
Remove trailing white spaces in gdb/frame.{c,h}
gdb/ChangeLog: * frame.c: Remove trailing white spaces. * frame.h: Likewise.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/frame.c12
-rw-r--r--gdb/frame.h4
3 files changed, 13 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 84b006e..0d7f1ef 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2020-12-22 Shahab Vahedi <shahab@synopsys.com>
+ * frame.c: Remove trailing white spaces.
+ * frame.h: Likewise.
+
+2020-12-22 Shahab Vahedi <shahab@synopsys.com>
+
* arc-linux-tdep.c: Replace "regnum" with "REGNUM" in comments.
2020-12-22 Anton Kolesov <anton.kolesov@synopsys.com>
diff --git a/gdb/frame.c b/gdb/frame.c
index 4618da6..1ed894f 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -2250,7 +2250,7 @@ get_prev_frame_always_1 (struct frame_info *this_frame)
CORE_ADDR this_pc_in_block;
struct minimal_symbol *morestack_msym;
const char *morestack_name = NULL;
-
+
/* gcc -fsplit-stack __morestack can continue the stack anywhere. */
this_pc_in_block = get_frame_address_in_block (this_frame);
morestack_msym = lookup_minimal_symbol_by_pc (this_pc_in_block).minsym;
@@ -2518,9 +2518,9 @@ get_prev_frame (struct frame_info *this_frame)
pcsqh register (space register for the instruction at the head of the
instruction queue) cannot be written directly; the only way to set it
is to branch to code that is in the target space. In order to implement
- frame dummies on HPUX, the called function is made to jump back to where
- the inferior was when the user function was called. If gdb was inside
- the main function when we created the dummy frame, the dummy frame will
+ frame dummies on HPUX, the called function is made to jump back to where
+ the inferior was when the user function was called. If gdb was inside
+ the main function when we created the dummy frame, the dummy frame will
point inside the main function. */
if (this_frame->level >= 0
&& get_frame_type (this_frame) == NORMAL_FRAME
@@ -2565,7 +2565,7 @@ get_prev_frame (struct frame_info *this_frame)
That should provide a far better stopper than the current
heuristics. */
/* NOTE: tausq/2004-10-09: this is needed if, for example, the compiler
- applied tail-call optimizations to main so that a function called
+ applied tail-call optimizations to main so that a function called
from main returns directly to the caller of main. Since we don't
stop at main, we should at least stop at the entry point of the
application. */
@@ -2600,7 +2600,7 @@ get_prev_frame_id_by_id (struct frame_id id)
{
struct frame_id prev_id;
struct frame_info *frame;
-
+
frame = frame_find_by_id (id);
if (frame != NULL)
diff --git a/gdb/frame.h b/gdb/frame.h
index f3ec784..fab9dd8 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -149,8 +149,8 @@ struct frame_id
/* The frame's special address. This shall be constant through out the
lifetime of the frame. This is used for architectures that may have
- frames that do not change the stack but are still distinct and have
- some form of distinct identifier (e.g. the ia64 which uses a 2nd
+ frames that do not change the stack but are still distinct and have
+ some form of distinct identifier (e.g. the ia64 which uses a 2nd
stack for registers). This field is treated as unordered - i.e. will
not be used in frame ordering comparisons.