From f3bd50f1984e83e6abf5e971c56ce8fac3e936db Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 31 Aug 2020 13:31:01 -0400 Subject: 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 --- gdb/frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/frame.c') 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; -- cgit v1.1