aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-08-31 13:31:01 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-08-31 13:31:01 -0400
commitf3bd50f1984e83e6abf5e971c56ce8fac3e936db (patch)
treef0a3fc483a60a52f181a05309f740afba5ed2adf /gdb/frame.c
parent22b9b4b05bfad806eb3d16535dcd4dbedb028c40 (diff)
downloadgdb-f3bd50f1984e83e6abf5e971c56ce8fac3e936db.zip
gdb-f3bd50f1984e83e6abf5e971c56ce8fac3e936db.tar.gz
gdb-f3bd50f1984e83e6abf5e971c56ce8fac3e936db.tar.bz2
gdb: fix nits in previous patches
I forgot to fix some nits pointed out in review before merging the "frame inlined in outer frame series", this patch fixes them. gdb/ChangeLog: * frame-unwind.h (frame_prev_register_ftype): Fix adjective ordering in comment. * frame.c (frame_id_eq): Fix indentation. gdb/testsuite/ChangeLog: * gdb.dwarf2/dw2-reg-undefined.exp: Remove spurious #. Change-Id: Iaddde9677fc3f68382558d1a16f5a0b4beb78bac
Diffstat (limited to 'gdb/frame.c')
-rw-r--r--gdb/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/frame.c b/gdb/frame.c
index 54f4c61..0b708e6 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -774,7 +774,7 @@ frame_id_eq (frame_id l, frame_id r)
bool eq;
if (l.stack_status == FID_STACK_INVALID
- || r.stack_status == FID_STACK_INVALID)
+ || r.stack_status == FID_STACK_INVALID)
/* Like a NaN, if either ID is invalid, the result is false.
Note that a frame ID is invalid iff it is the null frame ID. */
eq = false;