From: Shahab Vahedi Date: Tue, 22 Dec 2020 17:08:41 +0000 (+0100) Subject: Remove trailing white spaces in gdb/frame.{c,h} X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e512699ac8b2eaff318b6f3a60ffa203d3961a76;p=binutils-gdb.git Remove trailing white spaces in gdb/frame.{c,h} gdb/ChangeLog: * frame.c: Remove trailing white spaces. * frame.h: Likewise. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 84b006e699b..0d7f1ef6d92 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2020-12-22 Shahab Vahedi + + * frame.c: Remove trailing white spaces. + * frame.h: Likewise. + 2020-12-22 Shahab Vahedi * arc-linux-tdep.c: Replace "regnum" with "REGNUM" in comments. diff --git a/gdb/frame.c b/gdb/frame.c index 4618da6c81e..1ed894f7129 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 f3ec784eec0..fab9dd8aaab 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.